/* Maqueta de conversión de la home de Revopol · 2026-09-24
   Estética de la marca: blanco, azul #0867ff sobre tinta #0a214f, Inter, marino en paneles. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --bg: #ffffff;
  --ink: #0a214f;
  --ink-2: #22386a;
  --muted: #5d6b89;
  --soft: #f4f8ff;
  --soft-2: #eef5ff;
  --line: #dce6f5;
  --line-2: #c8d6ee;
  --blue: #0867ff;
  --blue-2: #0c4ad9;
  --blue-3: #e7f0ff;
  --navy: #071b43;
  --navy-2: #0b2a5e;
  --yellow: #ffca2a;
  --red: #ec1d2f;
  --dom: #0d7a55;
  --good: #8fd3b4;
  --review: #e9a93b;
  --weak: #d8465e;
  --none: #e6ecf5;
  --blank: #b3c0d6;
  --jur: #0867ff;
  --soc: #13a38a;
  --tec: #e3892b;
  --wa: #1fae5b;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(10, 33, 79, 0.1);
  --shadow-soft: 0 10px 28px rgba(10, 33, 79, 0.07);
  --shadow-blue: 0 10px 24px rgba(8, 103, 255, 0.28);
  --header-h: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
b, strong { font-weight: 750; }

.i { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.stars { display: inline-flex; gap: 2px; color: #fbbc05; }
.stars .i { fill: currentColor; stroke: none; }
.btn-wa .i, .btn-wa-light .i, .sticky-wa .i, .play-dot .i { fill: currentColor; stroke: none; }


.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 112px); }

html[data-mode="nuevo"] .only-post { display: none !important; }
html[data-mode="post"] .only-nuevo { display: none !important; }

/* Tipografía común */
h1 { font-weight: 880; letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(30px, 3.5vw, 48px); font-weight: 860; letter-spacing: -0.032em; line-height: 1.08; }
h2 span { color: var(--blue); }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.kicker-light { color: #8fb6ff; }
.sub { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 38em; }
.eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.muted-sm { font-size: 13px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--blue); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .sub { margin-inline: auto; }
[data-count], .stat b, .kpi b, .score b, .plan-price b, .counter b, .product-facts b, .simu-note b, .qr-note, .rating-num { font-variant-numeric: tabular-nums; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 750; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { height: 56px; padding: 0 24px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-wa { margin-top: 22px; background: var(--wa); color: #fff; }
.btn-wa-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-wa-light:hover { background: rgba(255, 255, 255, 0.14); }
.play-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-3); color: var(--blue); }
.play-dot .i { width: 12px; height: 12px; margin-left: 2px; }

/* Barra del examen */
.exam-strip { background: var(--navy); color: #c9d7f2; font-size: 13.5px; }
.exam-strip-in { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 0; text-align: center; }
.exam-strip b { color: #fff; }
.exam-strip a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 750; text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(236, 29, 47, 0.6); animation: pulse 1.8s infinite; flex: 0 0 auto; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(236, 29, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(236, 29, 47, 0); } }

/* Cabecera: la real de la home, en header-real.css (build-header-real.mjs). La marca de aquí es la del pie. */
.brand { display: inline-flex; flex-direction: column; align-items: stretch; color: var(--ink); text-decoration: none; font-size: 14.5px; line-height: 1; }
.brand-word { display: inline-flex; align-items: flex-start; }
.brand-name { font-size: 2em; font-weight: 900; letter-spacing: -0.035em; line-height: 0.95; }
.brand sup { position: relative; top: -0.3em; margin-left: 0.12em; font-size: 0.62em; font-weight: 800; line-height: 1; }
.brand-stripe { display: block; width: 100%; height: 0.2em; margin-top: 0.28em; background: linear-gradient(90deg, var(--red) 0 33.333%, var(--yellow) 33.333% 66.667%, var(--red) 66.667%); }
.brand-desc { margin-top: 0.38em; font-size: 0.55em; font-weight: 750; letter-spacing: 0.01em; }
.brand-light { color: #fff; }

/* Rig de Aitorín */
.mascot svg { width: 100%; height: 100%; display: block; overflow: visible; }
/* El guante del borde izquierdo del dibujo: fuera en todos los encuadres. */
.mascot svg > path[d^="m0 2"], .mascot svg > path[d^="m0 3"] { display: none; }

/* 1 · Hero */
.hero { padding: 56px 0 84px; background: radial-gradient(900px 520px at 88% 8%, #e8f1ff 0%, rgba(232, 241, 255, 0) 70%), radial-gradient(600px 400px at 0% 100%, #f3f7ff 0%, rgba(243, 247, 255, 0) 70%), #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.kicker-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--blue-3); color: var(--blue-2); font-size: 13px; font-weight: 750; }
.hero h1 { margin: 20px 0 18px; font-size: clamp(42px, 5.1vw, 70px); }
.hero h1 span { display: block; color: var(--blue); }
/* Titular de la home: más contenido y con la pregunta un escalón por debajo de la afirmación. */
.hero-copy h1 { max-width: 13em; margin: 20px 0 22px; font-size: clamp(38px, 4.3vw, 60px); font-weight: 820; letter-spacing: -0.032em; line-height: 1.05; text-wrap: balance; }
.hero-copy h1 > span { position: relative; margin-top: 0.62em; padding-top: 0.5em; font-size: 0.78em; font-weight: 760; letter-spacing: -0.025em; line-height: 1.12; color: var(--blue); text-wrap: balance; }
/* La «línea» de la pregunta: la misma línea de corte roja de la tarjeta de aptos, que se traza al cargar. */
.hero-copy h1 > span::before { content: ""; position: absolute; top: 0; left: 0; width: min(100%, 10em); border-top: 2px dashed var(--weak); transform-origin: left; animation: h1-cut 0.9s 0.35s cubic-bezier(.2,.8,.2,1) both, h1-cut-ok 0.5s 1.5s ease forwards; }
.hero-copy h1 > span::after { content: "nota de corte"; content: "nota de corte" / ""; position: absolute; top: 0; left: 0; transform: translateY(-50%); padding: 2px 9px; border-radius: 999px; background: #fdeef1; box-shadow: 0 0 0 4px #fff; color: var(--weak); font-size: 11px; font-weight: 850; letter-spacing: 0.08em; line-height: 1.4; text-transform: uppercase; white-space: nowrap; animation: h1-fade 0.4s 0.2s ease both, h1-pill-ok 0.5s 1.5s ease forwards; }
/* «milésimas» con trazo de rotulador amarillo que se dibuja de izquierda a derecha. */
.h1-mark { font-style: normal; padding-inline: 0.04em; margin-inline: -0.04em; background: linear-gradient(transparent 58%, rgba(255, 202, 42, 0.75) 58%, rgba(255, 202, 42, 0.75) 90%, transparent 90%) no-repeat 0 0 / 100% 100%; animation: h1-mark 0.7s 0.5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes h1-cut { from { transform: scaleX(0); } }
@keyframes h1-fade { from { opacity: 0; transform: translateY(-50%) scale(0.9); } }
@keyframes h1-mark { from { background-size: 0% 100%; } }
/* Una vez trazada, la línea de corte pasa de rojo (fuera) a verde (dentro), como la fila «is-in» de la tarjeta. */
@keyframes h1-cut-ok { to { border-top-color: var(--dom); } }
@keyframes h1-pill-ok { to { background-color: #e3f6ee; color: var(--dom); } }
@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 > span::before, .hero-copy h1 > span::after, .h1-mark { animation: none; }
  .hero-copy h1 > span::before { border-top-color: var(--dom); }
  .hero-copy h1 > span::after { background-color: #e3f6ee; color: var(--dom); }
}
.lead { font-size: 19px; color: var(--muted); max-width: 32em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--ink-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li > .i { color: var(--blue); }
.hero-proof .stars .i { width: 15px; height: 15px; }

.hero-visual { position: relative; padding-top: 70px; }
.exam-card { position: relative; max-width: 572px; margin-left: auto; padding: 22px 22px 30px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.exam-body { display: grid; grid-template-columns: minmax(0, 1fr) 156px; gap: 16px; align-items: stretch; margin-top: 16px; }
.exam-body .grid100 { margin-top: 0; }
.exam-body .exam-kpis { grid-template-columns: 1fr; grid-auto-rows: 1fr; margin-top: 0; }
.exam-body .kpi { display: flex; flex-direction: column; justify-content: center; }
.mascot-hero { position: absolute; top: -92px; right: -8px; width: 150px; height: 164px; z-index: 3; filter: drop-shadow(0 14px 18px rgba(10, 33, 79, 0.18)); }
.exam-card-head { padding-right: 132px; min-height: 48px; }
.exam-card-title { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--ink); }

.grid100 { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 16px; position: relative; }
.cell { aspect-ratio: 1; border-radius: 6px; background: var(--none); transition: background-color 0.35s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.cell[data-s="dom"] { background: var(--dom); }
.cell[data-s="good"] { background: var(--good); }
.cell[data-s="review"] { background: var(--review); }
.cell[data-s="weak"] { background: var(--weak); }
.cell[data-s="blank"] { background: repeating-linear-gradient(135deg, var(--blank) 0 3px, #dfe6f1 3px 6px); }
.cell.is-peer { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); z-index: 1; }
.cell.is-hover { transform: scale(1.12); }
.cell.is-flash { animation: flash 0.9s ease; }
@keyframes flash { 0% { transform: scale(0.6); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }

.exam-card .scanline { position: absolute; left: 14px; right: 14px; top: 0; height: 44px; pointer-events: none; opacity: 0; border-bottom: 2px solid rgba(8, 103, 255, 0.75); background: linear-gradient(180deg, rgba(8, 103, 255, 0), rgba(8, 103, 255, 0.18)); border-radius: 6px; }

.exam-kpis { display: grid; grid-template-columns: 1.1fr 0.9fr 1.2fr; gap: 10px; margin-top: 16px; }
.kpi { padding: 12px 14px; background: var(--soft); border-radius: 12px; }
.kpi b { display: block; font-size: 26px; font-weight: 860; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }
.kpi b small { font-size: 14px; font-weight: 700; color: var(--muted); }
.kpi > span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.kpi-main b { color: var(--dom); }
.kpi-leak b { color: var(--weak); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; }
.sw-dom { background: var(--dom); } .sw-good { background: var(--good); } .sw-review { background: var(--review); }
.sw-weak { background: var(--weak); } .sw-none { background: var(--none); }
.sw-blank { background: repeating-linear-gradient(135deg, var(--blank) 0 2px, #dfe6f1 2px 4px); }
.sw-jur { background: var(--jur); } .sw-soc { background: var(--soc); } .sw-tec { background: var(--tec); }
.exam-card-note { margin-top: 10px; font-size: 12px; color: var(--muted); }

.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); font-size: 13px; animation: bob 6s ease-in-out infinite alternate; }
.float-chip b { display: block; font-size: 13.5px; color: var(--ink); }
.float-chip small { display: block; font-size: 12px; color: var(--muted); }
.chip-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-3); color: var(--blue); }
.chip-ic-ok { background: #e3f6ee; color: var(--dom); }
.chip-week { left: -46px; bottom: -34px; animation-delay: -3s; }
.exam-card:has(.chip-week) { padding-bottom: 42px; }
@keyframes bob { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

/* 1b · Hero «Lista de aptos»: la nota de corte real de la promoción 42 */
html:not([data-hero="lista"]) .hv-lista { display: none !important; }
html:not([data-hero="rejilla"]) .hv-rejilla { display: none !important; }
.kicker-pill b { font-weight: 850; color: var(--ink); }
.cut-scene { position: relative; max-width: 600px; min-height: 640px; margin-left: auto; }
.cut-photo { position: absolute; top: 0; left: 0; width: 72%; height: 360px; margin: 0; overflow: hidden; border-radius: 24px; background: linear-gradient(180deg, #eaf1fb 0%, #f7f9fd 100%); box-shadow: var(--shadow); }
.cut-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.cut-card { position: absolute; top: 150px; right: 0; z-index: 2; width: 63%; padding: 18px 16px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 26px 60px rgba(10, 33, 79, 0.2); }
.mascot-cut { position: absolute; top: -84px; right: 6px; width: 108px; height: 116px; filter: drop-shadow(0 12px 16px rgba(10, 33, 79, 0.2)); }
.cut-head { padding-right: 104px; }
.cut-title { margin-top: 3px; font-size: 15px; font-weight: 800; line-height: 1.3; }
.cut-rows { position: relative; display: grid; gap: 4px; margin-top: 12px; }
.cut-row { display: grid; grid-template-columns: 1fr auto 72px; align-items: center; gap: 10px; padding: 7px 10px; background: #f6f8fc; border-radius: 9px; font-size: 14px; }
.c-dni { font-weight: 650; color: var(--ink-2); letter-spacing: 0.02em; }
.cut-row b { font-weight: 800; font-variant-numeric: tabular-nums; }
.c-state { padding: 3px 0; border-radius: 999px; font-size: 10.5px; font-style: normal; font-weight: 850; letter-spacing: 0.05em; text-align: center; text-transform: uppercase; }
.c-state.ok { background: #e3f6ee; color: var(--dom); }
.c-state.ko { background: #fdeef1; color: var(--weak); }
.cut-line { position: relative; display: flex; align-items: center; height: 26px; }
.cut-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--weak); }
.cut-line span { position: relative; margin-left: 8px; padding: 1px 8px; background: #fff; color: var(--weak); font-size: 11px; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.cut-row.is-you { background: #fff; box-shadow: inset 0 0 0 2px var(--weak); transition: box-shadow 0.4s, background-color 0.4s; }
.cut-row.is-you .c-dni { color: var(--ink); font-weight: 850; text-transform: uppercase; }
.cut-row.is-you.is-in { background: #ebf8f2; box-shadow: inset 0 0 0 2px var(--dom); }
.cut-note { margin-top: 10px; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.cut-replay { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0; background: none; border: 0; color: var(--blue); font-size: 13px; font-weight: 750; cursor: pointer; }
.cut-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; pointer-events: none; }
.cut-chip b { display: block; font-size: 14px; font-weight: 850; }
.cut-chip small { display: block; font-size: 12px; line-height: 1.35; color: var(--muted); }
.chip-ic-ko { background: #fdeef1; color: var(--weak); }
.chip-pain { left: 0; top: 392px; }
.chip-pain b { color: var(--weak); }
.chip-fix { left: 0; top: 392px; }
.chip-fix b { color: var(--dom); }
.cut-scene[data-stage="pain"] .chip-pain, .cut-scene[data-stage="fix"] .chip-fix { opacity: 1; transform: none; }
.js .cut-scene:not([data-stage]) .cut-rows > li { opacity: 0; transform: translateY(6px); }
.cut-rows > li { transition: opacity 0.35s ease, transform 0.35s ease; }
html[data-hero="lista"] .hero-visual { padding-top: 0; }

/* Animación «sin / con Revopol» */
.cut-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; padding: 3px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 800; text-align: center; }
.cut-tabs span { position: relative; z-index: 1; padding: 6px 4px; color: var(--muted); transition: color 0.4s; }
.cut-tabs i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--weak); box-shadow: 0 4px 12px rgba(216, 70, 94, 0.35); transition: transform 0.55s cubic-bezier(.2,.8,.2,1), background-color 0.55s, box-shadow 0.55s; }
.cut-scene[data-tab="sin"] .cut-tabs [data-tab="sin"], .cut-scene[data-tab="con"] .cut-tabs [data-tab="con"] { color: #fff; }
.cut-scene[data-tab="con"] .cut-tabs i { transform: translateX(100%); background: var(--dom); box-shadow: 0 4px 12px rgba(13, 122, 85, 0.35); }
.cut-scene:not([data-tab]) .cut-tabs i { opacity: 0; }
.c-gap { display: none; margin-left: 6px; font-size: 11px; font-weight: 750; color: var(--weak); text-transform: none; letter-spacing: 0; }
.cut-scene[data-stage="pain"] .c-gap { display: inline; }
.cut-row.is-you { position: relative; }
.cut-scene[data-stage="pain"] .cut-row.is-you { background: #fff5f6; }
.cut-row.is-flash { animation: row-glow 1s ease; }
@keyframes row-glow { 0% { box-shadow: inset 0 0 0 2px var(--dom), 0 0 0 0 rgba(13, 122, 85, 0.55); } 100% { box-shadow: inset 0 0 0 2px var(--dom), 0 0 0 16px rgba(13, 122, 85, 0); } }
.cut-line.is-hit::before { animation: line-hit 0.9s ease; }
@keyframes line-hit { 30% { border-top-color: var(--dom); transform: scaleY(2.5); } }
.c-state.is-pop { animation: pop 0.5s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 0% { transform: scale(0.4); } 100% { transform: scale(1); } }
.cut-gains { position: absolute; left: 0; top: 386px; z-index: 3; width: 214px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); opacity: 0; transform: translateY(10px); transition: opacity 0.45s, transform 0.45s; }
.cut-scene[data-stage="fix"] .cut-gains { opacity: 1; transform: none; }
.cg-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 850; color: var(--dom); text-transform: uppercase; letter-spacing: 0.05em; }
.cut-gains ol { display: grid; gap: 5px; margin-top: 8px; }
.cut-gains li { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--soft); font-size: 12px; line-height: 1.3; color: var(--muted); opacity: 0.45; transition: opacity 0.3s, background-color 0.3s, transform 0.3s; }
.cut-gains li b { color: var(--dom); font-size: 13px; }
.cut-gains li.is-now { opacity: 1; background: #e3f6ee; color: var(--ink); transform: scale(1.03); }
.cut-gains li.is-done { opacity: 1; color: var(--ink-2); }
.cg-total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 750; }
.cg-total b { color: var(--dom); font-variant-numeric: tabular-nums; }
.cut-fly { position: fixed; z-index: 80; padding: 3px 8px; border-radius: 999px; background: var(--dom); color: #fff; font-size: 13px; font-weight: 850; pointer-events: none; box-shadow: 0 6px 16px rgba(13, 122, 85, 0.4); }
.cut-burst { position: absolute; z-index: 4; width: 0; height: 0; pointer-events: none; }
.cut-burst i { position: absolute; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--c, var(--dom)); }
.cut-cheer { position: absolute; z-index: 5; right: 96px; padding: 6px 14px; border-radius: 999px; background: var(--dom); color: #fff; font-size: 15px; font-weight: 900; pointer-events: none; white-space: nowrap; box-shadow: 0 8px 20px rgba(13, 122, 85, 0.4); }
.cg-compare { display: none; margin-top: 8px; padding: 8px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12px; line-height: 1.45; }
.cg-compare.is-on { display: block; animation: rise 0.4s ease; }
.cg-compare s { color: #ff9aab; text-decoration: none; }
.cg-compare b { color: #6ee7a3; }
@media (max-width: 980px) {
  .cut-scene { margin: 0 auto; }
}
@media (max-width: 640px) {
  .cut-scene { display: flex; flex-direction: column; min-height: 0; }
  .cut-photo { position: relative; width: 100%; height: 230px; border-radius: 18px; }
  .cut-photo img { object-position: 50% 42%; }
  .cut-card { position: relative; top: auto; right: auto; width: 100%; margin-top: -34px; padding: 16px 12px 12px; }
  .mascot-cut { display: none; }
  .cut-head { padding-right: 0; }
  .cut-row { grid-template-columns: 1fr auto 66px; font-size: 13.5px; padding: 7px 8px; }
  .cut-row.c-far { display: none; }
  .cut-chip { position: relative; left: auto; top: auto; display: none; max-width: none; margin-top: 10px; }
  .cut-scene[data-stage="pain"] .chip-pain { display: flex; }
  .cut-gains { position: relative; left: auto; top: auto; width: 100%; margin-top: 10px; display: none; }
  .cut-scene[data-stage="fix"] .cut-gains { display: block; }
  .cut-cheer { right: 70px; }
}

/* 2 · Dolor */
.pain { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.chat { width: 100%; max-width: 470px; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--soft); border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: 14.5px; }
.chat-head small { display: block; font-size: 12px; color: var(--muted); }
.chat-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #f8fafd; }
.bubble { align-self: flex-end; max-width: 90%; padding: 10px 14px 8px; border-radius: 16px 16px 4px 16px; background: #dcebff; color: var(--ink); font-size: 15px; line-height: 1.45; }
.bubble time { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); text-align: right; }
.bubble-hard { background: var(--navy); color: #fff; font-weight: 650; }
.bubble-hard time { color: rgba(255, 255, 255, 0.6); }
.js .chat .bubble { opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.45s ease, transform 0.45s ease; }
.js .chat.is-in .bubble { opacity: 1; transform: none; }
.js .chat.is-in .bubble:nth-child(2) { transition-delay: 0.45s; }
.js .chat.is-in .bubble:nth-child(3) { transition-delay: 0.9s; }
.js .chat.is-in .bubble:nth-child(4) { transition-delay: 1.35s; }
.js .chat.is-in .bubble:nth-child(5) { transition-delay: 1.9s; }

.pain-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; padding: 28px 12px; background: var(--navy); border-radius: 22px; color: #fff; box-shadow: 0 24px 60px rgba(7, 27, 67, 0.25); }
.fact { padding: 6px 22px; }
.fact + .fact { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.fact h3 { margin: 16px 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.fact p { font-size: 15px; color: #b9c8e6; }
.fact p b { color: #fff; }
.fact-visual { display: flex; align-items: center; gap: 8px; height: 56px; }
.eq { display: grid; place-items: center; min-width: 48px; height: 44px; padding: 0 8px; border-radius: 10px; font-size: 20px; font-weight: 850; }
.eq-ok { background: rgba(31, 174, 91, 0.18); color: #6ee7a3; }
.eq-ko { background: rgba(216, 70, 94, 0.22); color: #ff9aab; }
.eq-eq { color: rgba(255, 255, 255, 0.6); font-size: 22px; font-weight: 800; }
.eq-zero { background: rgba(255, 255, 255, 0.1); color: #fff; }
.months { gap: 5px; align-items: flex-end; }
.months i { display: block; width: 14px; height: 30px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
.months i.on { height: 46px; background: var(--yellow); }
.weights { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; }
.weights span { display: grid; grid-template-columns: 38px 1fr; align-items: center; font-size: 12px; }
.weights span::after { content: ""; display: block; width: var(--w); min-width: 6px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #5aa0ff, var(--blue)); }
.weights b { color: #fff; font-weight: 800; }
.pain-art { display: block; width: 100%; max-width: 560px; height: auto; margin: 28px 0 -8px; }
.pain-close { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.pain-art + .pain-close { margin-top: 12px; }
.pain-close p { font-size: clamp(24px, 2.6vw, 34px); font-weight: 850; letter-spacing: -0.025em; }
.pain-close p b { color: var(--blue); font-weight: 850; }

/* 7b · Espejo (antes de precios) */
.mirror { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.mirror-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.units { margin-top: 30px; }
.units p { font-size: 14px; font-weight: 750; color: var(--ink-2); }
.units ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.units li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 78px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.units img { width: 40px; height: 44px; object-fit: contain; }
.units span { font-size: 11px; font-weight: 750; color: var(--muted); text-align: center; line-height: 1.2; }
.compare { position: relative; width: 100%; max-width: 440px; aspect-ratio: 2 / 3; margin: 0 auto; overflow: hidden; border-radius: 26px; background: radial-gradient(circle at 50% 35%, #fff 0%, #e9f0fb 70%); box-shadow: var(--shadow); user-select: none; }
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.compare-future { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(10, 33, 79, 0.3); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 8px 20px rgba(10, 33, 79, 0.25); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare-tag { position: absolute; top: 14px; padding: 6px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.tag-now { left: 14px; background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.tag-future { right: 14px; background: var(--navy); color: #fff; }

/* 4 · Tribunal */
.tribunal { background: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.stat b { display: block; font-size: 38px; font-weight: 880; letter-spacing: -0.035em; line-height: 1.05; color: var(--blue); }
.stat span { display: block; margin-top: 4px; font-size: 15px; font-weight: 750; }
.stat small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.tribunal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.tribunal-grid .grid-blocks { max-width: 420px; margin: 18px auto 0; }
.panel { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.panel-head h3 { font-size: 17px; font-weight: 800; }
.legend-blocks { margin-top: 0; }
.legend-blocks b { color: var(--ink); }
.grid-blocks { gap: 5px; }
.grid-blocks .cell { background: color-mix(in srgb, var(--c) calc(var(--a, 1) * 100%), #fff); }
.panel-note { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }
.bars { display: grid; gap: 12px; margin-top: 18px; }
.bars li { display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 10px; }
.bar-t { font-size: 13px; font-weight: 850; color: var(--ink-2); }
.bar-name { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.25; margin-bottom: 5px; }
.bar-track { display: block; height: 10px; border-radius: 5px; background: var(--soft-2); overflow: hidden; }
.bar-track i { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--jur); transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bars.is-in .bar-track i { width: var(--w); }
.bars li > b { font-size: 15px; font-weight: 850; text-align: right; }
.rare { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.rare b { color: var(--ink); }
.tribunal-close { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; }
.tribunal-close p { font-size: 20px; font-weight: 700; }
.tribunal-close p b { color: var(--blue); font-weight: 800; }
.tribunal-close .text-link { margin-top: 0; }

/* 5 · Diagnóstico */
.diag { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.diag-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: start; }
.quiz { position: relative; min-height: 540px; padding: 22px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.quiz-top { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mascot-quiz { width: 64px; height: 64px; border-radius: 16px; background: var(--soft); overflow: hidden; }
.quiz-count { font-size: 14px; color: var(--muted); }
.quiz-count b { color: var(--ink); }
.quiz-tag { margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--blue-2); }
.quiz-dots { display: flex; gap: 6px; }
.quiz-dots li { width: 26px; height: 6px; border-radius: 3px; background: var(--none); transition: background-color 0.3s; }
.quiz-dots li.is-now { background: var(--blue); }
.quiz-dots li.is-ok { background: var(--dom); }
.quiz-dots li.is-ko { background: var(--weak); }
.quiz-dots li.is-blank { background: var(--blank); }
.quiz-question { margin: 22px 0 16px; font-size: 22px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; }
.quiz-options { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 34px 1fr 22px; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; color: var(--ink); font-size: 16px; line-height: 1.4; text-align: left; cursor: pointer; transition: border-color 0.15s, background-color 0.15s, opacity 0.2s; }
.opt:hover:not(:disabled) { border-color: var(--blue); background: #f7faff; }
.opt:disabled { cursor: default; }
.opt-letter { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--soft); color: var(--blue-2); font-weight: 850; }
.opt .i { opacity: 0; }
.opt.is-right { border-color: var(--dom); background: #ebf8f2; }
.opt.is-right .opt-letter { background: var(--dom); color: #fff; }
.opt.is-right .i { opacity: 1; color: var(--dom); }
.opt.is-wrong { border-color: var(--weak); background: #fdeef1; }
.opt.is-wrong .opt-letter { background: var(--weak); color: #fff; }
.opt.is-wrong .i { opacity: 1; color: var(--weak); }
.opt.is-dim { opacity: 0.55; }
.quiz-blank { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 14px; background: none; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 650; cursor: pointer; }
.quiz-blank:hover:not(:disabled) { color: var(--ink); border-color: var(--ink-2); }
.quiz-blank:disabled { opacity: 0.4; cursor: default; }
.quiz-feedback { margin-top: 16px; padding: 16px 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; animation: rise 0.35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fb-head { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 850; }
.fb-ok { color: var(--dom); } .fb-ko { color: var(--weak); } .fb-blank { color: var(--ink-2); }
.fb-exp { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.fb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fb-trap { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: #fff3d6; color: #7a4f00; font-size: 13px; font-weight: 700; }
.fb-trap.is-dato { background: var(--blue-3); color: var(--blue-2); }
.fb-cells { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.quiz-next { margin-top: 16px; }

.quiz-result { animation: rise 0.4s ease; }
.qr-top { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 6px 0 18px; border-bottom: 1px solid var(--line); }
.qr-note { font-size: 68px; font-weight: 900; letter-spacing: -0.045em; line-height: 1; color: var(--blue); }
.qr-note small { font-size: 20px; color: var(--muted); font-weight: 750; letter-spacing: 0; }
.qr-msg h3 { font-size: 21px; font-weight: 850; letter-spacing: -0.01em; }
.qr-msg p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.qr-list { display: grid; gap: 8px; margin-top: 16px; }
.qr-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.qr-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; }
.qr-ic.ok { background: var(--dom); } .qr-ic.ko { background: var(--weak); } .qr-ic.bl { background: var(--blank); }
.qr-list em { font-style: normal; font-size: 12.5px; font-weight: 750; color: var(--muted); }
.qr-capture { margin-top: 18px; padding: 20px; background: var(--navy); border-radius: 16px; color: #fff; }
.qr-capture h4 { font-size: 18px; font-weight: 850; }
.qr-capture p { margin-top: 4px; font-size: 14px; color: #b9c8e6; }
.qr-form { display: flex; gap: 8px; margin-top: 14px; }
.qr-form input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 0; border-radius: 10px; font: inherit; font-size: 15px; color: var(--ink); }
.qr-form .btn { height: 50px; }
.qr-fine { margin-top: 10px; font-size: 12px; color: #8ea3c8; }
.qr-done { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(110, 231, 163, 0.14); color: #b9f5d3; font-weight: 700; font-size: 14.5px; }
.qr-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.qr-alt a { display: inline-flex; align-items: center; gap: 6px; color: var(--wa); font-weight: 750; text-decoration: none; }
.qr-alt a .i { fill: currentColor; stroke: none; }
.qr-restart { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; cursor: pointer; }

.diag-map { position: sticky; top: calc(var(--header-h) + 20px); }
.panel-map .grid100 { gap: 5px; max-width: 400px; margin-inline: auto; }
.score { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.score div { padding: 10px; background: var(--soft); border-radius: 12px; }
.score b { display: block; font-size: 24px; font-weight: 850; line-height: 1.1; }
.score span { display: block; font-size: 12px; color: var(--muted); }
.score-net { background: var(--blue-3) !important; }
.score-net b { color: var(--blue); }
.formula { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.formula span { font-weight: 500; color: var(--muted); }

/* 6 · Producto */
.product { background: #fff; }
.product-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items: center; }
.steps { display: grid; gap: 8px; }
.step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; width: 100%; padding: 18px 18px 22px; background: none; border: 1px solid transparent; border-radius: 16px; color: var(--ink); text-align: left; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; }
.step:hover { background: var(--soft); }
.step.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-soft); }
.step-num { font-size: 13px; font-weight: 850; color: var(--muted); padding-top: 3px; }
.step.is-active .step-num { color: var(--blue); }
.step-copy b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.step-copy span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.step:not(.is-active) .step-copy b { color: var(--ink-2); }
.step-bar { position: absolute; left: 18px; right: 18px; bottom: 9px; display: none; height: 3px; border-radius: 2px; background: var(--none); overflow: hidden; }
.step.is-active .step-bar { display: block; }
.step-bar i { display: block; width: 0; height: 100%; background: var(--blue); }
.step.is-active .step-bar i { animation: fill var(--step-ms, 7000ms) linear forwards; }
.steps.is-paused .step-bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

.stage { position: relative; display: grid; place-items: center; min-height: 660px; background: radial-gradient(closest-side, #e6efff 0%, rgba(230, 239, 255, 0) 100%); }
.phone { position: relative; width: 300px; height: 620px; padding: 11px; border-radius: 46px; background: #0b1530; box-shadow: 0 30px 70px rgba(10, 33, 79, 0.28), inset 0 0 0 2px #2c3857; }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 36px; background: #fff; }
.phone-notch { position: absolute; top: 20px; left: 50%; z-index: 5; width: 86px; height: 24px; margin-left: -43px; border-radius: 12px; background: #0b1530; }
.screen { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; pointer-events: none; }
.screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.scroll-shot { position: absolute; inset: 0; padding-top: 38px; overflow: hidden; background: #fff; }
.scroll-shot img { width: 100%; height: auto; }
.screen.is-active .scroll-shot img { animation: shot 14s ease-in-out infinite alternate; }
@keyframes shot { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(-100% + 560px)); } }

.coach { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 50px 14px 14px; background: #f6f9ff; }
.coach-title { font-size: 20px; font-weight: 850; letter-spacing: -0.01em; }
.coach-time { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 750; color: var(--ink-2); }
.coach-talk { display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: end; }
.mascot-coach { width: 70px; height: 70px; }
.coach-bubble { padding: 11px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; box-shadow: var(--shadow-soft); font-size: 13px; line-height: 1.45; }
.coach-tasks { display: grid; gap: 8px; }
.coach-tasks li { display: grid; grid-template-columns: 30px 1fr auto; gap: 9px; align-items: center; padding: 9px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.coach-tasks b { display: block; font-size: 13px; }
.coach-tasks small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.coach-tasks em { font-style: normal; font-size: 11.5px; font-weight: 750; color: var(--ink-2); }
.t-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }
.t-red .t-ic { background: #fdeef1; color: var(--weak); }
.t-amber .t-ic { background: #fff4df; color: #b87400; }
.t-blue .t-ic { background: var(--blue-3); color: var(--blue); }
.coach-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin-top: auto; border-radius: 12px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 750; }

.slides { position: absolute; inset: 0; padding-top: 30px; background: #fff; }
.slide { position: absolute; top: 30px; left: 0; width: 100%; height: auto; opacity: 0; transition: opacity 0.6s ease; }
.slide.is-active { opacity: 1; }

.simu { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 46px 14px 14px; background: #f6f9ff; font-size: 13px; }
.simu-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.simu-timer { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 750; font-variant-numeric: tabular-nums; }
.simu-result, .simu-sheet { padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.simu-note { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
.simu-note b { font-size: 42px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.simu-note span { font-size: 16px; font-weight: 750; color: var(--muted); }
.simu-calc { margin-top: 4px; font-size: 12.5px; color: var(--ink-2); }
.simu-split { display: flex; height: 9px; margin-top: 10px; border-radius: 5px; overflow: hidden; }
.simu-split i { display: block; width: var(--w); }
.simu-split .ok, .sheet .ok { background: var(--dom); }
.simu-split .ko, .sheet .ko { background: var(--weak); }
.simu-split .bl, .sheet .bl { background: var(--blank); }
.simu-legend { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 11px; font-weight: 700; }
.simu-legend .ok { color: var(--dom); } .simu-legend .ko { color: var(--weak); } .simu-legend .bl { color: var(--muted); }
.sheet { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; margin-top: 6px; }
.sheet i { display: block; aspect-ratio: 1; border-radius: 3px; }
.simu-tip { display: grid; grid-template-columns: 16px 1fr; gap: 8px; padding: 10px 12px; background: #fff6e0; border: 1px solid #f3dfab; border-radius: 12px; font-size: 12px; line-height: 1.45; color: #6b4a00; }
.simu-tip .i { margin-top: 2px; }
.simu-tip b { color: #4a3300; }

.stage-chip { position: absolute; z-index: 6; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); font-size: 12.5px; color: var(--muted); opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; pointer-events: none; }
.stage-chip b { display: block; font-size: 14px; font-weight: 850; color: var(--ink); }
.chip-a { right: 2%; top: 22%; }
.chip-a b { color: var(--weak); }
.chip-b { left: 0; bottom: 22%; }
.chip-b b { color: var(--dom); }
.stage[data-active="0"] .chip-a, .stage[data-active="2"] .chip-b { opacity: 1; transform: none; }
.stage-note { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.product-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.product-facts b { display: block; font-size: 32px; font-weight: 880; letter-spacing: -0.03em; }
.product-facts span { display: block; font-size: 13.5px; color: var(--muted); }

/* 7 · Prueba social */
.proof { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.proof-grid { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: stretch; }
.rating { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-align: center; box-shadow: var(--shadow-soft); }
.g-logo { width: 34px; height: 34px; }
.rating-num { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.rating .stars .i { width: 20px; height: 20px; }
.rating p { font-size: 14px; color: var(--muted); }
.rating .text-link { margin-top: 6px; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.review { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; scroll-snap-align: start; }
.rv-top { display: flex; align-items: center; gap: 10px; }
.rv-top img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.rv-top b { display: block; font-size: 14.5px; }
.rv-top small { display: block; font-size: 12px; color: var(--muted); }
.rv-g { width: 18px; height: 18px; margin-left: auto; }
.review .stars .i { width: 14px; height: 14px; }
.review p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.proof-row { display: grid; grid-template-columns: 0.9fr 1.5fr 1fr; gap: 18px; margin-top: 18px; }
.counter, .results { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }
.counter-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--dom); text-transform: uppercase; letter-spacing: 0.06em; }
.counter-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--dom); animation: pulse-ok 1.8s infinite; }
@keyframes pulse-ok { 0% { box-shadow: 0 0 0 0 rgba(13, 122, 85, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(13, 122, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(13, 122, 85, 0); } }
.counter > b { display: block; margin-top: 10px; font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.counter-label { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.spark { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 76px; margin: 18px 0 22px; }
.spark i, .results-bars i { font-style: normal; }
.spark i { position: relative; height: var(--h); border-radius: 6px 6px 2px 2px; background: #cfe0ff; }
.spark i:first-child { background: var(--blue); }
.spark i.today { background: repeating-linear-gradient(135deg, #b9d2ff 0 4px, #e7f0ff 4px 8px); }
.spark em { position: absolute; top: -17px; left: 0; right: 0; text-align: center; font-size: 10.5px; font-style: normal; font-weight: 750; color: var(--muted); }
.spark b { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 750; color: var(--muted); }
.counter-total { display: block; font-size: 12.5px; color: var(--muted); }
.team { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 24px; background: var(--navy); border-radius: 18px; color: #fff; }
.team h3 { font-size: 21px; font-weight: 850; letter-spacing: -0.01em; }
.team p { margin-top: 6px; font-size: 14px; color: #b9c8e6; }
.team .kicker { margin-bottom: 6px; }
.team-slots { display: flex; gap: 10px; }
.team-slots li { width: 78px; text-align: center; }
.slot-photo { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border: 1.5px dashed rgba(255, 255, 255, 0.35); border-radius: 50%; color: rgba(255, 255, 255, 0.5); }
.slot-photo .i { width: 26px; height: 26px; }
.team-slots b { display: block; margin-top: 6px; font-size: 12px; }
.team-slots small { display: block; font-size: 11px; color: #8ea3c8; }
.results { position: relative; }
.pending-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff3d6; color: #7a4f00; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.results h3 { margin-top: 10px; font-size: 17px; font-weight: 800; }
.results p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.results-bars { display: flex; align-items: flex-end; gap: 18px; height: 96px; margin: 26px 0 18px; padding-left: 4px; }
.results-bars i { position: relative; width: 70px; height: var(--h); border-radius: 8px 8px 0 0; background: repeating-linear-gradient(135deg, #dfe8f7 0 6px, #eef3fb 6px 12px); }
.results-bars i:first-child { background: repeating-linear-gradient(135deg, #c5dafd 0 6px, #e3edff 6px 12px); }
.results-bars em { position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-style: normal; font-weight: 800; color: var(--muted); }
.results-bars b { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--ink-2); }

/* 8 · Precios */
.billing { display: inline-flex; gap: 2px; margin-top: 22px; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; }
.billing button { padding: 9px 18px; background: none; border: 0; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 750; cursor: pointer; }
.billing button.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(10, 33, 79, 0.1); }
.billing small { margin-left: 4px; color: var(--dom); font-weight: 800; }
.plans { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 18px; align-items: start; margin-top: 30px; }
.plan { position: relative; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.plan-elite { padding-top: 32px; border: 2px solid var(--blue); box-shadow: 0 24px 60px rgba(8, 103, 255, 0.16); }
.plan-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.plan-name { font-size: 20px; font-weight: 850; }
.plan-for { font-size: 14px; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; }
.plan-price b { font-size: 44px; font-weight: 900; letter-spacing: -0.035em; line-height: 1; }
.plan-price span { font-size: 15px; font-weight: 650; color: var(--muted); }
.plan-billed { min-height: 20px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.plan .btn-block { margin-top: 16px; }
.plan-guarantee { display: flex; gap: 8px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--dom); line-height: 1.4; }
.plan-guarantee .i { margin-top: 1px; }
.plan-list { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.plan-list .i { margin-top: 2px; color: var(--dom); }
.plan-list em { margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: var(--blue-3); color: var(--blue-2); font-size: 11px; font-style: normal; font-weight: 800; white-space: nowrap; }
.assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 30px; }
.assurances li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.assurances .i { color: var(--blue); }

/* 9 · FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { color: var(--muted); transition: transform 0.2s ease; }
.faq-list details[open] summary .i { transform: rotate(180deg); }
.faq-list p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 44em; }

/* 10 · Cierre */
.final { padding-bottom: 96px; }
.final-card { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; padding: 40px 48px; overflow: hidden; border-radius: 28px; color: #fff; background: radial-gradient(640px 320px at 12% 0%, rgba(8, 103, 255, 0.38), rgba(8, 103, 255, 0)), radial-gradient(500px 300px at 100% 100%, rgba(8, 103, 255, 0.22), rgba(8, 103, 255, 0)), var(--navy); }
.final-mascot { display: grid; place-items: center; }
.mascot-final { width: 270px; height: 290px; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.35)); }
.final-copy h2 { color: #fff; }
.final-copy h2 span { color: #7fb0ff; }
.final-copy > p { margin-top: 14px; font-size: 18px; color: #b9c8e6; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.final-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 14px; color: #cfe0ff; }
.final-checks li { display: inline-flex; align-items: center; gap: 6px; }
.final-checks .i { color: #6ee7a3; }

/* Pie */
.footer { padding: 48px 0 24px; background: #050f29; color: #9fb0d0; font-size: 14px; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 14px; }
.footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-content: start; }
.footer a { color: #cfdaf0; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-contact { display: grid; gap: 8px; align-content: start; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }

/* Botón fijo en móvil */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: none; gap: 8px; padding: 8px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); transform: translateY(150%); transition: transform 0.3s ease; }
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { flex: 1; }
.sticky-wa { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--wa); color: #fff; flex: 0 0 auto; }
.sticky-wa .i { width: 22px; height: 22px; }

/* Panel de la maqueta */
.mq { position: fixed; right: 14px; bottom: 14px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; }
.mq-toggle { padding: 8px 12px; background: #111827; border: 0; border-radius: 999px; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
.mq-panel { position: absolute; right: 0; bottom: 44px; width: 310px; padding: 14px; background: #111827; border-radius: 14px; color: #e5e7eb; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.mq-title { font-weight: 800; }
.mq-label { margin: 12px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #9ca3af; }
.mq-seg { display: flex; gap: 2px; padding: 3px; background: #1f2937; border-radius: 10px; }
.mq-seg button { flex: 1; padding: 7px 6px; background: none; border: 0; border-radius: 8px; color: #d1d5db; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.mq-seg button[aria-pressed="true"] { background: #fff; color: #111827; }
.mq-notes { margin-top: 12px; }
.mq-notes summary { font-weight: 700; cursor: pointer; }
.mq-notes p { margin-top: 8px; font-size: 12px; line-height: 1.5; color: #cbd5e1; }
.mq-link { display: inline-block; margin-top: 12px; color: #93c5fd; }

/* Tooltip de las casillas */
.tip { position: fixed; z-index: 70; max-width: 250px; padding: 8px 11px; background: var(--navy); border-radius: 10px; color: #fff; font-size: 12.5px; line-height: 1.4; box-shadow: 0 12px 30px rgba(7, 27, 67, 0.3); pointer-events: none; }
.tip b { display: block; font-size: 13px; }
.tip small { display: block; color: #b9c8e6; }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .chat .bubble { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .chip-week { display: none; }
  .exam-card, .exam-card:has(.chip-week) { padding-bottom: 18px; }
  .exam-body { grid-template-columns: 1fr; }
  .exam-body .exam-kpis { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
  .hero-grid { gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .team { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .hero { padding: 36px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { padding-top: 64px; }
  .exam-card { margin: 0 auto; }
  .pain-grid, .mirror-grid, .tribunal-grid, .diag-grid, .product-grid, .faq-grid { grid-template-columns: 1fr; }
  .pain-grid, .mirror-grid { gap: 36px; }
  .chat { margin: 0 auto; }
  .pain-facts { grid-template-columns: 1fr; padding: 8px 4px; }
  .fact { padding: 20px; }
  .fact + .fact { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .diag-map { position: static; }
  .product-grid { gap: 20px; }
  .stage { min-height: 0; padding: 20px 0 40px; }
  .chip-a { right: 0; top: 10%; }
  .chip-b { left: 0; bottom: 18%; }
  .proof-grid { grid-template-columns: 1fr; }
  .rating { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 14px; padding: 18px; }
  .rating-num { font-size: 40px; }
  .reviews { grid-auto-columns: 78%; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan-elite { order: -1; }
  .final-card { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .mascot-final { width: 180px; height: 194px; }
  .final-ctas, .final-checks { justify-content: center; }
  .footer-in { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  /* La pestaña de la maqueta, pegada al borde izquierdo para no tapar el diseño. */
  .mq { left: 0; right: auto; top: 50%; bottom: auto; transform: translateY(-50%); align-items: flex-start; }
  .mq-toggle { writing-mode: vertical-rl; transform: rotate(180deg); padding: 8px 3px; border-radius: 8px 0 0 8px; font-size: 9px; opacity: 0.85; }
  .mq-panel { left: 30px; right: auto; bottom: auto; top: 50%; transform: translateY(-50%); width: min(310px, calc(100vw - 48px)); }
  .faq-grid { gap: 20px; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .exam-strip { font-size: 12.5px; }
  .exam-strip-in { gap: 8px; padding: 8px 0; flex-wrap: wrap; }
  .exam-strip p { flex: 1 1 70%; text-align: left; }
  .live-dot { align-self: flex-start; margin-top: 6px; }
  .hide-sm { display: none; }
  .brand { font-size: 12.5px; }
  .hero h1 { font-size: 40px; margin-top: 16px; }
  .hero-copy h1 { font-size: clamp(32px, 9vw, 38px); }
  .hero-copy h1 > span { margin-top: 0.85em; padding-top: 0.6em; }
  .lead { font-size: 17px; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { gap: 8px 16px; font-size: 13px; }
  .exam-card { padding: 16px 14px 14px; border-radius: 18px; }
  .mascot-hero { width: 108px; height: 118px; top: -70px; right: -4px; }
  .exam-card-head { padding-right: 92px; }
  .grid100 { gap: 4px; }
  .cell { border-radius: 4px; }
  .exam-body .exam-kpis { grid-template-columns: 1fr 1fr; }
  .kpi-leak { grid-column: 1 / -1; }
  .step:not(.is-active) .step-copy span { display: none; }
  .kpi b { font-size: 22px; }
  h2 { font-size: 30px; }
  .sub { font-size: 16.5px; }
  .bubble { font-size: 14.5px; }
  .stats { gap: 10px; }
  .stat { padding: 16px; }
  .stat b { font-size: 30px; }
  .panel { padding: 16px; }
  .quiz { padding: 18px 16px 20px; min-height: 0; }
  .quiz-top { grid-template-columns: 52px 1fr; }
  .mascot-quiz { width: 52px; height: 52px; }
  .quiz-dots { grid-column: 1 / -1; }
  .quiz-dots li { flex: 1; }
  .quiz-question { font-size: 19px; margin-top: 18px; }
  .opt { font-size: 15px; padding: 12px; gap: 10px; grid-template-columns: 30px 1fr 18px; }
  .opt-letter { width: 28px; height: 28px; }
  .qr-top { grid-template-columns: 1fr; gap: 8px; }
  .qr-note { font-size: 56px; }
  .qr-form { flex-direction: column; }
  .score { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .score b { font-size: 20px; }
  .step { padding: 14px 14px 18px; grid-template-columns: 30px 1fr; }
  .step-copy b { font-size: 17px; }
  .phone { width: 272px; height: 560px; border-radius: 42px; }
  .phone-screen { border-radius: 32px; }
  @keyframes shot { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(-100% + 500px)); } }
  .stage-chip { display: none; }
  .product-facts { grid-template-columns: 1fr 1fr; }
  .product-facts b { font-size: 26px; }
  .proof-row { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .team-slots { justify-content: flex-start; }
  .counter > b { font-size: 46px; }
  .plan-price b { font-size: 38px; }
  .assurances { flex-direction: column; align-items: center; }
  .final-copy h2 { font-size: 30px; }
  .final-ctas .btn { width: 100%; }
  .footer nav { grid-template-columns: 1fr 1fr; }
}

/* Hero «Lista» v4: ilustración entera y protagonista, tarjeta compacta arriba a la izquierda */
.cut-scene { max-width: 620px; min-height: 690px; }
.cut-photo { top: auto; bottom: 0; left: auto; right: -10px; width: 500px; height: 500px; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.cut-photo::after { display: none; }
.cut-photo img { object-fit: contain; object-position: center bottom; filter: drop-shadow(0 22px 30px rgba(10, 33, 79, 0.12)); }
.cut-card { top: 0; left: 0; right: auto; width: 320px; padding: 14px 14px 12px; }
.cut-head { padding-right: 0; }
.cut-title { font-size: 14px; }
.cut-tabs { margin-top: 10px; font-size: 12px; }
.cut-rows { gap: 3px; margin-top: 8px; }
.cut-row { grid-template-columns: 1fr auto 62px; gap: 8px; padding: 5px 8px; font-size: 13px; }
.cut-row.c-far { display: none; }
.c-state { font-size: 9.5px; }
.cut-line { height: 22px; }
.cut-line span { font-size: 10px; }
.cut-msg { position: relative; min-height: 58px; margin-top: 8px; }
.cm-pain, .cm-gains { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; pointer-events: none; }
.cm-pain { display: flex; align-items: center; padding: 8px 10px; border-radius: 10px; background: #fdeef1; color: #8a1f33; font-size: 12.5px; line-height: 1.35; }
.cm-pain b { margin-right: 4px; color: var(--weak); }
.cut-scene[data-stage="pain"] .cm-pain, .cut-scene[data-stage="fix"] .cm-gains { opacity: 1; transform: none; }
.cm-gains ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.cm-gains li { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 2px; border-radius: 8px; background: var(--soft); font-size: 10.5px; color: var(--muted); opacity: 0.5; transition: opacity 0.3s, background-color 0.3s, transform 0.3s; }
.cm-gains li b { font-size: 12.5px; color: var(--dom); }
.cm-gains li.is-now { opacity: 1; background: #e3f6ee; color: var(--ink); transform: scale(1.08); }
.cm-gains li.is-done { opacity: 1; color: var(--ink-2); }
.cm-total { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11.5px; font-weight: 750; color: var(--ink-2); }
.cm-total b { color: var(--dom); font-variant-numeric: tabular-nums; }
.cg-compare { margin-top: 8px; padding: 7px 9px; font-size: 11.5px; }
.cut-note { margin-top: 6px; font-size: 10.5px; }
.cut-replay { margin: 0 0 0 4px; font-size: 11.5px; }
.cut-cheer { right: 70px; font-size: 13px; }
@media (max-width: 1180px) {
  .cut-photo { width: 440px; height: 440px; }
  .cut-scene { min-height: 640px; }
}
@media (max-width: 640px) {
  .cut-photo { position: relative; right: auto; bottom: auto; width: 100%; height: auto; aspect-ratio: 1; order: -1; }
  .cut-card { width: 100%; margin-top: 8px; }
}

/* Hero «Lista» v5: ilustración entera como protagonista; la tarjeta, pequeña, solo sobre el cielo */
.cut-scene { max-width: 620px; min-height: 700px; margin-left: auto; }
.cut-blob { position: absolute; right: 0; bottom: 30px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #e6efff 0%, #eef4ff 55%, rgba(238, 244, 255, 0) 72%); }
.cut-photo { top: auto; bottom: 0; right: 0; left: auto; width: 600px; height: 600px; }
.cut-photo img { filter: drop-shadow(0 26px 30px rgba(10, 33, 79, 0.14)); }
.cut-card { top: 0; left: -8px; width: 286px; padding: 12px 12px 10px; border-radius: 16px; box-shadow: 0 22px 50px rgba(10, 33, 79, 0.18); }
.cut-card .eyebrow { display: none; }
.cut-title { margin: 0; font-size: 13px; }
.cut-tabs { margin-top: 8px; padding: 2px; font-size: 11.5px; }
.cut-tabs span { padding: 5px 4px; }
.cut-tabs i { top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); }
.cut-msg { min-height: 50px; margin-top: 7px; }
.cm-pain { padding: 6px 9px; font-size: 11.5px; }
.cm-gains li { padding: 3px 1px; font-size: 9.5px; }
.cm-gains li b { font-size: 11.5px; }
.cm-total { font-size: 10.5px; margin-top: 3px; }
.cut-rows { gap: 3px; margin-top: 6px; }
.cut-row { grid-template-columns: 1fr auto 56px; gap: 6px; padding: 4px 7px; font-size: 12px; border-radius: 7px; }
.c-state { font-size: 9px; padding: 2px 0; }
.cut-line { height: 18px; }
.cut-line span { font-size: 9.5px; margin-left: 4px; padding: 0 6px; }
.c-gap { font-size: 10px; }
.cg-compare { display: none !important; }
.cut-note { margin-top: 6px; font-size: 10px; line-height: 1.3; }
.cut-cheer { right: 60px; font-size: 12px; padding: 4px 10px; }
@media (max-width: 1180px) {
  .cut-scene { max-width: 540px; min-height: 620px; }
  .cut-photo { width: 520px; height: 520px; }
  .cut-blob { width: 480px; height: 480px; }
}
@media (max-width: 980px) {
  .cut-scene { margin: 0 auto; }
}
@media (max-width: 640px) {
  .cut-scene { min-height: 0; }
  .cut-blob { display: none; }
  .cut-photo { position: relative; width: 100%; height: auto; right: auto; bottom: auto; }
  .cut-card { position: relative; left: auto; width: 100%; margin-top: 0; }
}
@media (max-width: 1360px) and (min-width: 1181px) {
  .cut-scene { min-height: 675px; }
  .cut-photo { width: 540px; height: 540px; }
  .cut-blob { width: 500px; height: 500px; }
}

/* ===== v6: hero limpio + sección propia para la línea del corte ===== */
.hero-art { position: relative; max-width: 560px; margin-left: auto; }
.art-panel { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 32px;
  background: radial-gradient(120% 90% at 70% 20%, #ffffff 0%, #e8f0ff 45%, #d6e4ff 100%);
  box-shadow: 0 30px 70px rgba(10, 33, 79, 0.14), inset 0 0 0 1px rgba(8, 103, 255, 0.08); }
.art-panel img { position: absolute; left: 4%; right: 4%; bottom: 2%; width: 92%; height: auto; }
.art-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 1;
  background: linear-gradient(90deg, var(--red) 0 33.333%, var(--yellow) 33.333% 66.667%, var(--red) 66.667%); }
.art-ticket { position: absolute; left: -34px; top: 40px; z-index: 2; width: 236px; padding: 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 44px rgba(10, 33, 79, 0.18); animation: bob 6s ease-in-out infinite alternate; }
.at-top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.at-top b { color: var(--weak); }
.at-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 10px;
  border-radius: 10px; background: #fff5f6; box-shadow: inset 0 0 0 2px var(--weak); transition: background-color 0.5s, box-shadow 0.5s; }
.at-you { font-size: 13px; font-weight: 850; text-transform: uppercase; }
.at-row b { justify-self: end; font-size: 17px; font-weight: 850; font-variant-numeric: tabular-nums; }
.at-row em { padding: 3px 8px; border-radius: 999px; background: #fdeef1; color: var(--weak); font-size: 10px; font-style: normal; font-weight: 850; letter-spacing: 0.05em; text-transform: uppercase; transition: background-color 0.5s, color 0.5s; }
.at-foot { margin-top: 7px; font-size: 12.5px; font-weight: 750; color: var(--weak); transition: color 0.5s; }
.art-ticket.is-in .at-row { background: #ebf8f2; box-shadow: inset 0 0 0 2px var(--dom); }
.art-ticket.is-in .at-row em { background: #e3f6ee; color: var(--dom); }
.art-ticket.is-in .at-foot { color: var(--dom); }

.line-section { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.line-grid { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.line-points { display: grid; gap: 10px; margin: 24px 0 28px; }
.line-points li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; font-size: 16px; color: var(--ink-2); }
.line-points b { padding: 6px 0; border-radius: 10px; background: #e3f6ee; color: var(--dom); font-size: 15px; font-weight: 850; text-align: center; }
.line-section .cut-scene { position: relative; max-width: none; min-height: 0; margin: 0; }
.line-section .cut-card { position: relative; top: auto; left: auto; right: auto; width: 100%; margin: 0; padding: 20px 20px 16px; border-radius: 22px; box-shadow: var(--shadow); }
.line-section .cut-card .eyebrow { display: block; }
.line-section .cut-title { font-size: 16px; margin-top: 3px; }
.line-section .cut-tabs { margin-top: 12px; font-size: 13px; padding: 3px; }
.line-section .cut-tabs span { padding: 7px 4px; }
.line-section .cut-tabs i { top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); }
.line-section .cut-msg { min-height: 64px; margin-top: 10px; }
.line-section .cm-pain { font-size: 13.5px; padding: 8px 12px; }
.line-section .cm-gains li { font-size: 11px; padding: 5px 2px; }
.line-section .cm-gains li b { font-size: 14px; }
.line-section .cm-total { font-size: 12px; }
.line-section .cut-rows { gap: 4px; margin-top: 10px; }
.line-section .cut-row { grid-template-columns: 1fr auto 72px; gap: 10px; padding: 8px 11px; font-size: 14.5px; border-radius: 9px; }
.line-section .cut-row.c-far { display: grid; }
.line-section .c-state { font-size: 10.5px; padding: 3px 0; }
.line-section .cut-line { height: 26px; }
.line-section .cut-line span { font-size: 11px; }
.line-section .c-gap { font-size: 11px; }
.line-section .cg-compare.is-on { display: block !important; margin-top: 10px; font-size: 13px; padding: 10px 12px; }
.line-section .cut-note { font-size: 11.5px; margin-top: 8px; }
.line-section .cut-cheer { right: 110px; font-size: 14px; padding: 5px 12px; }

@media (max-width: 1180px) { .line-grid { grid-template-columns: 1fr 400px; gap: 40px; } }
@media (max-width: 980px) {
  .hero-art { margin: 0 auto; }
  .line-grid { grid-template-columns: 1fr; }
  .line-section .cut-scene { max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .art-ticket { left: 10px; top: 10px; width: 210px; padding: 10px 12px; }
  .at-row b { font-size: 15px; }
  .line-section .cut-card { padding: 16px 12px 12px; }
  .line-section .cut-row { grid-template-columns: 1fr auto 64px; font-size: 13.5px; padding: 7px 8px; }
  .line-section .cut-row.c-far { display: none; }
  .line-section .cut-cheer { right: 70px; }
}

/* ===== v7: flashcard del hero (delante la ilustración, detrás la línea del corte) ===== */
.flip { perspective: 1800px; }
.flip-inner { position: relative; display: grid; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.3,.9,.3,1); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { transform: rotateY(180deg); display: grid; align-items: center; padding: 22px; border-radius: 32px;
  background: radial-gradient(120% 90% at 30% 10%, #ffffff 0%, #e8f0ff 50%, #d6e4ff 100%);
  box-shadow: 0 30px 70px rgba(10, 33, 79, 0.14), inset 0 0 0 1px rgba(8, 103, 255, 0.08); }
.flip-front { align-self: start; }
.flip.is-flipping .flip-inner { animation: flip-lift 1s ease; }
@keyframes flip-lift { 50% { scale: 1.04; } }
.flip-back .cut-scene { position: relative; max-width: none; min-height: 0; margin: 0; }
.flip-back .cut-card { position: relative; top: auto; left: auto; right: auto; width: 100%; margin: 0; padding: 18px 18px 14px; border-radius: 20px; box-shadow: 0 16px 40px rgba(10, 33, 79, 0.14); }
.flip-back .cut-card .eyebrow { display: block; }
.flip-back .cut-title { font-size: 15px; margin-top: 2px; }
.flip-back .cut-tabs { margin-top: 10px; font-size: 13px; padding: 3px; }
.flip-back .cut-tabs span { padding: 7px 4px; }
.flip-back .cut-tabs i { top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); }
.flip-back .cut-msg { min-height: 60px; margin-top: 10px; }
.flip-back .cm-pain { font-size: 13px; padding: 8px 12px; }
.flip-back .cm-gains li { font-size: 11px; padding: 5px 2px; }
.flip-back .cm-gains li b { font-size: 14px; }
.flip-back .cm-total { font-size: 12px; }
.flip-back .cut-rows { gap: 4px; margin-top: 10px; }
.flip-back .cut-row { grid-template-columns: 1fr auto 72px; gap: 10px; padding: 7px 11px; font-size: 14.5px; border-radius: 9px; }
.flip-back .c-state { font-size: 10.5px; padding: 3px 0; }
.flip-back .cut-line { height: 24px; }
.flip-back .cut-line span { font-size: 11px; }
.flip-back .c-gap { font-size: 11px; }
.flip-back .cg-compare.is-on { display: block !important; margin-top: 10px; font-size: 13px; padding: 9px 12px; }
.flip-back .cut-note { font-size: 11px; margin-top: 8px; }
.flip-back .cut-replay { display: none !important; }
.flip-back .cut-cheer { right: 110px; font-size: 14px; padding: 5px 12px; }
.flip-btn { display: flex; align-items: center; gap: 6px; margin: 16px auto 0; padding: 0; background: none; border: 0; color: var(--blue); font-size: 14px; font-weight: 750; cursor: pointer; }
.flip-btn:disabled { opacity: 0.4; cursor: default; }
@media (max-width: 640px) {
  .flip-back { padding: 10px; border-radius: 22px; }
  .flip-back .cut-card { padding: 14px 10px 10px; }
  .flip-back .cut-row { grid-template-columns: 1fr auto 62px; font-size: 13px; padding: 6px 8px; }
  .flip-back .cut-cheer { right: 70px; }
}

/* v8: giro automático; ilustración suelta (sin panel ni franja) y detrás la tarjeta blanca */
.hero-art .art-panel { aspect-ratio: auto; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.hero-art .art-panel img { position: static; width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(10, 33, 79, 0.14)); }
.hero-art .art-stripe, .flip-btn { display: none !important; }
.flip-back { padding: 0; border-radius: 0; background: none; box-shadow: none; align-items: center; }
.flip-back .cut-card { max-width: 440px; margin: 0 auto; box-shadow: 0 30px 70px rgba(10, 33, 79, 0.2); }

/* v9: tarjeta del reverso más grande (mismo peso que el texto) y giro más rápido */
.hero-art { max-width: 600px; }
.flip-inner { transition-duration: 0.75s; }
.flip.is-flipping .flip-inner { animation-duration: 0.75s; }
.flip-back .cut-card { max-width: 580px; padding: 24px 24px 18px; border-radius: 24px; }
.flip-back .cut-card .eyebrow { font-size: 12.5px; }
.flip-back .cut-title { font-size: 19px; }
.flip-back .cut-tabs { font-size: 15px; margin-top: 14px; }
.flip-back .cut-tabs span { padding: 9px 4px; }
.flip-back .cut-msg { min-height: 74px; margin-top: 12px; }
.flip-back .cm-pain { font-size: 15px; padding: 10px 14px; }
.flip-back .cm-gains li { font-size: 12.5px; padding: 6px 2px; }
.flip-back .cm-gains li b { font-size: 16px; }
.flip-back .cm-total { font-size: 13.5px; margin-top: 5px; }
.flip-back .cut-rows { gap: 5px; margin-top: 12px; }
.flip-back .cut-row { grid-template-columns: 1fr auto 84px; gap: 12px; padding: 10px 14px; font-size: 17px; border-radius: 11px; }
.flip-back .c-state { font-size: 11.5px; padding: 4px 0; }
.flip-back .cut-line { height: 30px; }
.flip-back .cut-line span { font-size: 12px; }
.flip-back .c-gap { font-size: 12.5px; }
.flip-back .cg-compare.is-on { font-size: 14.5px; padding: 11px 14px; margin-top: 12px; }
.flip-back .cut-note { font-size: 12px; }
.flip-back .cut-cheer { right: 130px; font-size: 16px; }
@media (max-width: 1180px) { .flip-back .cut-row { font-size: 15.5px; padding: 8px 12px; } }
@media (max-width: 640px) {
  .flip-back .cut-card { padding: 16px 12px 12px; }
  .flip-back .cut-title { font-size: 16px; }
  .flip-back .cut-row { grid-template-columns: 1fr auto 66px; font-size: 14px; padding: 7px 9px; }
  .flip-back .cm-gains li b { font-size: 13px; }
  .flip-back .cut-cheer { right: 80px; }
}
.flip-inner { transition-duration: 0.65s; }
.flip.is-flipping .flip-inner { animation-duration: 0.65s; }

/* ===== Letreros animados: «Próxima parada · Ávila» en el hero y «¡Aquí llegas tú!» sobre APTO ===== */
/* A la izquierda, sobre el cielo, como estaba. Sale una sola vez, cuando la tarjeta del corte ha vuelto (.has-sign, conv.js). */
.hang-sign { position: absolute; z-index: 2; left: 3%; top: -2%; width: 30%; overflow: visible; transform-origin: 50% 4.5%;
  filter: drop-shadow(0 10px 14px rgba(10, 33, 79, 0.16)); }
.js [data-flip]:not(.has-sign) .hang-sign { visibility: hidden; }
.flip.has-sign .hang-sign { animation: hs-in 2.2s ease-out backwards, hs-sway 5s linear 2.2s infinite; }
.hs-cord { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.hs-board { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.hs-ring { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.hs-nail { fill: var(--ink); }
.hs-kicker { font-size: 13.5px; font-weight: 800; letter-spacing: 1.3px; fill: var(--blue); text-anchor: middle; }
.hs-city { font-size: 34px; font-weight: 850; letter-spacing: -0.5px; fill: var(--ink); text-anchor: middle; }
@keyframes hs-in {
  0% { opacity: 0; translate: 0 -30%; rotate: 12deg; }
  28% { opacity: 1; translate: 0 0; rotate: -8deg; }
  46% { rotate: 5deg; }
  63% { rotate: -3deg; }
  80% { rotate: 1.2deg; }
  100% { rotate: 0deg; }
}
/* Tras la caída, péndulo leve y continuo: rápido al pasar por el centro, lento en los extremos. */
@keyframes hs-sway {
  0%, 50% { rotate: 0deg; animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1); }
  25% { rotate: 1.8deg; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  75% { rotate: -1.8deg; animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0); }
  100% { rotate: 0deg; }
}

.pain-art-wrap { position: relative; isolation: isolate; max-width: 560px; margin: 44px 0 -8px; }
.pain-art-wrap .pain-art { position: relative; z-index: 1; margin: 0; }
.pain-art-wrap + .pain-close { margin-top: 12px; }
.apto-glow { position: absolute; z-index: 0; left: 84.1%; top: 8.6%; width: 26%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(8, 103, 255, 0.3), rgba(8, 103, 255, 0.12) 55%, transparent);
  animation: apto-glow 2.4s ease-in-out infinite alternate; }
.apto-sign { position: absolute; z-index: 2; left: 65.5%; top: -8.8%; width: 30%; overflow: visible; transform-origin: 62% 90%;
  filter: drop-shadow(0 8px 14px rgba(10, 33, 79, 0.18));
  animation: apto-pop 0.7s cubic-bezier(0.3, 1.4, 0.6, 1) 0.3s backwards, apto-bob 1.8s ease-in-out 1s infinite alternate; }
.apto-sign path { fill: #fff; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.apto-sign text { font-size: 20px; font-weight: 850; letter-spacing: -0.2px; fill: var(--ink); text-anchor: middle; }
.apto-sign tspan { fill: var(--blue); }
.apto-spark { position: absolute; z-index: 2; width: 3.4%; fill: var(--yellow); animation: apto-twinkle 2.2s ease-in-out infinite; }
.apto-spark.s1 { left: 60.2%; top: 2.4%; }
.apto-spark.s2 { left: 94.5%; top: 10.9%; width: 2.6%; fill: var(--blue); animation-delay: 0.7s; }
.apto-spark.s3 { left: 75.7%; top: 14.2%; width: 2.4%; animation-delay: 1.4s; }
.js [data-inview]:not(.is-inview) .apto-sign { animation-play-state: paused; }
@keyframes apto-pop { 0% { opacity: 0; scale: 0.4; translate: 0 10px; } 60% { opacity: 1; scale: 1.08; } 100% { scale: 1; translate: 0 0; } }
@keyframes apto-bob { from { translate: 0 0; } to { translate: 0 -5px; } }
@keyframes apto-glow { from { opacity: 0.35; scale: 0.8; } to { opacity: 1; scale: 1.1; } }
@keyframes apto-twinkle { 0%, 100% { opacity: 0; scale: 0.3; rotate: 0deg; } 50% { opacity: 1; scale: 1; rotate: 45deg; } }
@media (max-width: 640px) {
  .hang-sign { width: 38%; }
  .pain-art-wrap { margin-top: 40px; }
  .apto-sign { left: 55.7%; top: -13.1%; width: 40%; }
}
