/* Tu estudio, tu empresa (8 min) · Game Changers
   Dirección «La mano en el grifo»: el mando que abre el caudal de artistas.
   Marca impuesta: casi negro #07080D + cian #00E5FF. Tema oscuro fijo (es la marca). */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Superficies: tinta azulada de la marca */
  --ink-0: #07080D;
  --ink-1: oklch(0.175 0.012 252);
  --ink-2: oklch(0.215 0.016 245);
  --ink-3: oklch(0.27 0.02 240);
  --line: oklch(0.34 0.022 238 / 0.7);
  --line-soft: oklch(0.34 0.022 238 / 0.38);

  /* Texto */
  --text: oklch(0.96 0.008 215);
  --text-2: oklch(0.8 0.016 222);
  --text-3: oklch(0.68 0.02 228);

  /* Cian de marca: solo acción, caudal y estado activo */
  --cyan: #00E5FF;
  --cyan-soft: oklch(0.86 0.15 205 / 0.14);
  --cyan-line: oklch(0.86 0.15 205 / 0.45);
  --on-cyan: oklch(0.17 0.03 230);
  --wa: oklch(0.72 0.17 152);
  --on-wa: oklch(0.18 0.04 160);
  --error: oklch(0.74 0.16 25);

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(1.95rem, 1.25rem + 3vw, 3.2rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 2.1vw, 2.85rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-small: 0.875rem;

  --maxw: 1180px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.25rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);

  --topbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
em { font-style: normal; color: var(--cyan); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: 0.6rem 1rem; border-radius: var(--r-sm); background: var(--cyan); color: var(--on-cyan); font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  background: var(--cyan); color: var(--on-cyan);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--lg { min-height: 56px; padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--wa { background: var(--wa); color: var(--on-wa); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: 0 0 0 4px var(--cyan-soft); }
  .btn--ghost:hover { border-color: var(--cyan-line); box-shadow: none; }
  .btn--wa:hover { box-shadow: 0 0 0 4px oklch(0.72 0.17 152 / 0.18); }
}

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: oklch(0.13 0.01 260 / 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: transform 300ms var(--ease-out);
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar__inner {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topbar__logo img { width: 128px; height: auto; }
.topbar__note { font-size: var(--fs-small); color: var(--text-2); font-weight: 500; }
.topbar__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Hero ---------- */
.hero {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(1.75rem, 1rem + 3vw, 4.5rem) var(--gutter) clamp(2.5rem, 2rem + 3vw, 5rem);
  display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.hero__eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 1rem;
}
.hero__title { font-size: var(--fs-hero); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.hero__title em { display: block; }
.hero__guarantee {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem; border: 1px solid var(--cyan-line); border-radius: 999px;
  background: var(--cyan-soft); color: var(--text); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
}
.hero__guarantee svg { flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__sub { margin-top: 1.25rem; max-width: 34ch; color: var(--text-2); font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); }
.hero__sub strong { display: block; margin-bottom: 0.35rem; color: var(--text); font-weight: 500; }

/* Titular por palabras */
.split-word { display: inline-block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; vertical-align: top; }
.split-word > span { display: inline-block; transform: translateY(108%); transition: transform 900ms var(--ease-enter); transition-delay: calc(var(--i) * 65ms); }
.is-split-ready .split-word > span { transform: none; }

/* Escritorio: el vídeo es lo principal. Texto compacto en una fila y el reproductor a todo el ancho debajo,
   para que entre en la primera pantalla. */
@media (min-width: 900px) {
  .hero { padding-top: clamp(1.5rem, 0.5rem + 2vw, 2.75rem); gap: clamp(1.25rem, 0.5rem + 1.5vw, 2rem); }
  .hero__copy { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: 3rem; align-items: end; }
  .hero__eyebrow { grid-column: 1 / -1; margin-bottom: 0.75rem; }
  .hero__title { font-size: clamp(2.1rem, 0.5rem + 2.4vw, 3.1rem); line-height: 1.04; }
  .hero__title { grid-column: 1; grid-row: 2; }
  .hero__guarantee { grid-column: 1; grid-row: 3; justify-self: start; }
  .hero__sub { grid-column: 2; grid-row: 2 / span 2; align-self: end; margin-top: 0; padding-bottom: 0.35rem; max-width: 40ch; justify-self: end; font-size: 1.05rem; }
  /* Ancho completo en pantallas altas; en portátiles de 800-900 px de alto se reduce lo justo para verse entero. */
  .player { width: clamp(720px, calc((100svh - 300px) * 1.7778), 100%); justify-self: center; }
}

/* ---------- Reproductor ---------- */
.player { position: relative; }
.player__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-1); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px oklch(0.6 0.15 210 / 0.35);
  clip-path: inset(0 round var(--r-lg));
}
.player__video, .player__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__video iframe { pointer-events: none; }
.player[data-state="open"] .player__video iframe { pointer-events: auto; }

.player__gate {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: 0.6rem; padding: 1rem;
  border: 0; cursor: pointer; text-align: center;
  background:
    radial-gradient(60% 70% at 50% 50%, oklch(0.13 0.01 255 / 0.35), oklch(0.11 0.01 255 / 0.82)),
    linear-gradient(to top, oklch(0.1 0.01 255 / 0.6), transparent 45%);
  transition: opacity 500ms var(--ease-out), clip-path 700ms var(--ease-in-out);
  clip-path: circle(150% at 50% 50%);
}
.player__gate-label { font-family: var(--font-display); font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.5rem); font-weight: 600; }
.player__gate-hint { max-width: 30ch; font-size: var(--fs-small); color: var(--text-2); }
.player[data-state="open"] .player__gate { opacity: 0; clip-path: circle(0% at 50% 50%); pointer-events: none; }

.player__next {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem; flex-wrap: wrap;
  margin-top: 1rem; padding: 0.9rem 1rem 0.9rem 1.25rem;
  border: 1px solid var(--cyan-line); border-radius: var(--r-md); background: var(--cyan-soft);
  animation: rise 600ms var(--ease-enter) both;
}
.player__next p { font-weight: 500; }

.player__hint {
  position: absolute; left: 50%; top: 1rem; z-index: 3; transform: translateX(-50%);
  margin: 0; padding: 0.5rem 1rem; border-radius: var(--r-pill); pointer-events: none; white-space: nowrap;
  background: var(--cyan); color: var(--on-cyan); font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 12px 30px -12px oklch(0 0 0 / 0.8); animation: rise 400ms var(--ease-enter) both;
}

/* ---------- Mando (motivo de marca) ---------- */
.knob { overflow: visible; }
.knob__ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.knob__ticks line { stroke: var(--text-3); stroke-width: 1.5; stroke-linecap: round; }
.knob__body { fill: var(--ink-2); stroke: var(--cyan-line); stroke-width: 1.5; }
.knob__pointer { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(-135deg); transition: transform 700ms var(--ease-in-out); }
.knob__pointer line { stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; }
.knob__pointer circle { fill: var(--cyan); }
.knob--gate { width: clamp(72px, 9vw, 112px); height: auto; }
@media (hover: hover) and (pointer: fine) {
  .player__gate:hover .knob__pointer { transform: rotate(-100deg); }
}
.player[data-state="open"] .knob--gate .knob__pointer { transform: rotate(135deg); }
.knob--mini { width: 36px; height: 36px; flex: none; }
.knob--mini .knob__pointer line { stroke-width: 2.5; }

/* ---------- Llamada (cualificación) ---------- */
.llamada {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) var(--section);
}
.llamada__inner {
  position: relative; max-width: 760px; margin: 0 auto;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--ink-1), oklch(0.15 0.011 255));
}
.llamada.is-entering .llamada__inner { animation: rise 700ms var(--ease-enter) both; }
.llamada__title { font-size: var(--fs-h2); }
.llamada__intro p { margin: 1rem 0 1.5rem; color: var(--text-2); max-width: 52ch; }
.llamada__reset {
  margin-top: 1.25rem; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--text-3); font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 3px;
}

.quiz__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.quiz__count { font-size: var(--fs-small); color: var(--text-2); font-weight: 500; }
.quiz__back {
  margin-left: auto; min-height: 44px; padding: 0 0.75rem; border: 0; background: none; cursor: pointer;
  color: var(--text-2); font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 3px;
}
.quiz__step { margin: 0; padding: 0; border: 0; display: grid; gap: 0.6rem; min-width: 0; }
.quiz__step.is-entering { animation: step-in 360ms var(--ease-out) both; }
.quiz__step legend {
  margin-bottom: 1rem; padding: 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem); line-height: 1.2;
  letter-spacing: -0.015em; text-wrap: balance;
}
.opt {
  position: relative; display: flex; align-items: center; gap: 0.85rem;
  min-height: 56px; padding: 0.85rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ink-2);
  cursor: pointer; line-height: 1.35;
  transition: border-color 180ms ease, background-color 180ms ease, transform 160ms var(--ease-out);
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--text-3); transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.opt:active { transform: scale(0.99); }
.opt:has(input:checked) { border-color: var(--cyan); background: oklch(0.24 0.04 220); }
.opt:has(input:checked)::before { border-color: var(--cyan); background: var(--cyan); box-shadow: inset 0 0 0 3px var(--ink-2); }
.opt:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .opt:hover { border-color: var(--cyan-line); }
}
.quiz__status { margin-top: 1rem; color: var(--text-2); }

.result { animation: rise 600ms var(--ease-enter) both; }
.result__title { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); outline: none; }
.result > p { margin: 0.9rem 0 1.5rem; color: var(--text-2); max-width: 54ch; }
.calendar { position: relative; min-height: 560px; border-radius: var(--r-md); background: oklch(0.985 0.003 220); overflow: hidden; }
/* El aviso queda debajo del iframe: en cuanto GHL pinta la agenda, lo tapa (sin depender del evento load). */
.calendar iframe { position: relative; z-index: 1; width: 100%; min-height: 620px; border: 0; }
.calendar__loading { position: absolute; top: 0; left: 0; padding: 2rem; color: oklch(0.35 0.02 240); }

/* ---------- ARCE ---------- */
.arce {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter);
  display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem);
  border-top: 1px solid var(--line-soft);
}
.arce__dial-wrap { display: grid; place-items: center; }
.dial { width: min(78vw, 340px); height: auto; overflow: visible; }
.dial__ticks line { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.dial__track { fill: none; stroke: var(--ink-3); stroke-width: 10; stroke-linecap: round; }
.dial__flow { fill: none; stroke: var(--cyan); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.dial__body { fill: var(--ink-2); stroke: var(--line); stroke-width: 1.5; }
.dial__cap { fill: var(--ink-1); stroke: var(--line-soft); stroke-width: 1; }
.dial__letters text {
  font-family: var(--font-display); font-weight: 700; font-size: 26px; fill: var(--text-3);
  text-anchor: middle; dominant-baseline: middle; transition: fill 300ms ease;
}
.dial__letters text.is-on { fill: var(--cyan); }
.dial__pointer { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(-135deg); }
.dial__pointer line { stroke: var(--cyan); stroke-width: 6; stroke-linecap: round; }
.dial__pointer circle { fill: var(--cyan); }
.dial[data-mode="steps"] .dial__pointer { transition: transform 800ms var(--ease-in-out); }
.dial[data-mode="steps"] .dial__flow { transition: stroke-dashoffset 800ms var(--ease-in-out); }

.arce__title { font-size: var(--fs-h2); }
.arce__lead { margin-top: 1rem; color: var(--text-2); max-width: 46ch; }
.phases { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; }
.phase {
  display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1.1rem;
  padding: 1.4rem 0; border-top: 1px solid var(--line-soft);
}
.phase:last-child { border-bottom: 1px solid var(--line-soft); }
.phase__letter {
  grid-row: span 2; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1;
  color: var(--text-3); transition: color 300ms ease;
}
.phase h3 { font-size: var(--fs-h3); align-self: end; }
.phase p { margin-top: 0.45rem; color: var(--text-2); max-width: 54ch; }
.phase.is-on .phase__letter { color: var(--cyan); }
.arce__payoff { margin-top: 2.25rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); line-height: 1.3; }
.arce__payoff span { color: var(--cyan); }

/* Móvil: el mando se queda fijo (más pequeño) bajo la barra superior mientras se leen las fases,
   para que se vea cómo avanza. Se va con la sección al terminarla. */
@media (max-width: 899px) {
  .arce__dial-wrap {
    position: sticky; top: var(--topbar-h); z-index: 5; align-self: start;
    margin-inline: calc(-1 * var(--gutter)); padding: 0.6rem var(--gutter) 1.1rem;
    background: linear-gradient(to bottom, var(--ink-0) 78%, oklch(0.13 0.01 262 / 0));
    transition: top 300ms var(--ease-out);
  }
  body:has(.topbar.is-hidden) .arce__dial-wrap { top: 0; }
  .dial { width: min(44vw, 170px); }
  .dial__letters text { font-size: 30px; }
}

@media (min-width: 900px) {
  .arce { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .arce__dial-wrap { position: sticky; top: calc(var(--topbar-h) + 4rem); }
  .dial { width: min(100%, 420px); }
  .phase { padding: 2rem 0; }
}

/* ---------- Game Changers (la mentoría) ---------- */
.mentoria {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter);
  border-top: 1px solid var(--line-soft);
}
.mentoria__head { max-width: 760px; }
.mentoria__title { font-size: var(--fs-h2); }
.mentoria__title em { display: block; }
.mentoria__head p { margin-top: 1.25rem; color: var(--text-2); max-width: 56ch; }
.mentoria__grid { list-style: none; margin: clamp(2rem, 1.5rem + 2vw, 3.25rem) 0 0; padding: 0; display: grid; gap: 1rem; }
.cell {
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--ink-1);
}
.cell h3 { font-size: var(--fs-h3); }
.cell p { margin-top: 0.6rem; color: var(--text-2); }
.cell--main {
  border-color: var(--cyan-line);
  background:
    radial-gradient(120% 90% at 0% 0%, oklch(0.86 0.15 205 / 0.13), transparent 60%),
    var(--ink-1);
}
.cell--main h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); }
.cell__list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.cell__list li { position: relative; padding-left: 1.6rem; color: var(--text); }
.cell__list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 0.7rem; height: 0.7rem; border-radius: 50%;
  border: 2px solid var(--cyan);
}
.cell__note { margin-top: 1.5rem !important; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); color: var(--text) !important; font-weight: 500; }
.mentoria__foot { margin-top: 2rem; max-width: 60ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); line-height: 1.35; }
@media (min-width: 900px) {
  .mentoria__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: repeat(3, auto); }
  .cell--main { grid-row: 1 / span 3; display: flex; flex-direction: column; }
  .cell--main .cell__note { margin-top: auto !important; }
  .cell--main .cell__list { margin-bottom: 1.5rem; }
}

/* ---------- Prueba social ---------- */
.prueba {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter);
  border-top: 1px solid var(--line-soft);
}
.prueba__head { max-width: 640px; }
.prueba__title { font-size: var(--fs-h2); }
.prueba__head p { margin-top: 1rem; color: var(--text-2); }

/* Testimonios en vídeo: fila deslizable de tarjetas verticales; Vimeo se carga solo al abrir */
.videos-wrap { margin-top: 2.5rem; }
.videos {
  list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter) 1rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 39vw, 230px); gap: 1rem; align-items: start;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.videos::-webkit-scrollbar { display: none; }
.videos > li { scroll-snap-align: start; min-width: 0; }
.vcard {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ink-1);
  transition: border-color 200ms ease, transform 160ms var(--ease-out);
}
.vcard img { width: 100%; height: 100%; object-fit: cover; }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.1 0.01 255 / 0.55), transparent 45%); pointer-events: none; }
.vcard:active { transform: scale(0.98); }
.vcard__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--on-cyan);
  box-shadow: 0 10px 30px -10px oklch(0 0 0 / 0.8); transition: transform 200ms var(--ease-out);
}
.vcard__play path { fill: currentColor; transform: translateX(1px); }
.vcard__dur {
  position: absolute; right: 0.6rem; bottom: 0.6rem; z-index: 1; padding: 0.15rem 0.45rem; border-radius: 6px;
  background: oklch(0.1 0.01 255 / 0.75); font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (pointer: fine) {
  .vcard:hover { border-color: var(--cyan-line); }
  .vcard:hover .vcard__play { transform: scale(1.08); }
}
.vcard__name { margin-top: 0.75rem; font-weight: 600; line-height: 1.3; }
.vcard__name span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--text-3); }
.vcard__blurb {
  margin-top: 0.4rem; font-size: 0.9rem; line-height: 1.45; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.videos__more { margin-top: 0.75rem; font-size: var(--fs-small); color: var(--text-3); }
.videos__more a { color: var(--cyan); }

.carousel-nav { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.carousel-nav__btn {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%; background: var(--ink-1); color: var(--text);
  transition: border-color 180ms ease, opacity 180ms ease, transform 160ms var(--ease-out);
}
.carousel-nav__btn path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-nav__btn:active { transform: scale(0.94); }
.carousel-nav__btn[disabled] { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .carousel-nav__btn:not([disabled]):hover { border-color: var(--cyan-line); } }
.carousel-nav__track { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--ink-3); overflow: hidden; }
.carousel-nav__track span { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; border-radius: 3px; background: var(--cyan); }

/* El ancho del marco lo fija main.js según la proporción de cada vídeo (vertical u horizontal). */
.vplayer { padding: 0; border: 0; background: transparent; overflow: visible; max-width: 94vw; }
.vplayer__frame { width: min(94vw, calc(84dvh * 9 / 16)); max-height: 84dvh; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: var(--ink-1); }
.vplayer__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vplayer .visor__close { top: -3.25rem; right: 0; background: var(--ink-2); }
.vplayer[open] { animation: dialog-in 220ms var(--ease-out) both; }

.alumnos__title { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); }

.alumnos {
  list-style: none; margin: 1.75rem calc(-1 * var(--gutter)) 0; padding: 0.25rem var(--gutter) 1rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 420px); gap: 0.85rem; align-items: start;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin;
  scrollbar-color: var(--ink-3) transparent; scroll-padding-inline: var(--gutter);
}
.alumnos li { scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--ink-1); }
/* Capturas de perfil: proporción natural, sin recortar texto; se amplían en el visor */
.alumnos img { width: 100%; height: auto; }
.alumnos button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; transition: transform 160ms var(--ease-out); }
.alumnos button:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .alumnos li { transition: border-color 200ms ease; } .alumnos li:hover { border-color: var(--cyan-line); } }
@media (min-width: 1100px) {
  .alumnos { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

.alumnos-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; }
.alumnos-nav__btn {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%; background: var(--ink-1); color: var(--text);
  transition: border-color 180ms ease, opacity 180ms ease, transform 160ms var(--ease-out);
}
.alumnos-nav__btn path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alumnos-nav__btn:active { transform: scale(0.94); }
.alumnos-nav__btn[disabled] { opacity: 0.35; cursor: default; }
.alumnos-nav__dots { display: flex; gap: 0.5rem; }
.alumnos-nav__dots span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3);
  transition: background-color 200ms ease, transform 200ms var(--ease-out);
}
.alumnos-nav__dots span.is-on { background: var(--cyan); transform: scale(1.3); }
@media (min-width: 1100px) { .alumnos-nav { display: none !important; } }

.capturas-wrap { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.capturas__title { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); }
.capturas__sub { margin-top: 0.75rem; color: var(--text-2); }
.capturas { list-style: none; margin: 2rem 0 0; padding: 0; columns: 1; column-gap: 1rem; }
.capturas li { break-inside: avoid; margin-bottom: 1rem; }
.capturas button {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; background: var(--ink-1); cursor: zoom-in;
  transition: border-color 200ms ease, transform 160ms var(--ease-out);
}
.capturas button:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .capturas button:hover { border-color: var(--cyan-line); } }
.capturas img { width: 100%; max-height: 640px; object-fit: cover; object-position: top; }
.capturas.is-collapsed li[data-extra] { display: none; }
.capturas__more { margin-top: 0.5rem; }
@media (min-width: 640px) { .capturas { columns: 2; } }
@media (min-width: 1000px) { .capturas { columns: 3; } }

/* ---------- Lex ---------- */
.lex {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter);
  display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center;
  border-top: 1px solid var(--line-soft);
}
.lex__photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; max-width: 460px; aspect-ratio: 4 / 5; }
.lex__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.lex__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.75rem); }
.lex__copy p { margin-top: 1.1rem; color: var(--text-2); max-width: 52ch; }
.lex__copy .lex__sign { color: var(--text); font-weight: 500; }
@media (min-width: 900px) { .lex { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* Revelado de foto por clip-path (se observa el padre: gotcha C8) */
.js [data-clip] img { clip-path: inset(100% 0 0 0); transition: clip-path 1100ms var(--ease-in-out); }
.js [data-clip].is-in img { clip-path: inset(0 0 0 0); }

/* ---------- Objeciones ---------- */
.dudas { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter); border-top: 1px solid var(--line-soft); }
.dudas__title { font-size: var(--fs-h2); max-width: 22ch; }
.dudas__list { margin-top: 2rem; max-width: 820px; border-top: 1px solid var(--line-soft); }
.dudas details { border-bottom: 1px solid var(--line-soft); }
.dudas summary {
  position: relative; display: block; cursor: pointer; list-style: none;
  padding: 1.25rem 3rem 1.25rem 0; min-height: 44px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem); line-height: 1.35;
}
.dudas summary::-webkit-details-marker { display: none; }
.dudas summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--cyan);
  font-family: var(--font-body); font-weight: 400; font-size: 1.3rem; line-height: 1;
  transition: transform 250ms var(--ease-out), border-color 200ms ease;
}
.dudas details[open] summary::after { transform: rotate(45deg); border-color: var(--cyan-line); }
@media (hover: hover) and (pointer: fine) { .dudas summary:hover::after { border-color: var(--cyan-line); } }
.dudas details p { padding: 0 3rem 1.4rem 0; color: var(--text-2); max-width: 62ch; }

/* ---------- Cierre ---------- */
.cierre { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) var(--section); }
.cierre__panel {
  position: relative; isolation: isolate; text-align: center;
  padding: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(1.25rem, 1rem + 3vw, 4rem);
}
.cierre__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-lg);
  background:
    radial-gradient(80% 120% at 50% 120%, oklch(0.55 0.13 210 / 0.35), transparent 60%),
    var(--ink-1);
  border: 1px solid var(--line);
  clip-path: inset(var(--curtain, 0%) round var(--r-lg));
}
.cierre__title { font-size: var(--fs-h2); max-width: 20ch; margin: 0 auto; }
.cierre__title em { display: block; }
.cierre__panel p { margin: 1.25rem auto 2rem; color: var(--text-2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); }
.footer__inner {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 2.5rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  font-size: var(--fs-small); color: var(--text-3);
}
.footer__logo { width: 120px; opacity: 0.85; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer__legal a, .footer__legal button {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; background: none;
  color: var(--text-2); text-decoration: none; cursor: pointer; font-size: inherit;
}
.footer__legal a:hover, .footer__legal button:hover { color: var(--text); }
body.has-sticky .footer__inner { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }

/* ---------- CTA fijo (móvil) ---------- */
.sticky-cta {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(0.85rem + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; justify-content: center; min-height: 52px;
  border-radius: var(--r-pill); background: var(--cyan); color: var(--on-cyan); font-weight: 600; text-decoration: none;
  box-shadow: 0 18px 40px -16px oklch(0 0 0 / 0.8);
  transform: translateY(160%); transition: transform 360ms var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
/* Escritorio: píldora abajo a la derecha en lugar de barra a lo ancho */
@media (min-width: 820px) {
  .sticky-cta { left: auto; right: calc(var(--gutter) + 0.5rem); bottom: 1.5rem; min-height: 54px; padding: 0 1.75rem; }
}

/* ---------- Diálogos ---------- */
dialog { color: var(--text); }
dialog::backdrop { background: oklch(0.08 0.01 255 / 0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.registro {
  width: min(100% - 2rem, 460px); max-height: calc(100dvh - 2rem); padding: 0; overflow: auto;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-1);
  box-shadow: 0 40px 100px -30px oklch(0 0 0 / 0.9);
}
.registro[open] { animation: dialog-in 260ms var(--ease-out) both; }
.registro__form { position: relative; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); display: grid; gap: 1rem; }
.registro__close, .visor__close {
  position: absolute; top: 0.6rem; right: 0.6rem; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--text-2);
}
.registro__close path, .visor__close path { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.registro__close:hover, .visor__close:hover { color: var(--text); background: var(--ink-2); }
.registro__title { font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.8rem); padding-right: 2.5rem; }
.registro__sub { color: var(--text-2); font-size: 0.98rem; }
.registro__submit { width: 100%; margin-top: 0.25rem; }
.registro__note { text-align: center; font-size: 0.8rem; color: var(--text-3); }
.registro__note a { color: var(--cyan); text-underline-offset: 2px; }

/* Panel de preguntas a los 3:07: para el vídeo hasta que contesta. Mismo bloque que .llamada, movido aquí. */
.gate {
  width: min(100% - 2rem, 720px); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--ink-1), oklch(0.15 0.011 255));
  box-shadow: 0 40px 100px -30px oklch(0 0 0 / 0.9);
}
.gate[open] { animation: dialog-in 260ms var(--ease-out) both; }
.gate__inner { max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); }
.gate__head { margin-bottom: 1.5rem; }
.gate__title { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); }
.gate__sub { margin: 0.75rem 0 0; color: var(--text-2); max-width: 52ch; }
.gate__continue { margin-top: 1.25rem; width: 100%; }
@media (max-width: 559px) {
  .gate { width: 100%; max-height: 100dvh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; border-bottom: 0; }
  .gate__inner { max-height: 100dvh; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}

.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--ink-0); color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field select { width: auto; padding-right: 0.6rem; }
.field input:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__phone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem; }
.field__hint { font-size: 0.8rem; color: var(--text-3); }
.field__error { font-size: 0.85rem; color: var(--error); }
.check { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0.1rem 0 0; accent-color: var(--cyan); flex: none; }
.check a { color: var(--cyan); }

.visor { padding: 0; border: 0; background: transparent; max-width: min(94vw, 960px); max-height: 92dvh; overflow: visible; }
.visor img { max-height: 84dvh; width: auto; border-radius: var(--r-md); }
.visor .visor__close { top: -3.25rem; right: 0; background: var(--ink-2); }
.visor[open] { animation: dialog-in 220ms var(--ease-out) both; }

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1rem; z-index: 70; max-width: 540px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem 1rem; align-items: center;
  padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ink-2);
  box-shadow: 0 24px 60px -24px oklch(0 0 0 / 0.9);
  opacity: 0; transform: translateY(12px); transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner__icon { width: 40px; height: 40px; }
.cookie-banner__body { fill: var(--cyan-soft); stroke: var(--cyan); stroke-width: 1.2; }
.cookie-banner__chip { fill: var(--cyan); }
.cookie-banner__text { font-size: 0.85rem; line-height: 1.5; color: var(--text-2); }
.cookie-banner__text a { color: var(--cyan); }
.cookie-banner__text--short { display: none; }
.cookie-banner__actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 0.6rem; }
.cookie-banner .btn { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
@media (max-width: 560px) {
  .cookie-banner__text--full { display: none; }
  .cookie-banner__text--short { display: inline; }
  .cookie-banner__actions .btn { flex: 1; }
}
@media (max-width: 819px) { body.has-sticky .cookie-banner { bottom: calc(1rem + 68px); } }

/* ---------- Revelados genéricos (solo con JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease-enter), transform 800ms var(--ease-enter); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- Página de gracias ---------- */
.gracias {
  max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(3rem, 2rem + 5vw, 6.5rem) var(--gutter) var(--section);
}
.gracias .knob--gate { width: 96px; margin-bottom: 2rem; }
.gracias .knob__pointer { transform: rotate(135deg); }
.gracias__title { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); font-weight: 700; letter-spacing: -0.03em; }
.gracias__lead { margin-top: 1.25rem; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--text-2); max-width: 46ch; }
.gracias__steps { list-style: none; margin: 2.75rem 0 0; padding: 0; counter-reset: paso; }
.gracias__steps li {
  counter-increment: paso; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0 1rem;
  padding: 1.4rem 0; border-top: 1px solid var(--line-soft);
}
.gracias__steps li:last-child { border-bottom: 1px solid var(--line-soft); }
.gracias__video { margin-top: 3rem; }
.gracias__video-title { font-size: var(--fs-h3); }
.gracias__video-sub { margin: 0.5rem 0 1.25rem; color: var(--text-2); }
.gracias__player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-1); border: 1px solid var(--line); }
.gracias__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gracias__steps li::before {
  content: counter(paso); grid-row: span 2; width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  border: 1px solid var(--cyan-line); border-radius: 50%; color: var(--cyan); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
}
.gracias__steps h2 { font-size: var(--fs-h3); }
.gracias__steps p { margin-top: 0.4rem; color: var(--text-2); }
.gracias__back { margin-top: 2.5rem; }

/* ---------- Gracias v2: el autodiagnóstico antes de la llamada ---------- */
.gracias__steps h3 { font-size: var(--fs-h3); }
.gracias--diag { max-width: calc(1120px + 2 * var(--gutter)); padding-top: clamp(2rem, 1rem + 4vw, 4.5rem); }
.gd-hero { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); align-items: center; }
.gd-hero__text > * { animation: rise 640ms var(--ease-enter) both; }
.gd-hero__text > :nth-child(2) { animation-delay: 60ms; }
.gd-hero__text > :nth-child(3) { animation-delay: 120ms; }
.gd-hero__text > :nth-child(4), .gd-hero__text > :nth-child(5) { animation-delay: 180ms; }
.gd-status {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em; color: var(--cyan);
}
.gd-status .knob--mini { width: 28px; height: 28px; }
.gd-status .knob__pointer { transform: rotate(135deg); }
.gd-status .knob__ring { stroke: var(--cyan-line); }
.gd-title { margin-top: 1.1rem; font-size: clamp(2.1rem, 1.2rem + 3.3vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; max-width: 15ch; }
.gd-lead { margin-top: 1.25rem; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--text-2); max-width: 44ch; }
.gd-host { margin-top: 0.9rem; color: var(--text); max-width: 44ch; }
.gd-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.gd-meta { color: var(--text-3); font-size: var(--fs-small); }

/* Vista previa: la mesa de 4 canales del test, con valores de muestra que se encienden una vez */
.gd-preview {
  display: block; text-decoration: none; color: inherit;
  padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--ink-1), var(--ink-0));
  animation: rise 720ms var(--ease-enter) 220ms both;
  transition: transform 200ms var(--ease-out), border-color 200ms ease;
}
.gd-preview__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.gd-preview__title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--text-2); }
.gd-preview__score { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1; color: var(--text); }
.gd-preview__score small { font-size: 0.8rem; font-weight: 600; color: var(--text-3); margin-left: 0.15rem; }
.gd-preview__list { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.gd-chan { display: grid; gap: 0.45rem; }
.gd-chan__label { font-size: var(--fs-small); color: var(--text-3); }
.gd-chan.is-weak .gd-chan__label { color: var(--error); }
.gd-chan__bar { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.gd-chan__bar i { height: 14px; border-radius: 3px; background: var(--ink-3); opacity: 0.55; }
.gd-chan__bar i:nth-child(1) { --i: 1; } .gd-chan__bar i:nth-child(2) { --i: 2; } .gd-chan__bar i:nth-child(3) { --i: 3; }
.gd-chan__bar i:nth-child(4) { --i: 4; } .gd-chan__bar i:nth-child(5) { --i: 5; }
.gd-chan__bar[data-n="2"] i:nth-child(-n+2),
.gd-chan__bar[data-n="3"] i:nth-child(-n+3),
.gd-chan__bar[data-n="4"] i:nth-child(-n+4),
.gd-chan__bar[data-n="5"] i:nth-child(-n+5) {
  background: var(--cyan); opacity: 0.85;
  animation: seg-on 320ms var(--ease-out) both; animation-delay: calc(700ms + var(--i) * 70ms);
}
.gd-chan.is-weak .gd-chan__bar i:nth-child(-n+2) { background: var(--error); }
.gd-preview__foot { display: block; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); font-size: var(--fs-small); color: var(--text-3); }
@keyframes seg-on { from { opacity: 0; transform: scaleY(0.4); } to { opacity: 0.85; transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .gd-preview:hover { transform: translateY(-2px); border-color: var(--cyan-line); }
  .gd-back a:hover { color: var(--text); }
}

.gd-h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 700; letter-spacing: -0.025em; }
.gd-why {
  margin-top: var(--section); display: grid; gap: 1.5rem; align-items: start;
  padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: 1px solid var(--line-soft);
}
.gd-why__photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 1px solid var(--cyan-line); }
.gd-why__text { max-width: 62ch; }
.gd-why__text p { margin-top: 1rem; color: var(--text-2); }
.gd-why__text p:last-child { color: var(--text); }
.gd-steps-wrap { margin-top: var(--section); max-width: 760px; }
.gd-steps { margin-top: 1.75rem; }
.gd-done {
  display: inline-block; vertical-align: middle; margin-left: 0.5rem; padding: 0.2rem 0.6rem; border-radius: var(--r-pill);
  background: var(--cyan-soft); color: var(--cyan); font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0;
}
.gd-steps__cta { margin-top: 2rem; }
.gd-video { max-width: 760px; margin-top: var(--section); }
.gd-back { margin-top: 2.5rem; font-size: var(--fs-small); color: var(--text-3); }
.gd-back a { color: inherit; text-underline-offset: 3px; transition: color 200ms ease; }

@media (min-width: 720px) {
  .gd-why { grid-template-columns: 120px minmax(0, 1fr); gap: 2.5rem; }
  .gd-why__photo { width: 120px; height: 120px; }
}
@media (min-width: 960px) {
  .gd-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-height: calc(100svh - var(--topbar-h) - 9rem); }
}
@media (max-width: 559px) {
  .gd-actions .btn, .gd-steps__cta { width: 100%; }
  .gd-actions { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------- Movimiento reducido: todo visible, sin desplazamientos ---------- */
@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; transition-delay: 0ms !important; }
  .split-word > span, .js [data-reveal] { transform: none !important; opacity: 1 !important; }
  .js [data-clip] img { clip-path: none !important; }
  .cierre__panel::before { clip-path: inset(0 round var(--r-lg)) !important; }
}
