/* aduarte.es/ia-gratis · la lista de espera del curso gratis de IA (ENC-2026-0014), versión 2 (17-nov).
   La identidad, la de aduarte: negro cálido, ámbar #FFBD59, Poppins, Montserrat e Instrument Serif (solo dos palabras finas).
   La metáfora: un cordón de soldadura ámbar, con la punta incandescente, recorre la página y es el progreso del formulario;
   al apuntarte se enfría a acero. Formas: botones y fichas en píldora, fotos y paneles a 16 px, campos con línea inferior.
   Sin JavaScript todo se ve y el formulario funciona; con «reducir movimiento», todo quieto. */

@font-face { font-family: "Poppins"; src: url("../fuentes/Poppins-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fuentes/Poppins-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fuentes/Montserrat-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fuentes/Montserrat-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fuentes/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #05060B;
  --bg-2: #0A0C13;
  --bg-3: #11141E;
  --hi: #F4F6FB;            /* 18,6:1 */
  --mid: #C6CDDB;           /* 12:1 */
  --low: #959FB5;           /* 7,3:1 */
  --brand: #FFBD59;         /* 12:1 */
  --brand-hot: #FF9D2E;
  --acero: #9AA3AE;         /* el cordón ya frío */
  --error: #FF8F7E;
  --linea: rgba(244, 246, 251, .1);
  --linea-2: rgba(244, 246, 251, .24);

  --titular: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --texto: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --acento: "Instrument Serif", Georgia, serif;

  --gigante: clamp(40px, max(8.4vw, min(13.4vw, 52px)), 150px);   /* dos veces: la portada y el cierre */
  --grande: clamp(38px, 5.6vw, 88px);
  --medio: clamp(26px, 3vw, 44px);
  --lectura: clamp(27px, 3.3vw, 52px);

  --margen: clamp(20px, 5vw, 80px);
  --ancho: 1360px;
  --radio: 16px;
  --cab: 68px;
  --muelle: cubic-bezier(.22, 1, .36, 1);
  --seccion: clamp(72px, 10vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--cab) + 16px); scroll-behavior: smooth; interpolate-size: allow-keywords; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Lenis (su hoja oficial, aquí por la CSP) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--hi);
  font-family: var(--texto);
  font-size: clamp(17px, .45vw + 15px, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Grano fijo, muy fino (ruido del propio SVG, sin peticiones) */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hot); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--titular); font-weight: 700; line-height: 1; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.fina { font-family: var(--acento); font-style: italic; font-weight: 400; color: var(--brand); letter-spacing: -.01em; }
.oculto-lector { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.simbolos { position: absolute; width: 0; height: 0; overflow: hidden; }
kbd { font-family: var(--texto); font-size: .86em; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--linea-2); color: var(--mid); }

.saltar {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--brand); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 500; text-decoration: none;
}
.saltar:focus { top: 12px; }

/* ── El cordón (común) ────────────────────────────────────────────────── */
.cordon { display: block; overflow: visible; }
.cordon__traza { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cordon__guia { fill: none; stroke: var(--linea-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cordon .cordon__traza { filter: drop-shadow(0 0 4px rgba(255, 157, 46, .85)) drop-shadow(0 0 14px rgba(255, 157, 46, .35)); }
.es-frio .cordon__traza, .cordon--frio .cordon__traza { stroke: var(--acero); filter: none; transition: stroke 1.2s ease, filter 1.2s ease; }
/* La punta incandescente que sigue al cordón mientras se dibuja */
.punta {
  position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #FFF6E6; pointer-events: none; z-index: 3; opacity: 0;
  box-shadow: 0 0 6px 2px #FFD08A, 0 0 18px 6px rgba(255, 157, 46, .75), 0 0 46px 14px rgba(255, 157, 46, .28);
}
/* Chispas: capa fija; las crea y las mueve el motor (Physics2D) */
.chispas { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.chispa {
  position: absolute; left: 0; top: 0; width: 2px; height: 11px; border-radius: 2px;
  background: linear-gradient(#FFFFFF, #FFD08A 35%, rgba(255, 157, 46, 0));
  box-shadow: 0 0 6px rgba(255, 170, 70, .9);
}

/* ── Cabecera ─────────────────────────────────────────────────────────── */
.cab {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--cab);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--margen);
  transition: transform .6s var(--muelle), background-color .4s ease, box-shadow .4s ease;
}
.cab.es-solida { background: rgba(5, 6, 11, .72); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--linea); }
.cab.es-oculta { transform: translateY(-100%); }
.cab__marca { font-family: var(--titular); font-weight: 700; font-size: 22px; letter-spacing: -.03em; color: var(--hi); text-decoration: none; }
.cab__marca span, .pie__marca span { color: var(--brand); }
.cab__cta {
  font-family: var(--titular); font-weight: 600; font-size: 15px; letter-spacing: -.01em; text-decoration: none;
  color: var(--hi); padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linea-2);
  transition: box-shadow .3s ease, color .3s ease, background-color .3s ease;
}
.cab__cta:hover { color: var(--bg); background: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }

/* ── Botones ──────────────────────────────────────────────────────────── */
.boton {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brand); color: var(--bg); text-decoration: none;
  font-family: var(--titular); font-weight: 600; font-size: 17px; letter-spacing: -.01em; line-height: 1;
  translate: var(--mx) var(--my);
  transition: background-color .3s ease, box-shadow .4s ease, translate .5s var(--muelle), scale .2s ease;
  box-shadow: 0 0 0 0 rgba(255, 189, 89, 0), 0 18px 40px -22px rgba(255, 157, 46, .9);
}
.boton__texto { display: inline-block; translate: calc(var(--mx) * .35) calc(var(--my) * .35); transition: translate .5s var(--muelle); }
.boton:hover { background: #FFC76E; color: var(--bg); box-shadow: 0 0 0 7px rgba(255, 189, 89, .12), 0 24px 50px -20px rgba(255, 157, 46, .95); }
.boton:active { scale: .98; }
.boton--grande { min-height: 68px; padding: 22px 42px; font-size: 19px; }
.boton--ancho { width: 100%; }
.boton--fantasma, .boton--claro { background: transparent; color: var(--hi); box-shadow: inset 0 0 0 1px var(--linea-2); }
.boton--fantasma:hover, .boton--claro:hover { background: rgba(244, 246, 251, .05); color: var(--hi); box-shadow: inset 0 0 0 1px var(--brand); }
.boton[aria-busy="true"] { pointer-events: none; opacity: .8; }
.boton[aria-busy="true"] .boton__texto::after { content: "…"; }
.enlace { color: var(--hi); font-weight: 500; text-decoration: none; background: linear-gradient(var(--brand), var(--brand)) left bottom / 100% 1px no-repeat; padding-bottom: 4px; transition: background-size .5s var(--muelle), color .3s ease; }
.enlace:hover { color: var(--brand); background-size: 0 1px; background-position: right bottom; }

/* ── Portada ──────────────────────────────────────────────────────────── */
.portada {
  position: relative; isolation: isolate;
  --lado: max(var(--margen), calc((100% - 1600px) / 2 + var(--margen)));
  min-height: 100svh; padding: calc(var(--cab) + clamp(20px, 5vw, 72px)) var(--lado) 0;
  display: grid; align-content: start; overflow-x: clip;
}
.portada__halo {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(120vw, 980px); aspect-ratio: 1; right: -30vw; top: 22%;
  background: radial-gradient(closest-side, rgba(255, 157, 46, .34), rgba(255, 189, 89, .12) 45%, rgba(255, 189, 89, 0) 72%);
  filter: blur(10px);
}
.portada__texto { position: relative; z-index: 2; }
.portada__titulo { font-size: var(--gigante); line-height: .98; letter-spacing: -.035em; }
.linea { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.linea > span { display: block; will-change: transform; }
.portada__titulo .fina { font-size: 1.12em; letter-spacing: -.02em; line-height: 1; padding-right: .06em; }
.cordon--portada { width: calc(var(--gigante) * 2.9); max-width: 100%; height: clamp(14px, 1.6vw, 24px); margin-top: .2em; }
.portada__entrada { margin-top: clamp(26px, 3vw, 40px); font-size: clamp(18px, .9vw + 13px, 22px); line-height: 1.5; color: var(--mid); max-width: 30ch; }
.portada__acciones { margin-top: clamp(28px, 3.4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.portada__foto { position: relative; z-index: 1; margin: -8px calc(var(--margen) * -1) 0 auto; width: min(78vw, 420px); aspect-ratio: 549 / 760; overflow: hidden; }
@media (max-width: 899px) {
  /* En el móvil, la foto sube al lado del texto: su cara entra en el primer pantallazo */
  .portada__entrada { max-width: 24ch; margin-top: 20px; }
  .portada__acciones { margin-top: 24px; }
}
.portada__foto img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }

@media (min-width: 900px) {
  .portada { min-height: max(640px, 100svh); align-content: center; padding-top: var(--cab); padding-bottom: 6vh; }
  .portada__texto { max-width: 62%; }
  .portada__foto {
    position: absolute; right: var(--lado); bottom: 0; margin: 0;
    height: min(calc(100svh - var(--cab) + 2vh), 1130px); width: auto; aspect-ratio: 549 / 1130;
  }
  .portada__foto img { height: 100%; width: auto; -webkit-mask-image: linear-gradient(#000 76%, transparent 98%); mask-image: linear-gradient(#000 76%, transparent 98%); }
  .portada__halo { right: calc(var(--lado) - 220px); top: 8%; width: min(70vw, 900px); }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .portada__foto { height: min(calc(86svh - var(--cab)), 1130px); right: calc(var(--lado) - 20px); }
  .portada__texto { max-width: 64%; }
}

/* ── Cinta ────────────────────────────────────────────────────────────── */
.cinta { overflow: hidden; border-block: 1px solid var(--linea); padding: clamp(20px, 2.6vw, 34px) 0; position: relative; z-index: 2; background: var(--bg); }
.cinta__pista { display: flex; align-items: center; width: max-content; will-change: transform; }
.cinta__pista span { font-family: var(--titular); font-weight: 600; font-size: clamp(26px, 4vw, 60px); letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; }
.cinta__chispa { width: clamp(14px, 1.5vw, 22px); height: clamp(14px, 1.5vw, 22px); fill: var(--brand); margin: 0 clamp(22px, 3vw, 52px); filter: drop-shadow(0 0 8px rgba(255, 157, 46, .8)); flex: none; }

/* ── Manifiesto ───────────────────────────────────────────────────────── */
.manifiesto { max-width: var(--ancho); margin: 0 auto; padding: var(--seccion) var(--margen); }
.manifiesto__texto { font-family: var(--titular); font-weight: 600; font-size: var(--lectura); line-height: 1.16; letter-spacing: -.03em; max-width: 25em; text-wrap: pretty; }
.manifiesto__texto .fina { font-size: 1.1em; letter-spacing: -.01em; }
.palabra { display: inline-block; }

/* ── Del acero al algoritmo ───────────────────────────────────────────── */
/* Sin movimiento (y en el móvil): fotos y pasos uno tras otro. Con él, en escritorio: una escena a pantalla completa,
   fijada, en la que el cordón de la foto se convierte en la línea ámbar que recorre la página. */
.acero { position: relative; padding: 0 var(--margen) var(--seccion); max-width: var(--ancho); margin: 0 auto; }
.acero__escena { display: grid; gap: 28px; }
.acero__texto, .acero__pasos { display: contents; }
.acero__titulo { order: 0; font-size: var(--grande); max-width: 9ch; margin-bottom: 12px; }
.acero__foto--soldando { order: 1; }
.acero__paso[data-paso="1"] { order: 2; }
.acero__foto--cordon { order: 3; }
.acero__paso[data-paso="2"] { order: 4; }
.acero__paso[data-paso="3"] { order: 5; }
.acero__velo { display: none; }
.acero__foto { position: relative; margin: 0; border-radius: var(--radio); overflow: hidden; background: var(--bg-3); }
.acero__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }
/* Soldando: encuadre por debajo del casco (lleva una pegatina de marca: regla de la rama, nada de terceros) */
.acero__foto--soldando img { aspect-ratio: 1; object-position: 50% 78%; }
.acero__cordon { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.acero__traza {
  fill: none; stroke: #FFE6BD; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px rgba(255, 189, 89, .95)) drop-shadow(0 0 14px rgba(255, 157, 46, .7));
}
.acero__paso { font-size: clamp(19px, 1vw + 14px, 24px); line-height: 1.5; color: var(--mid); max-width: 30ch; }
.acero__paso p:last-child { color: var(--hi); }
.acero__cuando { font-family: var(--titular); font-weight: 600; font-size: 16px; letter-spacing: 0; color: var(--brand); margin-bottom: 10px; }

@media (min-width: 900px) {
  .acero__escena { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 110px); align-items: start; }
  .acero__titulo { grid-column: 1; grid-row: 1; max-width: 8ch; }
  .acero__paso[data-paso="1"] { grid-column: 1; grid-row: 2; }
  .acero__paso[data-paso="2"] { grid-column: 1; grid-row: 3; }
  .acero__paso[data-paso="3"] { grid-column: 1; grid-row: 4; }
  .acero__foto--soldando { grid-column: 2; grid-row: 1 / span 2; }
  .acero__foto--cordon { grid-column: 2; grid-row: 3 / span 2; }

  .mov .acero { max-width: none; padding: 0; }
  .mov .acero__escena { display: block; position: relative; height: 100svh; overflow: hidden; background: var(--bg); }
  .mov .acero__foto { position: absolute; inset: 0; border-radius: 0; background: transparent; }
  .mov .acero__foto img { height: 100%; aspect-ratio: auto; }
  .mov .acero__foto--soldando img { object-position: 50% 56%; }
  .mov .acero__velo {
    display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(90deg, rgba(5, 6, 11, .94) 0%, rgba(5, 6, 11, .72) 30%, rgba(5, 6, 11, 0) 60%),
      linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 11, 0) 16%),
      linear-gradient(180deg, var(--bg) 0%, rgba(5, 6, 11, 0) 14%);
  }
  .mov .acero__texto {
    display: block; position: absolute; z-index: 2; top: calc(var(--cab) + 6vh);
    left: max(var(--margen), calc((100% - 1600px) / 2 + var(--margen))); width: min(520px, 38vw);
  }
  .mov .acero__pasos { display: grid; margin-top: clamp(26px, 4vh, 48px); }
  .mov .acero__traza { stroke-width: 4.5; filter: drop-shadow(0 0 4px rgba(255, 189, 89, 1)) drop-shadow(0 0 22px rgba(255, 157, 46, .8)); }
  .mov .acero__paso { grid-area: 1 / 1; }
}

/* ── Lo que vas a aprender ────────────────────────────────────────────── */
.aprender { max-width: var(--ancho); margin: 0 auto; padding: var(--seccion) var(--margen); }
.aprender__cabeza { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }
.aprender__cabeza h2 { font-size: var(--grande); max-width: 10ch; }
.aprender__cabeza p { color: var(--mid); max-width: 34ch; font-size: clamp(18px, .6vw + 15px, 21px); }
@media (min-width: 900px) { .aprender__cabeza { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.temas { border-top: 1px solid var(--linea); }
.tema {
  position: relative; display: grid; gap: 10px 32px; align-items: center;
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--linea);
}
.tema__nombre { margin: 0; font-family: var(--titular); font-weight: 700; font-size: clamp(30px, 3.8vw, 58px); letter-spacing: -.035em; line-height: 1.04; transition: translate .7s var(--muelle), color .4s ease; }
.tema__que { margin: 0; color: var(--mid); max-width: 32ch; }
.tema__marcar {
  justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  min-height: 48px; padding: 12px 22px 12px 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--hi); box-shadow: inset 0 0 0 1px var(--linea-2);
  font-family: var(--titular); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease, scale .3s var(--muelle);
}
.tema__marcar:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.tema__marcar:active { scale: .97; }
.tema__marcar[aria-pressed="true"] { background: var(--brand); color: var(--bg); box-shadow: inset 0 0 0 1px var(--brand), 0 10px 30px -14px rgba(255, 157, 46, .9); }
/* El «+» que se convierte en «✓» (dos barras de CSS) */
.tema__mas { position: relative; width: 14px; height: 14px; flex: none; }
.tema__mas::before, .tema__mas::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform .45s var(--muelle), width .45s var(--muelle), margin .45s var(--muelle); }
.tema__mas::after { transform: rotate(90deg); }
[aria-pressed="true"] .tema__mas::before { width: 6px; margin: 1px 0 0 -7px; transform: rotate(45deg); }
[aria-pressed="true"] .tema__mas::after { width: 11px; margin: -1px 0 0 -3px; transform: rotate(-50deg); }
.tema__marcar { visibility: hidden; }
.js .tema__marcar { visibility: visible; }
.cordon--tema { position: absolute; left: 0; bottom: -2px; width: 100%; height: 3px; pointer-events: none; }
.cordon--tema .cordon__traza { opacity: 0; transition: opacity .3s ease; }
.tema.es-marcado .cordon--tema .cordon__traza { opacity: 1; }
@media (hover: hover) { .tema:hover .tema__nombre { translate: 14px 0; } }
@media (min-width: 900px) {
  .tema {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: 1fr auto 1fr;
    grid-template-areas: "nombre escena" "que escena" "marcar escena"; gap: 14px clamp(40px, 6vw, 110px);
  }
  .tema__nombre { grid-area: nombre; align-self: end; }
  .tema__que { grid-area: que; }
  .tema__marcar { grid-area: marcar; align-self: start; margin-top: 10px; }
  .tema__escena { grid-area: escena; margin: 0; }
}

/* ── Las escenas de cada tema (motion design) ─────────────────────────────
   Cada una es una interfaz en miniatura que cuenta el tema. Sin JS o con movimiento reducido, se ve su
   fotograma final; con el motor, se monta en bucle mientras está a la vista. Decorativas: aria-hidden. */
.tema__escena {
  position: relative; container-type: inline-size; aspect-ratio: 4 / 3; margin-top: 14px; overflow: hidden;
  border-radius: var(--radio); color: var(--mid); font-family: var(--texto); font-size: clamp(10px, 2.6cqw, 15px); line-height: 1.3;
  background: radial-gradient(110% 90% at 88% 0%, rgba(255, 157, 46, .12), rgba(255, 157, 46, 0) 58%), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--linea);
}
@media (min-width: 600px) { .tema__escena { aspect-ratio: 16 / 10; } .esc--video .vid__mesa { left: 39%; } }
.esc p { margin: 0; }
.esc__lineas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.esc__linea { fill: none; stroke: var(--linea-2); stroke-width: .45; }
.esc__pulso { fill: none; stroke: var(--brand); stroke-width: .8; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255, 157, 46, .9)); opacity: 0; }

/* Webs: la web se monta sola dentro del navegador */
.web__ventana { position: absolute; inset: 9% 8% -4%; border-radius: 12px 12px 0 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--linea-2), 0 30px 60px -30px rgba(0, 0, 0, .9); overflow: hidden; }
.web__barra { position: relative; z-index: 1; background: var(--bg); display: flex; align-items: center; gap: 1.4cqw; height: 9.5cqw; padding: 0 3cqw; border-bottom: 1px solid var(--linea); }
.web__barra i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--linea-2); }
.web__url { margin-left: 2cqw; flex: 1; padding: .8cqw 2.4cqw; border-radius: 99px; background: var(--bg-3); color: var(--low); font-size: .86em; }
.web__pagina { padding: 3.4cqw 4.4cqw; }
.web__nav { display: flex; align-items: center; gap: 2.4cqw; margin-bottom: 5cqw; }
.web__nav b { margin-right: auto; font-family: var(--titular); font-weight: 700; color: var(--hi); font-size: .95em; letter-spacing: -.02em; }
.web__nav span { width: 7cqw; height: .9cqw; border-radius: 9px; background: var(--linea-2); transform-origin: left; }
.web__hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4cqw; align-items: center; }
.web__titulo { font-family: var(--titular); font-weight: 700; color: var(--hi); font-size: 2em; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 2.6cqw !important; }
.web__linea { display: block; height: 1cqw; border-radius: 9px; background: var(--linea-2); margin-bottom: 1.4cqw; transform-origin: left; }
.web__linea--corta { width: 64%; }
.web__boton { position: relative; display: inline-block; margin-top: 2cqw; padding: 1.6cqw 3.6cqw; border-radius: 99px; background: var(--brand); color: var(--bg); font-family: var(--titular); font-weight: 600; font-size: .9em; }
.web__onda { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--brand); opacity: 0; }
.web__foto { display: block; aspect-ratio: 4 / 5; border-radius: 8px; background: url("../img/cordon-800.webp") 40% 62% / cover; }
.web__fichas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; margin-top: 4cqw; }
.web__fichas span { height: 14cqw; border-radius: 8px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--linea); }

/* Apps: de una frase a una app que funciona */
.app__idea {
  position: absolute; left: 6%; top: 31%; width: 41%; padding: 3cqw 3.4cqw; border-radius: 14px 14px 14px 4px;
  background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--linea-2); color: var(--hi); font-size: 1.12em; line-height: 1.35;
}
.app__quien { display: block; margin-bottom: 1.2cqw; color: var(--brand); font-family: var(--titular); font-weight: 600; font-size: .78em; }
.app__movil {
  position: absolute; left: 60%; top: 9%; width: 30%; aspect-ratio: 9 / 18.5; padding: 1.4cqw; border-radius: 6cqw;
  background: #1A1E2A; box-shadow: inset 0 0 0 1px var(--linea-2), 0 30px 60px -24px rgba(0, 0, 0, .9);
}
.app__pantalla { height: 100%; padding: 4.4cqw 2.6cqw; border-radius: 4.8cqw; background: var(--bg); overflow: hidden; }
.app__cab { font-family: var(--titular); font-weight: 700; color: var(--hi); font-size: 1.15em; letter-spacing: -.02em; margin-bottom: 3cqw !important; }
.app__dias { display: flex; justify-content: space-between; margin-bottom: 3cqw !important; font-size: .8em; }
.app__dias span { width: 4.2cqw; height: 4.2cqw; display: grid; place-items: center; border-radius: 50%; }
.app__dias .es-hoy { background: var(--hi); color: var(--bg); font-weight: 500; }
.app__horas { display: grid; gap: 1.6cqw; }
.app__horas span { padding: 1.5cqw 0; border-radius: 99px; text-align: center; font-size: .85em; box-shadow: inset 0 0 0 1px var(--linea-2); }
.app__horas .es-elegida { background: var(--brand); color: var(--bg); font-weight: 500; box-shadow: none; }
.app__ok { display: flex; align-items: center; gap: 1.4cqw; margin-top: 4cqw !important; padding: 1.8cqw; border-radius: 3cqw; background: rgba(255, 189, 89, .12); color: var(--hi); font-size: .72em; line-height: 1.2; }
.app__check { position: relative; flex: none; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: var(--brand); }
.app__check::before, .app__check::after { content: ""; position: absolute; height: 2px; border-radius: 2px; background: var(--bg); }
.app__check::before { width: 28%; left: 24%; top: 54%; transform: rotate(45deg); }
.app__check::after { width: 46%; left: 38%; top: 46%; transform: rotate(-50deg); }

/* SEO: tu resultado sube al primer puesto y la IA te cita */
.seo__buscador {
  position: absolute; left: 7%; right: 7%; top: 8%; display: flex; align-items: center; height: 12cqw; padding: 0 4cqw;
  border-radius: 99px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--linea-2); color: var(--hi); font-size: 1.05em;
}
.seo__caret { width: 2px; height: 1.2em; margin-left: 2px; background: var(--brand); }
.seo__lista { position: absolute; left: 7%; right: 7%; top: 30%; height: 64%; margin: 0; padding: 0; list-style: none; }
.seo__res {
  --i: 0; position: absolute; left: 0; right: 0; top: 0; height: 15.6%; display: grid; align-content: center; gap: .9cqw; padding: 0 3cqw;
  border-radius: 10px; translate: 0 calc(var(--i) * 128%);
}
.seo__res b { display: block; height: 1.1cqw; width: 32%; border-radius: 9px; background: var(--linea-2); }
.seo__res span { display: block; height: .8cqw; width: 78%; border-radius: 9px; background: var(--linea); }
.seo__res span.es-corta { width: 52%; }
.seo__res--a { --i: 1; } .seo__res--b { --i: 2; } .seo__res--c { --i: 3; } .seo__res--d { --i: 4; }
.seo__res--tuyo { z-index: 1; background: rgba(255, 189, 89, .1); box-shadow: inset 2px 0 0 var(--brand); }
.seo__res--tuyo b { height: auto; width: auto; background: none; color: var(--brand); font-family: var(--titular); font-weight: 600; font-size: .95em; }
.seo__ia {
  position: absolute; right: 5%; bottom: 7%; width: 52%; padding: 2.6cqw 3cqw; border-radius: 12px; z-index: 2;
  background: rgba(17, 20, 30, .96); box-shadow: inset 0 0 0 1px var(--linea-2), 0 20px 40px -16px rgba(0, 0, 0, .9); font-size: .86em;
}
.seo__ia-eti { display: block; margin-bottom: .8cqw; color: var(--brand); font-family: var(--titular); font-weight: 600; font-size: .85em; }
.seo__ia b { color: var(--hi); font-weight: 500; }

/* Vídeo: guion, voz y edición en una mesa de montaje */
.vid__marco { position: absolute; left: 7%; top: 9%; height: 82%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 30%, rgba(255, 157, 46, .4), rgba(255, 157, 46, 0) 70%), var(--bg-3); box-shadow: inset 0 0 0 1px var(--linea-2); }
.vid__foto { position: absolute; inset: 8% -10% 0; background: url("../img/antonio-recorte-420.webp") 50% 0 / cover no-repeat; transform-origin: 50% 20%; }
.vid__sub { position: absolute; left: 6%; right: 6%; bottom: 9%; text-align: center; font-family: var(--titular); font-weight: 700; color: var(--hi); font-size: 1.05em; line-height: 1.15; letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.vid__sub span { display: inline-block; }
.vid__sub span:last-child { color: var(--brand); }
.vid__mesa { position: absolute; left: 47%; right: 6%; top: 18%; bottom: 18%; display: grid; grid-template-rows: auto 1fr auto 1fr auto 1fr; gap: 1cqw; }
.vid__eti { font-size: .78em; color: var(--low); }
.vid__pista { display: flex; align-items: center; gap: .8cqw; min-height: 6cqw; }
.vid__pista--guion i, .vid__pista--clips i { height: 5.6cqw; border-radius: 6px; transform-origin: left; }
.vid__pista--guion i { background: rgba(244, 246, 251, .16); }
.vid__pista--guion i:nth-child(1) { flex: 3; } .vid__pista--guion i:nth-child(2) { flex: 5; } .vid__pista--guion i:nth-child(3) { flex: 2; }
.vid__pista--clips i { background: linear-gradient(90deg, rgba(255, 189, 89, .85), rgba(255, 157, 46, .55)); }
.vid__pista--clips i:nth-child(1) { flex: 2; } .vid__pista--clips i:nth-child(2) { flex: 4; } .vid__pista--clips i:nth-child(3) { flex: 1.5; } .vid__pista--clips i:nth-child(4) { flex: 3; }
.vid__pista--voz { gap: .5cqw; }
.vid__pista--voz i { flex: 1; height: 40%; border-radius: 9px; background: var(--acero); }
.vid__pista--voz i:nth-child(3n) { height: 85%; } .vid__pista--voz i:nth-child(4n+1) { height: 60%; } .vid__pista--voz i:nth-child(5n+2) { height: 25%; } .vid__pista--voz i:nth-child(7n) { height: 100%; }
.vid__recorrido { position: absolute; left: 0; top: -6%; bottom: -6%; width: 100%; pointer-events: none; translate: 62% 0; }
.vid__cabezal { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--hi); box-shadow: 0 0 10px rgba(244, 246, 251, .7); }
.vid__cabezal::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 3px; background: var(--hi); }

/* Automatizar: un pedido que recorre el flujo y se apunta solo */
.auto__nodo {
  position: absolute; display: flex; align-items: center; gap: 1.6cqw; min-height: 14cqw; padding: 2cqw 2.6cqw;
  border-radius: 12px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--linea-2); color: var(--hi); font-size: .92em; line-height: 1.2;
}
.auto__nodo i { flex: none; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px rgba(255, 157, 46, .9); }
.auto__nodo--1 { left: 5%; top: 50%; width: 25%; translate: 0 -50%; }
.auto__nodo--2 { left: 40%; top: 50%; width: 22%; translate: 0 -50%; background: rgba(255, 189, 89, .12); box-shadow: inset 0 0 0 1px rgba(255, 189, 89, .55); }
.auto__nodo--3 { left: 71%; top: 25%; width: 25%; translate: 0 -50%; }
.auto__nodo--4 { left: 71%; top: 75%; width: 25%; translate: 0 -50%; }

/* ── Qué pasa cuando te apuntas ───────────────────────────────────────── */
.despues { max-width: var(--ancho); margin: 0 auto; padding: var(--seccion) var(--margen); display: grid; gap: 48px; }
.despues h2 { font-size: var(--grande); max-width: 10ch; }
.despues__linea { position: relative; padding-left: clamp(40px, 5vw, 72px); }
.cordon--vertical { position: absolute; left: 6px; top: 8px; bottom: 8px; width: 12px; height: calc(100% - 16px); }
.cordon--vertical .cordon__guia { stroke: var(--linea-2); }
.momento { position: relative; padding: clamp(22px, 3vw, 36px) 0; max-width: 34ch; transition: opacity .6s ease, translate .8s var(--muelle); }
.momento::before { content: ""; position: absolute; left: calc(-1 * clamp(40px, 5vw, 72px) + 7px); top: calc(clamp(22px, 3vw, 36px) + .55em); width: 10px; height: 10px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--linea-2); transition: background-color .4s ease, box-shadow .4s ease; }
.momento.es-encendido::before { background: var(--brand); box-shadow: 0 0 0 5px rgba(255, 189, 89, .14), 0 0 16px rgba(255, 157, 46, .9); }
.momento__cuando { font-family: var(--titular); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.025em; line-height: 1.2; color: var(--hi); margin-bottom: 10px; }
.momento p:last-child { color: var(--mid); }
.mov .momento:not(.es-encendido) { opacity: .32; translate: -6px 0; }
@media (min-width: 900px) {
  .despues { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
  .despues h2 { position: sticky; top: calc(var(--cab) + 48px); }
}

/* ── ¿Es para ti? ─────────────────────────────────────────────────────── */

/* ── Apuntarse: el formulario ─────────────────────────────────────────── */
.apuntarse { position: relative; isolation: isolate; max-width: var(--ancho); margin: 0 auto; padding: var(--seccion) var(--margen); display: grid; gap: 40px; }
.apuntarse__cabeza h2 { font-size: var(--grande); max-width: 8ch; }
.apuntarse__cabeza p { margin-top: 22px; color: var(--mid); max-width: 28ch; font-size: clamp(18px, .6vw + 15px, 21px); }
@media (min-width: 1000px) {
  .apuntarse { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 6vw, 110px); align-items: start; }
  .apuntarse__cabeza { position: sticky; top: calc(var(--cab) + 48px); }
}

.formulario { position: relative; display: grid; gap: 40px; }
.progreso { display: none; position: relative; }
.cordon--progreso { width: 100%; height: 6px; }
.formulario__resumen { padding: 16px 18px; border-radius: 12px; background: rgba(255, 143, 126, .1); box-shadow: inset 0 0 0 1px rgba(255, 143, 126, .5); color: var(--hi); font-size: 16px; }
.formulario__resumen:focus { outline: none; }
.formulario__resumen ul { margin: 8px 0 0; padding-left: 20px; list-style: disc; }
.formulario__resumen a { color: var(--hi); }
.paso, .campo { margin: 0; padding: 0; border: 0; min-width: 0; }
.paso__pregunta { display: block; padding: 0; margin: 0 0 22px; font-family: var(--titular); font-weight: 600; font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -.035em; line-height: 1.08; color: var(--hi); }
.paso__ayuda { display: block; margin-top: 10px; font-family: var(--texto); font-weight: 400; font-size: 16px; letter-spacing: 0; color: var(--mid); }
.campo input[type="text"], .campo input[type="email"], .campo input[type="tel"] {
  display: block; width: 100%; padding: 10px 0 12px; border: 0; border-radius: 0; background: transparent;
  font-family: var(--texto); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); color: var(--hi); caret-color: var(--brand);
  box-shadow: inset 0 -2px 0 var(--linea-2); transition: box-shadow .35s ease;
  -webkit-appearance: none; appearance: none;
}
.campo input[type="text"]:hover, .campo input[type="email"]:hover, .campo input[type="tel"]:hover { box-shadow: inset 0 -2px 0 rgba(244, 246, 251, .45); }
.campo input[type="text"]:focus, .campo input[type="email"]:focus, .campo input[type="tel"]:focus { outline: none; box-shadow: inset 0 -2px 0 var(--brand), 0 14px 24px -22px rgba(255, 157, 46, .9); }
.campo input[aria-invalid="true"] { box-shadow: inset 0 -2px 0 var(--error); }
.campo__ayuda { margin-top: 12px; font-size: 15px; color: var(--mid); }
.campo__error { margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--error); }

.fichas { display: flex; flex-wrap: wrap; gap: 10px; }
.ficha__caja { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ficha {
  display: inline-flex; align-items: center; min-height: 56px; padding: 14px 26px; border-radius: 999px; cursor: pointer; user-select: none;
  font-family: var(--titular); font-weight: 600; font-size: clamp(16px, 1.2vw, 19px); letter-spacing: -.01em; color: var(--hi);
  box-shadow: inset 0 0 0 1px var(--linea-2);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, scale .3s var(--muelle);
}
.ficha:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.ficha:active { scale: .96; }
.ficha__caja:checked + .ficha { background: var(--brand); color: var(--bg); box-shadow: inset 0 0 0 1px var(--brand), 0 10px 26px -14px rgba(255, 157, 46, .9); }
.ficha__caja:focus-visible + .ficha { outline: 2px solid var(--brand); outline-offset: 3px; }
.campo--intereses[aria-invalid="true"] .ficha { box-shadow: inset 0 0 0 1px rgba(255, 143, 126, .6); }
.campo--otro { margin-top: 26px; }
.campo--otro label { font-size: 15px; color: var(--mid); }
.campo--otro label span { color: var(--low); }
.campo--otro input[type="text"] { font-size: clamp(19px, 1.6vw, 22px); }
.js .campo--otro { display: none; }
.js .campo--otro.es-visible { display: grid; }

.campo--casilla { display: grid; grid-template-columns: 26px 1fr; gap: 6px 14px; align-items: start; margin-bottom: 18px; }
.campo--casilla input {
  -webkit-appearance: none; appearance: none; margin: 1px 0 0; width: 26px; height: 26px; border-radius: 7px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--linea-2); background: transparent no-repeat center / 16px;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.campo--casilla input:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.campo--casilla input:checked {
  background-color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%2305060B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.campo--casilla input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--error); }
.campo--casilla label { font-size: 16px; line-height: 1.5; color: var(--mid); cursor: pointer; }
.campo--casilla label span { color: var(--low); }
.campo--casilla .campo__error { grid-column: 2; margin-top: 0; }
.boton--enviar { margin-top: 14px; width: 100%; min-height: 64px; font-size: 18px; }
@media (min-width: 700px) { .boton--enviar { width: auto; min-width: 260px; } }
.rgpd { margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--low); }
.rgpd a { color: var(--mid); }
.trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pasos__mando { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.pasos__mando [data-atras] { margin-left: auto; }
.pasos__mando[hidden] { display: none; }
.pasos__tecla { margin: 0; font-size: 14px; color: var(--low); }
@media (hover: none) { .pasos__tecla { display: none; } }

/* Con JavaScript: una pregunta cada vez */
.formulario.es-pasos { gap: 0; }
.es-pasos .progreso { display: block; margin-bottom: clamp(28px, 4vw, 44px); }
.es-pasos .formulario__resumen { margin-bottom: 22px; }
.es-pasos .paso { display: none; min-height: clamp(160px, 18vw, 220px); }
.es-pasos .paso.es-actual { display: block; }
.es-pasos .pasos__mando { margin-top: 30px; }
.es-pasos.en-ultimo [data-seguir], .es-pasos.en-ultimo .pasos__tecla { display: none; }
.es-pasos.en-primero [data-atras] { visibility: hidden; }
.formulario__hecho { display: grid; place-content: center; text-align: left; min-height: 300px; }
.formulario__hecho p:first-child { font-family: var(--titular); font-weight: 700; font-size: var(--medio); letter-spacing: -.035em; line-height: 1.05; }
.formulario__hecho p:last-child { margin-top: 14px; color: var(--mid); }

/* ── Dudas ────────────────────────────────────────────────────────────── */
.dudas { max-width: var(--ancho); margin: 0 auto; padding: var(--seccion) var(--margen); display: grid; gap: 40px; }
.dudas h2 { font-size: clamp(36px, 4.6vw, 72px); max-width: 12ch; }
.dudas__lista { border-top: 1px solid var(--linea); }
.dudas details { border-bottom: 1px solid var(--linea); }
.dudas summary {
  position: relative; list-style: none; cursor: pointer; padding: clamp(22px, 2.4vw, 30px) 56px clamp(22px, 2.4vw, 30px) 0;
  font-family: var(--titular); font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.025em; line-height: 1.25;
  transition: color .3s ease;
}
.dudas summary::-webkit-details-marker { display: none; }
.dudas summary:hover { color: var(--brand); }
.dudas summary::before, .dudas summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--brand); transition: transform .5s var(--muelle); }
.dudas summary::after { transform: rotate(90deg); }
.dudas details[open] summary::after { transform: rotate(0deg); }
.dudas details::details-content { block-size: 0; overflow: clip; transition: block-size .55s var(--muelle), content-visibility .55s allow-discrete; }
.dudas details[open]::details-content { block-size: auto; }
.dudas__resp { padding-bottom: clamp(22px, 2.4vw, 30px); color: var(--mid); max-width: 60ch; }
@media (min-width: 900px) { .dudas { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 110px); align-items: start; } }
@media (prefers-reduced-motion: reduce) { .dudas details::details-content { transition: none; } }

/* ── Cierre ───────────────────────────────────────────────────────────── */
.cierre { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: var(--seccion) var(--margen) calc(var(--seccion) + 20px); }
.cierre::before {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: -30%; width: min(150vw, 1300px); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 157, 46, .3), rgba(255, 189, 89, .08) 50%, rgba(255, 189, 89, 0) 75%);
  pointer-events: none;
}
.cierre__titulo { font-size: calc(var(--gigante) * 1.12); letter-spacing: -.055em; line-height: .95; }
.cierre__titulo .linea { padding-bottom: .1em; }
.cierre__texto { margin: 28px auto 40px; color: var(--mid); font-size: clamp(18px, .8vw + 14px, 22px); }

/* ── Barra del móvil ──────────────────────────────────────────────────── */
/* Safari de iPhone pone su barra flotante abajo: el botón va con margen propio (no solo el del sistema) y
   el JS la sube lo que tape la barra del navegador (--tapado, desde visualViewport). Hija directa de <body>,
   sin ancestros con transform/filter, que la desengancharían de la pantalla. */
.barra-movil {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 22px var(--margen) calc(16px + max(env(safe-area-inset-bottom, 0px), 6px));
  background: linear-gradient(rgba(5, 6, 11, 0), rgba(5, 6, 11, .94) 38%);
  transform: translateY(110%); transition: transform .6s var(--muelle);
}
@supports (-webkit-touch-callout: none) { .barra-movil { padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); } }
.barra-movil.es-visible { transform: translateY(calc(-1 * var(--tapado, 0px))); }
@media (min-width: 768px) { .barra-movil { display: none; } }

/* ── Pie ──────────────────────────────────────────────────────────────── */
.pie { border-top: 1px solid var(--linea); padding: 40px var(--margen) calc(48px + env(safe-area-inset-bottom)); display: grid; gap: 18px; max-width: 1600px; margin: 0 auto; font-size: 15px; color: var(--low); }
.pie__marca { font-family: var(--titular); font-weight: 700; font-size: 22px; letter-spacing: -.03em; color: var(--hi); margin: 0; }
.pie__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.pie__nav a { color: var(--mid); text-decoration: none; }
.pie__nav a:hover { color: var(--brand); }
.pie__legal { margin: 0; }
.pie__legal a { color: var(--mid); }
.pie__redes { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pie__redes a { color: var(--hi); font-weight: 500; text-decoration: none; }
.pie__redes a:hover { color: var(--brand); }
@media (min-width: 900px) {
  .pie { grid-template-columns: auto 1fr auto; align-items: center; }
  .pie__nav { justify-content: center; }
  .pie__legal { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--linea); }
}
@media (max-width: 767px) { .inicio .pie { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* ── Páginas sencillas: gracias, baja, privacidad y 404 ───────────────── */
.simple { max-width: 900px; margin: 0 auto; padding: calc(var(--cab) + clamp(56px, 10vw, 130px)) var(--margen) var(--seccion); min-height: 78svh; }
.simple__titulo { font-size: var(--grande); max-width: 14ch; }
.simple .cordon--frio, .simple .cordon--simple { width: min(100%, 420px); height: 14px; margin-top: 20px; }
.cordon--frio .cordon__traza { animation: enfria 2.4s ease .3s both; }
@keyframes enfria { from { stroke: var(--brand); filter: drop-shadow(0 0 4px rgba(255, 157, 46, .9)) drop-shadow(0 0 14px rgba(255, 157, 46, .4)); } to { stroke: var(--acero); filter: none; } }
.simple__entrada { margin-top: 28px; font-size: clamp(19px, .8vw + 15px, 23px); line-height: 1.5; color: var(--mid); max-width: 38ch; }
.simple__nota { margin-top: 32px; font-size: 15px; color: var(--low); }
.simple section { margin-top: clamp(48px, 7vw, 80px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--linea); }
.simple section h2 { font-size: var(--medio); margin-bottom: 16px; }
.simple section p { color: var(--mid); max-width: 52ch; }
.simple .boton { margin-top: 12px; }
.simple .formulario { margin-top: 32px; gap: 28px; max-width: 560px; }
.simple .campo > label { font-family: var(--titular); font-weight: 600; font-size: 17px; }
.baja__resultado { margin-top: 28px; padding: 20px 22px; border-radius: 12px; background: rgba(244, 246, 251, .05); box-shadow: inset 0 0 0 1px var(--linea-2); font-size: 18px; }
.baja__resultado:focus { outline: none; }
.baja__enlace form { margin-top: 24px; }
.simple--legal h2 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; margin: 52px 0 14px; }
.simple--legal p, .simple--legal li { color: var(--mid); max-width: 66ch; }
.simple--legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.simple--legal li { margin-bottom: 8px; }
.simple--legal strong { color: var(--hi); font-weight: 500; }

/* ── Gracias (v3.2, 17-nov): el cordón ya soldado, el pase con su sello, qué pasa ahora y las redes ── */
.gracias .cab__cta { display: none; }
.hecho {
  position: relative; isolation: isolate; overflow-x: clip;
  --lado: max(var(--margen), calc((100% - 1600px) / 2 + var(--margen)));
  padding: calc(var(--cab) + clamp(40px, 8vw, 96px)) var(--lado) clamp(72px, 9vw, 120px);
  display: grid; gap: clamp(56px, 7vw, 96px); align-items: center;
}
.hecho__halo {
  position: absolute; z-index: -1; pointer-events: none; width: min(130vw, 1000px); aspect-ratio: 1; right: -40vw; top: 34%;
  background: radial-gradient(closest-side, rgba(255, 157, 46, .3), rgba(255, 189, 89, .1) 45%, rgba(255, 189, 89, 0) 72%);
  filter: blur(10px);
}
.hecho__titulo { font-size: calc(var(--gigante) * .9); line-height: .98; letter-spacing: -.04em; }
.hecho__titulo .junto { white-space: nowrap; }
.hecho__titulo .fina { font-size: 1.08em; letter-spacing: -.02em; padding-right: .04em; }
.cordon--hecho { width: min(100%, max(260px, calc(var(--gigante) * 2.7))); height: clamp(14px, 1.6vw, 24px); margin-top: .3em; }
.cordon--hecho:not(.es-caliente) .cordon__traza { stroke: var(--acero); filter: none; transition: stroke 1.6s ease, filter 1.6s ease; }
.hecho__entrada { margin-top: clamp(24px, 3vw, 38px); font-size: clamp(18px, .9vw + 13px, 22px); line-height: 1.5; color: var(--mid); max-width: 32ch; }
@media (min-width: 960px) {
  .hecho { grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr); min-height: max(640px, 94svh); padding-top: calc(var(--cab) + 24px); }
  .hecho__halo { right: calc(var(--lado) - 260px); top: 6%; width: min(66vw, 900px); }
}

/* El pase: la plaza guardada, con los datos que ha dado (nada inventado) */
.pase { position: relative; justify-self: center; width: min(100%, 440px); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.pase__cuerpo, .pase__talon { background: linear-gradient(165deg, #171B29, #0C0E16 70%); box-shadow: inset 0 0 0 1px rgba(244, 246, 251, .14); }
.pase__cuerpo { border-radius: var(--radio) var(--radio) 0 0; padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px) 26px; }
.pase__cabeza { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; font-family: var(--titular); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--low); }
.pase__marca { font-weight: 700; font-size: 20px; letter-spacing: -.03em; text-transform: none; color: var(--hi); }
.pase__marca span { color: var(--brand); }
.pase__titulo { font-family: var(--titular); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -.035em; margin: 26px 0 26px; max-width: 13ch; }
.pase__datos { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); grid-auto-flow: dense; gap: 18px 20px; margin: 0; }
.pase__datos > div { border-top: 1px solid var(--linea); padding-top: 12px; min-width: 0; }
.pase__datos > [data-pase-nombre], .pase__datos > [data-pase-temas] { grid-column: 1 / -1; }
.pase__datos dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--low); margin-bottom: 4px; }
.pase__datos dd { margin: 0; font-weight: 500; font-size: 17px; line-height: 1.35; color: var(--hi); overflow-wrap: anywhere; }
.pase__datos > div:last-child dd { color: var(--brand); }
/* El talón, separado por una línea troquelada con sus dos muescas */
.pase__talon {
  position: relative; border-radius: 0 0 var(--radio) var(--radio); padding: 18px clamp(24px, 3vw, 32px) 20px;
  font-family: var(--titular); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mid);
  background-image: linear-gradient(90deg, rgba(244, 246, 251, .26) 50%, transparent 0), linear-gradient(165deg, #10131D, #0A0C13);
  background-size: 12px 1.5px, auto; background-repeat: repeat-x, no-repeat; background-position: 0 0, 0 0;
}
.pase__talon::before, .pase__talon::after { content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.pase__talon::before { left: -11px; box-shadow: inset -1px 0 0 rgba(244, 246, 251, .14); }
.pase__talon::after { right: -11px; box-shadow: inset 1px 0 0 rgba(244, 246, 251, .14); }
.pase__talon span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; vertical-align: 1px; background: var(--brand); box-shadow: 0 0 10px rgba(255, 157, 46, .9); }
/* El sello: cae encima al llegar */
.pase__sello {
  position: absolute; right: clamp(-12px, -1vw, -4px); top: 41%; margin: 0; z-index: 2; transform: rotate(-14deg);
  padding: 10px 18px 9px; border-radius: 10px; border: 2.5px solid var(--brand); outline: 1px solid rgba(255, 189, 89, .55); outline-offset: 3px;
  font-family: var(--titular); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  color: var(--brand); background: rgba(5, 6, 11, .55); text-shadow: 0 0 18px rgba(255, 157, 46, .55); pointer-events: none;
}

/* Qué pasa ahora: tres pasos y el cordón que va por el primero */
.ahora { --lado: max(var(--margen), calc((100% - 1600px) / 2 + var(--margen))); padding: var(--seccion) var(--lado); border-top: 1px solid var(--linea); }
.ahora__titulo { font-size: var(--grande); margin-bottom: clamp(40px, 5vw, 76px); }
.ahora__riel { position: relative; }
.ahora__paso { position: relative; padding: 0 0 clamp(30px, 4vw, 40px) 34px; }
.ahora__paso::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--linea-2); z-index: 1; }
.ahora__paso::after { content: ""; position: absolute; left: 5.5px; top: calc(.45em + 14px); bottom: 2px; width: 1px; background: var(--linea-2); }
.ahora__paso:last-child::after { display: none; }
.ahora__paso.es-hecho::before { background: var(--brand); box-shadow: 0 0 0 5px rgba(255, 189, 89, .14), 0 0 16px rgba(255, 157, 46, .9); }
.ahora__paso.es-hecho::after { width: 2px; left: 5px; background: linear-gradient(var(--brand), rgba(255, 189, 89, 0)); }
.ahora__cuando { font-family: var(--titular); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.025em; line-height: 1.2; color: var(--hi); margin-bottom: 10px; }
.ahora__paso.es-hecho .ahora__cuando { color: var(--brand); }
.ahora__paso p:last-child { color: var(--mid); max-width: 32ch; }
.cordon--ahora { display: none; }
@media (min-width: 900px) {
  .ahora__pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 72px); }
  .ahora__paso { padding: 46px 0 0; }
  .ahora__paso::before { top: 0; }
  .ahora__paso::after { display: none; }
  .cordon--ahora { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 12px; pointer-events: none; }
}

/* Redes */
.redes {
  --lado: max(var(--margen), calc((100% - 1600px) / 2 + var(--margen)));
  position: relative; isolation: isolate; overflow-x: clip; border-top: 1px solid var(--linea);
  padding: var(--seccion) var(--lado); display: grid; gap: clamp(36px, 6vw, 110px); align-items: center;
}
.redes__foto { position: relative; margin: 0 auto; width: min(64vw, 300px); aspect-ratio: 549 / 760; overflow: hidden; }
.redes__foto::before { content: ""; position: absolute; z-index: -1; inset: 18% -40% -10%; background: radial-gradient(closest-side, rgba(255, 157, 46, .32), rgba(255, 189, 89, 0) 70%); }
.redes__foto img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.redes__titulo { font-size: var(--grande); max-width: 11ch; }
.redes__entrada { margin: 22px 0 clamp(30px, 4vw, 48px); color: var(--mid); max-width: 36ch; }
.redes__lista { border-top: 1px solid var(--linea-2); }
.red {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nombre flecha" "cuenta flecha"; align-items: center; gap: 2px 20px;
  padding: clamp(20px, 2.4vw, 30px) clamp(6px, 1.2vw, 18px); border-bottom: 1px solid var(--linea-2);
  color: var(--hi); text-decoration: none; transition: color .35s ease;
}
.red::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--muelle); }
.red:hover, .red:focus-visible { color: var(--bg); }
.red:hover::before, .red:focus-visible::before { transform: scaleY(1); }
.red:focus-visible { outline-offset: -2px; border-radius: 0; }
.red__nombre { grid-area: nombre; font-family: var(--titular); font-weight: 700; font-size: clamp(34px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.045em; transition: translate .55s var(--muelle); }
.red__cuenta { grid-area: cuenta; font-size: 15px; color: var(--low); transition: color .35s ease, translate .55s var(--muelle); }
.red__flecha { grid-area: flecha; font-family: var(--texto); font-size: clamp(26px, 2.6vw, 38px); line-height: 1; color: var(--brand); transition: rotate .55s var(--muelle), color .35s ease; }
.red:hover .red__cuenta, .red:focus-visible .red__cuenta, .red:hover .red__flecha, .red:focus-visible .red__flecha { color: var(--bg); }
.red:hover .red__flecha, .red:focus-visible .red__flecha { rotate: -45deg; }
@media (hover: hover) { .red:hover .red__nombre, .red:hover .red__cuenta { translate: 10px 0; } }
@media (min-width: 700px) {
  .red { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "nombre cuenta flecha"; gap: 20px 32px; }
}
@media (min-width: 900px) {
  .redes { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
  .redes__foto { width: 100%; max-width: 440px; margin: 0; align-self: end; margin-bottom: calc(var(--seccion) * -1); }
}

.sinquerer { --lado: max(var(--margen), calc((100% - 1600px) / 2 + var(--margen))); padding: clamp(48px, 6vw, 80px) var(--lado) clamp(64px, 8vw, 110px); border-top: 1px solid var(--linea); }
.sinquerer h2 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; margin-bottom: 12px; }
.sinquerer p { color: var(--mid); max-width: 62ch; }

/* ── Estados iniciales del movimiento (solo con .mov, que pone antes.js) ─ */
.mov .portada [data-linea] { transform: translateY(112%); }
.mov .portada [data-entra] { opacity: 0; }
.mov .portada__foto { opacity: 0; }
.mov .cordon--portada { visibility: hidden; }
.mov .hecho [data-linea] { transform: translateY(112%); }
.mov .hecho [data-entra], .mov .pase, .mov .pase__sello { opacity: 0; }
.mov .cordon--hecho { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
