/* =========================================================
   DEL ARTISTA AL LEGADO · Landing
   Paleta: blanco y negro. Único color: gradiente azul→rojo de botones.
   ========================================================= */

/* ---------- Fuentes (las mismas del sitio original) ---------- */
@font-face {
  font-family: "HelveticaX";
  src: url("assets/fonts/Helvetica-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  /* Mismas medidas verticales en Windows, Android y Mac: evita que las letras se desplacen o recorten */
  ascent-override: 96%; descent-override: 23%; line-gap-override: 0%;
}
@font-face {
  font-family: "HelveticaX";
  src: url("assets/fonts/Helvetica.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  /* Mismas medidas verticales en Windows, Android y Mac: evita que las letras se desplacen o recorten */
  ascent-override: 96%; descent-override: 23%; line-gap-override: 0%;
}
@font-face {
  font-family: "HelveticaRounded";
  src: url("assets/fonts/Helvetica-Rounded-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  /* Mismas medidas verticales en Windows, Android y Mac: evita que las letras se desplacen o recorten */
  ascent-override: 96%; descent-override: 23%; line-gap-override: 0%;
}

/* Courier Prime (licencia OFL) alojada en la propia página: sin conexión extra a Google Fonts */
@font-face {
  font-family: "Courier Prime";
  src: url("assets/fonts/CourierPrime-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("assets/fonts/CourierPrime-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --ink-60: rgba(0, 0, 0, .6);
  --paper-60: rgba(255, 255, 255, .6);
  --line: rgba(0, 0, 0, .14);

  /* Gradiente de botones */
  --blue: #2a7bff;
  --violet: #7b2f8e;
  --red: #ff2b2b;
  --grad: linear-gradient(90deg, var(--blue), var(--violet) 50%, var(--red));

  /* Factor de estiramiento vertical de los títulos (medido contra el original) */
  --stretch: 1.68;

  --f-head: "Helvetica Neue", "HelveticaX", Helvetica, Arial, sans-serif;
  --f-body: "HelveticaX", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-round: "HelveticaRounded", "Helvetica Rounded", "HelveticaX", Arial, sans-serif;
  --f-mono: "Courier Prime", "Courier New", Courier, monospace;

  --gutter: clamp(16px, 5vw, 64px);
  --maxw: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--black); color: var(--white); }

/* Grano sutil para textura premium */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 9998; pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Títulos estirados (Helvetica Neue Bold con estiramiento vertical) ---------- */
.xt {
  display: block;
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.012em;
  word-spacing: -.06em;
  line-height: .8;
  text-align: center;
  transform-origin: 50% 0;
  transform: scaleY(var(--s, var(--stretch)));
  /* main.js guarda el alto real en --h; .8em es el respaldo para una línea */
  --mb: calc((var(--s, var(--stretch)) - 1) * var(--h, .8em));
  margin-bottom: var(--mb);
  will-change: transform;
}
.js [data-fit] { white-space: nowrap; }

/* ---------- Textura "distressed ink" en los textos grandes en mayúsculas ----------
   Una capa de motas del MISMO color que el fondo se pone encima del texto y "se come" la tinta.
   Así no se recorta nada (acentos ni la parte alta de las letras en Android).
   --tinta-fondo = color del fondo de cada sección. El tamaño de la textura va en "em"
   y se divide entre el estiramiento vertical para que las motas no se vean alargadas. */
:root { --tinta-fondo: #fff; }
.fecha, .versus, .formcard, .marquee { --tinta-fondo: #000; }
.xt, .xt-s, .zonas__time, .countdown b, .marquee span { position: relative; }
.xt           { --tex-w: 4.5em; --tex-h: calc(4.5em / var(--s, var(--stretch))); }
.xt-s         { --tex-w: 4.5em; --tex-h: calc(4.5em / 1.32); }
.zonas__time, .countdown b { --tex-w: 4.5em; --tex-h: calc(4.5em / 1.5); }
.marquee span { --tex-w: 4.5em; --tex-h: calc(4.5em / 1.45); }
/* Fecha gigante: grano más pequeño y más sutil (huecos semitransparentes) */
.fecha__date { --tex-w: 2.6em; --tex-h: calc(2.6em / 1.55); }
.fecha__date::after { opacity: .7; }
/* Resplandor de tinta en los títulos (como en Photoshop: texto nítido encima +
   copia con desenfoque gaussiano debajo). text-shadow sin desplazamiento ES esa copia
   desenfocada por debajo. Dos capas: una cercana y densa, otra amplia y tenue.
   Usa el color del propio texto: negro sobre blanco, blanco sobre negro. Va en "em"
   para que sea proporcional al tamaño de cada título. */
.xt {
  text-shadow:
    0 0 .025em color-mix(in srgb, currentColor 55%, transparent),
    0 0 .08em  color-mix(in srgb, currentColor 28%, transparent);
}
.versus__t--outline { text-shadow: none; } /* título solo de contorno: el resplandor rellenaría las letras */
.xt::after, .xt-s::after, .zonas__time::after, .countdown b::after, .marquee span::after {
  /* Cubre exactamente el área del texto (con un margen mínimo a los lados) para no
     "morder" los elementos vecinos: párrafos, etiquetas o líneas divisorias. */
  content: ""; position: absolute; inset: 0 -.06em; pointer-events: none;
  background: var(--tinta-fondo);
  -webkit-mask: url("assets/img/textura-tinta.webp") 0 0 / var(--tex-w) var(--tex-h) repeat;
          mask: url("assets/img/textura-tinta.webp") 0 0 / var(--tex-w) var(--tex-h) repeat;
}
.xt-s { /* Estiramiento leve para subtítulos (preguntas del FAQ) */
  font-family: var(--f-head);
  font-weight: 700;
  display: block;
  transform-origin: 0 0;
  transform: scaleY(1.32);
  margin-bottom: calc(.32 * var(--h, 1em) + .25em);
  letter-spacing: -.01em;
}

/* ---------- Botón: negro con borde degradado azul→rojo.
   Al pasar el cursor / tocarlo se rellena sólido con el mismo degradado (sin brillos) ---------- */
.btn {
  --bw: 3px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 2.1em;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 21px);
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--white);
  border: var(--bw) solid transparent;
  border-radius: 5px;
  background:
    linear-gradient(var(--black), var(--black)) padding-box,
    var(--grad) border-box;
  cursor: pointer;
  isolation: isolate;
  transition: transform .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before { /* Relleno sólido degradado: aparece al pasar el cursor */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before, .btn:active::before { opacity: 1; }
/* Crece un poco al pasar el cursor. Los selectores .js …is-in son necesarios porque
   la animación de aparición (data-r) también controla transform y la anulaba. */
.btn:hover, .btn:focus-visible,
.js .btn[data-r].is-in:hover, .js .btn[data-r].is-in:focus-visible { transform: translateY(-2px) scale(1.05); }
.btn--block:hover, .btn--block:focus-visible { transform: translateY(-2px) scale(1.025); } /* el del formulario es muy ancho: crece menos */
.btn:active, .js .btn[data-r].is-in:active { transform: translateY(0) scale(.98); }
.js .btn[data-r].is-in { transition: transform .5s var(--ease), opacity 1s var(--ease); transition-delay: 0s; }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.btn--sm { font-size: 14px; padding: .55em 1.2em; --bw: 2px; }
.btn--lg { font-size: clamp(18px, 1.9vw, 24px); padding: 1em 2.4em; }
.btn--block { width: 100%; }

/* ---------- Regla de scroll (stroke de máquina, 1.00–6.00 mm) ----------
   Blanca + mix-blend-mode: difference => se ve negra sobre blanco y blanca sobre negro. */
.regla {
  position: fixed; right: 14px; top: 50%; z-index: 9000;
  height: min(70vh, 620px); aspect-ratio: 42 / 573;
  transform: translateY(-50%);
  color: #fff; mix-blend-mode: difference;
  cursor: ns-resize; touch-action: none; user-select: none;
}
.regla svg { display: block; width: 100%; height: 100%; overflow: visible; }
.regla__num { font-family: var(--f-head); font-weight: 700; font-size: 11.1px; letter-spacing: -.05em; }
.regla__aguja {
  position: absolute; left: -11px; top: 0;
  width: 0; height: 0;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor;
  transform: translateY(calc(var(--y, 0px) - 5px));
}
.regla__aguja::after { /* línea de lectura sobre la regla */
  content: ""; position: absolute; left: 0; top: -.5px; width: 40px; height: 1px; background: currentColor;
}
.regla__val {
  position: absolute; right: 14px; top: -7px;
  font-family: var(--f-mono); font-weight: 700; font-size: 11px; white-space: nowrap;
  opacity: 0; transition: opacity .3s var(--ease);
}
.regla:hover .regla__val, .regla.is-drag .regla__val, .regla.is-moving .regla__val { opacity: 1; }
/* Celular / tablet: regla "fantasma", como la barra de scroll nativa.
   Delgada, sin números, aparece solo mientras se hace scroll y no bloquea toques. */
@media (max-width: 900px) {
  .regla {
    right: 2px; width: 9px; height: 46vh; aspect-ratio: auto;
    pointer-events: none; opacity: 0;
    transition: opacity .45s var(--ease);
  }
  .regla.is-moving { opacity: .8; transition-duration: .2s; }
  .regla__num { display: none; }
  .regla__aguja { left: -7px; border-top-width: 3px; border-bottom-width: 3px; border-left-width: 5px; transform: translateY(calc(var(--y, 0px) - 3px)); }
  .regla__aguja::after { width: 14px; }
  .regla__val { display: none; } /* sin lectura en mm: en celular se encimaría con el texto */
}

/* ---------- Progreso & cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9999; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Cursor: cartucho de tatuaje + rastro de tinta ----------
   Orientación original (diagonal, agujas abajo a la izquierda). La punta de las agujas
   (1.76% / 99.16% del dibujo) se coloca exactamente en el punto de clic con margin negativo.
   Tamaño: 20% más grande que la versión anterior (44 × 77 px).
   Dibujo blanco + mix-blend-mode: difference => negro sobre blanco, blanco sobre negro. */
.has-cartucho, .has-cartucho * { cursor: none !important; }
.has-cartucho input:not([type="checkbox"]), .has-cartucho textarea { cursor: text !important; }
.cursor {
  position: fixed; top: 0; left: 0; z-index: 10001;
  width: 44px; pointer-events: none;
  margin: -76.8px 0 0 -0.8px;        /* la punta de las agujas queda en el puntero */
  mix-blend-mode: difference; opacity: 0;
  will-change: transform;
}
.cursor img {
  display: block; width: 100%; height: auto;
  filter: invert(1);                 /* líneas negras del dibujo -> blancas (para "difference") */
  transform-origin: 1.76% 99.16%;    /* gira/escala desde la punta */
  transition: transform .25s var(--ease);
}
.cursor.is-on { opacity: 1; }
.cursor.is-big img { transform: rotate(-10deg) scale(1.12); }  /* sobre enlaces y botones */
.cursor.is-down img { transform: scale(.9); }                   /* al hacer clic: "pica" */
.cursor.is-text { opacity: 0; }                                 /* en campos de texto: cursor normal */
.tinta {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 10000; pointer-events: none; mix-blend-mode: difference;
}
@media (hover: none), (pointer: coarse) { .cursor, .tinta { display: none; } }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: padding .4s var(--ease), border-color .4s;
}
.nav.is-scrolled { padding-top: 10px; padding-bottom: 10px; border-bottom-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav__brand img { height: 26px; width: auto; }
.nav__brand .brand-tatu img { height: 22px; }
.brand-lab, .brand-tatu { display: block; text-decoration: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.brand-lab:hover, .brand-tatu:hover { opacity: .6; }
.brand-lab:focus-visible, .brand-tatu:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }
.nav__sep { width: 1px; height: 26px; background: var(--black); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 36px); }
.nav__links > a:not(.btn) {
  position: relative;
  font-size: 13px; letter-spacing: .04em; text-decoration: none;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 640px) {
  .nav__links > a:not(.btn) { display: none; }
  .nav__brand img { height: 22px; }
  .nav__brand .brand-tatu img { height: 18px; }
}

/* ---------- Secciones comunes ---------- */
section { position: relative; }
.sec-title { font-size: clamp(38px, 7.4vw, 104px); margin-bottom: 0; }

/* Alambre de púas (divisor) */
.wire {
  height: 25px;
  width: min(100% - 2 * var(--gutter), 1094px);
  margin: 0 auto;
  background: url("assets/img/alambre.webp") repeat-x left center / auto 100%;
}
.wire--sm { width: 100%; height: 22px; margin: clamp(28px, 4vw, 48px) 0; }

/* =========================================================
   1 · HERO
   ========================================================= */
.hero {
  min-height: calc(100svh - 64px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(50px, 8vh, 100px);
  text-align: center;
}
.hero__title { margin: 0 0 clamp(36px, 6vh, 64px); width: 100%; max-width: 1240px; position: relative; }

/* ---------- Títulos en puntillismo (main.js · setupStipple) ----------
   Cada título [data-stipple] queda debajo de una capa del color del fondo; cada punto es un
   agujero que deja ver el título real. Al terminar, la capa se desvanece.
   Antes de su animación el título está oculto. Respaldo: si el script no carga, aparece a los 4 s. */
.js [data-stipple]:not(.is-stippling):not(.is-done) { opacity: 0; }
.js:not(.stip-ready) [data-stipple]:not(.is-stippling):not(.is-done) { animation: stipFallback .01s 4s forwards; }
@keyframes stipFallback { to { opacity: 1; } }
.stipple-cover {
  position: absolute; z-index: 2; pointer-events: none; /* encima del título real */
  transition: opacity .31s linear;
}
.stipple-cover.is-out { opacity: 0; }
.hero__l1 { margin-bottom: calc(var(--mb) + .06em); }
/* Celular: "ESTOY / BUSCANDO / ARTISTAS", una palabra por renglón (el título crece al ancho de "BUSCANDO") */
.br-movil { display: none; }
@media (max-width: 640px) {
  .br-movil { display: inline; }
  .hero__l1 { line-height: .8; }
}
.hero__l1, .hero__l2 { font-size: clamp(36px, 10.4vw, 150px); }
/* Computadora: 3 renglones fijos (saltos .br-pc). Celular: el texto fluye normal. */
.br-pc { display: none; }
@media (min-width: 761px) {
  .br-pc { display: inline; }
  .hero .hero__lead { max-width: none; white-space: nowrap; }
}
.hero__lead {
  max-width: 34em; margin: 0;
  font-size: clamp(14px, 1.45vw, 20px);
  line-height: 1.3;
  text-transform: uppercase;
}
.hero__scroll {
  margin-top: clamp(36px, 7vh, 72px);
  width: 26px; height: 42px; border: 2px solid var(--black); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.hero__scroll span { width: 3px; height: 8px; background: var(--black); border-radius: 2px; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   2 · ANUNCIO CLASE GRATUITA
   ========================================================= */
.intro { padding: clamp(70px, 10vw, 130px) var(--gutter) clamp(80px, 11vw, 140px); }
.intro__box {
  max-width: 1000px; margin: 0 auto;
  border: 5px solid var(--black); border-radius: 2px;
  padding: clamp(40px, 6vw, 80px) clamp(18px, 6vw, 90px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.intro__kicker { font-size: clamp(22px, 3.4vw, 46px); margin-bottom: calc(var(--mb) + .5em); }
.intro__title { margin: 0; width: 100%; }
.intro__title .xt:first-child { margin-bottom: calc(var(--mb) + .08em); }
.intro__kicker { width: 100%; }
.intro__title .xt { font-size: clamp(44px, 10.6vw, 148px); }
.intro__sub {
  margin: 0; max-width: 22em;
  font-size: clamp(15px, 1.6vw, 22px);
  text-transform: uppercase;
}
.intro__icon { margin-top: 26px; width: 30px; height: auto; }

/* Cinta */
.marquee {
  background: var(--black); color: var(--white);
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid #222; border-bottom: 1px solid #222;
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span, .marquee i {
  font-family: var(--f-head); font-style: normal; font-size: clamp(18px, 2.2vw, 28px);
  white-space: nowrap; padding: 0 .9em;
  display: inline-block; transform: scaleY(1.45);
}
.marquee i { font-size: .8em; opacity: .7; padding: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   3 · FECHA Y HORA
   ========================================================= */
.fecha {
  background: var(--black); color: var(--white);
  padding: clamp(90px, 12vw, 160px) var(--gutter);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.fecha__label {
  margin: 0 0 clamp(22px, 3vw, 36px);
  font-family: "Neue Montreal", var(--f-body);
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: .02em;
}
.fecha__date { --s: 1.55; font-size: clamp(64px, 15.5vw, 230px); color: var(--white); }
.fecha__date time { display: inline; }

.zonas {
  list-style: none; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  border-top: 1px solid rgba(255,255,255,.25);
}
.zonas li { padding: 24px 8px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.zonas li + li { border-left: 1px solid rgba(255,255,255,.25); }
/* Ciudades: misma tipografía que "días · horas · min · seg" (monoespaciada, peso normal) */
.zonas__city { font-family: var(--f-mono); font-weight: 400; font-size: clamp(15px, 1.6vw, 20px); }
.zonas__time {
  font-family: var(--f-head); font-size: clamp(28px, 4.6vw, 62px); line-height: .8;
  display: inline-block; transform: scaleY(1.5); transform-origin: 50% 0; margin-bottom: .45em;
}
.zonas__time small { font-size: .45em; margin-left: .15em; }
.zonas__name { font-family: var(--f-mono); font-weight: 400; font-size: 13px; opacity: .6; }

.countdown {
  display: flex; justify-content: center; gap: clamp(10px, 2.4vw, 28px);
  margin: clamp(50px, 6vw, 80px) auto 0;
}
.countdown div {
  min-width: clamp(68px, 10vw, 120px);
  padding: 16px 6px 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 3px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.countdown b {
  /* Mismo peso que los horarios (CDMX · MIA · BOG): sin la negrita artificial que el navegador da a <b> */
  font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 5vw, 64px); line-height: .8; font-variant-numeric: tabular-nums;
  display: inline-block; transform: scaleY(1.5); transform-origin: 50% 0; margin-bottom: .42em;
}
.countdown b.tick { animation: tick .6s var(--ease); }
@keyframes tick { from { opacity: 0; transform: scaleY(.2) translateY(-30%); filter: blur(4px); } }
.countdown span { font-family: var(--f-mono); font-weight: 400; font-size: 13px; opacity: .7; }

.fecha__local { margin: 30px 0 0; font-family: var(--f-mono); font-weight: 400; font-size: 15px; opacity: .85; min-height: 1.4em; }
.fecha__local strong { font-weight: 700; }

.zonas-mas { margin: 26px auto 0; max-width: 900px; }
.zonas-mas summary {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  font-family: var(--f-mono); font-size: 15px; padding: 8px 4px;
  border-bottom: 1px solid rgba(255,255,255,.5);
}
.zonas-mas summary::-webkit-details-marker { display: none; }
.zonas-mas summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .4s var(--ease); }
.zonas-mas[open] summary::after { transform: rotate(45deg); }
.zonas-grid {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  border-top: 1px solid rgba(255,255,255,.2);
}
.zonas-grid li {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.2);
  font-family: var(--f-mono); font-size: 14px; text-align: left;
  animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--i) * 30ms);
}
.zonas-grid li b { white-space: nowrap; }
.zonas-grid li b span { font-weight: 400; opacity: .75; }

/* País con su bandera: plana, en escala de grises, esquinas rectas (sin brillo tipo emoji) */
.zonas-grid__pais { display: inline-flex; align-items: center; gap: 10px; }
.flag {
  flex: 0 0 auto;
  width: 28px; height: 21px; border-radius: 0;
  background-size: cover; background-position: center;
  outline: 1px solid rgba(255,255,255,.3); outline-offset: 0;
}
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } }

/* =========================================================
   4 · REGISTRO
   ========================================================= */
.registro { padding: clamp(90px, 12vw, 150px) var(--gutter) clamp(80px, 10vw, 120px); text-align: center; scroll-margin-top: 40px; }
.thorn-title {
  /* align-items: center => el centro de las tríadas coincide con el centro del título */
  display: flex; align-items: center; justify-content: center; gap: clamp(12px, 4vw, 70px);
  width: 100%; max-width: 1100px; margin: 0 auto; text-decoration: none; color: inherit;
}
.thorn-title__t { font-size: clamp(30px, 4.6vw, 66px); flex: 0 1 560px; min-width: 0; }
/* Tríadas de símbolos a los lados del título (archivos izquierdo y derecho propios, sin voltear) */
.thorn { width: auto; height: clamp(84px, 9.5vw, 136px); flex: 0 0 auto; align-self: center; }
.thorn-title--link:hover .thorn--l { animation: thornL 1s var(--ease); }
.thorn-title--link:hover .thorn--r { animation: thornR 1s var(--ease); }
@keyframes thornL { 50% { transform: translateX(-10px); } }
@keyframes thornR { 50% { transform: translateX(10px); } }
@media (max-width: 640px) { .thorn { display: none; } .thorn-title__t { white-space: normal; } }

.registro__note {
  margin: 22px auto 0; max-width: 24em;
  font-size: clamp(15px, 1.5vw, 20px); text-transform: uppercase;
}

.formcard {
  position: relative;
  max-width: 720px; margin: clamp(40px, 5vw, 64px) auto clamp(70px, 8vw, 110px);
  padding: clamp(28px, 5vw, 60px);
  background: var(--black); color: var(--white);
  border-radius: 4px;
  text-align: left;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.55);
}
.formcard::before { /* Línea degradada superior */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad); border-radius: 4px 4px 0 0;
}

.field { position: relative; margin-bottom: 30px; }
.field input, .field select {
  width: 100%;
  padding: 26px 0 10px;
  font-family: var(--f-body); font-weight: 700; font-size: 18px;
  color: var(--white);
  background: transparent;
  border: 0; border-bottom: 2px solid rgba(255,255,255,.35);
  border-radius: 0;
  outline: none;
  transition: border-color .35s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
  padding-right: 22px;
}
.field select option { color: #000; }
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input[type=number] { -moz-appearance: textfield; }
/* Subrayado animado con degradado al enfocar */
.field input {
  background-image: var(--grad);
  background-repeat: no-repeat;
  background-origin: border-box;
  background-position: left bottom;
  background-size: 0% 2px;
  transition: border-color .35s, background-size .6s var(--ease);
}
.field input:focus { background-size: 100% 2px; }
.field label {
  position: absolute; left: 0; top: 26px;
  font-family: var(--f-mono); font-weight: 400; font-size: 17px;
  color: rgba(255,255,255,.6);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .45s var(--ease), color .3s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field label.is-static { transform: translateY(-24px) scale(.78); color: var(--white); }
.field--ig input { padding-left: 20px; }
.field__prefix { position: absolute; left: 0; top: 26px; font-size: 18px; opacity: 0; transition: opacity .3s; }
.field--ig:focus-within .field__prefix, .field--ig.has-val .field__prefix { opacity: 1; }
.field__err {
  display: block; min-height: 0; max-height: 0; overflow: hidden;
  font-family: var(--f-mono); font-weight: 400; font-size: 13px; color: var(--white);
  transition: max-height .4s var(--ease), margin .4s var(--ease);
}
.field.is-invalid input { border-bottom-color: var(--white); animation: shake .45s; }
.field.is-invalid .field__err { max-height: 40px; margin-top: 8px; }
.field.is-invalid .field__err::before { content: "✕ "; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.field-row { display: grid; grid-template-columns: 140px 1fr; gap: 24px; }
.field-row--tel { grid-template-columns: 170px 1fr; }
@media (max-width: 520px) {
  .field--tel label { white-space: nowrap; font-size: 15px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row--tel { grid-template-columns: 120px 1fr; gap: 14px; }
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 6px 0 28px; cursor: pointer;
  font-family: var(--f-mono); font-weight: 400; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.8);
}
.consent input {
  flex: 0 0 auto; width: 20px; height: 20px; margin: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  border: 2px solid rgba(255,255,255,.6); border-radius: 3px; background: transparent;
  display: grid; place-items: center;
  transition: background .3s, border-color .3s;
}
.consent input::after { content: ""; width: 10px; height: 6px; border: solid #000; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform .3s var(--ease); margin-top: -3px; }
.consent input:checked { background: var(--white); border-color: var(--white); }
.consent input:checked::after { transform: rotate(-45deg) scale(1); }
.consent.is-invalid { color: var(--white); animation: shake .45s; }
.consent.is-invalid input { border-color: var(--white); }

.btn__spin { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .btn__spin { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__status { margin: 16px 0 0; min-height: 1.2em; font-family: var(--f-mono); font-weight: 400; font-size: 14px; text-align: center; }
.form__status.is-error {
  margin-top: 20px; padding: 14px 16px;
  font-weight: 700; font-size: 15px; line-height: 1.45; color: var(--white);
  border: 1px solid rgba(255,255,255,.5); border-radius: 3px;
  animation: okIn .6s var(--ease) both;
}

.form__ok { text-align: center; padding: 20px 0; animation: okIn 1s var(--ease) both; }
.form__ok-t { font-size: clamp(40px, 7vw, 76px); margin-bottom: calc(var(--mb) + .32em); }
.form__ok-sub { font-size: 30px; margin-bottom: calc(var(--mb) + 28px); }
.form__ok p:not(.xt) { font-family: var(--f-mono); font-weight: 400; font-size: 16px; line-height: 1.6; margin: 0 0 30px; }
.form__ok strong { font-weight: 700; }
.form__ok-email { overflow-wrap: anywhere; }
/* ---------- Acceso a la clase (pantalla tras el registro) ---------- */
.acceso { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.form__ok .acceso p { margin: 0; }
.acceso__label { font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.acceso__when { margin-top: -10px !important; }
.acceso__when .acceso__date { font-weight: 700; }
.acceso__tz { opacity: .6; }
.acceso__link {
  display: flex; align-items: stretch; width: 100%;
  border: 1px solid rgba(255,255,255,.45); border-radius: 3px; overflow: hidden;
}
.acceso__link[hidden], .acceso__go[hidden], .acceso__steps[hidden], .acceso__share[hidden] { display: none; }
.acceso__url {
  flex: 1 1 auto; min-width: 0; padding: 14px 16px; text-align: left;
  font-family: var(--f-mono); font-size: 15px; color: var(--white); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.acceso__url:hover { text-decoration: underline; }
.acceso__copy {
  flex: 0 0 auto; padding: 0 20px; cursor: pointer;
  font-family: var(--f-mono); font-weight: 700; font-size: 14px;
  color: var(--black); background: var(--white); border: 0;
  transition: background .3s, color .3s;
}
.acceso__copy:hover { background: #d9d9d9; }
.acceso__copy.is-done { background: var(--grad); color: var(--white); }
.form__ok .acceso__go { gap: .55em; font-size: clamp(15px, 1.4vw, 19px); white-space: nowrap; padding: 1em 1.2em; }
.acceso__bell { width: 1.15em; height: 1.15em; flex: 0 0 auto; transform-origin: 50% 10%; animation: bell 2.4s ease-in-out infinite; }
@keyframes bell { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 82% { transform: rotate(-12deg); } 89% { transform: rotate(7deg); } 95% { transform: rotate(-4deg); } }
.acceso__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.acceso__more .btn { font-size: 15px; padding: .8em 1.4em; }
.acceso__steps {
  list-style: none; counter-reset: paso; margin: 6px 0 0; padding: 0; text-align: left;
  font-family: var(--f-mono); font-size: 15px; line-height: 1.5;
}
.acceso__steps li { counter-increment: paso; padding: 3px 0; }
.acceso__steps li::before { content: counter(paso) " · "; font-weight: 700; }
.acceso__mail { font-size: 14px !important; opacity: .75; margin-top: 8px !important; }

@media (max-width: 520px) {
  .formcard:has(.form__ok:not([hidden])) { padding-left: 16px; padding-right: 16px; }
  .form__ok p:not(.xt) { font-size: 12.5px; }
  .form__ok .btn { white-space: nowrap; padding: .9em 1.4em; font-size: 15px; }
  .acceso__url { font-size: 13px; padding: 12px; }
  .acceso__copy { padding: 0 14px; font-size: 13px; }
  .form__ok .acceso__go { white-space: normal; font-size: 15px; padding: .95em 1em; }
  .acceso__steps { font-size: 13px; }
}
@keyframes okIn { from { opacity: 0; transform: translateY(20px); filter: blur(6px); } }

/* =========================================================
   5 · ¿QUÉ APRENDERÁS?
   ========================================================= */
.aprender { padding: clamp(80px, 10vw, 130px) var(--gutter) clamp(80px, 10vw, 120px); scroll-margin-top: 40px; }
.aprender__grid {
  max-width: var(--maxw); margin: clamp(50px, 7vw, 90px) auto clamp(70px, 9vw, 110px);
  /* Ilustración a la izquierda, texto a la derecha */
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 6vw, 90px); align-items: center;
}
.aprender__list { list-style: none; margin: 0; padding: 0; }
.aprender__list li {
  /* Columna fija para los símbolos: así los tres textos empiezan alineados */
  display: grid; grid-template-columns: auto clamp(130px, 13vw, 190px) 1fr; align-items: center; gap: clamp(14px, 2.2vw, 28px);
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 2px solid var(--black);
  transition: padding .5s var(--ease);
}
.aprender__list li:first-child { border-top: 2px solid var(--black); }
.aprender__list li:hover { padding-left: 14px; }
.aprender__n { font-family: var(--f-mono); font-size: 15px; }
/* Tríos de símbolos (azufre · tierra · mercurio). El ancho de cada uno es proporcional
   al ancho de su archivo original, para que todos los símbolos conserven la misma escala */
.aprender__list img { height: auto; width: 100%; }
.aprender__list img[src*="aprende-azufre"] { width: 99.2%; }   /* 462.69 / 466.54 */
.aprender__list img[src*="aprende-mercurio"] { width: 99%; }   /* 461.79 / 466.54 */
.aprender__list p { margin: 0; font-size: clamp(16px, 1.9vw, 26px); line-height: 1.15; }
.aprender__img { width: 100%; max-width: 380px; justify-self: center; transition: transform .6s var(--ease); }
@media (max-width: 760px) {
  /* Celular: ilustración ARRIBA del título y el título pegado a la lista.
     display: contents "suelta" la imagen y la lista para ordenarlas junto al título. */
  .aprender { display: flex; flex-direction: column; padding-top: 24px; }
  .registro { padding-bottom: 24px; } /* alambre del registro más cerca de la mano de "¿QUÉ APRENDERÁS?" */
  .aprender__grid { display: contents; }
  .aprender__img { order: 0; align-self: center; width: 70%; max-width: 260px; margin-bottom: 28px; }
  .aprender > .sec-title { order: 1; }
  .aprender__list { order: 2; margin: 40px 0 60px; } /* el "¿" baja de la línea: más aire */
  .aprender > .wire { order: 3; }
  .aprender__list li { grid-template-columns: auto 1fr; }
  .aprender__list img { grid-column: 1 / -1; display: none; }
}

/* =========================================================
   6 · ESTA CLASE ES PARA TI SI
   ========================================================= */
.parati { padding: 0 var(--gutter) clamp(100px, 12vw, 150px); }
.parati__grid {
  max-width: 1100px; margin: clamp(50px, 7vw, 90px) auto 0;
  /* Texto a la izquierda, ilustración a la derecha */
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: center;
}
/* "EL ELEGIDO" es vertical (173 × 331): se limita el ancho para que no quede demasiado alto */
.parati__img { width: 100%; max-width: 300px; justify-self: center; }

/* ---------- Ilustraciones con el mismo tratamiento que los títulos ----------
   1) Desgaste: la textura de tinta recorta el dibujo (sus motas = huecos reales).
      Capa sólida XOR textura => se conserva todo menos las motas.
   2) Resplandor: copia desenfocada debajo (drop-shadow), con el dibujo nítido encima.
   El filter lleva !important porque las reglas de animación ([data-r]) lo anulan. */
.aprender__img, .parati__img, .faq__img {
  --tex-img: 300px; /* tamaño del mosaico de textura: grano fino como en los títulos */
  /* Versión "suave" (huecos al 60%): en trazos finos el desgaste completo borraba la línea */
  -webkit-mask: linear-gradient(#000 0 0), url("assets/img/textura-tinta-suave.webp") 0 0 / var(--tex-img) var(--tex-img) repeat;
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0), url("assets/img/textura-tinta-suave.webp") 0 0 / var(--tex-img) var(--tex-img) repeat;
          mask-composite: exclude;
}
.aprender__img, .parati__img, .faq__img,
.js .aprender__img[data-r], .js .parati__img[data-r] {
  filter: drop-shadow(0 0 1.2px rgba(0, 0, 0, .55)) drop-shadow(0 0 4.5px rgba(0, 0, 0, .28)) !important;
}
.parati__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.4vw, 28px); }
.parati__list li { display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: start; }
.parati__list p { margin: 0; text-transform: uppercase; font-size: clamp(16px, 1.75vw, 23px); line-height: 1.2; }
.check {
  width: 30px; height: 30px; border: 2px solid var(--black); border-radius: 2px; position: relative; margin-top: 2px;
}
.check::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 9px; height: 15px;
  border: solid var(--black); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0);
  transition: transform .5s var(--ease) .35s;
}
.is-in .check::after { transform: rotate(45deg) scale(1); }
@media (max-width: 760px) {
  /* Celular: ilustración ARRIBA del título y el título pegado a la lista */
  .parati { display: flex; flex-direction: column; }
  .parati__grid { display: contents; }
  .parati__img { order: 0; align-self: center; width: 58%; max-width: 230px; margin-bottom: 28px; }
  .parati > .sec-title { order: 1; }
  .parati__list { order: 2; margin-top: 34px; }
}

/* =========================================================
   7 · SIN vs CON
   ========================================================= */
.versus {
  background: var(--black); color: var(--white);
  padding: clamp(90px, 11vw, 140px) var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: clamp(50px, 7vw, 90px);
}
.versus__grid {
  width: 100%; max-width: 1150px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(20px, 4vw, 60px);
  border: 1px solid var(--white);
  padding: clamp(28px, 4vw, 50px) clamp(18px, 4vw, 50px);
}
.versus__t { font-size: clamp(36px, 5.2vw, 76px); color: var(--white); margin-bottom: calc(var(--mb) + 30px); }
.versus__t--outline { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.versus__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.versus__col li {
  border: 1px solid rgba(255,255,255,.55); padding: 18px 20px;
  display: flex; align-items: center; justify-content: center; /* texto centrado vertical (main.js iguala alturas por fila) */
  text-align: center; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.3;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.versus__col--sin li { font-weight: 400; color: rgba(255,255,255,.82); }
.versus__col--con li { font-weight: 700; }
.versus__col--con li:hover { background: var(--white); color: var(--black); border-color: var(--white); }
/* CON LA CLASE: cada rectángulo crece un poco al pasar el cursor.
   Los selectores .js …is-in son necesarios porque la animación de aparición también usa transform. */
.js .versus__col--con li[data-r].is-in {
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s;
  transition-delay: 0s;
}
.versus__col--con li:hover, .js .versus__col--con li[data-r].is-in:hover { transform: scale(1.04); position: relative; z-index: 1; }
/* SIN LA CLASE: lo contrario, cada rectángulo se encoge un poco al pasar el cursor */
.js .versus__col--sin li[data-r].is-in {
  transition: transform .4s var(--ease), color .4s var(--ease), background .4s var(--ease), border-color .4s;
  transition-delay: 0s;
}
.versus__col--sin li:hover, .js .versus__col--sin li[data-r].is-in:hover { transform: scale(.96); }
/* SIN LA CLASE: al pasar el cursor, el rectángulo se pone rojo sólido con letras blancas */
.versus__col--sin li:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.versus__line { width: 2px; background: var(--white); align-self: stretch; }
.versus picture { display: block; width: 100%; max-width: 1150px; }
.versus__tools { display: block; width: 100%; height: auto; }
/* "SinCon_ARTISTA DELGADO" (SVG de escritorio) viene en negro: se invierte a blanco.
   Va en el contenedor <picture> porque las reglas de animación ([data-r]) anulan el filter
   de la imagen. La versión de celular (WebP, ≤640px) ya está en blanco: no se invierte. */
@media (min-width: 641px) { .versus picture { filter: invert(1); } }
@media (max-width: 760px) {
  .versus__grid { grid-template-columns: minmax(0, 1fr); }
  .versus__line { width: 100%; height: 2px; }
  .versus { gap: 30px; } /* celular: menos espacio negro entre recuadro, ilustración y botón */
}

/* =========================================================
   8 · RUTA (gráfico de sucesos)
   ========================================================= */
.ruta { padding: clamp(100px, 12vw, 150px) var(--gutter) clamp(40px, 6vw, 70px); }
.ruta__track {
  --p: 0;
  position: relative; list-style: none; margin: 0 auto; padding: 0;
  max-width: 1200px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.ruta__track::before, .ruta__track::after { /* Línea base + línea de progreso */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(0,0,0,.12);
}
/* La línea sigue al scroll con un suavizado corto (más fluida, sin "saltos") */
.ruta__track::after { background: var(--black); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: transform .18s linear; }
.ruta__track li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ruta__track li:first-child { align-items: flex-start; text-align: left; }
.ruta__track li:last-child { align-items: flex-end; text-align: right; }
.ruta__track li::before { /* Conector vertical */
  content: ""; width: 4px; height: 70px; background: var(--black);
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.ruta__track li:first-child::before { margin-left: 0; }
.ruta__dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--black); margin-top: -4px;
  transform: scale(0); transition: transform .4s var(--ease) .12s;
}
.ruta__track li:first-child .ruta__dot { margin-left: -9px; }
.ruta__track li:last-child .ruta__dot { margin-right: -9px; }
.ruta__track li:first-child::before { margin-left: 0; }
.ruta__track p {
  margin: 34px 0 0; font-size: clamp(14px, 1.6vw, 21px); line-height: 1.25;
  opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease) .18s, transform .45s var(--ease) .18s;
}
.ruta__track li.on::before { transform: scaleY(1); }
.ruta__track li.on .ruta__dot { transform: scale(1); }
.ruta__track li.on p { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .ruta__track { grid-template-columns: 1fr; gap: 40px; padding-left: 46px; }
  .ruta__track::before, .ruta__track::after { left: 9px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .ruta__track::after { transform-origin: 50% 0; transform: scaleY(var(--p)); }
  .ruta__track li, .ruta__track li:first-child, .ruta__track li:last-child { flex-direction: row; align-items: center; text-align: left; gap: 18px; }
  .ruta__track li::before { display: none; }
  .ruta__dot, .ruta__track li:first-child .ruta__dot, .ruta__track li:last-child .ruta__dot { position: absolute; left: -46px; margin: 0; }
  .ruta__track p { margin: 0; }
}

/* =========================================================
   9 · FAQ
   ========================================================= */
.faq { padding: clamp(80px, 10vw, 130px) var(--gutter) clamp(80px, 10vw, 130px); scroll-margin-top: 40px; }
.faq__grid {
  max-width: 1200px; margin: clamp(50px, 7vw, 90px) auto 0;
  display: grid; grid-template-columns: 1fr 260px; gap: clamp(30px, 6vw, 80px); align-items: center;
}
.faq__list { margin: 0; display: grid; gap: clamp(26px, 3.6vw, 44px); }
/* Pregunta (botón) — todas alineadas a la izquierda */
.faq__q {
  all: unset; box-sizing: border-box;
  display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 24px);
  width: 100%; cursor: pointer; color: inherit; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.faq__q .xt-s {
  flex: 1 1 auto; min-width: 0;
  font-size: clamp(20px, 2.7vw, 38px); line-height: 1;
  margin-bottom: calc(.32 * var(--h, 1em));
  transition: transform .4s var(--ease);
}
/* Al pasar el cursor la pregunta crece un poco (conserva su estiramiento vertical 1.32) */
.faq__q:hover .xt-s, .faq__q:focus-visible .xt-s { transform: scale(1.04, calc(1.04 * 1.32)); }
.faq__q:focus-visible { outline: 2px solid var(--black); outline-offset: 6px; }

/* Ícono + que se convierte en × al abrir */
.faq__icon {
  flex: 0 0 auto; position: relative;
  width: clamp(26px, 2.4vw, 34px); height: clamp(26px, 2.4vw, 34px);
  margin-top: .1em;
  border: 2px solid var(--black); border-radius: 50%;
  transition: transform .5s var(--ease), background-color .3s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 42%; height: 2px; background: var(--black);
  transform: translate(-50%, -50%);
  transition: background-color .3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--black); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: var(--white); }

/* Respuesta: se despliega con altura animada */
.faq__a {
  display: grid; grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .55s var(--ease), visibility 0s linear .55s;
}
.faq__a > div { overflow: hidden; }
.faq__a p {
  margin: .5em 0 .2em clamp(0px, 4vw, 60px); max-width: 40em;
  text-transform: uppercase; font-size: clamp(13px, 1.25vw, 17px); line-height: 1.3;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .1s; }

.faq__img { width: 100%; max-width: 260px; justify-self: center; }
@media (max-width: 760px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__a p { margin-left: 0; }
  .faq__img { display: none; }
}

/* =========================================================
   10 · FOTOS
   ========================================================= */
.fotos { background: var(--black); padding: clamp(60px, 8vw, 110px) var(--gutter); }
.fotos__frame { margin: 0 auto; max-width: 1340px; overflow: hidden; border-radius: 10px; }
.fotos__frame img { width: 100%; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.fotos__frame.is-in img { transform: scale(1); }

/* =========================================================
   11 · CIERRE
   ========================================================= */
.cierre {
  padding: clamp(100px, 12vw, 160px) var(--gutter) clamp(70px, 9vw, 110px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.cierre__ojos { width: min(100%, 1100px); margin: clamp(30px, 5vw, 60px) 0; }
.cierre__frase {
  margin: 0 0 clamp(40px, 5vw, 60px);
  /* Misma tipografía que los textos pequeños (p. ej. "Cómo construir una identidad…"): Helvetica Bold */
  font-family: var(--f-body); font-weight: 700; font-size: clamp(20px, 2.6vw, 36px); line-height: 1.15;
}

/* Franja final. La línea de arriba se separa un poco del dibujo (4% de la altura de la franja;
   el dibujo no trae margen superior y tocaba la línea). */
.collage {
  --collage-h: clamp(150px, 20vw, 300px);
  overflow: hidden; border-top: 2px solid var(--black); border-bottom: 2px solid var(--black);
  padding-top: calc(var(--collage-h) * .04);
}
/* Franja final: se desliza de izquierda a derecha, en bucle infinito y a velocidad constante */
.collage__track { display: flex; width: max-content; animation: collage-ltr 50s linear infinite; will-change: transform; }
@keyframes collage-ltr { from { transform: translate3d(-25%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.collage__track img { height: var(--collage-h); width: auto; max-width: none; }

.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 28px var(--gutter) 40px;
  font-family: var(--f-mono); font-weight: 400; font-size: 13px;
}
.foot__brand { display: flex; align-items: center; gap: 16px; }
.foot__brand img { height: 22px; width: auto; }
.foot p { margin: 0; }

/* CTA fijo en móvil */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 60;
  font-size: 15px; padding: .75em 1em;
  flex-wrap: wrap; column-gap: .45em; row-gap: .15em;
  text-align: center; line-height: 1.25;
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.sticky-cta span { white-space: nowrap; }
.sticky-cta.is-on { transform: translateY(0); }
.sticky-cta.is-on:hover { transform: translateY(-2px) scale(1.02); } /* ocupa todo el ancho: crece menos */
@media (min-width: 761px) { .sticky-cta { display: none; } }

/* =========================================================
   ANIMACIONES DE ENTRADA
   ========================================================= */
.js [data-r] { transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.3s var(--ease-io), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r="up"] { opacity: 0; transform: translateY(36px); }
.js [data-r="left"] { opacity: 0; transform: translateX(-40px); }
.js [data-r="stretch"] { opacity: 0; transform: scaleY(.15); filter: blur(10px); }
.js [data-r="clip"] { clip-path: inset(100% 0 0 0); }
.js [data-r="draw"] { clip-path: inset(0 100% 0 0); }
.js [data-r="draw-r"] { clip-path: inset(0 0 0 100%); }  /* Se revela de derecha a izquierda (espejo del izquierdo) */
.js [data-r="draw-v"] { clip-path: inset(0 0 100% 0); }

.js [data-r].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); filter: none; }
/* Sin recorte en los títulos: los acentos (Í, É, Á) sobresalen por arriba de la línea,
   sobre todo en Android, y un clip-path los cortaría */
.js [data-r="stretch"].is-in { transform: scaleY(var(--s, var(--stretch))); clip-path: none; }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-r] { opacity: 1 !important; clip-path: none !important; filter: none !important; }  .js [data-r]:not([data-r="stretch"]):not(.btn) { transform: none !important; }
  /* Los botones conservan su reacción al cursor: es breve y la provoca la persona */
  .btn { transition: transform .3s var(--ease) !important; }
  .btn::before { transition: opacity .3s var(--ease) !important; }
  .faq__q .xt-s { transition: transform .3s var(--ease) !important; }
  .js .versus__col--con li[data-r] { transition: transform .3s var(--ease), background .3s, color .3s !important; }
  .js .versus__col--con li[data-r].is-in:hover { transform: scale(1.04) !important; }
  .js .versus__col--sin li[data-r] { transition: transform .3s var(--ease), color .3s, background .3s, border-color .3s !important; }
  .js .versus__col--sin li[data-r].is-in:hover { transform: scale(.96) !important; }
  .js .btn[data-r] { transform: none; }
  /* La franja final se mueve siempre (pedido explícito): es lenta, lineal y decorativa */
  .collage__track { animation: collage-ltr 50s linear infinite !important; }
  .js [data-r="stretch"] { transform: scaleY(var(--s, var(--stretch))) !important; }
  .ruta__track { --p: 1 !important; }
  .ruta__track li::before, .ruta__dot, .ruta__track p { transform: none !important; opacity: 1 !important; }
  body::after { display: none; }
}
