/* ============================================================
   EMOTIV — Landing
   Brand: aubergine #3A004D · mauve #835E8F
   ============================================================ */

:root {
  --brand: #3A004D;
  --brand-2: #52106A;
  --ink: #200a2a;
  --mauve: #835E8F;
  --mauve-soft: #a98db2;
  --tint: #f4eff6;
  --tint-2: #ece3f0;
  --paper: #fbf9fb;
  --line: rgba(58, 0, 77, .12);
  --line-strong: rgba(58, 0, 77, .22);
  --white: #ffffff;

  --font: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 18px;
  --radius-lg: 26px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

::selection { background: var(--mauve); color: #fff; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 880px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--tint); }
.section--brand { background: var(--brand); color: #fff; }

/* ---------- type ---------- */
h1, h2, h3 { line-height: 1.06; font-weight: 800; letter-spacing: -.02em; color: var(--brand); text-wrap: balance; }
.section--brand h1, .section--brand h2, .section--brand h3 { color: #fff; }

.display { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; }
h2.title { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.01em; }

.lead { font-size: clamp(1.18rem, 1.7vw, 1.45rem); line-height: 1.5; color: #3a2842; font-weight: 400; text-wrap: pretty; }
.section--brand .lead { color: rgba(255,255,255,.85); }

p { text-wrap: pretty; }
.muted { color: #5a4862; }
.section--brand .muted { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mauve);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block; }
.section--brand .eyebrow { color: var(--mauve-soft); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head .lead { margin-top: 1.4rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: inherit; font-size: 1.02rem; font-weight: 700; line-height: 1;
  padding: 1.05em 1.7em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(58,0,77,.55); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); background: rgba(58,0,77,.04); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.btn--mauve { background: var(--mauve); color: #fff; }
.btn--mauve:hover { background: #6f4c7c; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(131,94,143,.7); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { background: rgba(251,249,251,.86); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand-logo { height: 40px; width: auto; }
.brand { display: inline-flex; align-items: center; }
.brand-logo--light { display: none; }
/* over the dark (audaz) hero, before the header sticks: white logo + light nav */
body[data-hero="3"] .site-header:not(.is-stuck) .brand-logo--dark { display: none; }
body[data-hero="3"] .site-header:not(.is-stuck) .brand-logo--light { display: block; }
body[data-hero="3"] .site-header:not(.is-stuck) .nav a { color: #fff; }
body[data-hero="3"] .site-header:not(.is-stuck) .nav a:hover { color: var(--mauve-soft); }
body[data-hero="3"] .site-header:not(.is-stuck) .nav a.btn--primary { background: #fff; color: var(--brand); }
body[data-hero="3"] .site-header:not(.is-stuck) .nav a.btn--primary:hover { background: #fff; color: var(--brand); transform: translateY(-2px); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; transition: color .2s; }
.nav a:hover { color: var(--mauve); }
.nav a.btn--primary { color: #fff; }
.nav a.btn--primary:hover { color: #fff; }
.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2rem); align-items: center; }
.btn--sm { padding: .8em 1.3em; font-size: .95rem; }
.nav-toggle { display: none; }

/* ---------- nav dropdown ---------- */
.nav-dd { position: relative; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: .32rem; cursor: pointer; }
.nav-dd-trigger svg { transition: transform .22s var(--ease); }
.nav-dd:hover .nav-dd-trigger svg, .nav-dd:focus-within .nav-dd-trigger svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 28px 56px -28px rgba(58,0,77,.45); padding: .5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 90;
}
.nav-dd-menu--wide { min-width: 320px; }
.nav-dd-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { display: block; padding: .7rem .85rem; border-radius: 10px; text-decoration: none; transition: background .18s; }
.nav-dd-menu a:hover { background: var(--tint); }
.nav-dd-menu a strong { display: block; font-size: .96rem; font-weight: 700; color: var(--brand); }
.nav-dd-menu a span { display: block; font-size: .82rem; color: #8a7894; font-weight: 500; margin-top: .15rem; }
/* over the dark hero, before the header sticks */
body[data-hero="3"] .site-header:not(.is-stuck) .nav-dd-menu a strong { color: var(--brand); }
body[data-hero="3"] .site-header:not(.is-stuck) .nav-dd-menu a span { color: #8a7894; }

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    background: transparent;
    border: none;
    color: var(--ink);
    cursor: pointer;
    padding: .4rem;
    align-items: center;
    justify-content: center;
  }
  body[data-hero="3"] .site-header:not(.is-stuck):not(.is-menu-open) .nav-toggle {
    color: #fff;
  }
  .nav {
    gap: .8rem;
  }
  .nav > .btn--primary {
    padding: .6em 1em;
    font-size: .88rem;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(251,249,251,.95);
    backdrop-filter: blur(14px);
    padding: 1.5rem var(--pad) 2rem;
    box-shadow: 0 20px 40px rgba(58,0,77,.15);
    border-top: 1px solid var(--line);
    align-items: flex-start;
    gap: 1.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .25s var(--ease);
  }
  .site-header.is-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-header.is-menu-open {
    background: #fff;
  }
  body[data-hero="3"] .site-header.is-menu-open .nav a {
    color: var(--ink);
  }
  body[data-hero="3"] .site-header.is-menu-open .brand-logo--dark {
    display: block;
  }
  body[data-hero="3"] .site-header.is-menu-open .brand-logo--light {
    display: none;
  }
  /* mobile dropdown behavior */
  .nav-dd {
    width: 100%;
  }
  .nav-dd-trigger {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dd-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: .8rem 0 0 .8rem;
    background: transparent;
    min-width: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    pointer-events: auto;
  }
  .nav-dd.is-open .nav-dd-menu {
    display: block;
  }
  .nav-dd-menu::before {
    display: none;
  }
  /* animation for hamburger */
  .nav-toggle path {
    transition: transform .25s var(--ease), opacity .25s var(--ease);
    transform-origin: center;
  }
  .site-header.is-menu-open .t-top {
    transform: translateY(6px) rotate(45deg);
  }
  .site-header.is-menu-open .t-mid {
    opacity: 0;
  }
  .site-header.is-menu-open .t-bot {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* ============================================================
   HERO — shared
   ============================================================ */
.hero { position: relative; padding-top: 130px; padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; }
.hero-point { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1rem; color: #3a2842; }
.hero-point svg { flex: none; color: var(--mauve); }

/* hero visibility toggle */
.hero { display: none; }
body[data-hero="1"] #hero-1,
body[data-hero="2"] #hero-2,
body[data-hero="3"] #hero-3 { display: block; }

/* waterline motif (shared) */
.waterline { position: relative; }
.wave-line { display: block; width: 100%; height: 26px; }
.wave-line path { fill: none; stroke: var(--mauve); stroke-width: 2; opacity: .5; }

/* signal dots */
.signal { position: absolute; border-radius: 50%; background: var(--mauve); opacity: 0; }

/* ---- HERO 1 — sober, centered ---- */
#hero-1 .wrap { text-align: center; max-width: 940px; }
#hero-1 .symbol-mark { width: 74px; margin: 0 auto 1.8rem; }
#hero-1 .display { margin-inline: auto; }
#hero-1 .lead { margin: 1.6rem auto 0; max-width: 660px; }
#hero-1 .cta-row { justify-content: center; }
#hero-1 .hero-points { justify-content: center; }
#hero-1 .hero-water { margin-top: 4rem; max-width: 760px; margin-inline: auto; }

/* ---- HERO 2 — editorial, asymmetric ---- */
#hero-2 .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
#hero-2 .display { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
#hero-2 .lead { max-width: 30ch; }
#hero-2 .hero-visual {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--tint), var(--tint-2));
  border: 1px solid var(--line); overflow: hidden;
  display: grid; place-items: center;
}
#hero-2 .hero-visual .vmark { width: 58%; opacity: .95; }
#hero-2 .visual-caption {
  position: absolute; left: 22px; bottom: 20px; right: 22px;
  font-size: .82rem; color: var(--mauve); font-weight: 600; letter-spacing: .02em;
}
@media (max-width: 860px) {
  #hero-2 .hero-grid { grid-template-columns: 1fr; }
  #hero-2 .hero-visual { aspect-ratio: 16/12; order: -1; }
}

/* ---- HERO 3 — bold, full aubergine ---- */
#hero-3 { background: var(--brand); color: #fff; padding-bottom: 0; }
#hero-3 .display, #hero-3 h1 { color: #fff; }
#hero-3 .lead { color: rgba(255,255,255,.82); }
#hero-3 .eyebrow { color: var(--mauve-soft); }
#hero-3 .hero-point { color: rgba(255,255,255,.92); }
#hero-3 .hero-point svg { color: var(--mauve-soft); }
#hero-3 .wrap { text-align: center; max-width: 920px; position: relative; z-index: 3; }
#hero-3 .display { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
#hero-3 .lead { margin: 1.6rem auto 0; max-width: 640px; }
#hero-3 .cta-row { justify-content: center; }
#hero-3 .hero-points { justify-content: center; }
/* watermark symbol */
#hero-3 .h3-mark { position: absolute; right: -6%; top: 8%; width: 46%; opacity: .10; pointer-events: none; filter: grayscale(1) brightness(3); }
/* animated water band at bottom */
#hero-3 .ocean { position: relative; height: clamp(120px, 18vh, 220px); margin-top: clamp(3rem, 6vw, 5rem); z-index: 2; }
#hero-3 .ocean svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#hero-3 .ocean .w1 { fill: rgba(255,255,255,.07); }
#hero-3 .ocean .w2 { fill: rgba(255,255,255,.05); }
#hero-3 .ocean .w3 { fill: var(--tint); }

/* ============================================================
   PROBLEM (alt list)
   ============================================================ */
#problema { border-top: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.symptoms { list-style: none; display: grid; gap: .2rem; }
.symptoms li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; color: #3a2842; }
.symptoms li:last-child { border-bottom: 0; }
.symptoms .mk { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--mauve); display: grid; place-items: center; margin-top: .1em; }
.problem-note { font-size: 1.15rem; color: #3a2842; }
.problem-note strong { color: var(--brand); }
@media (max-width: 820px) { .problem-grid { grid-template-columns: 1fr; gap: 2.4rem; } }

/* ============================================================
   CHECKLIST (objetivo)
   ============================================================ */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 2.4rem; margin-top: 2.6rem; }
.check-item { display: flex; gap: .85rem; align-items: flex-start; font-size: 1.06rem; font-weight: 500; padding: .5rem 0; }
.check-item svg { flex: none; margin-top: .15em; color: var(--mauve); }
@media (max-width: 720px) { .check-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ACTIVATE — numbered cards
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 3rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(58,0,77,.4); border-color: var(--line-strong); }
.card .num { font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--mauve); display: block; margin-bottom: 1rem; }
.card h3 { margin-bottom: .7rem; }
.card p { color: #5a4862; font-size: 1.02rem; }
.card .kicker { display: block; margin-top: 1rem; font-weight: 700; color: var(--brand); font-size: 1rem; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ============================================================
   PILLARS (4 disciplines)
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.pillar { padding: 2rem 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.pillar .picon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; margin-bottom: 1.3rem; color: var(--mauve-soft); }
.pillar h3 { font-size: 1.22rem; margin-bottom: .6rem; }
.pillar p { color: rgba(255,255,255,.74); font-size: .98rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ============================================================
   PROCESS (5 steps)
   ============================================================ */
.steps { margin-top: 3.2rem; display: grid; gap: 0; position: relative; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: clamp(1.2rem, 3vw, 2.6rem); padding: 2rem 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .step-n { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; color: var(--mauve); letter-spacing: -.04em; line-height: 1; opacity: .55; }
.step h3 { margin-bottom: .6rem; }
.step p { color: #5a4862; max-width: 60ch; }
.step .step-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.step .tag { font-size: .82rem; font-weight: 600; color: var(--brand); background: var(--tint); padding: .4em .9em; border-radius: 999px; }
@media (max-width: 620px) { .step { grid-template-columns: 1fr; gap: .4rem; } .step .step-n { font-size: 2rem; } }

/* ============================================================
   OUTCOMES
   ============================================================ */
.outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 2.4rem; margin-top: 2.8rem; }
.outcome { display: flex; gap: .85rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.06rem; font-weight: 500; }
.outcome svg { flex: none; color: var(--mauve); }
.outcome-banner { margin-top: 3rem; padding: clamp(1.8rem,4vw,2.6rem); background: var(--brand); color: #fff; border-radius: var(--radius-lg); }
.outcome-banner p { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
@media (max-width: 720px) { .outcomes { grid-template-columns: 1fr; } }

/* ============================================================
   AUDIENCE (fit / no-fit)
   ============================================================ */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 3rem; }
.fit-col { padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.fit-col--no { background: var(--tint); }
.fit-col h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; font-size: 1.3rem; }
.fit-col .badge { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.fit-col--yes .badge { background: var(--brand); color: #fff; }
.fit-col--no .badge { background: var(--mauve-soft); color: #fff; }
.fit-list { list-style: none; display: grid; gap: .65rem; }
.fit-list li { display: flex; gap: .7rem; align-items: flex-start; color: #3a2842; font-size: 1.01rem; }
.fit-list li svg { flex: none; margin-top: .2em; }
.fit-col--yes .fit-list svg { color: var(--mauve); }
.fit-col--no .fit-list svg { color: #b29bbc; }
.fit-col .fit-note { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: #5a4862; font-size: .98rem; }
@media (max-width: 760px) { .fit-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FORM
   ============================================================ */
.form-section { position: relative; }
.form-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form-intro .check-list { list-style: none; display: grid; gap: .7rem; margin-top: 1.8rem; }
.form-intro .check-list li { display: flex; gap: .7rem; align-items: flex-start; color: rgba(255,255,255,.85); }
.form-intro .check-list svg { flex: none; margin-top: .2em; color: var(--mauve-soft); }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 3.5vw, 2.8rem); box-shadow: 0 40px 90px -50px rgba(0,0,0,.6); color: var(--ink); }
.form-card h3 { color: var(--brand); margin-bottom: .4rem; }
.form-card .form-sub { color: #5a4862; font-size: 1rem; margin-bottom: 1.8rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--brand); margin-bottom: .45rem; letter-spacing: .01em; }
.field label .req { color: var(--mauve); }
.field input, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .85em 1em; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fdfcfd;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--mauve); box-shadow: 0 0 0 4px rgba(131,94,143,.16); }
.field input.invalid, .field select.invalid { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.1); }
.field .err { display: none; color: #c0392b; font-size: .8rem; font-weight: 600; margin-top: .4rem; }
.field.show-err .err { display: block; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23835E8F' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.6em; }
.form-card .btn--primary { width: 100%; margin-top: .6rem; }
.form-legal { font-size: .8rem; color: #8a7894; margin-top: 1rem; text-align: center; }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success .sicon { width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.form-success h3 { margin-bottom: .6rem; }
.form-success p { color: #5a4862; }
.form-card.is-done .form-body { display: none; }
.form-card.is-done .form-success { display: block; }
@media (max-width: 820px) { .form-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { text-align: center; }
.final .display { font-size: clamp(2rem, 4vw, 3.4rem); margin-inline: auto; max-width: 16ch; }
.final .lead { margin: 1.4rem auto 2.4rem; max-width: 600px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--brand); color: rgba(255,255,255,.7); padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: start; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-logo { height: 60px; width: auto; }
.footer-tag { max-width: 32ch; margin-top: 1.2rem; color: rgba(255,255,255,.66); font-size: .98rem; }
.footer-cols { display: flex; gap: clamp(2.5rem, 6vw, 5rem); flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer-col a { display: block; color: rgba(255,255,255,.7); text-decoration: none; padding: .3rem 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* anchor offset so "El sistema" lands the heading just under the header */
#sistema { scroll-margin-top: 95px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  .signal { display: none; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(58,0,77,.1);
  border-top: 1px solid var(--line);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform .3s var(--ease);
  visibility: hidden;
}
.cookie-banner--visible {
  transform: translateY(0);
  visibility: visible;
}
.cookie-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-text p {
  font-size: .95rem;
  color: #3a2842;
  margin: 0;
  max-width: 800px;
}
.cookie-text a {
  color: var(--brand);
  font-weight: 600;
}
.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-actions .btn {
  padding: .7em 1.2em;
  font-size: .9rem;
}
@media (max-width: 760px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}
