/* ==========================================================================
   Registro al evento en directo — Duglas
   Negro + blanco + verde neón (#2FE35C), como mapa.millionecom.es.
   Referencias de diseño: primera pantalla de UDIA (foto a sangre de fondo,
   barra flotante de cristal, titular Inter en blanco, formulario de cristal) y
   la masterclass de referencia de Cristian (cinta, tarjetas, entrada con QR).
   Safari: nada de texto con degradado anidado (desaparece); colores lisos.
   ========================================================================== */

/* Inter estática (no variable: así la respetan todos los Safari), solo latín (cubre el español) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }

:root {
  --bg: #14181a;
  --bg-2: #191e20;
  --card-a: rgba(36, 42, 44, .92);
  --card-b: rgba(25, 30, 32, .96);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .14);
  --text: #ECEFEC;
  --muted: #A9B1AC;
  --dim: #7E8782;
  --white: #FFFFFF;
  --green: #2FE35C;
  --green-hi: #7CFF9B;
  --green-deep: #14B53E;
  --green-rgb: 47, 227, 92;
  --whatsapp: #25D366;
  --whatsapp-deep: #1AAE52;
  --error: #FF8A7A;
  --missing: #FF5A5A;

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 16px;
  --topbar: 38px;
  --nav: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 12px); }
html:has(body[data-page="registro"]) { scroll-padding-top: var(--nav); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Safari < 16 no conoce clip */
  overflow-x: clip;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { color: var(--white); font-weight: 700; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }

/* ---------- Fondo: manchas de luz, cuadrícula y destellos ---------- */

.fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx__glow { position: absolute; border-radius: 50%; filter: blur(60px); }
.fx__glow--a { width: 620px; height: 420px; left: 50%; top: -220px; transform: translateX(-50%); background: rgba(var(--green-rgb), .20); }
.fx__glow--b { width: 380px; height: 380px; left: -180px; top: 30vh; background: rgba(var(--green-rgb), .07); }
.fx__glow--c { width: 420px; height: 420px; right: -220px; top: 55vh; background: rgba(255, 255, 255, .045); }
.fx__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 80%);
}
/* Cuadraditos encendidos sobre la cuadrícula */
.fx__cells {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--green-rgb), .16), rgba(var(--green-rgb), .16)),
    linear-gradient(rgba(var(--green-rgb), .10), rgba(var(--green-rgb), .10)),
    linear-gradient(rgba(255, 255, 255, .06), rgba(255, 255, 255, .06)),
    linear-gradient(rgba(var(--green-rgb), .08), rgba(var(--green-rgb), .08));
  background-size: 47px 47px;
  background-repeat: no-repeat;
  background-position: calc(50% - 216px) 97px, calc(50% + 264px) 241px, calc(50% - 456px) 337px, calc(50% + 456px) 49px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 80%);
}
.spark {
  position: absolute; width: 14px; height: 14px; opacity: .0;
  background:
    linear-gradient(90deg, transparent 45%, rgba(255,255,255,.9) 50%, transparent 55%),
    linear-gradient(0deg, transparent 45%, rgba(255,255,255,.9) 50%, transparent 55%);
  filter: drop-shadow(0 0 6px rgba(var(--green-rgb), .9));
  animation: twinkle 5s var(--ease) infinite;
}
.spark--1 { left: 12%; top: 120px; animation-delay: .4s; }
.spark--2 { right: 14%; top: 300px; animation-delay: 2.1s; transform: scale(.7); }
.spark--3 { left: 46%; top: 520px; animation-delay: 3.3s; transform: scale(.55); }
@keyframes twinkle { 0%, 100% { opacity: 0; } 40%, 60% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .spark { animation: none; opacity: .5; } }

/* ---------- Barra flotante de cristal ---------- */

.nav { position: fixed; z-index: 50; top: 10px; left: 0; right: 0; padding: 0 10px; pointer-events: none; }
.nav__in {
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  max-width: 1120px; height: 52px; margin: 0 auto; padding: 0 8px 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(30, 35, 37, .68);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.nav__brand { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; color: var(--white); text-decoration: none; }
.nav__info { display: none; align-items: center; gap: 10px; margin: 0; font-size: .8125rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav__info b { color: var(--white); font-weight: 600; }
.nav__sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.nav__cta {
  margin-left: auto; padding: 9px 16px; border-radius: 11px;
  background: var(--green); color: #021207; text-decoration: none; white-space: nowrap;
  font-size: .875rem; font-weight: 600; line-height: 1.2;
  transition: filter .15s, opacity .25s, transform .25s var(--ease);
}
.nav__cta:hover { filter: brightness(1.08); }
/* En el móvil se ve la fecha; el botón la sustituye cuando el formulario ya no está a la vista */
@media (max-width: 759px) {
  .nav__in { position: relative; }
  .nav__info { display: flex; gap: 7px; margin-left: auto; font-size: .75rem; color: var(--text); transition: opacity .25s; }
  .nav__info b, .nav__info b + .nav__sep { display: none; }
  .nav__cta { position: absolute; right: 8px; opacity: 0; transform: translateY(-4px); pointer-events: none; }
  .nav.is-past .nav__cta { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-past .nav__info { opacity: 0; }
}
@media (min-width: 760px) {
  .nav { top: 14px; }
  .nav__info { display: flex; margin-left: 18px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .1); }
}

/* ---------- Cinta (bajo la primera pantalla) ---------- */

.topbar {
  position: relative; z-index: 2;
  height: 46px;
  display: flex; align-items: center;
  overflow: hidden;
  background: #050806;
  border-top: 1px solid rgba(var(--green-rgb), .2);
  border-bottom: 1px solid rgba(var(--green-rgb), .2);
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.topbar__track { display: flex; flex-shrink: 0; animation: marquee 32s linear infinite; }
.topbar__item { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; white-space: nowrap; color: var(--white); }
.topbar__item b { color: var(--green); font-weight: 700; }
.topbar__sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .topbar__track { animation: none; } }

.dot {
  position: relative; display: inline-block; flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(var(--green-rgb), .7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--green-rgb), .6); }
  70% { box-shadow: 0 0 0 9px rgba(var(--green-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--green-rgb), 0); }
}

/* ---------- Piezas comunes ---------- */

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--green-rgb), .32);
  background: linear-gradient(180deg, rgba(var(--green-rgb), .14), rgba(var(--green-rgb), .04));
  box-shadow: 0 4px 18px rgba(var(--green-rgb), .10), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: var(--green);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  line-height: 1.3;
}
.pill__bar { width: 1px; height: 12px; background: rgba(var(--green-rgb), .45); }

.h2 {
  margin: 0 0 .5em;
  font-size: clamp(1.75rem, 6.4vw, 2.75rem);
  font-weight: 600; line-height: 1.1; letter-spacing: -.03em;
  text-wrap: balance;
  color: var(--white);
}
.hl { color: var(--green); }

.section { position: relative; padding: 76px 0; }
.section--line { border-top: 1px solid var(--line); }
.section__head { text-align: center; margin: 0 auto 36px; max-width: 680px; }
.section__head .pill { margin-bottom: 16px; }

.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--card-a), var(--card-b));
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
}

/* Botón principal: verde liso, como el azul de UDIA, con un brillo suave que cruza */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; padding: 14px 24px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2;
  text-decoration: none; text-align: center;
  color: #021207;
  background: var(--green);
  box-shadow: 0 14px 34px -14px rgba(var(--green-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 5s var(--ease) infinite 2s;
}
@keyframes shine { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 18px 40px -14px rgba(var(--green-rgb), .85), inset 0 1px 0 rgba(255,255,255,.4); }
.btn:active { transform: translateY(0) scale(.99); }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.btn[disabled] { cursor: progress; filter: saturate(.6) brightness(.9); }
.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn::after { animation: none; } }

.btn--wa {
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 14px 34px -14px rgba(37, 211, 102, .75), inset 0 1px 0 rgba(255, 255, 255, .3);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
}
.btn--wa:hover { box-shadow: 0 18px 40px -14px rgba(37, 211, 102, .9), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--wa svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn--ghost {
  width: auto; min-height: 46px; padding: 11px 20px;
  font-size: .9375rem; font-weight: 700; color: var(--white);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), .5); }

.cta { max-width: 440px; margin: 36px auto 0; text-align: center; }
.cta__note { margin: 14px 0 0; font-size: .875rem; color: var(--muted); }

/* Huecos pendientes (foto, vídeo, testimonios): en rojo para que no se escapen */
.ph {
  display: flex; align-items: center; justify-content: center;
  padding: 14px; text-align: center;
  border: 1.5px dashed rgba(255, 90, 90, .7);
  border-radius: inherit;
  background: repeating-linear-gradient(135deg, rgba(255, 90, 90, .06) 0 12px, transparent 12px 24px);
  color: var(--missing); font-size: .8125rem; font-weight: 600; line-height: 1.35;
}
.miss { color: var(--missing) !important; }

/* ---------- Primera pantalla ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav) + 6px) 0 40px;
  background: var(--bg);
}
/* Foto de fondo: en el móvil ocupa todo el ancho y se oscurece; en escritorio va a la derecha y se funde con el negro */
.hero__bg { position: absolute; z-index: -1; inset: 0 0 auto 0; height: min(760px, 100%); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 24, 26, .35) 0%, rgba(20, 24, 26, .62) 40%, rgba(20, 24, 26, .85) 70%, var(--bg) 100%),
    radial-gradient(120% 60% at 50% 0%, transparent, rgba(20, 24, 26, .3));
}
/* Cuadrícula fina por encima de la foto, como UDIA */
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
          mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero__grid { display: grid; gap: 22px; }
.hero__copy { text-align: left; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.hero__pills .pill {
  margin: 0; padding: 6px 10px; gap: 6px;
  font-size: .625rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap;
  color: var(--white);
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: none;
}
.hero__pills .pill--soft { color: var(--green); border-color: rgba(var(--green-rgb), .4); background: linear-gradient(rgba(var(--green-rgb), .1), rgba(var(--green-rgb), .1)), rgba(20, 24, 26, .55); }
.hero__pills .dot { width: 7px; height: 7px; }
.hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 7.6vw, 3.25rem);
  font-weight: 600; line-height: 1.06; letter-spacing: -.035em;
  text-wrap: balance;
  color: var(--white);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
}
.hero__sub { margin: 0 0 18px; max-width: 600px; font-size: .9375rem; line-height: 1.5; color: rgba(255, 255, 255, .68); text-wrap: pretty; }
.hero__sub strong { color: var(--white); font-weight: 600; }

/* Formulario de cristal */
.reg {
  position: relative;
  padding: 14px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(30, 35, 37, .5);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
          backdrop-filter: blur(24px) saturate(130%);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.reg::before { /* borde de luz arriba */
  content: ""; position: absolute; left: 14%; right: 14%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--green-rgb), .8), transparent);
}
.field { position: relative; margin: 0 0 8px; }
.field__label { display: block; margin: 0 0 4px 4px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.input {
  display: block; width: 100%; height: 50px; padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .06);
  color: var(--white); font: inherit; font-size: 1rem; font-weight: 500; /* 16px: iOS no hace zoom */
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: rgba(255, 255, 255, .5); opacity: 1; }
.input:focus { outline: none; border-color: rgba(var(--green-rgb), .8); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(var(--green-rgb), .14); }
/* Autorrelleno de Safari y Chrome: que no pinte el campo de amarillo o azul */
.input:-webkit-autofill { -webkit-text-fill-color: var(--white); -webkit-box-shadow: 0 0 0 40px #272d30 inset; caret-color: var(--white); }
.field.is-error .input { border-color: var(--error); box-shadow: 0 0 0 4px rgba(255, 138, 122, .12); }
.field__error { margin: 5px 0 0 4px; font-size: .8125rem; line-height: 1.35; color: var(--error); }

.phone { display: flex; gap: 8px; }
.phone__cc { position: relative; flex: 0 0 auto; }
/* Se ve la bandera y el prefijo; encima, el <select> nativo invisible (lista del sistema en el móvil). */
.phone__cc-view { display: flex; align-items: center; width: auto; padding: 0 32px 0 12px; font-weight: 600; white-space: nowrap; }
.phone__cc select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; font-size: 16px;
  -webkit-appearance: none; appearance: none;
}
.phone__cc select:focus-visible + .phone__cc-view,
.phone__cc:focus-within .phone__cc-view { border-color: rgba(var(--green-rgb), .8); box-shadow: 0 0 0 4px rgba(var(--green-rgb), .14); }
.phone__cc select option { background: #1d2224; color: #fff; }
.phone__cc::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -5px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none;
}
.phone .input { flex: 1 1 auto; min-width: 0; }

.check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 12px; padding: 0 2px; font-size: .875rem; line-height: 1.4; color: rgba(255, 255, 255, .7); cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  flex: 0 0 auto; width: 20px; height: 20px;
  border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05);
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.check__box svg { width: 13px; height: 13px; opacity: 0; transform: scale(.6); transition: .15s var(--ease); }
.check input:checked + .check__box { background: var(--green); border-color: var(--green); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(var(--green-rgb), .25); }
.check a { color: var(--white); text-underline-offset: 2px; }
.check.is-error .check__box { border-color: var(--error); }
.reg .field__error--check { margin: -6px 0 12px 32px; }

.reg__note { margin: 10px 0 0; text-align: center; font-size: .8125rem; line-height: 1.45; color: rgba(255, 255, 255, .7); }
.reg__note b { color: var(--green); font-weight: 600; }

.seals { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .875rem; color: var(--muted); }
.seals li { display: inline-flex; align-items: center; gap: 7px; }
.seals svg { width: 15px; height: 15px; color: var(--green); }

/* Cuenta atrás (de cristal, sobre la foto en escritorio) */
.countdown { text-align: left; }
.countdown__label { margin: 0 0 10px; font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.countdown__boxes { display: flex; gap: 8px; }
.countdown__box {
  width: 66px; padding: 10px 0 8px; border-radius: 14px; text-align: center;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(30, 35, 37, .5);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.countdown__num { display: block; font-size: 1.625rem; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--white); }
.countdown__unit { display: block; margin-top: 3px; font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }

@media (min-width: 400px) {
  .hero__pills .pill { font-size: .72rem; letter-spacing: .08em; }
}
@media (min-width: 760px) {
  .hero { padding-top: calc(var(--nav) + 40px); }
  .reg { max-width: 540px; padding: 18px; }
  .hero__sub { font-size: 1.0625rem; }
}
@media (min-width: 960px) {
  /* Primera pantalla entera, que el formulario quepa también en un portátil (MacBook: ~780 px útiles) */
  .hero { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav) + 24px) 0 48px; }
  .hero > .wrap { width: 100%; }
  .hero__bg { inset: 0 0 0 auto; width: 62%; height: 100%; }
  .hero__bg img { object-position: 50% 22%; }
  .hero__bg::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(20, 24, 26, .85) 18%, rgba(20, 24, 26, .25) 48%, rgba(20, 24, 26, .1) 70%, rgba(20, 24, 26, .35) 100%),
      linear-gradient(180deg, rgba(20, 24, 26, .35) 0%, transparent 25%, transparent 70%, var(--bg) 100%);
  }
  .hero::before { -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent 75%); mask-image: linear-gradient(90deg, #000 20%, transparent 75%); }
  .hero__grid { grid-template-columns: minmax(0, 640px) 1fr; gap: 40px; align-items: end; }
  .hero__title { font-size: clamp(2.5rem, 3.6vw, 3.4rem); }
  .hero__side { justify-self: end; }
}
@media (min-width: 960px) and (max-height: 820px) {
  .hero__title { font-size: clamp(2.25rem, 3.1vw, 2.9rem); margin-bottom: 10px; }
  .hero__sub { font-size: 1rem; margin-bottom: 14px; }
  .input { height: 46px; }
  .btn { min-height: 50px; }
}

/* ---------- Lo que te llevas ---------- */

.learn { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
/* Tarjetas al estilo del temario de UDIA: número grande atenuado, título y caja interior */
.learn__item {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #1d2224;
  scroll-margin-top: calc(var(--nav) + 24px);
}
.learn__item::before { /* luz difusa arriba a la derecha */
  content: ""; position: absolute; z-index: -1; right: -80px; top: -80px; width: 224px; height: 224px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .05), transparent);
}
.learn__head { display: flex; align-items: baseline; gap: 12px; }
.learn__num {
  flex: 0 0 auto;
  font-size: 2.25rem; font-weight: 700; line-height: 1; letter-spacing: -.06em;
  color: rgba(var(--green-rgb), .5);
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}
.learn__item.is-active .learn__num { color: var(--green); }
.learn__title { margin: 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--white); }
.learn__box { padding: 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02); }
.learn__text { margin: 0; font-size: .9375rem; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.learn__text::first-letter { text-transform: uppercase; }
.learn__text strong { color: var(--white); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(var(--green-rgb), .3); background: rgba(var(--green-rgb), .08);
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green);
}
.learn__item--bonus {
  gap: 12px;
  border-color: rgba(var(--green-rgb), .35);
  background: radial-gradient(420px 180px at 0% 0%, rgba(var(--green-rgb), .14), transparent 70%), #1d2224;
}
.bonus__label {
  align-self: flex-start;
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(var(--green-rgb), .45); background: rgba(var(--green-rgb), .12);
  color: var(--green); font-size: .625rem; font-weight: 700; letter-spacing: .2em;
}

/* Índice lateral («Recorrido»): solo en escritorio, fijo al bajar */
.steps { display: none; }

@media (min-width: 760px) {
  .learn__item { padding: 28px; gap: 20px; }
  .learn__num { font-size: 2.75rem; }
  .learn__title { font-size: 1.5rem; }
  .learn__box { padding: 16px; }
}
@media (min-width: 960px) {
  .section--learn .section__head { text-align: left; margin-left: 0; max-width: 760px; }
  .learn-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
  .steps { display: block; height: 100%; }
  .steps__in { position: -webkit-sticky; position: sticky; top: calc(var(--nav) + 24px); display: flex; flex-direction: column; gap: 4px; }
  .steps__line, .steps__fill { position: absolute; left: 19px; top: 8px; width: 1px; pointer-events: none; }
  .steps__line { bottom: 8px; background: rgba(255, 255, 255, .07); }
  .steps__fill { height: 0; background: linear-gradient(180deg, rgba(var(--green-rgb), .2), var(--green)); transition: height .35s var(--ease); }
  .steps__item {
    position: relative; display: flex; align-items: center; gap: 10px;
    padding: 6px; border-radius: 10px; border: 1px solid transparent;
    color: rgba(255, 255, 255, .5); text-decoration: none;
    transition: background .2s, color .2s;
  }
  .steps__item:hover { background: rgba(255, 255, 255, .02); color: rgba(255, 255, 255, .75); }
  .steps__dot {
    position: relative; z-index: 1; flex: 0 0 auto;
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15); background: #1d2224;
    font: 700 .625rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums;
    transition: background .2s, border-color .2s, color .2s;
  }
  .steps__dot svg { width: 11px; height: 11px; }
  .steps__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .8125rem; font-weight: 600; }
  .steps__item.is-done .steps__dot { border-color: rgba(var(--green-rgb), .5); color: var(--green); }
  .steps__item.is-active { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .06); color: var(--white); }
  .steps__item.is-active .steps__dot { background: var(--green); border-color: var(--green); color: #021207; }
}

/* ---------- ¿Esto es para mí? ---------- */

.fit { display: grid; gap: 14px; }
.fit__card { padding: 24px 20px; }
.fit__card--yes { border-color: rgba(var(--green-rgb), .3); background: radial-gradient(380px 160px at 0% 0%, rgba(var(--green-rgb), .1), transparent 70%), linear-gradient(160deg, var(--card-a), var(--card-b)); }
.fit__title { margin: 0 0 14px; font-size: 1.125rem; font-weight: 700; color: var(--white); }
.fit__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fit__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--text); }
.fit__card--no .fit__list li { color: var(--muted); }
.ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; margin-top: 1px; }
.ico svg { width: 13px; height: 13px; }
.ico--yes { background: rgba(var(--green-rgb), .16); color: var(--green); box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), .35); }
.ico--no { background: rgba(255, 138, 122, .1); color: var(--error); box-shadow: inset 0 0 0 1px rgba(255, 138, 122, .25); }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; } }

/* ---------- Quién te lo enseña ---------- */

.about { display: grid; gap: 22px; padding: 18px; }
.about__photo { aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; border: 1px solid rgba(var(--green-rgb), .25); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__name { margin: 0 0 12px; font-size: clamp(1.6rem, 6vw, 2.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font-size: .8125rem; font-weight: 600; color: var(--text); }
.about__bio { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 6px 0 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.3); }
.stat { padding: 16px 8px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  display: block; font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em;
  color: var(--white);
}
.stat__label { display: block; margin-top: 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; color: var(--dim); }
@media (min-width: 760px) {
  .about { grid-template-columns: 300px 1fr; gap: 32px; padding: 24px; align-items: center; }
  .about__photo { aspect-ratio: 4 / 5; }
}

/* ---------- Testimonios ---------- */

.proof {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: thin;
  scrollbar-color: rgba(var(--green-rgb), .45) transparent;
}
.proof > .tcard { scroll-snap-align: start; }
.proof::-webkit-scrollbar { height: 6px; }
.proof::-webkit-scrollbar-thumb { background: rgba(var(--green-rgb), .45); border-radius: 99px; }
.proof__nav { display: none; justify-content: center; gap: 10px; margin-top: 14px; }
.proof__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s, opacity .2s; }
.proof__arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.proof__arrow:hover { border-color: rgba(var(--green-rgb), .6); background: rgba(var(--green-rgb), .1); }
.proof__arrow:disabled { opacity: .3; cursor: default; }
.proof.is-scrollable + .proof__nav { display: flex; }
.tcard { padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.tcard__head { display: flex; align-items: center; gap: 12px; }
.tcard__avatar { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(var(--green-rgb), .5); }
.tcard__avatar .ph { width: 100%; height: 100%; padding: 4px; font-size: .625rem; border-radius: 50%; }
.tcard__name { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--white); }
.tcard__from { margin: 2px 0 0; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.tcard__result { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--green); }
.tcard__quote { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); font-style: italic; color: var(--text); }
.tcard__shot { aspect-ratio: 9 / 16; border-radius: 12px; }
.tcard__result + .tcard__hint { margin-top: -8px; }
.tcard__hint { margin: 0; font-size: .875rem; font-weight: 600; color: var(--text); }
.tcard__hint .nowrap { white-space: nowrap; }
.tcard__hint [aria-hidden] { display: inline-block; margin-left: 2px; color: var(--green); animation: hint-bob 1.6s ease-in-out infinite; }
@keyframes hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .tcard__hint [aria-hidden] { animation: none; } }
.tcard__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__video { position: relative; width: 100%; max-width: 340px; margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line-2); }
.tcard__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; padding: 0; cursor: pointer; color: var(--white); font: inherit; font-size: .875rem; font-weight: 600; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.tcard__play svg { width: 64px; height: 64px; padding: 18px 16px 18px 20px; border-radius: 50%; fill: #04130a; background: linear-gradient(135deg, #7dff9c, var(--green)); box-shadow: 0 0 0 8px rgba(var(--green-rgb), .18), 0 10px 30px rgba(var(--green-rgb), .35); transition: transform .2s; }
.tcard__play:hover svg, .tcard__play:focus-visible svg { transform: scale(1.08); }
.tcard__play span { padding: 3px 10px; border-radius: 99px; background: rgba(0,0,0,.55); }
.tcard__video.is-playing .tcard__play { display: none; }
.proof__note { margin: 20px auto 0; max-width: 560px; text-align: center; font-size: .8125rem; color: var(--dim); }
@media (min-width: 900px) { .proof { grid-auto-columns: calc((100% - 28px) / 3); } }
/* Pantallas anchas: los cinco a la vez, sin scroll (la fila se sale del ancho de .wrap, hasta 1400 px). */
@media (min-width: 1200px) {
  .proof {
    grid-auto-columns: calc((100% - 56px) / 5); overflow-x: visible;
    margin-inline: calc(50% - min(700px, 50vw - 24px)); padding-inline: 0;
  }
  .proof .tcard { padding: 18px 16px; }
  .proof .tcard__head { align-items: flex-start; gap: 10px; }
  .proof .tcard__avatar { width: 44px; height: 44px; }
  .proof .tcard__result { font-size: 1.25rem; }
  .proof .tcard__quote { font-size: .9375rem; }
}

/* ---------- Preguntas ---------- */

.faq { display: grid; gap: 10px; }
.faq__item { border-radius: 14px; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--white);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(var(--green-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), .35); transition: transform .25s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--green); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__item[open] { border-color: rgba(var(--green-rgb), .28); }
.faq__body { padding: 0 18px 16px; color: var(--muted); }
.faq__body p { margin: 0; }

/* ---------- Cierre ---------- */

.close { text-align: center; padding: 88px 0 96px; }
.close::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 300px at 50% 0%, rgba(var(--green-rgb), .16), transparent 70%);
  border-top: 1px solid rgba(var(--green-rgb), .2);
}
.close__text { max-width: 520px; margin: 0 auto; color: var(--muted); }

/* ---------- Pie ---------- */

.foot { padding: 28px 0 40px; border-top: 1px solid var(--line); text-align: center; font-size: .8125rem; color: var(--dim); }
.foot__brand { margin: 0 0 10px; font-weight: 700; letter-spacing: .2em; color: var(--text); }
.foot__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--white); text-decoration: underline; }
.foot__links li + li::before { content: "·"; margin-right: 10px; color: var(--dim); }
.foot__copy { margin: 12px 0 0; }

/* ---------- Aviso de cookies ---------- */

.consent {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px;
  max-width: 560px; margin: 0 auto; padding: 16px;
  border-radius: 16px; border: 1px solid var(--line-2);
  background: rgba(10, 13, 11, .96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .7);
  font-size: .875rem; line-height: 1.45; color: var(--muted);
  animation: rise .35s var(--ease);
}
.consent p { margin: 0 0 12px; }
.consent a { color: var(--text); }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__btns .btn { width: 100%; min-height: 44px; font-size: .9375rem; }
.consent__btns .btn--ghost { padding: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Página de gracias ---------- */

.alert {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  min-height: var(--topbar); padding: 8px 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(90deg, #0b2d15, #12401f 50%, #0b2d15);
  border-bottom: 1px solid rgba(var(--green-rgb), .4);
  font-size: .8125rem; font-weight: 700; line-height: 1.3; text-align: center; color: var(--white);
}
.thanks { padding: calc(var(--topbar) + 44px) 0 40px; text-align: center; }
.progress { max-width: 460px; margin: 0 auto 26px; text-align: left; }
.progress__label { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.progress__label b { color: var(--green); white-space: nowrap; }
.progress__bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.progress__fill {
  width: 90%; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--green-deep), var(--green), var(--green-hi));
  box-shadow: 0 0 16px rgba(var(--green-rgb), .7);
  animation: fill 1.2s var(--ease);
}
@keyframes fill { from { width: 0; } }
.thanks__title {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 8vw, 3.2rem); font-weight: 700; line-height: 1.08; letter-spacing: -.03em;
  text-wrap: balance; color: var(--white);
}
.thanks__text { max-width: 560px; margin: 0 auto 24px; color: var(--muted); }
.thanks__cta { max-width: 460px; margin: 0 auto; }
.thanks__cta .cta__note { margin-top: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .07em; line-height: 1.6; text-transform: uppercase; color: var(--dim); }
.thanks__cta .cta__note span { white-space: nowrap; }

.video { display: flex; justify-content: center; align-items: flex-start; gap: 12px; max-width: 460px; margin: 26px auto 0; text-align: left; }
.video__face { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(var(--green-rgb), .55); }
.video__face img { width: 100%; height: 100%; object-fit: cover; }
.video__face .ph { width: 100%; height: 100%; padding: 2px; font-size: .5625rem; border-radius: 50%; }
.video__player { flex: 1 1 auto; max-width: 300px; aspect-ratio: 9 / 12; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.video__player video { width: 100%; height: 100%; object-fit: cover; }
.video__player .ph { height: 100%; border-radius: 16px; }

/* Entrada */
.ticket { position: relative; display: grid; max-width: 640px; margin: 34px auto 0; text-align: left; overflow: hidden; border-color: rgba(var(--green-rgb), .3); }
.ticket__main { padding: 22px 20px; }
.ticket__kicker { margin: 0 0 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.ticket__name { margin: 0 0 16px; font-size: 1.375rem; font-weight: 700; line-height: 1.2; color: var(--white); }
.ticket__rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; }
.ticket__cell { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.3); }
.ticket__cell dt { margin: 0; font-size: .625rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ticket__cell dd { margin: 2px 0 0; font-weight: 700; color: var(--white); overflow-wrap: anywhere; }
.ticket__qr { display: none; }
@media (min-width: 720px) {
  .ticket { grid-template-columns: 1fr 210px; }
  .ticket__qr {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 22px 18px; border-left: 2px dashed rgba(255,255,255,.12);
    font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--muted);
  }
  .ticket__qr::before, .ticket__qr::after { /* muescas de entrada */
    content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg);
    border: 1px solid rgba(var(--green-rgb), .3);
  }
  .ticket__qr::before { top: -12px; }
  .ticket__qr::after { bottom: -12px; }
  .ticket__qr img { width: 150px; height: 150px; padding: 8px; border-radius: 12px; background: #fff; }
}

.remind { max-width: 640px; margin: 18px auto 0; padding: 24px 20px; }
.remind__kicker { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.remind__date { margin: 0; font-size: 1.375rem; font-weight: 700; color: var(--white); }
.remind__tz { margin: 4px 0 16px; font-size: 1rem; color: var(--dim); }
.remind__tz b { font-weight: 600; color: var(--text); white-space: nowrap; }
.remind__list { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; text-align: left; }
.remind__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text); }
.cal { position: relative; display: inline-block; }
.cal__menu {
  position: absolute; z-index: 5; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  min-width: 230px; padding: 6px; border-radius: 14px; border: 1px solid var(--line-2);
  background: #1d2224; box-shadow: 0 20px 50px rgba(0,0,0,.7); text-align: left;
}
.cal__menu a { display: block; padding: 11px 12px; border-radius: 10px; text-decoration: none; font-size: .9375rem; font-weight: 600; color: var(--white); }
.cal__menu a:hover { background: rgba(var(--green-rgb), .1); }
.thanks__again { max-width: 460px; margin: 30px auto 0; }

/* ---------- Páginas legales ---------- */

.legal { padding: calc(var(--topbar) + 28px) 0 60px; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; font-size: .875rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.legal__back:hover { color: var(--white); }
.legal h1 { margin: 0 0 6px; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--white); }
.legal__date { margin: 0 0 26px; font-size: .875rem; color: var(--dim); }
.legal h2 { margin: 32px 0 10px; font-size: 1.125rem; font-weight: 700; color: var(--white); }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 0 0 .5em; }
.legal a { color: var(--green); overflow-wrap: anywhere; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .875rem; }
.legal th, .legal td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--muted); }
.legal th { color: var(--white); font-weight: 700; }
.legal .table-scroll { overflow-x: auto; }
.legal__choice { margin: 6px 0 0; font-size: .9375rem; }

/* ---------- Agenda del directo (/agenda y /agenda/cita) ---------- */

.agenda { padding: 40px 0 30px; text-align: center; }
.agenda__title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 8vw, 3rem); font-weight: 700; line-height: 1.08; letter-spacing: -.03em;
  text-wrap: balance; color: var(--white);
}
.agenda__text { max-width: 560px; margin: 0 auto 24px; color: var(--muted); font-size: 1.0625rem; }
.agenda__form { max-width: 460px; margin: 0 auto; text-align: left; }
.agenda__who { margin: 0 0 14px; font-weight: 700; color: var(--text); }
.agenda__frame {
  min-height: 560px; overflow: hidden; text-align: left;
  border-radius: var(--radius); border: 1px solid var(--line); background: rgba(0, 0, 0, .45);
}
.agenda__frame--cita iframe { display: block; width: 100%; height: 860px; border: 0; }
.agenda__back {
  margin: 16px 0 0; padding: 8px 12px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .875rem; font-weight: 600; color: var(--muted);
}
.agenda__back:hover { color: var(--white); }
.agenda__done { margin: 34px auto 0; padding: 28px 22px; max-width: 560px; border-radius: var(--radius);
  border: 1px solid rgba(var(--green-rgb), .4); background: rgba(var(--green-rgb), .06); }
.agenda__foot { padding: 20px var(--gutter) 30px; text-align: center; font-size: .75rem; color: var(--dim); }
.agenda__foot a { color: var(--muted); }
@media (max-width: 600px) { .agenda__frame { margin: 0 calc(var(--gutter) * -1); border-radius: 0; border-left: 0; border-right: 0; } }

/* ---------- Móvil más ligero (Cristian, 2026-11-03: «muy cargada en móvil») ----------
   Mismo copy y orden: fuera las cajas dentro de cajas, menos bordes y menos aire muerto. */
@media (max-width: 699px) {
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 26px; }

  /* Temario: lista con separadores en vez de cinco tarjetas con caja dentro; el bonus sigue destacado */
  .learn { gap: 0; }
  .learn__item:not(.learn__item--bonus) {
    gap: 8px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none;
  }
  .learn__item:not(.learn__item--bonus)::before { display: none; }
  .learn__item:not(.learn__item--bonus) .learn__box { padding: 0; border: 0; background: none; }
  .learn__item:not(.learn__item--bonus) .learn__text { padding-left: 46px; }
  .learn__item:not(.learn__item--bonus) .tags { padding-left: 46px; }
  .learn__num { width: 34px; font-size: 1.5rem; color: var(--green); }
  .learn__title { font-size: 1.0625rem; }
  .learn__item--bonus { margin-top: 18px; padding: 18px 16px; }
  .learn__item--bonus .learn__box { padding: 0; border: 0; background: none; }

  /* ¿Esto es para mí? */
  .fit__card { padding: 20px 16px; }
  .fit__card--no { background: none; box-shadow: none; }
  .fit__list { gap: 10px; }

  /* Quién te lo enseña: sin tarjeta alrededor */
  .about.card { padding: 0; border: 0; background: none; box-shadow: none; }
  .about { gap: 18px; }
  .chips li { padding: 5px 10px; font-size: .75rem; }

  /* Testimonios: cita sin caja, vídeo algo más bajo */
  .tcard { padding: 18px 16px; gap: 12px; }
  .tcard__quote { padding: 2px 0 2px 12px; border: 0; border-left: 2px solid rgba(var(--green-rgb), .45); border-radius: 0; background: none; font-size: .9375rem; }
  .tcard__video { max-width: 250px; }
  .tcard__result { font-size: 1.3125rem; }
}
