/* Demo 4 · Plataforma Codenant en renta. Lenguaje «Mosaico»: agua de noche, olas que brillan y un mosaico de alberca.
   Aquí: base, cabecera, portada, teléfono, pase, diálogos, formularios y páginas. El mosaico va en mosaico.css; el panel, en panel.css.
   --acento sale de la marca de la institución (Configuración); coral y acento llevan siempre tinta oscura, nunca texto blanco. */
:root {
  --noche: #0a0f1f; --noche-2: #0e1528; --tarjeta: #151c33; --linea: rgb(255 255 255 / .09);
  --fg: #fff; --tenue: rgb(255 255 255 / .74); --teal-cl: #5fd6cf; --navy: #1b3368; --tinta: #0a0f1f; --coral-cl: #ffa694; --lav-cl: #c3c6ea;
  --acento: #00a8a8; --acento-cl: color-mix(in srgb, var(--acento) 58%, #fff);
  --grad: linear-gradient(90deg, var(--acento-cl), var(--acento) 45%, #ff7e67);
  --margen: clamp(16px, 4vw, 40px);
  color-scheme: dark; scrollbar-gutter: stable;
}
html { background: var(--noche); }
html:has(dialog[open]) { overflow: hidden; }
body { background: var(--noche); color: var(--fg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #5fd6cf; outline-offset: 3px; }
main:focus { outline: none; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 90; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--navy); font-weight: 700; }
.saltar:focus { top: 8px; }
@media (max-width: 759px) { .solo-ancho { display: none !important; } }
@media (min-width: 760px) { .solo-movil { display: none !important; } }

/* ---------- textos ---------- */
.eyebrow { font: 800 13px/1.2 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--acento-cl); }
.h1 { margin-top: 16px; font-size: clamp(42px, 6.2vw, 78px); font-weight: 800; line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.h2 { margin-top: 10px; font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.h1 em, .h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 34em; margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--tenue); }
.nota { font-size: 13.5px; line-height: 1.45; color: var(--tenue); }
.nota a { color: var(--acento-cl); font-weight: 700; }
.tenue { color: var(--tenue); }
.sec-in { width: min(1200px, 100% - 2 * var(--margen)); margin-inline: auto; }
.angosta { max-width: 560px; }

/* ---------- botones, etiquetas y avisos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  font: 700 16px/1.1 var(--texto); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s, filter .15s;
}
.btn .ico { width: 18px; height: 18px; }
.btn-1 { background: #ff7e67; color: var(--navy); box-shadow: 0 10px 26px -10px rgb(255 126 103 / .55); }
.btn-2 { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); }
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-chico { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.btn-ancho { width: 100%; white-space: normal; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.enlace { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--acento-cl); font: 700 14.5px/1.2 var(--texto); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font: 700 12px/1 var(--texto); white-space: nowrap; }
.chip .ico { width: 12px; height: 12px; }
.chip-aprobado { background: rgb(95 214 207 / .16); color: var(--teal-cl); }
.chip-pendiente, .chip-fallido { background: rgb(255 126 103 / .16); color: var(--coral-cl); }
.chip-fallido { box-shadow: inset 0 0 0 1px rgb(255 126 103 / .5); background: none; }
.chip-vencido, .chip-reembolsado, .chip-neutro { background: rgb(128 133 183 / .22); color: var(--lav-cl); }
.alerta { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgb(255 126 103 / .13); box-shadow: inset 0 0 0 1px rgb(255 126 103 / .45); color: #ffd9d1; font-size: 14.5px; line-height: 1.4; }
.alerta b { color: #fff; }
.alerta .ico { margin-top: 2px; color: var(--coral-cl); }
.vacio { display: grid; gap: 10px; justify-items: start; }
.avisos { position: fixed; z-index: 95; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); display: grid; gap: 8px; justify-items: center; width: min(440px, 100vw - 24px); transform: translateX(-50%); pointer-events: none; }
.aviso { padding: 12px 18px; border-radius: 16px; background: #fff; color: var(--navy); font: 700 14.5px/1.3 var(--texto); text-align: center; box-shadow: 0 14px 34px -8px rgb(0 0 0 / .6), 0 0 0 1px rgb(27 51 104 / .08); animation: aviso-entra .35s cubic-bezier(.3, 1.4, .5, 1) both; transition: opacity .4s, transform .4s; }
.aviso.fuera { opacity: 0; transform: translateY(10px); }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes entra { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes brota { from { opacity: 0; transform: translateY(8px) scale(.3); } }
@keyframes gira { to { transform: rotate(360deg); } }

/* ---------- cabecera ---------- */
.cab { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(1200px, 100% - 2 * var(--margen)); margin-inline: auto; padding-block: 14px; }
.marca { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; }
.marca b { font: 800 22px/1 var(--titulos); letter-spacing: .01em; }
.marca i { width: 14px; height: 14px; border-radius: 50%; background: var(--acento); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acento) 28%, transparent); }
.cab-interna .marca b { font-size: 17px; font-weight: 700; }
.cab-interna .cab-link { color: var(--tenue); }
.cab nav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); }
.cab-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 700; font-size: 15px; text-decoration: none; }
.cab-link:hover { text-decoration: underline; text-underline-offset: 4px; }
body:not([data-modo="publica"]) .pie nav a:not([href="#/"], [href="#/plataforma"]) { display: none; }

/* ---------- olas: la superficie del agua ---------- */
.olas { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.olas-mov { position: absolute; inset: -4% -3%; will-change: transform; animation: mece 18s ease-in-out infinite alternate; }
.olas-mov.m2 { animation-duration: 25s; animation-direction: alternate-reverse; }
.fuera .olas-mov, .fuera .tel, .fuera i, dialog:not([open]) .olas-mov { animation-play-state: paused !important; }
@keyframes mece { from { transform: translate3d(-1.6%, -1.4%, 0) rotate(-.7deg) scaleY(.95); } to { transform: translate3d(1.6%, 1.8%, 0) rotate(.8deg) scaleY(1.07); } }
.ola { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ola path { fill: none; stroke-linecap: round; }
.ola-bruma { filter: blur(28px); } .ola-bruma path { stroke-opacity: .22; }
.ola-brillo { filter: blur(11px); } .ola-brillo path { stroke-opacity: .5; }
.ola-linea path { stroke-opacity: .85; }

/* ---------- portada ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #070b1e, #0c1433); }
.hero-in { position: relative; z-index: 1; display: grid; gap: 32px; width: min(1200px, 100% - 2 * var(--margen)); margin-inline: auto; padding: clamp(20px, 4vw, 44px) 0 clamp(150px, 20vw, 210px); }
.hero-txt .lead { text-shadow: 0 1px 12px #070b1e; }
.hero-datos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-datos li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgb(10 15 31 / .55); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); font-size: 14px; color: var(--tenue); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-datos b { color: #fff; }
.hero-datos .ico { color: var(--acento-cl); }
.hero-tel { display: none; }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.2fr .8fr; align-items: center; padding-bottom: 150px; min-height: min(690px, 100svh - 110px); }
  .hero-tel { display: grid; justify-items: center; gap: 18px; }
  .hero-tel .tel { --w: clamp(220px, 21vw, 264px); transform: rotate(4deg); animation: flota 7s ease-in-out infinite; }
  .hero-tel figcaption { font: 700 14px/1.2 var(--texto); color: var(--tenue); }
}
@keyframes flota { 50% { transform: rotate(3deg) translateY(-10px); } }

/* ---------- teléfono de la casa: medidas en fracciones del ancho de pantalla (--s) ---------- */
.tel {
  --w: 260px; --s: calc(var(--w) / 1.076);
  position: relative; display: block; flex: none; width: var(--w); padding: calc(var(--s) * .038); border-radius: calc(var(--s) * .178); background: #1c1c1e;
  box-shadow: inset 0 0 0 calc(var(--s) * .007) #3a3a3c, 0 0 0 calc(var(--s) * .005) #8e8e93, var(--tel-sombra, 0 30px 60px -20px rgb(0 0 0 / .7));
}
.tel::after { /* isla: nunca tapa contenido, la franja de estado le deja su lugar */
  content: ""; position: absolute; z-index: 2; top: calc(var(--s) * (.038 + .03)); left: 50%; width: calc(var(--s) * .33); height: calc(var(--s) * .095);
  transform: translateX(-50%); border-radius: 999px; background: #000;
}
.tel-pantalla { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 2.1; border-radius: calc(var(--s) * .14); background: #0d1326; container-type: inline-size; text-align: left; }
.tel-pantalla::before { content: "9:41"; display: flex; align-items: center; height: calc(var(--s) * .14); padding-left: calc(var(--s) * .09); color: #fff; font: 600 calc(var(--s) * .048) / 1 var(--texto); }
.tel-pantalla::after { /* señal, Wi-Fi y batería */
  content: ""; position: absolute; top: calc(var(--s) * .05); right: calc(var(--s) * .08); width: calc(var(--s) * .23); height: calc(var(--s) * .04); background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 69 12'%3E%3Crect y='8' width='3' height='4' rx='1'/%3E%3Crect x='5' y='5' width='3' height='7' rx='1'/%3E%3Crect x='10' y='2.5' width='3' height='9.5' rx='1'/%3E%3Crect x='15' width='3' height='12' rx='1'/%3E%3Cpath transform='translate(23)' d='M8 2.2c2.4 0 4.6.9 6.3 2.5l1.3-1.4A11 11 0 0 0 8 .3 11 11 0 0 0 .4 3.3l1.3 1.4A9 9 0 0 1 8 2.2Zm0 3.8c1.4 0 2.6.5 3.6 1.4l1.3-1.4A7 7 0 0 0 8 4.1a7 7 0 0 0-4.9 1.9l1.3 1.4C5.4 6.5 6.6 6 8 6Zm0 3.7c.5 0 1 .2 1.3.5L8 11.6l-1.3-1.4c.3-.3.8-.5 1.3-.5Z'/%3E%3Cg transform='translate(42)'%3E%3Crect x='.5' y='.5' width='23' height='11' rx='3' fill='none' stroke='%23000' opacity='.4'/%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='24.5' y='4' width='2' height='4' rx='1' opacity='.4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 69 12'%3E%3Crect y='8' width='3' height='4' rx='1'/%3E%3Crect x='5' y='5' width='3' height='7' rx='1'/%3E%3Crect x='10' y='2.5' width='3' height='9.5' rx='1'/%3E%3Crect x='15' width='3' height='12' rx='1'/%3E%3Cpath transform='translate(23)' d='M8 2.2c2.4 0 4.6.9 6.3 2.5l1.3-1.4A11 11 0 0 0 8 .3 11 11 0 0 0 .4 3.3l1.3 1.4A9 9 0 0 1 8 2.2Zm0 3.8c1.4 0 2.6.5 3.6 1.4l1.3-1.4A7 7 0 0 0 8 4.1a7 7 0 0 0-4.9 1.9l1.3 1.4C5.4 6.5 6.6 6 8 6Zm0 3.7c.5 0 1 .2 1.3.5L8 11.6l-1.3-1.4c.3-.3.8-.5 1.3-.5Z'/%3E%3Cg transform='translate(42)'%3E%3Crect x='.5' y='.5' width='23' height='11' rx='3' fill='none' stroke='%23000' opacity='.4'/%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='24.5' y='4' width='2' height='4' rx='1' opacity='.4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
/* Galaxy S24 (solo en Android): bisel parejo y delgado, esquinas más cerradas, cámara perforada al centro y barra de estado de Android */
[data-so="android"] .tel { --s: calc(var(--w) / 1.06); padding: calc(var(--s) * .03); border-radius: calc(var(--s) * .11); background: #111113;
  box-shadow: inset 0 0 0 calc(var(--s) * .004) #2a2a2d, 0 0 0 calc(var(--s) * .008) #4a4a4f, var(--tel-sombra, 0 30px 60px -20px rgb(0 0 0 / .7)); }
[data-so="android"] .tel::after { top: calc(var(--s) * (.03 + .026)); width: calc(var(--s) * .048); height: calc(var(--s) * .048); border-radius: 50%; background: radial-gradient(circle at 38% 36%, #2b3340 0 16%, #0a0a0b 42%); box-shadow: 0 0 0 calc(var(--s) * .004) #1c1c1e; }
[data-so="android"] .tel-pantalla { border-radius: calc(var(--s) * .08); }
[data-so="android"] .tel-pantalla::before { height: calc(var(--s) * .10); padding-left: calc(var(--s) * .075); font: 500 calc(var(--s) * .042) / 1 var(--texto); }
[data-so="android"] .tel-pantalla::after { top: calc(var(--s) * .029); right: calc(var(--s) * .07); width: calc(var(--s) * .19); height: calc(var(--s) * .043);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 53 12'%3E%3Cpath d='M8 11.5.6 3.7a10.6 10.6 0 0 1 14.8 0Z'/%3E%3Cpath d='M19 11.5h11V.5Z'/%3E%3Crect x='34.5' y='2.5' width='15' height='8' rx='2.2' fill='none' stroke='%23000' stroke-width='1.2' opacity='.5'/%3E%3Crect x='36.3' y='4.3' width='9' height='4.4' rx='1'/%3E%3Crect x='50.3' y='4.8' width='1.6' height='3.4' rx='.8' opacity='.5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 53 12'%3E%3Cpath d='M8 11.5.6 3.7a10.6 10.6 0 0 1 14.8 0Z'/%3E%3Cpath d='M19 11.5h11V.5Z'/%3E%3Crect x='34.5' y='2.5' width='15' height='8' rx='2.2' fill='none' stroke='%23000' stroke-width='1.2' opacity='.5'/%3E%3Crect x='36.3' y='4.3' width='9' height='4.4' rx='1'/%3E%3Crect x='50.3' y='4.8' width='1.6' height='3.4' rx='.8' opacity='.5'/%3E%3C/svg%3E"); }
/* el pase dentro del teléfono de la portada */
.tel-app { display: grid; align-content: center; gap: 4cqw; height: calc(100% - var(--s) * .14); padding: 0 5cqw 6cqw; }
.tel-app-t { font: 800 7cqw/1 var(--titulos); color: #fff; }
.tel-app-n { font: 600 4.2cqw/1.2 var(--texto); color: var(--tenue); text-align: center; }
.tel-app .pase { width: 100%; font-size: 4.6cqw; filter: none; }
.tel-app .pase-abajo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.tel-app .pase-qr { width: 12em; }

/* ---------- el pase: boleto con corte punteado y muescas ---------- */
.pase { font-size: 16px; width: min(22em, 100%); margin-inline: auto; color: var(--navy); text-align: left; filter: drop-shadow(0 1.1em 1.5em rgb(0 0 0 / .5)); }
.pase-arriba, .pase-abajo {
  --r: .7em; background: #fff; padding: 1.1em 1.25em;
  -webkit-mask: radial-gradient(circle var(--r) at 0 var(--y), #0000 calc(var(--r) - .5px), #000 var(--r)), radial-gradient(circle var(--r) at 100% var(--y), #0000 calc(var(--r) - .5px), #000 var(--r));
  -webkit-mask-composite: source-in;
          mask: radial-gradient(circle var(--r) at 0 var(--y), #0000 calc(var(--r) - .5px), #000 var(--r)), radial-gradient(circle var(--r) at 100% var(--y), #0000 calc(var(--r) - .5px), #000 var(--r));
          mask-composite: intersect;
}
.pase-arriba { --y: 100%; position: relative; padding-top: 1.55em; border-radius: 1.4em 1.4em 0 0; }
.pase-arriba::before { content: ""; position: absolute; inset: 0 0 auto; height: .45em; background: linear-gradient(90deg, var(--acento), #ff7e67); }
.pase-marca { display: flex; justify-content: space-between; align-items: baseline; gap: .6em; }
.pase-marca b { font: 800 1em/1 var(--titulos); letter-spacing: .1em; text-transform: uppercase; }
.pase-marca span { font: 700 .72em/1 var(--texto); letter-spacing: .1em; text-transform: uppercase; color: #5c6189; }
.pase-evento { margin-top: .9em; font: 600 .82em/1.2 var(--texto); color: #5c6189; }
.pase-nombre { margin-top: .1em; font: 800 1.55em/1.08 var(--titulos); letter-spacing: -.02em; overflow-wrap: anywhere; }
.pase-datos { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: .6em; margin-top: .9em; }
.pase-datos dt, .pase-folio span { font: 700 .62em/1 var(--texto); letter-spacing: .1em; text-transform: uppercase; color: #5c6189; }
.pase-datos dd { margin-top: .3em; font: 700 .8em/1.2 var(--texto); }
.pase-abajo { --y: 0%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .9em 1.1em; border-radius: 0 0 1.4em 1.4em; border-top: 2px dashed rgb(27 51 104 / .28); }
.pase-qr { width: 7.4em; padding: .2em; border-radius: .6em; background: #fff; box-shadow: 0 0 0 1px rgb(27 51 104 / .14); }
.pase-qr svg { display: block; width: 100%; height: auto; }
.pase-folio { display: grid; gap: .3em; }
.pase-folio b { font: 800 1.5em/1 var(--titulos); letter-spacing: .01em; }
.pase-folio small { font: 600 .72em/1 ui-monospace, Menlo, monospace; color: #5c6189; }
.pase-ingreso, .pase-sello { grid-column: 1 / -1; display: flex; align-items: center; gap: .4em; padding: .55em .8em; border-radius: .7em; font: 700 .8em/1.2 var(--texto); }
.pase-ingreso { background: #e0f4f4; color: #00585a; }
.pase-sello { justify-content: center; background: #ffece8; color: #8f2f1d; letter-spacing: .06em; text-transform: uppercase; }
.pase-sin .pase-qr { filter: grayscale(1); opacity: .22; }

/* ---------- diálogos ---------- */
.dlg { padding: 0; border: 0; border-radius: 26px; background: #121a31; color: #fff; max-width: none; max-height: none; overscroll-behavior: contain; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 30px 90px -20px rgb(0 0 0 / .85); }
.dlg::backdrop { background: rgb(5 10 25 / .66); }
.dlg-insc { width: min(940px, 100vw - 16px); max-height: calc(100dvh - 16px); }
.dlg-pieza { width: min(760px, 100vw - 16px); max-height: calc(100dvh - 24px); }
.dlg-insc[open] { view-transition-name: insc; }
.dlg-pieza[open] { view-transition-name: pieza; }
::view-transition-group(insc), ::view-transition-group(pieza) { animation-duration: .32s; animation-timing-function: cubic-bezier(.3, .9, .3, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
.cerrar { position: absolute; z-index: 3; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .94); color: var(--navy); font: 700 14px/1 var(--texto); box-shadow: 0 4px 14px rgb(0 0 0 / .25); }
.cerrar span { font-size: 20px; line-height: 1; }

.insc { position: relative; display: grid; }
.insc-lado { position: relative; overflow: hidden; background: linear-gradient(150deg, #2448a3, #1b3368 55%, #142858); }
.insc-lado .olas-mov { inset: 20% -3% -30%; }
.insc-lado-in { position: relative; z-index: 1; display: grid; gap: 4px; padding: 20px 120px 18px 20px; }
.insc-lado .eyebrow { color: #fff; opacity: .8; }
.insc-lado h2 { font: 800 clamp(26px, 4vw, 44px)/1 var(--titulos); letter-spacing: -.03em; }
.insc-lado p { font-size: 14.5px; }
.insc-ventajas { display: none; }
.insc-cuerpo { padding: 20px 18px 22px; min-width: 0; }
.insc-cuerpo .cerrar { position: absolute; }
.insc-paso { animation: entra .35s cubic-bezier(.3, 1.2, .5, 1) both; }
.insc-paso h3 { margin-bottom: 14px; font: 800 22px/1.15 var(--titulos); outline: none; }
.insc-paso > form, .insc-paso { display: grid; gap: 14px; }
.insc-paso > form > h3, .insc-paso > h3 { margin-bottom: 0; }
@media (min-width: 860px) {
  .insc { grid-template-columns: .82fr 1.18fr; min-height: min(620px, 100dvh - 16px); }
  .insc-lado-in { align-content: start; gap: 8px; padding: 44px 32px; }
  .insc-lado p { font-size: 16px; }
  .insc-ventajas { display: grid; gap: 10px; margin-top: 22px; }
  .insc-ventajas li { display: flex; align-items: center; gap: 8px; justify-self: start; padding: 9px 14px; border-radius: 999px; background: rgb(255 255 255 / .1); font: 700 13.5px/1.2 var(--texto); }
  .insc-ventajas .ico { color: var(--teal-cl); stroke-width: 3; }
  .insc-cuerpo { padding: 62px 36px 32px; }
}

/* carril de pasos: tres boyas y la cuerda que avanza */
.carril { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 20px; --p: 0; }
.carril::before, .carril::after { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 17px; height: 4px; border-radius: 4px; }
.carril::before { background: repeating-linear-gradient(90deg, rgb(255 255 255 / .24) 0 8px, transparent 8px 13px); }
.carril::after { background: var(--acento-cl); transform: scaleX(calc(var(--p) / 2)); transform-origin: 0 50%; transition: transform .55s cubic-bezier(.3, .9, .3, 1); }
.carril li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 7px; font: 700 13px/1 var(--texto); color: var(--tenue); }
.carril i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #1d2747; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .2); font: 800 15px/1 var(--titulos); font-style: normal; transition: background-color .3s, color .3s, box-shadow .3s; }
.carril i .ico { width: 18px; height: 18px; stroke-width: 3; }
.carril .actual { color: #fff; }
.carril .actual i { background: var(--acento-cl); color: var(--tinta); box-shadow: 0 0 0 5px color-mix(in srgb, var(--acento) 32%, transparent); }
.carril .hecho i { background: var(--acento); color: var(--tinta); box-shadow: none; }

/* campos */
.campo { display: grid; gap: 6px; }
.campo label, legend { padding: 0; font: 700 14px/1.3 var(--texto); }
legend small { margin-left: 6px; font: 700 11px/1 var(--texto); letter-spacing: .1em; text-transform: uppercase; color: var(--acento-cl); }
.campo-in { position: relative; }
.campo input, .buscar input, .ingreso input, .tarifa-ed input {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: 16px; border: 1.5px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .06); color: #fff;
  font: 500 16px/1.2 var(--texto); transition: border-color .15s, background-color .15s;
}
.campo input { padding-right: 44px; }
.campo input:focus, .buscar input:focus, .ingreso input:focus, .tarifa-ed input:focus { border-color: var(--teal-cl); background: rgb(255 255 255 / .09); }
input::placeholder { color: rgb(255 255 255 / .5); }
.campo-ok { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--teal-cl); stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.campo.bien .campo-ok { opacity: 1; transform: none; }
.ayuda { font-size: 13px; line-height: 1.35; color: var(--tenue); }
.campo.mal input { border-color: var(--coral-cl); }
.campo.mal .ayuda { color: var(--coral-cl); font-weight: 700; }
.op-tarifas { display: grid; gap: 8px; }
.op-tarifas legend { margin-bottom: 8px; }
.op { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border-radius: 16px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .14); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.op:has(input:checked) { background: color-mix(in srgb, var(--acento) 18%, transparent); box-shadow: inset 0 0 0 2px var(--acento-cl); }
.op:has(input:focus-visible) { outline: 3px solid #5fd6cf; outline-offset: 3px; }
.op input { display: grid; place-items: center; width: 22px; height: 22px; margin: 0; border: 2px solid rgb(255 255 255 / .5); border-radius: 50%; -webkit-appearance: none; appearance: none; outline: none; }
.op input:checked { border-color: var(--acento-cl); }
.op input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--acento-cl); }
.op-nom { display: grid; gap: 2px; }
.op-nom b { font: 800 16px/1.2 var(--titulos); }
.op-nom small { font-size: 12.5px; color: var(--tenue); }
.op-precio { font: 800 20px/1 var(--titulos); }
.op-no { opacity: .55; cursor: not-allowed; }

/* pago simulado, ficha OXXO y «¡listo!» */
.resumen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / .05); }
.resumen dt, .ficha dt { font: 700 11px/1 var(--texto); letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.resumen dd, .ficha dd { margin-top: 4px; font: 700 15px/1.2 var(--texto); overflow-wrap: anywhere; }
.resumen-total dd { font: 800 24px/1 var(--titulos); color: var(--acento-cl); }
.simulado { display: grid; gap: 10px; padding: 16px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .16); background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .025) 0 10px, transparent 10px 20px); }
.simulado > p:not(.eyebrow) { font-size: 14.5px; color: var(--tenue); }
.acciones { display: grid; gap: 10px; margin-top: 4px; }
@media (min-width: 560px) { .acciones { grid-template-columns: 1fr 1fr; } .acciones .btn-1 { grid-column: 1 / -1; } }
.ficha { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: #fff; color: var(--navy); }
.ficha .eyebrow { color: #8f2f1d; }
.ficha-ref { display: grid; gap: 4px; }
.ficha-ref span { font: 700 11px/1 var(--texto); letter-spacing: .1em; text-transform: uppercase; color: #5c6189; }
.ficha-ref b { font: 800 clamp(22px, 6vw, 28px)/1 ui-monospace, Menlo, monospace; letter-spacing: .02em; }
.ficha dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; }
.ficha dt, .ficha .nota { color: #5c6189; }
.ficha .chip-pendiente { background: #ffece8; color: #8f2f1d; }
.ficha .enlace { justify-self: center; color: var(--navy); }
.barras { display: block; height: 44px; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 7px, transparent 7px 9px, var(--navy) 9px 10px, transparent 10px 13px, var(--navy) 13px 17px, transparent 17px 19px); }
.listo { display: grid; justify-items: center; gap: 10px; text-align: center; }
.listo h3 { margin: 0; }
.listo .pase { margin-top: 8px; animation: sube .7s cubic-bezier(.2, 1.3, .4, 1) .15s both; }
.listo .ctas { justify-content: center; margin-top: 14px; }
.listo-ok { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--teal-cl); color: var(--tinta); animation: brota .6s cubic-bezier(.2, 1.5, .4, 1) both, onda 1.8s ease-out .7s 3; }
.listo-ok .ico { width: 30px; height: 30px; stroke-width: 3; }
.gota { position: absolute; left: 50%; top: 50%; width: 9px; height: 13px; margin: -6px 0 0 -4.5px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: var(--teal-cl); opacity: 0; --a: calc(var(--i) * 45deg); animation: salpica 1s cubic-bezier(.2, .7, .3, 1) .25s both; }
.gota:nth-of-type(3n) { background: #ff7e67; } .gota:nth-of-type(3n + 1) { background: #a5a9d8; }
@keyframes salpica { 0% { opacity: 1; transform: rotate(var(--a)) translateY(-24px) scale(.6); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-74px) scale(1); } }
@keyframes onda { from { box-shadow: 0 0 0 0 rgb(95 214 207 / .7); } to { box-shadow: 0 0 0 20px rgb(95 214 207 / 0); } }
@keyframes sube { from { opacity: 0; transform: translateY(26px) rotate(-3deg) scale(.9); } }

/* ---------- páginas: programa, pase y recuperar ---------- */
.pagina { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 5vw, 56px) 0 clamp(72px, 10vw, 120px); min-height: 70vh; background: linear-gradient(180deg, #070b1e, #0c1433 60%, var(--noche)); }
.pagina > .sec-in { position: relative; z-index: 1; display: grid; gap: 16px; }
.pagina .lead, .pagina .h2 { margin-top: 0; }
.olas-pag { opacity: .55; -webkit-mask: linear-gradient(#000 40%, transparent 92%); mask: linear-gradient(#000 40%, transparent 92%); }
.pagina-pase .sec-in { justify-items: center; text-align: center; }
.pagina-pase .pase { margin-block: 12px; }
.pagina-pase .ctas { justify-content: center; margin-top: 8px; }
.prog { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 900px) { .pagina .prog { grid-template-columns: repeat(3, 1fr); } }
.prog-dia { padding: 16px; border-radius: 22px; background: var(--tarjeta); box-shadow: inset 0 0 0 1px var(--linea); }
.prog-dia h3 { display: inline-block; margin-bottom: 12px; padding: 7px 12px; border-radius: 999px; background: var(--acento-cl); color: var(--tinta); font: 800 14px/1 var(--titulos); letter-spacing: .06em; text-transform: uppercase; }
.prog-dia ol { display: grid; gap: 8px; }
.ses { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; padding: 10px 12px; border-radius: 14px; background: rgb(255 255 255 / .05); box-shadow: inset 3px 0 0 var(--lav-cl); }
.ses-conferencia { box-shadow: inset 3px 0 0 var(--acento-cl); }
.ses-taller { box-shadow: inset 3px 0 0 #ff7e67; }
.ses time { grid-row: span 2; font: 800 16px/1.1 var(--titulos); font-variant-numeric: tabular-nums; }
.ses time small { display: block; margin-top: 3px; font: 600 12px/1 var(--texto); color: var(--tenue); }
.ses b { display: block; font: 700 15px/1.25 var(--texto); }
.ses div span { display: block; margin-top: 3px; font-size: 13px; color: var(--tenue); }
.ses em { font: 700 11px/1 var(--texto); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.recuperar { display: grid; gap: 12px; justify-items: start; padding: 18px; border-radius: 22px; background: var(--tarjeta); box-shadow: inset 0 0 0 1px var(--linea); }
.recuperar .campo { width: 100%; }
.encontrados-caja { display: grid; gap: 10px; }
.encontrados { display: grid; gap: 8px; }
.encontrados li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; border-radius: 18px; background: var(--tarjeta); box-shadow: inset 0 0 0 1px var(--linea); animation: entra .35s both; }
.encontrados div { flex: 1 1 180px; display: grid; gap: 2px; }
.encontrados b { font: 800 17px/1.2 var(--titulos); }
.encontrados span { font-size: 13.5px; color: var(--tenue); }

/* ---------- cierre y pie ---------- */
.cuerda-h, .cuerda-v { display: block; --f: 5px;
  background-image: radial-gradient(circle var(--f) at 50% 50%, #fff 94%, transparent), radial-gradient(circle var(--f) at 50% 50%, #ff7e67 94%, transparent), radial-gradient(circle var(--f) at 50% 50%, var(--acento-cl) 94%, transparent); }
.cuerda-h { height: 12px; background-size: 42px 12px; background-position: 0 0, 14px 0, 28px 0; background-repeat: repeat-x; opacity: .8; }
.sec-cierre { background: var(--noche); text-align: center; }
.cierre { display: grid; justify-items: center; padding: clamp(48px, 8vw, 96px) 0; }
.cierre .ctas { justify-content: center; }
.cierre-comite { margin-top: 28px; font-size: 14.5px; color: var(--tenue); }
.cierre-comite a { display: inline-block; padding: 12px 2px; color: var(--acento-cl); font-weight: 700; }
.pie { border-top: 1px solid var(--linea); background: var(--noche); color: var(--tenue); font-size: 14.5px; }
.pie-in { display: grid; gap: 16px; width: min(1200px, 100% - 2 * var(--margen)); margin-inline: auto; padding: 32px 0 44px; }
.pie img { display: block; width: auto; height: 28px; }
.pie p { display: grid; gap: 2px; }
.pie b { color: #fff; }
.pie nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.pie nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 860px) { .pie-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }

/* ---------- menos movimiento: sin recorrido; los cambios de estado se conservan ---------- */
@media (prefers-reduced-motion: reduce) {
  .olas-mov, .hero-tel .tel, .insc-paso, .listo .pase, .listo-ok, .aviso, .encontrados li { animation: none !important; }
  .gota { display: none; }
}
