/* ============================================================
   My Healthy Car — landing
   Tema: "chequeo clínico premium". Claro #FAFAF7 + clímax oscuro #0B1F16.
   Tipos: Instrument Serif (display) + Geist (UI). Cero frameworks.
   ============================================================ */

/* ---------- Fuentes (self-hosted) ---------- */
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-400.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FAFAF7;
  --paper-soft: #F3F3EC;
  --ink: #121A15;
  --muted: #5D6862;
  --line: rgba(18, 26, 21, .10);
  --line-soft: rgba(18, 26, 21, .06);
  --brand: #16A34A;
  --brand-deep: #0E7A4E;
  --brand-tint: #E8F5EC;
  --lime: #4ADE80;
  --amber: #F59E0B;
  --red: #EF4444;
  --dark: #0B1F16;
  --dark-2: #0E2A1D;
  --on-dark: #E7F0E9;
  --on-dark-muted: #93A89A;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-card: 20px;
  --r-pill: 999px;
  --shadow-phone: 0 24px 60px -18px rgba(18, 26, 21, .35);
  --shadow-card: 0 1px 2px rgba(18,26,21,.04), 0 8px 24px -12px rgba(18,26,21,.10);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1140px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'tnum' 0;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--brand); color: #fff; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3 { margin: 0; font-weight: 400; }
.display {
  font-family: var(--serif);
  letter-spacing: -.01em;
  line-height: 1.04;
}
.display em { font-style: italic; color: var(--brand-deep); }
.num { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -.02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-deep);
}
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: var(--brand); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }

/* grano sutil sobre todo el fondo claro */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.scrolled { background: rgba(250,250,247,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; text-decoration: none; letter-spacing: -.01em; }
.wordmark img { width: 28px; height: 28px; }
.wordmark .hl { color: var(--brand); }
.nav-links { display: flex; gap: 28px; font-size: .92rem; font-weight: 500; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: var(--r-pill); cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: 12px 22px; transition: transform .15s var(--ease), background .15s, box-shadow .15s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(22,163,74,.55); }
.btn-brand:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border: 1px solid rgba(231,240,233,.25); }
.btn-ghost-dark:hover { border-color: rgba(231,240,233,.6); }
.nav .btn { padding: 9px 18px; font-size: .88rem; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-access {
  font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none;
  padding: 9px 14px; border-radius: var(--r-pill); border: 1px solid var(--line);
  transition: border-color .15s, background .15s;
}
.nav-access:hover { border-color: var(--brand); background: var(--brand-tint); }

@media (max-width: 880px) { .nav-links { display: none; } }
@media (max-width: 600px) { .nav-access { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 64px; overflow: clip; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 480px at 78% 38%, rgba(22,163,74,.10), transparent 65%),
    radial-gradient(400px 360px at 88% 70%, rgba(74,222,128,.07), transparent 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6.2vw, 4.9rem); }
.hero .lead { margin: 22px 0 0; }

.hero-stats { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.stat { display: grid; gap: 2px; }
.stat .num { font-size: 1.7rem; color: var(--ink); }
.stat .num small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.stat .lbl { font-size: .82rem; color: var(--muted); }

.waitlist { margin-top: 34px; max-width: 460px; }
.waitlist-form { display: flex; gap: 10px; }
.waitlist input[type=email] {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; padding: 12px 18px; font: inherit; font-size: .95rem; color: var(--ink);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.waitlist input[type=email]:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22,163,74,.18); }
.waitlist-note { margin: 10px 2px 0; font-size: .8rem; color: var(--muted); }
.waitlist .ok { display: none; align-items: center; gap: 10px; background: var(--brand-tint); border: 1px solid rgba(22,163,74,.25); color: var(--brand-deep); font-weight: 600; font-size: .95rem; border-radius: var(--r-card); padding: 14px 18px; }
.waitlist.done .waitlist-form, .waitlist.done .waitlist-note { display: none; }
.waitlist.done .ok { display: flex; }

.store-badges { display: flex; gap: 10px; margin-top: 18px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 14px; background: #fff; font-size: .8rem; color: var(--muted);
}
.store-badge b { display: block; font-size: .88rem; color: var(--ink); line-height: 1.15; }
.store-badge svg { width: 20px; height: 20px; flex: none; }
.store-badge .soon { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); }

/* Teléfono CSS */
.phone {
  position: relative; width: min(320px, 78vw); aspect-ratio: 1080 / 2400;
  border-radius: 44px; background: #0d0f0e; padding: 10px;
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.phone::after { /* pill cámara */
  content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: 999px; background: #0d0f0e; z-index: 3;
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; }
.phone .screen img, .phone .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phone { transform: rotate(6deg); }
.hero-img {
  width: min(560px, 92vw); height: auto; border-radius: 24px;
  animation: floaty 9s ease-in-out infinite;
}

/* chips flotantes del hero */
.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line-soft);
  border-radius: 16px; box-shadow: var(--shadow-card); padding: 12px 16px;
  font-size: .82rem; line-height: 1.35; z-index: 5;
  animation: floaty 7s ease-in-out infinite;
}
.float-chip b { display: block; font-size: .95rem; }
.chip-score { top: 9%; right: 2%; display: flex; align-items: center; gap: 10px; animation-delay: -2s; }
.chip-score .ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .92rem; color: var(--brand-deep); background: conic-gradient(var(--brand) calc(97% * 3.6deg), var(--brand-tint) 0); }
.chip-score .ring span { background: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.chip-alert { bottom: 26%; left: -4%; border-left: 3px solid var(--amber); animation-delay: -4.5s; }
.chip-expense { bottom: 6%; right: 0%; border-left: 3px solid var(--brand); }
.float-chip .sub { color: var(--muted); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: 2; }
  .chip-alert { left: 0; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line-soft); padding: 18px 0; overflow: hidden; background: var(--paper-soft); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.marquee-item svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(88px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-top: 14px; }
.section-head .lead { margin-top: 16px; }

/* ---------- Scrollytelling ---------- */
.scrolly-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.scrolly-steps { display: grid; gap: clamp(34vh, 38vh, 42vh); padding-block: 16vh 30vh; }
.step { max-width: 420px; opacity: .25; transition: opacity .45s var(--ease); }
.step.active { opacity: 1; }
.step .step-n { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--brand-deep); }
.step h3 { font-size: 1.55rem; font-weight: 650; letter-spacing: -.015em; margin: 8px 0 10px; }
.step p { color: var(--muted); margin: 0; }
.scrolly-phone { position: sticky; top: calc(50vh - min(330px, 38vh)); display: flex; justify-content: center; }
/* escena renderizada por paso: crossfade entre las 4 (mismo móvil, fondo distinto) */
.scrolly-stage { position: relative; width: min(440px, 88vw); aspect-ratio: 1122 / 1402; }
.scrolly-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(.985); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.scrolly-stage img.show { opacity: 1; transform: scale(1); }

@media (max-width: 820px) {
  /* móvil: el sticky-phone no encaja en pantallas estrechas → cada paso se
     apila como bloque (su escena propia + texto). Todas las escenas visibles. */
  .scrolly-grid { grid-template-columns: 1fr; gap: 0; }
  .scrolly-phone { display: none; }              /* no usamos la escena sticky */
  .scrolly-steps { display: grid; gap: 8vh; padding: 4vh 0 2vh; }
  .step {
    opacity: 1; max-width: none; display: grid; gap: 6px;
  }
  /* a cada paso le inyectamos su escena justo encima del texto */
  .step::before {
    content: ''; display: block; width: 100%; aspect-ratio: 1122 / 1402;
    background: center / contain no-repeat var(--shot); margin-bottom: 8px;
  }
}

/* ---------- Banda editorial (G3) ---------- */
.photo-band { margin: clamp(56px, 8vw, 110px) 0 0; }
.photo-band img {
  width: 100%; max-height: 560px; object-fit: cover; object-position: center 38%;
  border-radius: var(--r-card); box-shadow: var(--shadow-card);
}
.photo-band figcaption {
  margin-top: 14px; font-size: .92rem; color: var(--muted); text-align: center;
}
.photo-band figcaption .num { font-weight: 700; color: var(--brand-deep); font-size: .92rem; }

/* ---------- Sección oscura: el informe ---------- */
.dark-section { background:
    radial-gradient(900px 540px at 72% 22%, rgba(74,222,128,.10), transparent 60%),
    radial-gradient(680px 460px at 18% 88%, rgba(22,163,74,.07), transparent 60%),
    var(--dark);
  color: var(--on-dark);
}
.dark-section .eyebrow { color: var(--lime); }
.dark-section .eyebrow::before { background: var(--lime); }
.dark-section .display em { color: var(--lime); }
.dark-section .lead { color: var(--on-dark-muted); }

.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

/* PDF en 3D */
.report-stage { perspective: 1400px; display: flex; justify-content: center; padding-block: 16px; }
.report-stack { position: relative; width: min(420px, 84vw); transform-style: preserve-3d; transition: transform .3s var(--ease); }
.report-page { border-radius: 6px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06); }
.report-page.p1 { position: relative; z-index: 2; }
.report-page.p2 { position: absolute; top: 7%; left: 13%; width: 100%; z-index: 1; filter: brightness(.8) blur(1px); transform: translateZ(-60px) rotate(2.5deg); }
.report-stack::before { /* glow */
  content: ''; position: absolute; inset: -12% -16%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(74,222,128,.18), transparent 72%);
  filter: blur(8px);
}
/* composición renderizada (G2): sustituye al stack de páginas */
.report-stack:has(.report-scene) { width: min(620px, 92vw); }
.report-stack:has(.report-scene)::before { display: none; }
.report-scene {
  position: relative; z-index: 2; width: 100%; height: auto; border-radius: 18px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
}

.report-copy h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-top: 14px; }
.report-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.report-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark); font-size: .98rem; }
.report-points svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--lime); }
.report-points b { font-weight: 650; }
.report-points .sub { color: var(--on-dark-muted); }

.verify-line {
  display: flex; align-items: center; gap: 12px; margin-top: 30px; flex-wrap: wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; color: var(--on-dark-muted);
}
.verify-line .code { border: 1px dashed rgba(231,240,233,.3); border-radius: 8px; padding: 6px 12px; color: var(--lime); letter-spacing: .04em; white-space: nowrap; }

.report-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* gauge + chips de evidencia */
.score-strip { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(48px, 7vw, 84px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid rgba(231,240,233,.12); }
.gauge-wrap { display: grid; justify-items: center; gap: 4px; }
.gauge { width: 220px; height: 132px; }
.gauge .track { stroke: rgba(231,240,233,.14); }
.gauge .fill { stroke: var(--lime); stroke-linecap: round; }
.gauge-num { font-size: 2.6rem; line-height: 1; color: #fff; }
.gauge-num small { font-size: 1.15rem; color: var(--on-dark-muted); font-weight: 600; }
.gauge-label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }

.evidence { display: flex; gap: 14px; flex-wrap: wrap; }
.ev-chip { border: 1px solid rgba(231,240,233,.14); background: rgba(255,255,255,.03); border-radius: 16px; padding: 16px 20px; min-width: 130px; }
.ev-chip .num { display: block; font-size: 1.7rem; color: #fff; }
.ev-chip .lbl { font-size: .8rem; color: var(--on-dark-muted); }
.ev-chip.red .num { color: #FCA5A5; }
.ev-chip.amber .num { color: #FCD34D; }
.ev-chip.blue .num { color: #93C5FD; }
.ev-chip.green .num { color: var(--lime); }

@media (max-width: 900px) {
  .report-grid { grid-template-columns: 1fr; }
  .score-strip { grid-template-columns: 1fr; justify-items: start; }
}

/* ---------- Score explainer ---------- */
.score-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.score-bars { display: grid; gap: 26px; }
.sbar .sbar-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sbar .t { font-weight: 650; font-size: 1.02rem; }
.sbar .w { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brand-deep); }
.sbar .track { height: 10px; border-radius: 999px; background: var(--paper-soft); border: 1px solid var(--line-soft); overflow: hidden; }
.sbar .fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand-deep), var(--brand)); transition: width 1.1s var(--ease); transition-delay: var(--d, 0s); }
.sbar .desc { margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.sbar.in .fill { width: var(--w); }
.score-note { margin-top: 30px; border-left: 3px solid var(--brand); background: var(--brand-tint); border-radius: 0 14px 14px 0; padding: 16px 20px; font-size: .95rem; }
.score-visual { display: flex; justify-content: center; }
.score-visual .phone { width: min(300px, 74vw); transform: rotate(-4deg); }
.score-img { width: min(440px, 88vw); height: auto; border-radius: 22px; }

@media (max-width: 880px) { .score-grid { grid-template-columns: 1fr; } }

/* ---------- Bento ---------- */
/* Grid simétrico de 2 columnas. Cada tile: texto arriba + imagen abajo a
   sangre completa. El área de imagen adopta la proporción nativa de la escena
   (16:10) → las composiciones se ven enteras, sin recortes. */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  border: 1px solid var(--line-soft); background: #fff;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.tile-copy { padding: 28px 28px 0; }
.tile h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -.01em; }
.tile p { margin: 8px 0 0; font-size: .92rem; color: var(--muted); max-width: 42ch; }

/* escena estándar: ancho completo del tile, proporción de la imagen */
.tile-scene { position: relative; margin-top: 20px; overflow: hidden; }
.tile-scene.wide { aspect-ratio: 1597 / 985; }
.tile-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s var(--ease); }
.tile:hover .tile-scene img { transform: scale(1.03); }

/* tile horizontal (flyer / €km): texto izquierda · imagen completa derecha.
   Altura fija compartida para que la última fila quede simétrica. */
.tile-duo { flex-direction: row; align-items: stretch; min-height: 380px; }
.tile-duo .tile-copy { flex: 1; align-self: center; padding: 28px; }
.tile-duo .tile-scene { flex: 1.1; margin: 20px 20px 20px 0; display: flex; }
.tile-duo .tile-scene img { position: static; width: auto; height: 100%; max-width: 100%; margin: auto; object-fit: contain; border-radius: 14px; }
.tile-duo.tile-dark .tile-scene img { box-shadow: 0 16px 36px -16px rgba(0,0,0,.55); }

.tile-dark { background: var(--dark-2); border-color: rgba(255,255,255,.06); color: var(--on-dark); }
.tile-dark p { color: var(--on-dark-muted); }
.tile-tint { background: var(--brand-tint); }

@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .tile-duo { flex-direction: column; }
  .tile-duo .tile-copy { align-self: stretch; padding: 28px 28px 0; }
  .tile-duo .tile-scene { margin: 20px; height: 360px; flex: none; }
}

/* ---------- Para quién ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.who { padding-top: 26px; border-top: 1px solid var(--line); }
.who .n { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--brand-deep); line-height: 1; }
.who h3 { margin-top: 14px; font-size: 1.35rem; font-weight: 650; }
.who p { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- Precios ---------- */
.pricing-head { display: grid; justify-items: center; text-align: center; margin-bottom: 48px; }
.bill-toggle { display: inline-flex; margin-top: 28px; background: var(--paper-soft); border: 1px solid var(--line-soft); border-radius: var(--r-pill); padding: 4px; }
.bill-toggle button {
  border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .9rem;
  padding: 9px 22px; border-radius: var(--r-pill); cursor: pointer; color: var(--muted);
  transition: background .2s, color .2s;
}
.bill-toggle button.active { background: var(--ink); color: var(--paper); }
.bill-toggle .save { color: var(--brand); font-weight: 700; font-size: .78rem; margin-left: 6px; }
.bill-toggle button.active .save { color: var(--lime); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.plan { border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; padding: 28px 24px; display: flex; flex-direction: column; gap: 0; position: relative; }
.plan.featured { border-color: var(--brand); box-shadow: 0 16px 44px -20px rgba(22,163,74,.4); }
.plan .flag { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.05rem; font-weight: 700; }
.plan .for { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.plan .price { margin-top: 18px; }
.plan .price .num { font-size: 2.1rem; }
.plan .price .per { font-size: .85rem; color: var(--muted); }
.plan ul { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; font-size: .88rem; color: var(--muted); }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--brand); }
.plan li.no { opacity: .45; }
.plan li.no svg { color: var(--muted); }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px;
  align-items: center; padding: 22px 4px; font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif); font-size: 1.5rem; color: var(--brand-deep); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 4px 24px; color: var(--muted); font-size: .96rem; max-width: 62ch; }

/* ---------- CTA final ---------- */
.final-cta { text-align: center; background: linear-gradient(var(--brand-tint), var(--paper)); border-top: 1px solid var(--line-soft); }
.final-cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.final-cta .waitlist { margin-inline: auto; }
.final-cta .waitlist-form { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 48px 0 56px; font-size: .88rem; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer .tagline { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink); margin-top: 8px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; transition: color .15s; }
.footer a:hover { color: var(--ink); }
.footer .legal { margin-top: 26px; font-size: .78rem; color: #9aa39d; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .sbar .fill { transition: none; width: var(--w); }
  .step { opacity: 1; }
  .scrolly-phone .screen img { transition: none; }
  .report-stack { transition: none; transform: none !important; }
  .tile, .btn { transition: none; }
}
