/* =============================================================================
   ESTILOS · Nicolás Vargas
   Todos los colores viven en :root. Cambia aquí la paleta completa.
   Un solo color de marca (azul) sobre base negra azulada. Sin verdes ni rojos.
   Textos y controles con contraste alto sobre superficies oscuras.
   ============================================================================= */
:root {
  /* Base oscura (toda la página usa el mismo fondo) */
  --bg: #07090f;
  --panel: #0e111a;
  --panel-2: #141925;
  --line: #242936;
  --line-strong: #343c4d;
  /* Texto */
  --text: #f5f5f8;
  --soft: #b8becb;
  --muted: #a0a7b6;
  --ice: #e8eefb;             /* cifras grandes */
  /* Marca (azul) */
  --brand: #2563eb;
  --brand-top: #326eec;
  --brand-hover: #2c63da;
  --brand-text: #8cb3ff;
  --on-brand: #ffffff;
  /* Aviso de error en el formulario (ámbar, 11:1 sobre --panel) */
  --warn: #f1c978;

  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Una sola escala de esquinas */
  --r-card: 16px;
  --r-ctrl: 12px;

  --gutter: 20px;
  --max: 1160px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --topbar-h: 64px;
  --section-y: clamp(88px, 12vw, 160px);
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 8px); }
html:has(> body.reference-landing) { scroll-padding-top: 0; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-text); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: rgba(53, 102, 214, .5); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px;
  background: var(--text); color: var(--bg); border-radius: var(--r-ctrl);
}
.skip-link:focus { top: 12px; }

/* Marcadores [ASÍ] pendientes de completar: visibles a propósito */
.ph {
  background: rgba(250, 204, 21, .16);
  outline: 1px dashed rgba(250, 204, 21, .75);
  outline-offset: 1px;
  border-radius: 3px;
}

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

/* ---- Tipografía ---------------------------------------------------------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.25; letter-spacing: -.02em; }
h1 em, h2 em { font-style: normal; color: var(--brand-text); }
.eyebrow {
  font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.6; color: var(--soft); max-width: 54ch; }
.muted { color: var(--muted); }

/* ---- Secciones ----------------------------------------------------------- */
.section { padding-block: var(--section-y); position: relative; isolation: isolate; --gx: 50%; --gy: 0%; }
.section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(760px 380px at var(--gx) var(--gy), rgba(53, 102, 214, .10), transparent 70%);
}
main > section + section, main > .banda + section { border-top: 1px solid var(--line); }
.section--deep, .section--night, .section--paper { background: transparent; color: var(--text); }
#historia { --gx: 8%; }
#manifiesto { --gx: 92%; --gy: 40%; }
#alumnos { --gx: 50%; --gy: 0%; }
#temas { --gx: 12%; --gy: 60%; }
#quien-soy { --gx: 90%; --gy: 50%; }
#cierre { --gx: 50%; --gy: 100%; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 18px; }

/* ---- Botones ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 15px 30px;
  border: 1px solid transparent; border-radius: var(--r-ctrl);
  font-weight: 500; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; text-align: center; position: relative;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s, box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: linear-gradient(180deg, var(--brand-top), var(--brand));
  color: var(--on-brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -14px rgba(53, 102, 214, .75);
}
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .4), 0 18px 34px -14px rgba(53, 102, 214, .8); }
.btn--primary:active { transform: translateY(0) scale(.985); }
.btn--ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .94rem; }
.btn .flecha { transition: transform .35s var(--ease); }
.btn:hover .flecha { transform: translateX(4px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
.contacto-pendiente { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---- Barra superior ------------------------------------------------------ */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--topbar-h);
  background: rgba(7, 10, 18, .7);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marca {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: -.03em;
  color: var(--text); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px;
}
main { padding-top: var(--topbar-h); }

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 8vw, 104px) clamp(72px, 10vw, 128px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 82% 6%, rgba(53, 102, 214, .24), transparent 62%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 72% 12%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 72% 12%, #000 25%, transparent 78%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.tag-clase {
  display: inline-block; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--soft);
  background: rgba(255, 255, 255, .03);
}
.hero-nota { font-size: .92rem; color: var(--muted); margin-top: -8px; }
.hero-media {
  position: relative; width: 100%; max-width: 440px; justify-self: center; padding: 8px;
  border: 1px solid var(--line-strong); border-radius: calc(var(--r-card) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 50px 90px -50px rgba(53, 102, 214, .55);
}
.hero-media img, .hero-media video { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-card); background: var(--panel); }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 20px 40px -16px rgba(0, 0, 0, .6);
  transition: transform .45s var(--ease), background-color .3s;
}
.play:hover { transform: scale(1.07); background: rgba(255, 255, 255, .22); }
.play:active { transform: scale(.97); }
.play svg { width: 26px; height: 26px; margin-left: 4px; }
/* Con video en el hero, el play va centrado en el pecho para no tapar la cara */
.hero-media:has(video:not([hidden])) .play { left: 50%; top: 62%; translate: -50% -50%; width: 72px; height: 72px; }
.hero-media:has(video:not([hidden])) .play svg { width: 24px; height: 24px; }
@keyframes rise { from { transform: translateY(18px); } }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-media { animation: rise 1.1s .15s var(--ease) both; }

/* ---- Banda animada ------------------------------------------------------- */
.banda {
  overflow: hidden; border-block: 1px solid var(--line); padding-block: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.banda-pista { display: flex; width: max-content; animation: banda 42s linear infinite; }
.banda-grupo { display: flex; align-items: center; flex-shrink: 0; }
.banda-item {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.03em;
  font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--soft); padding-inline: 34px;
}
.banda-item::after { content: ""; width: 1px; height: 26px; background: var(--line-strong); margin-left: 68px; transform: rotate(18deg); }
@keyframes banda { to { transform: translateX(-50%); } }

/* ---- Historia ------------------------------------------------------------ */
.historia-textos { display: grid; gap: 22px; max-width: 60ch; }
.historia-textos p { color: var(--soft); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.historia-textos p:first-child { color: var(--text); font-size: clamp(1.3rem, 2.8vw, 1.75rem); line-height: 1.4; letter-spacing: -.015em; }
.carrusel-wrap { margin-top: clamp(48px, 7vw, 88px); }
.carrusel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 20px; margin-inline: calc(var(--gutter) * -1);
  scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  -webkit-overflow-scrolling: touch;
}
.carrusel > * { flex: 0 0 min(78%, 320px); scroll-snap-align: start; }
.foto-card { position: relative; margin: 0; }
.foto-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card);
  border: 1px solid var(--line); background: var(--panel);
}
.foto-card figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.etiqueta-foto {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--brand); color: var(--on-brand);
}
.etiqueta-foto--antes {
  background: rgba(7, 10, 18, .78); color: var(--soft); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.carrusel-ctrl { display: none; gap: 10px; justify-content: flex-end; margin-bottom: 14px; }
.ctrl-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03); display: grid; place-items: center;
  transition: border-color .25s, background-color .25s, transform .35s var(--ease);
}
.ctrl-btn:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .07); }
.ctrl-btn:active { transform: scale(.94); }

/* ---- Manifiesto ---------------------------------------------------------- */
.manifiesto-lista { display: grid; border-top: 1px solid var(--line); }
.manifiesto-item {
  display: grid; grid-template-columns: 3rem 1fr; gap: 14px; align-items: baseline;
  padding-block: clamp(26px, 4.5vw, 48px); border-bottom: 1px solid var(--line);
  transition: opacity .4s var(--ease);
}
.manifiesto-num { font-size: .86rem; font-weight: 500; letter-spacing: .1em; color: var(--brand-text); font-variant-numeric: tabular-nums; }
.manifiesto-frase {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.035em;
  font-size: clamp(1.65rem, 4.4vw, 3rem); line-height: 1.12; text-wrap: balance; color: var(--text);
}
@media (hover: hover) {
  .manifiesto-lista:hover .manifiesto-item { opacity: .42; }
  .manifiesto-lista:hover .manifiesto-item:hover { opacity: 1; }
}

/* ---- Resultados ---------------------------------------------------------- */
#resultados { --gx: 30%; --gy: 20%; }
#resultados::before { background: radial-gradient(900px 460px at var(--gx) var(--gy), rgba(53, 102, 214, .17), transparent 70%); }
.resultados-grid { display: grid; gap: clamp(36px, 5vw, 64px); }
.cifra-hero {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.05em; line-height: .95;
  font-size: clamp(3.4rem, 13vw, 9.5rem); color: var(--ice);
  font-variant-numeric: lining-nums; overflow-wrap: break-word;
}
.resultados-linea { font-size: clamp(1.1rem, 2.2vw, 1.4rem); max-width: 42ch; margin-top: 22px; color: var(--soft); }
.captura {
  max-width: 980px; padding: 8px; border: 1px solid var(--line-strong); border-radius: calc(var(--r-card) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.captura img { width: 100%; height: auto; border-radius: var(--r-card); }
.captura figcaption { padding: 14px 10px 6px; font-size: .9rem; color: var(--muted); }

/* ---- Alumnos ------------------------------------------------------------- */
.testimonios { min-width: 0; overflow: hidden; }
.testimonios-pista {
  position: relative; display: flex; gap: var(--testimonios-separacion, 12px); width: max-content; will-change: transform;
}
.testimonios-pista[data-animado] { animation: testimonios-vuelta var(--testimonios-duracion) linear infinite; }
@keyframes testimonios-vuelta {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--testimonios-recorrido)), 0, 0); }
}
.testimonio-card {
  flex: 0 0 auto;
  width: calc(var(--testimonio-alto, 440px) * var(--testimonio-proporcion, .5625));
  min-width: 0; aspect-ratio: 4 / 5; padding: 10px;
  border: 1px solid var(--line-strong); border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(155deg, var(--panel-2), var(--panel));
}
.testimonio-card img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: calc(var(--r-card) - 6px); background: var(--bg);
}
.testimonios-pista[data-unico] { width: 100%; justify-content: center; will-change: auto; }

/* ---- Temas --------------------------------------------------------------- */
.temas { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.tema {
  flex: 0 0 min(82%, 330px); scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  display: grid; gap: 14px; align-content: start;
}
.tema-num {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 500;
  color: transparent; -webkit-text-stroke: 1px var(--brand-text); letter-spacing: -.02em;
}
.tema p { color: var(--muted); }
.hint-desliza { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* ---- Quién soy ----------------------------------------------------------- */
.quien-grid { display: grid; gap: 44px; align-items: center; }
.quien-foto {
  max-width: 440px; padding: 8px; border: 1px solid var(--line-strong); border-radius: calc(var(--r-card) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 50px 90px -56px rgba(53, 102, 214, .5);
}
.quien-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); background: var(--panel); }
.quien-textos { display: grid; gap: 22px; justify-items: start; }
.quien-textos p { color: var(--soft); font-size: 1.12rem; max-width: 56ch; }
.quien-textos p:first-of-type { color: var(--text); font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.45; letter-spacing: -.012em; }

/* ---- Formulario ---------------------------------------------------------- */
.registro { border-top: 1px solid var(--line); scroll-margin-top: var(--topbar-h); --gx: 85%; --gy: 40%; }
.registro::before { background: radial-gradient(820px 460px at var(--gx) var(--gy), rgba(53, 102, 214, .16), transparent 70%); }
.registro-grid { display: grid; gap: 40px; }
.form-card {
  position: relative; width: 100%; max-width: 640px; min-height: 430px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line-strong); border-radius: calc(var(--r-card) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)), var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 60px 100px -60px rgba(53, 102, 214, .55);
}
.form-meta { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-bottom: 10px; }
.form-paso { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form-atras {
  background: none; border: 0; padding: 10px 4px; min-height: 44px; font-weight: 500; color: var(--brand-text);
  display: inline-flex; align-items: center; gap: 6px;
}
.form-barra { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 34px; }
.form-barra span { display: block; height: 100%; width: 0; background: var(--brand-text); border-radius: 2px; transition: width .6s var(--ease); }
.form-pregunta { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 2.05rem); line-height: 1.16; letter-spacing: -.035em; margin-bottom: 10px; }
.form-ayuda { color: var(--muted); font-size: .98rem; margin-bottom: 24px; }
.campo {
  width: 100%; min-height: 58px; padding: 14px 18px; font: inherit; font-size: 1.1rem; color: var(--text);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); border-radius: var(--r-ctrl);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.campo::placeholder { color: #8a96ae; }
.campo:focus { outline: none; border-color: var(--brand-text); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(147, 178, 240, .16); }
.campo[aria-invalid="true"] { border-color: var(--warn); }
textarea.campo { min-height: 128px; resize: vertical; }
.tel-row { display: grid; grid-template-columns: minmax(0, 42%) 1fr; gap: 10px; }
select.campo { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
select.campo option { background: var(--panel); color: var(--text); }
.opciones { display: grid; gap: 10px; }
.opcion {
  width: 100%; min-height: 58px; padding: 14px 18px; text-align: left; font-size: 1.05rem;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-strong); border-radius: var(--r-ctrl);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color .25s, background-color .25s, transform .3s var(--ease);
}
.opcion:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.opcion:active { transform: scale(.99); }
.opcion[aria-pressed="true"] { border-color: var(--brand-text); background: rgba(53, 102, 214, .18); }
.opcion .check { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); flex-shrink: 0; transition: border-color .25s, background-color .25s; }
.opcion[aria-pressed="true"] .check { border-color: var(--brand-text); background: var(--brand-text); box-shadow: inset 0 0 0 4px var(--panel); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: .95rem; color: var(--soft); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand); flex-shrink: 0; }
.consent label { cursor: pointer; padding-block: 2px; }
.form-error { color: var(--warn); font-size: .95rem; font-weight: 500; min-height: 1.5em; margin-top: 12px; }
.form-acciones { margin-top: 20px; display: grid; }
.form-nota { margin-top: 16px; font-size: .84rem; color: var(--muted); }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-exito { display: grid; gap: 16px; place-items: start; padding-block: 40px; }
.form-exito p { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.2; letter-spacing: -.03em; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--brand-text); animation: giro .8s linear infinite; }
@keyframes giro { to { transform: rotate(360deg); } }
.paso-anim { animation: paso-in .5s var(--ease); }
@keyframes paso-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* ---- Cierre / Footer ----------------------------------------------------- */
.cierre { text-align: center; }
.cierre .wrap { display: grid; gap: 36px; justify-items: center; }
.cierre h2 { max-width: 20ch; font-size: clamp(2rem, 5vw, 3.5rem); }
.footer { border-top: 1px solid var(--line); padding-block: 56px; font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 26px; }
.footer-links a { color: var(--soft); display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-aviso { max-width: 70ch; font-size: .85rem; }

/* ---- Barra fija inferior (móvil) ----------------------------------------- */
.barra-fija {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 10, 18, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .5s var(--ease); visibility: hidden;
}
.barra-fija.visible { transform: none; visibility: visible; }
.barra-fija .btn { width: 100%; }

/* ---- Clase --------------------------------------------------------------- */
.clase-head { padding-block: clamp(44px, 7vw, 88px) 32px; }
.clase-head h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.video-bloque { padding-bottom: clamp(56px, 8vw, 104px); }
.video-titulo { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.4rem); letter-spacing: -.02em; margin-bottom: 18px; color: var(--muted); }
.video-caja {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
  border-radius: var(--r-card); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 9px rgba(255, 255, 255, .03), 0 60px 100px -60px rgba(53, 102, 214, .55);
}
.video-caja > iframe, .video-caja > video, .video-caja > .yt-slot { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-portada { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--panel); }
.video-portada img { width: 100%; height: 100%; object-fit: cover; }
.video-portada .play { pointer-events: none; }
.video-siguiente { margin-top: 36px; display: grid; gap: 12px; justify-items: start; }
.aviso-boton { font-size: .92rem; color: var(--muted); }
.despues-lista { display: grid; border-top: 1px solid var(--line); }
.despues-item { display: grid; grid-template-columns: 3.4rem 1fr; gap: 14px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.despues-num { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--brand-text); }
.despues-item p { color: var(--muted); margin-top: 8px; }
.cierre-clase { scroll-margin-top: var(--topbar-h); }
.cierre-clase .wrap { display: grid; gap: 24px; justify-items: start; }
.agenda-caja { width: 100%; min-height: 720px; border: 1px solid var(--line-strong); border-radius: var(--r-card); overflow: hidden; background: var(--panel); }
.agenda-caja iframe { width: 100%; height: 720px; border: 0; }
.gracias-wrap { min-height: 70vh; display: grid; align-content: center; }
.gracias-wrap .wrap { display: grid; gap: 26px; justify-items: start; }
.gracias-acciones { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Páginas legales ----------------------------------------------------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 20px; }
.legal h2 { font-size: 1.4rem; margin-top: 44px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--soft); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.aviso-plantilla { border: 1px dashed rgba(250, 204, 21, .75); background: rgba(250, 204, 21, .08); border-radius: var(--r-ctrl); padding: 16px 18px; margin-bottom: 30px; font-size: .95rem; }

/* ---- Aparición al hacer scroll ------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.manifiesto-lista > .reveal:nth-child(2) { transition-delay: .08s; }
.manifiesto-lista > .reveal:nth-child(3) { transition-delay: .16s; }
.manifiesto-lista > .reveal:nth-child(4) { transition-delay: .24s; }

/* ---- Escritorio ---------------------------------------------------------- */
@media (min-width: 640px) {
  .carrusel > * { flex-basis: 310px; }
}
@media (min-width: 900px) {
  :root { --gutter: 40px; --topbar-h: 72px; }
  .hero-grid { grid-template-columns: 1.35fr .65fr; gap: 80px; }
  .hero-media { justify-self: end; }
  .quien-grid { grid-template-columns: .8fr 1.2fr; gap: 96px; }
  .carrusel-ctrl { display: flex; }
  .carrusel { padding-inline: 0; margin-inline: 0; }
  .temas { display: grid; overflow: visible; padding: 0; margin: 0; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .tema { flex: initial; background: none; border: 0; box-shadow: none; border-bottom: 1px solid var(--line); border-radius: 0; padding: 36px 0; grid-template-columns: 6.5rem 1fr 1.2fr; gap: 28px; align-items: baseline; transition: padding-left .5s var(--ease); }
  .tema:hover { padding-left: 14px; }
  .tema-num { font-size: 3.4rem; }
  .tema h3 { font-size: 1.75rem; }
  .hint-desliza { display: none; }
  .barra-fija { display: none; }
  .registro-grid { grid-template-columns: .8fr 1.2fr; gap: 88px; align-items: start; }
  .manifiesto-item { grid-template-columns: 5rem 1fr; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
}
@media (max-width: 899px) {
  .footer { padding-bottom: 108px; }
  .topbar .btn { padding-inline: 16px; font-size: .9rem; }
}
@media (max-width: 380px) {
  .marca { font-size: 1.05rem; }
}

/* ---- Movimiento reducido -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .testimonios { overflow-x: auto; }
  .testimonios-pista { transform: none !important; will-change: auto; }
  .testimonio-card[aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .banda-pista { width: auto; flex-wrap: wrap; justify-content: center; }
  .banda-grupo[aria-hidden="true"] { display: none; }
  .banda-grupo { flex-wrap: wrap; justify-content: center; }
}

/* ---- Rediseño: estructura centrada y ritmos de la referencia, en azul ----- */

h1, h2, h3 { font-weight: 800; letter-spacing: -.018em; }
.btn {
  border: 0; border-radius: 6px; padding: 18px 34px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(17px, 2vw, 21px); letter-spacing: .04em;
  text-transform: uppercase; text-wrap: balance;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn--primary {
  background: var(--brand);
  box-shadow: 0 10px 30px rgba(37, 99, 235, .35), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.btn--primary:hover {
  background: var(--brand); transform: translateY(-2px); filter: brightness(1.05);
  box-shadow: 0 16px 44px rgba(37, 99, 235, .5), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.btn--primary:active { transform: translateY(0); }
.btn--lg { width: min(560px, 92%); padding: 22px 44px; }
.btn--sm { padding: 12px 22px; font-size: 15px; }
.btn .flecha { font-size: .85em; transition: transform .15s ease; }
.btn:hover .flecha { transform: translateX(2px); }
.btn--pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: acceso-pulso 2.4s infinite;
}
@keyframes acceso-pulso {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
.testimonios-pista[data-animado] { animation-direction: var(--testimonios-direccion, normal); }
.testimonio-card {
  --radio-testimonio: clamp(22px, 3.5vw, 36px);
  display: flex; align-items: center; justify-content: center;
  height: var(--testimonio-alto, 440px); aspect-ratio: auto; padding: 0;
  border: 0; border-radius: var(--radio-testimonio);
  background: var(--panel);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03);
}
.testimonio-card img {
  width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain;
  border-radius: var(--radio-testimonio); background: var(--panel);
}
.reference-landing {
  --max: 1120px; --gutter: 20px;
  background:
    radial-gradient(ellipse 900px 800px at 18% 8%, rgba(37, 99, 235, .13), transparent 65%),
    radial-gradient(ellipse 750px 1000px at 82% 30%, rgba(37, 99, 235, .08), transparent 65%),
    var(--bg);
}
.reference-landing main { padding-top: 0; }
.reference-landing .wrap { max-width: var(--max); }
.reference-landing h1 em, .reference-landing h2 em {
  font-style: normal;
  background: linear-gradient(176deg, #c0d5ff 0%, #6c9fff 52%, #397cf0 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.reference-landing .hero { padding: 26px 0 30px; overflow: clip; }
.reference-landing .hero::before {
  background:
    radial-gradient(ellipse 780px 390px at 50% 35%, rgba(37, 99, 235, .21), transparent 70%),
    linear-gradient(125deg, transparent 24%, rgba(41, 91, 192, .10) 43%, transparent 62%);
  -webkit-mask-image: none; mask-image: none;
}
.hero-centro { text-align: center; }
.identidad { display: inline-flex; flex-direction: column; align-items: center; gap: 0; margin: 4px auto 24px; color: var(--text); text-decoration: none; }
.identidad-logo { display: block; width: clamp(200px, 28vw, 280px); max-width: 100%; height: auto; }
.identidad-nombre { margin-top: 10px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; }
.reference-landing .hero h1 { max-width: 980px; margin-inline: auto; font-size: clamp(26px, 3.1vw, 42px); line-height: 1.28; letter-spacing: -.015em; }
.reference-landing .hero-sub { max-width: 46ch; margin: 18px auto 0; font-size: clamp(15px, 1.6vw, 18px); color: var(--text); font-weight: 500; line-height: 1.55; }
.reference-landing .hero-media {
  display: block; width: 100%; max-width: 560px; aspect-ratio: 16 / 9;
  margin: 30px auto 4px; padding: 0; overflow: hidden; border: 2px solid var(--brand);
  border-radius: 16px; animation: none;
  box-shadow: 0 26px 70px -24px rgba(37, 99, 235, .55), 0 0 0 1px rgba(255, 255, 255, .05);
}
.reference-landing .hero-media img, .reference-landing .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto;
  border-radius: 0; object-fit: cover; object-position: center 15%; transition: transform .35s ease;
}
.reference-landing .hero-media::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(0, 0, 0, .12); transition: background .25s ease; }
.reference-landing .hero-media:hover img, .reference-landing .hero-media:hover video { transform: scale(1.03); }
.reference-landing .hero-media:hover::before { background: rgba(0, 0, 0, .03); }
.hero-play { position: absolute; z-index: 2; top: 64%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 54px; height: 54px; padding-left: 3px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(37, 99, 235, .55); color: #fff; font-size: 22px; backdrop-filter: blur(3px); transition: transform .2s ease, background .2s ease; }
.hero-media:hover .hero-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(37, 99, 235, .85); }
.hero-media-label { position: absolute; z-index: 2; bottom: 12px; left: 16px; color: #fff; font-size: 12px; font-weight: 600; text-shadow: 0 1px 7px #000; }
.hero-acciones { margin-top: 36px; }
.reference-landing .hero-nota { margin: 16px 0 0; font-size: 13px; }
.divisor { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.recorrido-azul { position: relative; isolation: isolate; }
.recorrido-azul::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 650px 850px at 8% 24%, rgba(37, 99, 235, .12), transparent 75%),
    radial-gradient(ellipse 700px 1200px at 95% 70%, rgba(37, 99, 235, .13), transparent 70%);
}
.reference-landing .section { padding: 84px 0; border: 0; }
.reference-landing .section::before { display: none; }
.reference-landing .section-head { max-width: 760px; margin: 0 auto 44px; gap: 0; text-align: center; }
.reference-landing .section-head h2 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.02; }
.reference-landing .section-head .lead { max-width: 58ch; margin: 16px auto 0; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.55; color: var(--muted); font-weight: 500; }
.reference-landing .alumnos-section { padding-top: 44px; }
.testimonios--pantalla { width: 100%; padding-block: 12px 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.alumnos-perfiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 0 auto; }
.alumno-perfil { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.alumno-perfil:only-child { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 480px; }
.alumno-perfil-foto { overflow: hidden; background: var(--panel-2); }
.alumno-perfil-foto img { display: block; width: 100%; height: auto; object-fit: contain; }
.alumno-perfil-textos { padding: 24px; overflow-wrap: anywhere; }
.alumno-perfil-textos h3 { margin: 0 0 10px; color: var(--text); font-size: 22px; line-height: 1.25; }
.alumno-perfil-textos p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.section-cta { text-align: center; margin-top: 42px; }
.mentor-bio { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 34px; max-width: 1040px; margin: 0 auto; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.mentor-foto { position: relative; align-self: start; overflow: hidden; border-radius: 12px; }
.mentor-foto > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; border-radius: inherit; }
.mentor-foto::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(180deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .12) 55%, rgba(0, 0, 0, .36) 100%); }
.mentor-textos { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.mentor-textos h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.1; margin-bottom: 8px; }
.mentor-rol { font-size: 11px; color: var(--brand-text); text-transform: uppercase; letter-spacing: .14em; }
#quien-parrafos { display: grid; gap: 16px; }
#quien-parrafos p { color: var(--muted); font-size: 16px; line-height: 1.68; }
#quien-parrafos em { color: var(--text); font-style: normal; font-weight: 700; }
.origen-titulo { font-size: 12px; color: var(--soft); margin-bottom: 12px; }
.origen-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.origen-fotos figure { min-width: 0; }
.origen-foto-marco { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; background: var(--panel-2); }
.origen-fotos img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.origen-fotos .origen-foto-actual { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 360px; margin-top: 12px; }
.origen-fotos figcaption { color: var(--muted); font-size: 11px; line-height: 1.4; margin-top: 8px; }
.reference-landing .registro { padding-top: 30px; scroll-margin-top: 30px; }
.registro-centro .form-card { max-width: 720px; margin: 0 auto; min-height: 430px; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.form-interior { padding: 36px 48px 44px; min-height: 430px; }
.reference-landing .form-barra { height: 5px; margin: 0; border-radius: 0; background: rgba(255, 255, 255, .07); overflow: visible; }
.reference-landing .form-barra span { border-radius: 0; background: var(--brand); transition: width .4s cubic-bezier(.4, 0, .2, 1); box-shadow: 0 0 14px rgba(37, 99, 235, .6); }
.reference-landing .form-meta { min-height: 38px; margin: 0 0 18px; }
.reference-landing .form-paso { color: var(--brand-text); letter-spacing: .2em; font-size: 12px; }
.reference-landing .form-atras { font-size: 13px; padding: 6px 0; min-height: 38px; }
.reference-landing .form-pregunta { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.018em; line-height: 1.08; margin-bottom: 10px; }
.reference-landing .form-ayuda { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.reference-landing .campo { background: transparent; border: 0; border-bottom: 2px solid var(--line-strong); border-radius: 0; padding: 12px 2px; font-size: 22px; transition: border-color .2s; }
.reference-landing .campo:focus { background: transparent; border-color: var(--brand-text); box-shadow: none; }
.reference-landing .campo:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 4px; }
.reference-landing .campo[aria-invalid="true"] { border-color: var(--warn); }
.reference-landing .campo::placeholder { color: var(--muted); opacity: .8; }
.reference-landing textarea.campo { min-height: 110px; border: 2px solid var(--line-strong); border-radius: 10px; padding: 14px; }
.reference-landing .tel-row { gap: 14px; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.reference-landing select.campo { font-size: 17px; padding-right: 26px; background-position: calc(100% - 10px) 50%, calc(100% - 4px) 50%; }
.reference-landing .opciones { gap: 10px; }
.reference-landing .opcion { min-height: 52px; border-radius: 8px; padding: 11px 14px; gap: 12px; font-size: 16px; justify-content: flex-start; border-color: var(--line-strong); transition: border-color .2s, background .2s; }
.opcion-letra { flex: 0 0 24px; display: grid; place-items: center; height: 24px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 11px; color: var(--muted); }
.opcion-texto { flex: 1; }
.reference-landing .opcion .check { display: none; }
.reference-landing .opcion[aria-pressed="true"] { background: rgba(37, 99, 235, .15); border-color: var(--brand-text); }
.reference-landing .opcion[aria-pressed="true"] .opcion-letra { background: var(--brand); border-color: var(--brand); color: #fff; }
.reference-landing .form-acciones { display: flex; margin-top: 12px; }
.reference-landing .form-acciones .btn { font-size: 15px; padding: 14px 26px; min-height: 48px; }
.reference-landing .form-error { margin-top: 12px; font-size: 13px; }
.reference-landing .form-nota { font-size: 12px; }
.reference-landing .consent { font-size: 13px; line-height: 1.6; }
.reference-landing .paso-anim { animation: none; }
.reference-landing .footer { padding: 40px 0 36px; font-size: 12px; }
.footer-centro { display: grid; justify-items: center; text-align: center; gap: 14px; }
.footer-centro .identidad { margin: 0; }
.footer-centro .identidad-logo { width: 220px; }
.footer-centro .marca { font-weight: 800; }
.footer-centro .footer-aviso { max-width: 82ch; font-size: 11px; line-height: 1.7; }
.footer-centro .footer-links { justify-content: center; gap: 0 22px; }
.footer-centro .footer-links a { font-size: 12px; }
@media (max-width: 860px) {
  .reference-landing .section { padding-block: 62px; }
  .reference-landing .alumnos-section { padding-top: 36px; }
  .reference-landing .registro { padding-top: 30px; }
  .mentor-bio { gap: 24px; padding: 24px; }
  .alumnos-perfiles { gap: 18px; }
  .alumno-perfil-textos { padding: 20px; }
}
@media (max-width: 680px) {
  .mentor-bio { grid-template-columns: minmax(0, 1fr); max-width: 510px; }
  .alumnos-perfiles { grid-template-columns: minmax(0, 1fr); max-width: 400px; gap: 24px; }
}
@media (max-width: 560px) {
  .reference-landing .hero { padding-top: 22px; }
  .identidad { margin-bottom: 22px; }
  .identidad-logo { width: 220px; }
  .reference-landing .hero h1 { font-size: clamp(22px, 5.9vw, 28px); line-height: 1.14; }
  .reference-landing .hero-sub { font-size: 15px; margin-top: 16px; max-width: 30ch; }
  .reference-landing .hero-media { margin-top: 24px; border-radius: 12px; }
  .hero-acciones { margin-top: 30px; }
  .reference-landing .hero-acciones .btn { width: 100%; padding: 20px 18px; }
  .hero-play { width: 46px; height: 46px; font-size: 18px; }
  .hero-media-label { left: 12px; bottom: 8px; font-size: 11px; }
  .reference-landing .section { padding-block: 48px; }
  .reference-landing .section-head { margin-bottom: 30px; }
  .reference-landing .section-head h2 { font-size: 32px; line-height: 1.04; }
  .reference-landing .section-head .lead { font-size: 15px; }
  .reference-landing .alumnos-section { padding-top: 34px; }
  .section-cta { margin-top: 30px; }
  .section-cta .btn { width: 100%; padding: 18px 20px; }
  .mentor-bio { padding: 20px; gap: 22px; }
  #quien-parrafos p { font-size: 15px; }
  .origen-fotos { gap: 10px; }
  .reference-landing .registro { padding-top: 30px; }
  .form-interior { padding: 26px 22px 30px; min-height: 380px; }
  .reference-landing .campo { font-size: 18px; }
  .reference-landing .form-pregunta { font-size: 26px; }
  .reference-landing .tel-row { gap: 10px; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
  .reference-landing select.campo { font-size: 16px; }
  .reference-landing .opcion { font-size: 15px; padding-inline: 12px; }
}
@media (max-width: 360px) {
  .reference-landing { --gutter: 16px; }
  .reference-landing .section-head h2 { font-size: 29px; }
  .reference-landing .tel-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonios--pantalla { mask-image: none; -webkit-mask-image: none; }
}

/* Logo de VISION10K en la barra y el pie de la clase. */
.marca--logo { max-width: 100%; }
.marca-logo { display: block; width: 180px; max-width: 100%; height: auto; }
.footer .marca-logo { width: 220px; }
