@font-face {
  font-family: "Sura Sans";
  src: url("../fonts/SuraSansVF.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --azul: #2d6df6;
  --azul-osc: #0033a0;
  --azul-prof: #0a2a8c;
  --amarillo: #e3e829;
  --celeste: #dfeaff;
  --blanco: #fff;
  --tinta: #14213d;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1040px;
  --gutter: clamp(16px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: "Sura Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--blanco);
  background: var(--azul);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ------------------------------------------------ Botones */
.btn {
  --bg: var(--azul); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 2.6em; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 clamp(1rem, 1.02vw, 1.02rem)/1 "Sura Sans", sans-serif; letter-spacing: .01em;
  color: var(--fg); background: var(--bg); text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 10px 24px -10px rgba(10, 42, 140, .55);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--azul-osc); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }
.btn-amarillo { --bg: var(--amarillo); --fg: var(--azul-osc); }
.btn-amarillo:hover { --fg: #fff; }
.btn-sm { padding: .65em 1.5em; font-size: .95rem; }

/* ------------------------------------------------ Progreso + barra fija */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--amarillo); transform-origin: 0 50%; transform: scaleX(0); }

.sticky-bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: var(--azul-osc);
  box-shadow: 0 10px 30px -12px rgba(0, 20, 80, .5);
  transform: translateY(-110%); transition: transform .6s var(--ease);
}
.sticky-bar.is-on { transform: translateY(0); }
.sticky-in { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.sticky-logo svg { height: 30px; width: auto; }
.sticky-txt { flex: 1; font-size: .95rem; opacity: .9; }
.sticky-txt b { color: var(--amarillo); }
.sticky-bar .btn { padding: .65em 1.5em; font-size: .95rem; }

/* ------------------------------------------------ Zona azul + fondo facetado */
.azul { position: relative; overflow: hidden; background: linear-gradient(180deg, #2a64ee 0%, #2d6df6 40%, #1f55e0 70%, #2a66f2 100%); }
.azul-bg { position: absolute; inset: 0; pointer-events: none; }
.azul > *:not(.azul-bg) { position: relative; }

/* ------------------------------------------------ Header + hero */
.header { display: flex; align-items: center; justify-content: space-between; padding-top: clamp(28px, 4.92vw, 101.68px); }
.tag-seguros {
  background: #fff; color: var(--azul); font-weight: 450; letter-spacing: .02em;
  font-size: clamp(1.15rem, 2.13vw, 2.71rem); line-height: 1; padding: .2em .78em .18em;
}
.logo svg { width: clamp(120px, 17.63vw, 338.66px); height: auto; }

.hero { min-height: min(92vh, 980px); display: grid; place-items: center; padding-block: clamp(36px, 4.92vw, 65.6px) clamp(70px, 6.56vw, 98.4px); }
.titulo { width: max(280px, min(800px, 80vw, calc((100svh - 320px) * 1.3))); perspective: 900px; }
.titulo-svg { width: 100%; height: auto; overflow: visible; }
.titulo-svg g[class^="t-"] { transform-box: fill-box; transform-origin: 50% 50%; }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; width: 30px; height: 50px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 10px; margin-left: -2px; border-radius: 2px; background: var(--amarillo); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ------------------------------------------------ Save the date */
.std { padding-bottom: clamp(80px, 9.84vw, 164px); }
.std-box { position: relative; max-width: 960px; margin-inline: auto; border: 5px solid var(--amarillo); border-top: 0; padding-bottom: clamp(24px, 2.46vw, 39.36px); }
.std-title {
  position: relative; margin: 0; text-align: left; color: var(--azul-osc); font-weight: 850; line-height: 1;
  font-size: clamp(2.6rem, 7.05vw, 8.77rem); letter-spacing: -.01em;
  padding: .06em .16em .02em; margin-inline: -5px; overflow: hidden;
}
.std-title-bg, .tag-bg { position: absolute; inset: 0; background: var(--amarillo); transform-origin: 0 50%; z-index: 0; }
.std-title .split, .tag .split { position: relative; z-index: 1; display: inline-block; }
.std-items { display: flex; justify-content: center; gap: clamp(28px, 5.74vw, 98.4px); padding: clamp(24px, 2.79vw, 49.2px) 16px 0; flex-wrap: wrap; }
.std-item { display: flex; align-items: center; gap: clamp(12px, 1.15vw, 19.68px); }
.std-ico { width: clamp(64px, 8.2vw, 156.62px); flex: none; }
.std-ico svg { width: 100%; height: auto; }
.std-txt { display: grid; text-align: center; gap: .35em; }
.std-lbl { color: var(--amarillo); font-weight: 300; font-size: clamp(.85rem, 1.39vw, 1.66rem); letter-spacing: .02em; }
.std-val { font-weight: 300; font-size: clamp(1rem, 1.72vw, 2.05rem); line-height: 1.2; }
.std-val b { font-weight: 850; }
.std-val--xl { font-weight: 850; font-size: clamp(1.35rem, 2.62vw, 3.16rem); line-height: 1.2; }

.countdown { display: flex; justify-content: center; gap: clamp(10px, 1.64vw, 22.96px); margin-top: clamp(22px, 2.46vw, 36.08px); padding-inline: 12px; }
.countdown.is-done { display: none; }

/* ------------------------------------------------ Etiquetas amarillas */
.tag {
  position: relative; width: max-content; max-width: 100%; margin: 0 auto; overflow: hidden;
  color: var(--azul); font-weight: 850; line-height: 1; letter-spacing: -.005em;
  font-size: clamp(2.4rem, 5.9vw, 7.13rem); padding: .1em .2em .08em;
}

/* ------------------------------------------------ Speakers */
.speakers { padding-bottom: clamp(90px, 9.84vw, 180.4px); }
.speakers-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, auto); gap: clamp(20px, 2.46vw, 45.92px); margin-top: clamp(40px, 4.92vw, 73.8px); }
.speaker { text-align: center; display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; align-content: start; }
.speaker-foto { align-self: end; width: min(100%, 290px); margin: 0 auto clamp(14px, 1.31vw, 21.32px); transform-style: preserve-3d; will-change: transform; }
.speaker-foto img { width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(0, 20, 90, .35)); }
.speaker-nombre { align-self: start; margin: 0 0 .45em; color: var(--amarillo); font-weight: 850; line-height: 1.1; font-size: clamp(1.7rem, 2.54vw, 3.03rem); }
.speaker-rol { align-self: start; font-weight: 450; font-size: clamp(.95rem, 0.94vw, 1.07rem); line-height: 1.35; max-width: 22em; margin: 0 auto .5em; }
.speaker-charla { align-self: start; color: var(--amarillo); font-weight: 600; font-size: clamp(.95rem, 0.94vw, 1.07rem); line-height: 1.35; max-width: 22em; margin: 0 auto; }

/* ------------------------------------------------ Moderadora */
.moderadora { text-align: center; padding-bottom: clamp(70px, 7.38vw, 123px); }
.mod-nombre { margin-top: clamp(28px, 2.87vw, 49.2px); color: var(--amarillo); font-weight: 850; font-size: clamp(1.5rem, 2.13vw, 2.58rem); }
.mod-rol { font-weight: 450; font-size: clamp(1.1rem, 1.64vw, 1.97rem); margin-top: .2em; }
.mod-foto { width: min(80%, 400px); margin-top: clamp(24px, 2.46vw, 36.08px); }

/* ------------------------------------------------ No te lo pierdas */
.nolopierdas { padding-bottom: clamp(90px, 9.84vw, 164px); }
.nlp { text-align: center; color: var(--amarillo); font-weight: 850; font-size: clamp(2.2rem, 5.08vw, 6.15rem); line-height: 1.05; }
.nlp .ch { display: inline-block; will-change: transform; }

/* ------------------------------------------------ Inscripción */
.inscripcion { position: relative; z-index: 2; background: #fff; color: var(--tinta); padding: clamp(40px, 4.92vw, 73.8px) 0 clamp(70px, 7.38vw, 106.6px); }
.inscripcion .container { position: relative; }

.burbuja { position: relative; width: min(740px, 92vw); margin: calc(clamp(110px, 13.12vw, 213.2px) * -1) auto clamp(28px, 3.28vw, 49.2px); transform-origin: 18% 100%; }
.burbuja-svg { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 30, 120, .35)); }
.burbuja-txt {
  position: absolute; inset: 0 0 26% 0; display: grid; place-content: center; margin: 0;
  color: #fff; text-align: center; font-weight: 850; line-height: 1.07; font-size: clamp(1.9rem, 4.59vw, 5.49rem);
}

.insc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(20px, 2.46vw, 36.08px); align-items: stretch; }

.form-card {
  position: relative; background: var(--celeste); border-radius: 34px; padding: clamp(28px, 2.95vw, 49.2px) clamp(22px, 2.79vw, 52.48px);
  box-shadow: 0 40px 80px -40px rgba(10, 42, 140, .45);
  display: flex; flex-direction: column; justify-content: center;
}
.form[hidden] { display: none; }
.form { display: grid; gap: clamp(14px, 1.23vw, 18.04px); }
.field { display: grid; gap: 8px; text-align: center; }
.field label { color: var(--azul); font-weight: 300; font-size: clamp(1.02rem, 1.23vw, 1.27rem); }
.field input, .select select {
  width: 100%; height: clamp(46px, 2.95vw, 49.2px); border: 2px solid transparent; border-radius: 14px; background: #fff;
  font: 450 1.05rem/1 "Sura Sans", sans-serif; color: var(--tinta); padding: 0 18px; text-align: center;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.field input::placeholder { color: #9aa6c2; }
.field input:focus, .select select:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 6px rgba(45, 109, 246, .15); transform: translateY(-1px); }
.field.has-err input, .field.has-err select { border-color: #e0413b; }
.err { color: #c62828; font-size: .88rem; min-height: 0; }
.err:empty { display: none; }
.select { position: relative; }
.select select, .select option { font-family: "Sura Sans", system-ui, sans-serif; font-weight: 600; color: var(--azul); }
.select select { appearance: none; -webkit-appearance: none; cursor: pointer; text-align-last: center; }
.select::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border: solid var(--azul); border-width: 0 2.5px 2.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.actions { display: flex; justify-content: center; margin-top: clamp(8px, 1.15vw, 16.4px); }
.actions .btn { min-width: 220px; }
.btn-spin { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .btn-spin { display: inline-block; }
.is-loading .btn-txt { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-msg { text-align: center; font-weight: 600; color: #c62828; min-height: 1.2em; }

.gracias { text-align: center; display: grid; justify-items: center; gap: 14px; padding: clamp(20px, 3.28vw, 49.2px) 0; }
.gracias[hidden] { display: none; }
.gracias h3 { margin: 0; color: var(--azul); font-size: clamp(2rem, 2.79vw, 2.79rem); font-weight: 850; }
.gracias p { font-size: 1.1rem; line-height: 1.5; color: var(--tinta); max-width: 28em; }
.check { width: 96px; height: 96px; }
.check circle { fill: var(--azul); }
.check path { fill: none; stroke: var(--amarillo); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.gracias.is-on .check path { animation: draw .7s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.mapa-card {
  position: relative; display: flex; flex-direction: column; min-height: 520px; border-radius: 34px; overflow: hidden; background: #e9ecf2;
  box-shadow: 0 40px 80px -40px rgba(10, 42, 140, .45);
}
.mapa { flex: 1; min-height: 380px; z-index: 0; background: #e9ecf2; }
.mapa .leaflet-tile-pane { filter: grayscale(1) brightness(1.04) contrast(.92); }
.mapa-info { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; background: #fff; }
.mapa-info div { display: grid; gap: 2px; }
.mapa-info b { color: var(--azul); font-weight: 850; font-size: 1.1rem; }
.mapa-info span { color: #5b6580; font-size: .92rem; }

.pin { position: relative; width: 120px; height: 120px; }
.pin-core { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--azul); border: 4px solid #fff; box-shadow: 0 4px 14px rgba(45, 109, 246, .6); }
.pin-ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(45, 109, 246, .22); animation: ring 2.4s var(--ease) infinite; }
.pin-ring:nth-child(2) { animation-delay: 1.2s; }
@keyframes ring { 0% { transform: scale(.15); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.pin-label { position: absolute; left: 50%; bottom: calc(50% + 20px); translate: -50% 0; background: #fff; color: var(--azul); font: 600 13px/1 "Sura Sans", sans-serif; padding: 8px 12px; border-radius: 8px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.pin-label::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #fff; }

/* ------------------------------------------------ Footer */
.footer { background: var(--azul-osc); padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .95rem; opacity: .95; }
.footer-logo svg { height: 34px; width: auto; }

/* ------------------------------------------------ Estados iniciales de animación (solo con JS) */
html.js:not(.rm) .reveal-pending { visibility: hidden; }

/* ------------------------------------------------ Responsive */
@media (max-width: 960px) {
  .insc-grid { grid-template-columns: 1fr; }
  .mapa-card { min-height: 440px; }
}
@media (max-width: 760px) {
  .speakers-grid { grid-template-columns: 1fr; gap: 56px; max-width: 420px; margin-inline: auto; }
  .speaker-foto { width: min(78%, 320px); }
  .sticky-txt { display: none; }
  .sticky-in { justify-content: space-between; }
  .std-box { border-width: 3px; }
  .std-title { margin-inline: -3px; }
  .std-items { flex-direction: column; align-items: center; }
  .std-item { width: 100%; max-width: 300px; }
  .std-txt { text-align: left; }
  .hero { min-height: auto; }
    .footer-in { flex-direction: column; text-align: center; }
  .form-card, .mapa-card { border-radius: 24px; }
  .mapa-info { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.sticky-bar.is-hidden-cta .btn { opacity: 0; pointer-events: none; transform: scale(.8); }

/* =====================================================================
   v3 — Escala "alejada" y medidas tomadas del .ai
   Dentro de cada sección: 100cqw = 1200 px de diseño (zona de contenido 360→1560).
   ===================================================================== */
:root { --container: 880px; }
.std, .speakers, .moderadora, .nolopierdas, .inscripcion > .container { container-type: inline-size; }

/* Hero */
.titulo { width: max(280px, min(768px, 82vw, calc((100svh - 320px) * 1.3))); }
.tag-seguros { font-size: clamp(1rem, 1.6vw, 2rem); }
.logo svg { width: clamp(110px, 13vw, 250px); }

/* Etiquetas amarillas */
.tag { font-size: max(2.2rem, 11.59cqw); padding: .08em .17em .06em; }
.moderadora .tag { font-size: max(1.9rem, 8.475cqw); }

/* Save the date */
.std-box { max-width: 97.4%; border-width: max(3px, .43cqw); }
.std-title { font-size: max(2.4rem, 14.31cqw); margin-inline: calc(max(3px, .43cqw) * -1); }
.std-ico { width: max(60px, 15.9cqw); }
.std-lbl { font-size: max(.8rem, 2.71cqw); }
.std-val { font-size: max(1rem, 3.89cqw); line-height: 1.2; }
.std-val--xl { font-size: max(1.3rem, 5.14cqw); }

/* Speakers: escenario con las posiciones exactas del .ai (1474 × 733 px de diseño) */
.speakers-stage {
  container-type: inline-size; position: relative;
  width: min(122.83%, 100vw - 2 * var(--gutter)); aspect-ratio: 1474 / 733;
  left: 50%; transform: translateX(-52.17%);
  margin-top: max(36px, 5.25cqw);
}
.speakers-stage .speaker { position: static; display: block; text-align: center; }
.speakers-stage .speaker-foto { position: absolute; left: var(--fx); top: var(--fy); width: var(--fw); margin: 0; }
.speakers-stage .speaker-txt { position: absolute; left: var(--cx); top: 65.35%; translate: -50% 0; width: max-content; }
.speaker-nombre { margin: 0; font-weight: 850; font-size: 4.003cqw; line-height: 1.05; color: var(--amarillo); }
.speaker-rol, .speaker-charla { max-width: none; margin: 0; font-weight: 300; font-size: 1.696cqw; line-height: 1.24; }
.speaker-rol { margin-top: .52em; color: #fff; }
.speaker-charla { color: var(--amarillo); }

/* Moderadora */
.mod-nombre { font-size: max(1.35rem, 4.21cqw); margin-top: max(24px, 3.7cqw); }
.mod-rol { font-size: max(1.1rem, 3.59cqw); font-weight: 300; margin-top: 0; }
.mod-foto { width: max(240px, 43%); margin-top: max(18px, 1.5cqw); }

/* ¡No te lo pierdas! */
.nlp { font-size: max(2rem, 8.33cqw); }
.nolopierdas { padding-bottom: max(60px, 9cqw); }

/* Inscripción sobre el mismo azul del sitio */
.inscripcion { background: transparent; color: var(--tinta); padding: 0 0 max(70px, 10cqw); }
.burbuja { width: max(280px, 74.75%); margin: 0 auto max(26px, 4cqw); }
.burbuja-txt { font-size: max(1.8rem, 8.92cqw); }
.form-card, .mapa-card { box-shadow: 0 30px 70px -30px rgba(0, 18, 90, .6); }
.field label { font-size: max(1rem, 2.4cqw); }
.field input, .select select { height: max(44px, 4.6cqw); }

@media (max-width: 760px) {
  .speakers-stage { aspect-ratio: auto; width: 100%; left: 0; transform: none; display: grid; gap: 56px; container-type: normal; }
  .speakers-stage .speaker-foto { position: static; width: min(78%, 320px); margin: 0 auto 16px; }
  .speakers-stage .speaker-txt { position: static; translate: none; width: auto; }
  .speaker-nombre { font-size: 2rem; }
  .speaker-rol, .speaker-charla { font-size: 1.05rem; }
}

/* =====================================================================
   v4 — Save the Date calcado del .ai, fondo HD en capas, formulario blanco
   ===================================================================== */

/* Fondo: facetas nítidas arriba y abajo (sin estirar) sobre un medio suave */
.azul-bg { inset: 0 -30px; }
.azul-bg > div { position: absolute; left: 0; right: 0; background-repeat: no-repeat; will-change: transform; }
.bg-mid { inset: 0; background: url("../img/fondo-mid.webp") center / 100% 100%; }
.bg-top {
  top: 0; height: max(calc(100vw * 1.276), 150vh);
  background-image: url("../img/fondo-top.webp"); background-size: cover; background-position: center top;
  -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent);
}
.bg-bot {
  bottom: 0; height: max(calc(100vw * .666), 110vh);
  background-image: url("../img/fondo-bot.webp"); background-size: cover; background-position: center bottom;
  -webkit-mask-image: linear-gradient(transparent, #000 18%); mask-image: linear-gradient(transparent, #000 18%);
}
@media (max-width: 767px) {
  .bg-top { background-image: url("../img/fondo-top-m.webp"); }
  .bg-bot { background-image: url("../img/fondo-bot-m.webp"); }
}

/* Mouse de scroll más separado de la caja */
.std { padding-top: max(56px, 7cqw); }

/* Save the Date (caja 1169 × 346 px de diseño, título 164 px) */
.std-box { max-width: 97.42%; padding-bottom: 0; }
.std-title { text-align: left; padding: .02em 0 .03em .157em; line-height: .955; font-size: max(2.3rem, 14.31cqw); }
.std-items {
  position: relative; display: block; padding: 0; aspect-ratio: 1169 / 346;
}
.std-items .std-ico, .std-items .std-txt { position: absolute; }
.std-ico { width: 16.34%; }
.std-ico--fecha { left: 7.53%; top: 17.9%; }
.std-ico--lugar { left: 53.46%; top: 17.9%; }
.std-txt { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.std-txt--fecha { left: 24.98%; width: 21.04%; top: 19.65%; }
.std-txt--lugar { left: 73.4%; width: 17.8%; top: 18.2%; }
.std-lbl { font-weight: 300; font-size: max(.75rem, 2.71cqw); line-height: 1.2; letter-spacing: 0; color: var(--amarillo); margin-bottom: .45em; }
.std-fecha { font-weight: 850; font-size: max(1.4rem, 5.14cqw); line-height: 1.2; }
.std-hora { font-weight: 850; font-size: max(1.05rem, 3.89cqw); line-height: 1.2; }
.std-movie { font-weight: 850; font-size: max(1.05rem, 3.89cqw); line-height: 1.2; }
.std-shop { font-weight: 300; font-size: max(.9rem, 3.03cqw); line-height: 1.2; }

/* Cuenta regresiva: fuera de la caja, discreta */
.std > .countdown { margin-top: max(22px, 2.6cqw); }

@media (max-width: 760px) {
  .std-items { aspect-ratio: auto; display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 18px 16px; padding: 24px 18px; }
  .std-items .std-ico, .std-items .std-txt { position: static; width: auto; }
  .std-txt { align-items: flex-start; text-align: left; }
}

/* Formulario blanco con campos de borde azul */
.form-card { background: #fff; }
.field input, .select select { background: #fff; border: 2px solid var(--azul); }
.field input:focus, .select select:focus { border-color: var(--azul-osc); box-shadow: 0 0 0 5px rgba(45, 109, 246, .18); }
.field.has-err input, .field.has-err select { border-color: #e0413b; }
.std-items .std-txt > span { white-space: nowrap; }
@media (max-width: 760px) { .std-items .std-txt > span { white-space: normal; } }

/* ¡No te lo pierdas!: 99.9 px sobre 1200 de contenido, en una línea (la sección es full-width: no usar cqw) */
.nolopierdas .nlp { font-size: max(1.5rem, calc(min(var(--container), 100vw - 2 * var(--gutter)) * .0833)); white-space: nowrap; }

/* =====================================================================
   v5 — Formulario de inscripción rediseñado
   ===================================================================== */
.form-card { padding: clamp(26px, 3vw, 40px) clamp(22px, 3vw, 38px); border-radius: 24px; }
.form { gap: 16px; }
.form-head { margin-bottom: 6px; }
.fh-kicker { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul); }
.fh-tit { margin: 0; font-size: 1.6rem; font-weight: 850; line-height: 1.1; color: var(--azul-osc); }
.fh-sub { margin: 8px 0 0; font-size: .9rem; color: #5b6580; }

.field { gap: 6px; text-align: left; }
.field label, .field .lbl { font-size: .86rem; font-weight: 600; color: var(--tinta); letter-spacing: 0; }
.field input, .select select {
  height: 48px; padding: 0 14px; text-align: left; font: 450 1rem/1 "Sura Sans", sans-serif; color: var(--tinta);
  background: #fff; border: 1.5px solid #cfd8ea; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #a3adc2; }
.field input:hover, .select select:hover { border-color: #a9b8d8; }
.field input:focus, .select select:focus { transform: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(45, 109, 246, .14); }
.select select { text-align-last: left; color: var(--tinta); font-weight: 450; }
.err { font-size: .8rem; }

/* Cantidad: botones segmentados */
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: grid; place-items: center; height: 48px; border: 1.5px solid #cfd8ea; border-radius: 10px;
  font-weight: 700; font-size: 1rem; color: var(--tinta); background: #fff; transition: all .2s;
}
.seg label:hover span { border-color: #a9b8d8; }
.seg input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(45, 109, 246, .2); }

.actions { margin-top: 6px; }
.actions .btn { width: 100%; min-width: 0; height: 52px; border-radius: 12px; font-size: 1.02rem; }
.form-msg:empty { display: none; }
.form-legal { margin: 0; text-align: center; font-size: .78rem; color: #8a93a8; }

/* Mobile: el mouse de scroll va debajo del título (no superpuesto) con aire parejo */
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 0; }
  .scroll-cue { position: relative; left: auto; bottom: auto; translate: none; margin: 60px auto 0; flex: none; }
  .std { padding-top: 40px; }
}

/* Mobile: Save the Date en dos columnas (fecha | lugar), ícono arriba y texto centrado */
@media (max-width: 760px) {
  .std-title { text-align: center; padding: .08em .1em .04em; }
  .std-items {
    position: relative; display: grid; grid-template-columns: 1fr 1fr;
    grid-template-areas: "i1 i2" "t1 t2"; justify-items: center; align-items: start;
    gap: 14px 0; padding: 24px 6px 26px;
  }
  .std-items::before { content: ""; position: absolute; left: 50%; top: 24px; bottom: 26px; width: 1px; background: rgba(227, 232, 41, .4); }
  .std-items .std-ico { width: 58px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; display: block; }
  .std-items .std-ico svg { width: 58px; }
  .std-ico--fecha { grid-area: i1; }
  .std-ico--lugar { grid-area: i2; }
  .std-txt--fecha { grid-area: t1; }
  .std-txt--lugar { grid-area: t2; }
  .std-items .std-txt { align-items: center; text-align: center; margin: 0; padding: 0 10px; border: 0; align-self: start; }
  .std-items .std-txt > span { white-space: normal; }
  .std-lbl { font-size: .72rem; letter-spacing: .1em; margin-bottom: .4em; }
  .std-fecha, .std-movie { font-size: 1.85rem; line-height: 1.05; }
  .std-hora, .std-shop { font-size: .98rem; line-height: 1.25; margin-top: .2em; }
  .std-hora { font-weight: 700; }
  .std-shop br { display: none; }
}

/* Scroll: en celulares, un dedo que desliza en lugar del mouse */
.cue-dedo { display: none; }
@media (max-width: 760px), (pointer: coarse) {
  .scroll-cue { width: auto; height: auto; border: 0; border-radius: 0; }
  .scroll-cue span { display: none; }
  .cue-dedo { display: block; width: 38px; height: auto; overflow: visible; }
  .cue-dedo .mano { animation: dedo 2.2s var(--ease) infinite; }
  .cue-dedo .flecha { animation: flecha 2.2s ease-in-out infinite; }
  .cue-dedo .f2 { animation-delay: .15s; }
  .scroll-cue { margin-top: 44px; }
}
/* El dedo arrastra hacia arriba (gesto de deslizar, no de tocar) y las flechas marcan la dirección */
@keyframes dedo { 0% { transform: translateY(10px); opacity: 0; } 15% { transform: translateY(10px); opacity: 1; } 70% { transform: translateY(-6px); opacity: 1; } 85%, 100% { transform: translateY(-8px); opacity: 0; } }
@keyframes flecha { 0%, 20% { opacity: .2; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(0); } 80%, 100% { opacity: .2; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .cue-dedo .mano, .cue-dedo .flecha { animation: none; } }

/* ---------- Cuenta regresiva: minimalista. Números finos y grandes, etiquetas mínimas, divisores de 1px */
.countdown { display: grid; justify-items: center; gap: 18px; padding-inline: 0; }
.countdown .cd-lbl { margin: 0; color: var(--amarillo); font-weight: 500; font-size: .78rem; letter-spacing: .34em; text-transform: uppercase; padding-left: .34em; }
.cd-row { display: flex; align-items: stretch; }
.cd-u { display: grid; justify-items: center; gap: 10px; padding: 0 clamp(18px, 2.6vw, 38px); text-align: center; }
.countdown .cd-u b {
  display: grid; overflow: hidden; height: 1em; line-height: 1;
  font-weight: 300; font-size: clamp(2.6rem, 4.4vw, 4.2rem); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.countdown .cd-u b > span { grid-area: 1 / 1; display: block; }
.countdown .cd-u small { font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .26em; color: rgba(255, 255, 255, .7); padding-left: .26em; }
.cd-sep { width: 1px; flex: none; align-self: stretch; margin: 6px 0 4px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .35) 30%, rgba(255, 255, 255, .35) 70%, transparent); transform-origin: 50% 50%; }
.std > .countdown { margin-top: max(40px, 3.8cqw); }
@media (max-width: 760px) {
  .std > .countdown { margin-top: 32px; }
  .countdown { gap: 14px; }
  .cd-u { padding: 0 14px; gap: 8px; }
  .countdown .cd-u b { font-size: 2.3rem; }
  .countdown .cd-u small { font-size: .56rem; letter-spacing: .2em; padding-left: .2em; }
}
@media (max-width: 360px) { .cd-u { padding: 0 10px; } .countdown .cd-u b { font-size: 2rem; } }

/* Mobile: el botón "Cómo llegar" con aire respecto del borde de la tarjeta */
@media (max-width: 760px) {
  .mapa-info { padding: 22px 22px 26px; gap: 16px; }
  .mapa-info .btn { width: 100%; justify-content: center; text-align: center; }
}

/* Cupos: aviso de últimos lugares y tarjeta de cupos completos */
.fh-sub .ultimos { color: var(--azul); font-weight: 800; }
.completo { display: grid; gap: 10px; text-align: center; padding: 18px 4px; }
.completo .fh-tit { margin: 0 0 4px; }
.completo p { margin: 0; color: #4a5470; line-height: 1.5; }
.completo .muted { color: #7a8394; font-size: .95rem; }
.form-card:has(.completo) { display: grid; align-content: center; }

/* Cupos completos / inscripciones cerradas: tarjeta con ícono y datos del evento */
.completo { display: grid; justify-items: center; gap: 0; text-align: center; padding: 26px 8px; }
.cp-ico { position: relative; width: 88px; height: 88px; display: grid; place-items: center; margin-bottom: 18px; }
.cp-ico::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(145deg, #eaf1ff, #dfe9ff); }
.cp-halo { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(45, 109, 246, .18); animation: cp-halo 3s var(--ease) infinite; }
@keyframes cp-halo { 0% { transform: scale(.85); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.18); opacity: 0; } }
.cp-ico svg { position: relative; width: 50px; height: 50px; fill: none; stroke: var(--azul); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cp-ico .cp-ok { stroke: var(--azul-osc); stroke-width: 3; }
.cp-chip { margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--amarillo); color: var(--azul-osc); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.completo .fh-tit { margin: 0 0 10px; }
.cp-txt { margin: 0; max-width: 34ch; color: #4a5470; line-height: 1.5; }
.cp-ticket { position: relative; width: 100%; max-width: 360px; margin-top: 24px; padding: 18px 20px 16px; border: 1.5px dashed #c9d6f3; border-radius: 16px; background: #f6f9ff; text-align: left; }
.cp-ticket::before, .cp-ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; border: 1.5px dashed #c9d6f3; }
.cp-ticket::before { left: -10px; clip-path: inset(0 0 0 50%); }
.cp-ticket::after { right: -10px; clip-path: inset(0 50% 0 0); }
.cp-ticket-tit { margin: 0 0 10px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--azul); }
.cp-ticket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cp-ticket li { display: flex; align-items: center; gap: 10px; color: var(--tinta); font-size: .95rem; }
.cp-ticket li b { font-weight: 800; color: var(--azul-osc); }
.cp-ticket li svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--azul); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cp-link { display: inline-block; margin-top: 14px; font-weight: 800; font-size: .9rem; color: var(--azul); text-decoration: none; border-bottom: 2px solid var(--amarillo); }
.cp-link:hover { color: var(--azul-osc); }
.cp-nota { margin: 18px 0 0; max-width: 36ch; font-size: .82rem; color: #7a8394; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .cp-halo { animation: none; } }

/* SEGUROS y el logo recargan el sitio */
a.tag-seguros { text-decoration: none; transition: background .25s, color .25s; }
@media (hover: hover) and (pointer: fine) {
  a.tag-seguros:hover { background: var(--amarillo); color: var(--azul-osc); }
  .header .logo:hover svg { opacity: .8; }
}
.header .logo { -webkit-tap-highlight-color: transparent; }
.header .logo svg { transition: opacity .25s; } /* en el svg: el <a> lo anima GSAP en la entrada */
a.tag-seguros { -webkit-tap-highlight-color: transparent; }

/* Save the Date: texto centrado en altura dentro de la caja amarilla (como el .ai) */
@media (min-width: 761px) { .std-title .split { top: .08em; } }
@media (max-width: 760px) { .std-title .split { top: .055em; } }

/* Modalidad: presencial / streaming (lo primero del formulario) */
.modo {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; gap: 0;
  background: #fff; border: 1.5px solid #cfd8ea; border-radius: 14px; isolation: isolate;
}
.modo-op { position: relative; z-index: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.modo-op input { position: absolute; opacity: 0; pointer-events: none; }
.modo-in {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 10px 14px; border-radius: 10px; color: var(--tinta); transition: color .35s var(--ease);
}
.modo-in svg { grid-row: 1 / 3; width: 24px; height: 24px; fill: none; stroke: var(--azul); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s var(--ease); }
.modo-in svg .relleno { fill: var(--azul); stroke: none; transition: fill .35s var(--ease); }
.modo-in b { font-size: 1rem; font-weight: 800; line-height: 1.15; }
.modo-in small { font-size: .78rem; line-height: 1.2; color: #6b7590; transition: color .35s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modo-op input:checked + .modo-in { color: #fff; }
.modo-op input:checked + .modo-in svg { stroke: var(--amarillo); }
.modo-op input:checked + .modo-in svg .relleno { fill: var(--amarillo); }
.modo-op input:checked + .modo-in small { color: rgba(255, 255, 255, .82); }
.modo-op input:focus-visible + .modo-in { box-shadow: 0 0 0 4px rgba(45, 109, 246, .22); }
.modo-pill {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 10px;
  background: var(--azul); box-shadow: 0 8px 18px -8px rgba(45, 109, 246, .8);
  transition: transform .5s var(--ease);
}
.modo:has(input[value="streaming"]:checked) .modo-pill { transform: translateX(100%); }
.modo-op.is-llena { cursor: not-allowed; }
.modo-op.is-llena .modo-in { opacity: .55; }
.modo-op.is-llena small { color: #c0392b; font-weight: 700; }
.field-modo.has-err .modo { border-color: #e0413b; }
.fh-sub .ultimos { color: var(--azul); font-weight: 800; }
.modo-op:not(.is-llena) input:not(:checked) + .modo-in small:is(:first-child) { color: var(--azul); }
.seg input:disabled + span { opacity: .35; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .modo-op:not(.is-llena) input:not(:checked) + .modo-in:hover b { color: var(--azul); }
}
@media (max-width: 420px) {
  .modo-in { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 10px 6px; row-gap: 2px; }
  .modo-in svg { grid-row: auto; width: 22px; height: 22px; margin-bottom: 2px; }
  .modo-in small { white-space: normal; }
}
/* Celular y cantidad comparten fila: el selector de modalidad no alarga el formulario */
.form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; }
.form > * { grid-column: 1 / -1; }
.form > .field:has(#f-celular), .form > .field:has([aria-labelledby="l-cantidad"]) { grid-column: auto; }
.form > .hp, .form > input[type="hidden"] { grid-column: auto; }

/* Streaming: sin cantidad, el celular ocupa toda la fila */
.form > .field-cant[hidden] { display: none; }
.form:has(.field-cant[hidden]) > .field:has(#f-celular) { grid-column: 1 / -1; }

/* Moderadora (.ai 2026-10-08): foto recortada al contenido, apenas corrida a la derecha como en el diseño */
.mod-foto { width: max(220px, 37.58%); margin-top: max(18px, 3.1cqw); position: relative; left: 1.54%; }
