:root {
  --bg: #0E0F13;
  --surface: #17181E;
  --surface-2: #1F2028;
  --chip: #22232B;
  --line: #262832;
  --text: #F4F4F6;
  --muted: #A6A8B3;
  --soft: #B9BAC4;
  --accent: #F2994A;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1, h2 { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Capçalera */
.top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent);
  display: grid; place-items: center;
}
.brand-name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; flex-wrap: wrap; gap: 8px; }
.nav a { padding: 12px 16px; border-radius: 999px; font-size: 15px; color: var(--soft); transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav .nav-cta { background: var(--text); color: var(--bg); font-weight: 600; padding: 12px 20px; }
.nav .nav-cta:hover { background: #fff; color: var(--bg); }

/* Portada */
.hero { padding: 72px 0 56px; max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
.hero p { font-size: 19px; line-height: 1.55; color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 12px; }
.btn { padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 16px; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-ghost { border: 1px solid #2E3039; }
.btn-ghost:hover { border-color: var(--soft); }

/* Targetes */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 20px;
  padding-bottom: 72px;
  scroll-margin-top: 24px;
}
.card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--c); }
.card:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--tint);
  display: grid; place-items: center;
  color: var(--c); margin-bottom: 8px;
}
.tag { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.card h2 { font-size: 26px; font-weight: 700; }
.card p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: auto 0 0; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 10px; border-radius: 999px; background: var(--chip); font-size: 13px; color: #CFD0D8; }
.open { font-size: 15px; font-weight: 600; color: var(--c); padding-top: 8px; }

/* Franja */
.band {
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
  padding: 40px; margin-bottom: 72px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.band-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 10px; }
.band-text h2 { font-size: 30px; }
.band-text p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.band-grid { flex: 1 1 420px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { padding: 18px; border-radius: 14px; background: var(--surface-2); display: flex; flex-direction: column; gap: 4px; }
.tile strong { font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 600; }
.tile span { font-size: 13px; color: var(--muted); }

/* Peu */
.foot {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding: 28px 0 40px; border-top: 1px solid var(--chip);
  font-size: 14px; color: #8D8F9A;
}

@media (max-width: 600px) {
  .band { padding: 28px 20px; }
  .band-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
