/* Diseño ligero: solo se animan transform y opacity (compositor), sin blur ni blend. */
:root {
  --noche: #03120d;
  --noche-2: #0a2a21;
  --vidrio: rgba(255, 255, 255, 0.06);
  --borde: rgba(255, 255, 255, 0.12);
  --texto: #f5f7fd;
  --suave: #a7b0c8;
  --oro: #ffd45a;
  --oro-2: #f5b700;
  --rojo: #ff3b52;
  --verde: #25d3a2;
  --radio: 20px;
  --fuente: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 15px; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (min-width: 900px) { html { font-size: 16px; } }
body { margin: 0; font-family: var(--fuente); color: var(--texto); background: var(--noche); line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
.sprite { position: absolute; width: 0; height: 0; }
::selection { background: var(--oro); color: #1b1300; }

/* ---------- Fondo (capas fijas y baratas) ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-color: var(--noche);
  background-image:
    linear-gradient(180deg, rgba(2, 48, 30, .86) 0%, rgba(3, 52, 34, .78) 50%, rgba(2, 40, 26, .84) 100%),
    url('../assets/fondo-navidad.svg');
  background-size: cover; background-position: center bottom; }
.aurora i { display: none; }
#fondo { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
main, .pie, .barra { position: relative; z-index: 2; }

.luces { position: fixed; top: 0; left: 0; right: 0; height: 30px; z-index: 30; pointer-events: none; display: flex; justify-content: space-around; overflow: hidden; }
.luces::before { content: ''; position: absolute; left: -2%; right: -2%; top: -16px; height: 28px; border-bottom: 2px solid rgba(255, 255, 255, .16); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.luces b { display: block; width: 7px; height: 11px; margin-top: 8px; border-radius: 50% 50% 55% 55%; background: currentColor; box-shadow: 0 0 8px 1px currentColor; animation: parpadeo 2.4s ease-in-out infinite; }
.luces b:nth-child(odd) { margin-top: 13px; }
.luces b:nth-child(4n+1) { color: #ff3b52; }
.luces b:nth-child(4n+2) { color: #ffd45a; animation-delay: -.6s; }
.luces b:nth-child(4n+3) { color: #25d3a2; animation-delay: -1.2s; }
.luces b:nth-child(4n) { color: #6db5ff; animation-delay: -1.8s; }
@keyframes parpadeo { 50% { opacity: .3; } }

.scroll-barra { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 40; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--rojo), var(--oro), var(--verde)); }

.ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--oro { color: var(--oro); width: 24px; height: 24px; }

/* ---------- Barra ---------- */
.barra { position: sticky; top: 38px; z-index: 20; margin: 38px auto 0; width: min(calc(100% - 2 * var(--gutter)), 760px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 6px 12px; border-radius: 999px;
  background: rgba(5, 34, 25, .9); border: 1px solid var(--borde); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.barra__marca { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; letter-spacing: .04em; font-size: .9rem; }
.barra__marca img { width: 30px; height: 30px; }
.barra__marca b { color: var(--oro); }
.barra__nav { display: flex; align-items: center; gap: 16px; font-size: .88rem; }
.barra__nav a:not(.boton) { text-decoration: none; color: var(--suave); transition: color .2s; }
.barra__nav a:not(.boton):hover { color: var(--oro); }
@media (max-width: 520px) { .barra__nav a:not(.boton) { display: none; } }

/* ---------- Botones ---------- */
.boton { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 .95rem var(--fuente); text-decoration: none; color: #1b1300; background: linear-gradient(135deg, #ffe08a, var(--oro-2));
  box-shadow: 0 6px 18px rgba(245, 183, 0, .28); transition: transform .2s var(--ease), box-shadow .2s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.boton:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 183, 0, .42); }
.boton:active { transform: scale(.97); }
.boton:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; transform: none; }
.boton--mini { padding: 7px 16px; font-size: .85rem; color: #1b1300 !important; }
.boton--grande { padding: 14px 26px; font-size: 1rem; }
.boton--fantasma { background: var(--vidrio); color: var(--texto); border: 1px solid var(--borde); box-shadow: none; }
.boton--fantasma:hover { box-shadow: none; background: rgba(255, 255, 255, .12); }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero { max-width: 1040px; margin: 0 auto; padding: 28px var(--gutter) 40px; display: grid; justify-items: center; align-content: center; gap: 14px; text-align: center; min-height: calc(100svh - 100px); }
.hero__marco { position: relative; width: min(62vw, 290px); }
.hero__logo { width: 100%; filter: drop-shadow(0 14px 30px rgba(245, 183, 0, .3)); animation: logoEntra 1s var(--ease) both; }
.hero__marco::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .85) 50%, transparent 60%) 220% 0 / 250% 100% no-repeat;
  -webkit-mask: url('../assets/logo.webp') center / contain no-repeat; mask: url('../assets/logo.webp') center / contain no-repeat;
  animation: logoBrillo 9s 1.4s ease-in-out infinite; }
@keyframes logoEntra { from { opacity: 0; transform: scale(.88); } }
@keyframes logoBrillo { 0% { background-position: 220% 0; } 14%, 100% { background-position: -120% 0; } }
.hero__texto { display: grid; justify-items: center; gap: 10px; min-width: 0; }
.hero__sobre { letter-spacing: .36em; text-transform: uppercase; color: var(--oro); font-size: .72rem; font-weight: 600; }
.hero__titulo { font-weight: 800; font-size: clamp(1.9rem, 7vw, 3.1rem); line-height: 1.05; letter-spacing: -.03em; max-width: 16ch; text-wrap: balance; }
.hero__titulo em { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
.hero__titulo em .letra { background: linear-gradient(100deg, #ffe08a, #ff6b7d, #ffd45a, #25d3a2, #ffe08a); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: letra .6s var(--ease) forwards, brillo 8s linear infinite; }
.hero__titulo .palabra { display: inline-block; white-space: nowrap; }
.hero__titulo .letra { display: inline-block; opacity: 0; transform: translateY(.6em); animation: letra .6s var(--ease) forwards; }
.hero__fecha { color: var(--suave); font-size: .98rem; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); justify-items: stretch; align-items: center; text-align: left; gap: clamp(24px, 5vw, 64px); min-height: calc(100svh - 110px); }
  .hero__marco { width: min(100%, 400px); justify-self: center; }
  .hero__texto { justify-items: start; gap: 14px; }
}
@keyframes flota { 50% { transform: translateY(-8px); } }
@keyframes letra { to { opacity: 1; transform: none; } }
@keyframes brillo { to { background-position: -300% 0; } }

.cuenta[hidden] { display: none; }
.cuenta { display: grid; grid-template-columns: repeat(4, minmax(54px, 70px)); gap: 8px; }
.cuenta div { background: var(--vidrio); border: 1px solid var(--borde); border-radius: 14px; padding: 8px 4px; text-align: center; }
.cuenta b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--oro); font-variant-numeric: tabular-nums; line-height: 1.1; }
.cuenta span { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: var(--suave); }

/* ---------- Cinta ---------- */
.cinta { overflow: hidden; padding: 10px 0; border-block: 1px solid var(--borde); background: rgba(255, 255, 255, .03); }
.cinta__pista { display: flex; gap: 24px; width: max-content; animation: cinta 30s linear infinite; font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; will-change: transform; }
.cinta__pista span { color: var(--oro); }
.cinta__pista span:nth-child(even) { color: var(--rojo); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.seccion { max-width: 980px; margin: 0 auto; padding: 56px var(--gutter) 8px; }
.seccion__titulo { text-align: center; font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.1; text-wrap: balance; }
.seccion__sub { text-align: center; color: var(--suave); margin: 8px auto 22px; max-width: 480px; font-size: .95rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radio); padding: 18px; background: var(--vidrio); border: 1px solid var(--borde); min-width: 0; transition: border-color .3s, opacity .6s var(--ease), transform .6s var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 212, 90, .16), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile:hover { border-color: rgba(255, 212, 90, .45); }
.tile h3 { margin: 8px 0 2px; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--suave); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.tile__grande { font-size: clamp(1.05rem, 2.8vw, 1.45rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.tile--fecha { grid-column: span 2; background: linear-gradient(135deg, rgba(255, 59, 82, .2), rgba(255, 255, 255, .04)); }
.tile--hora { grid-column: span 2; }
.tile--lugar { grid-column: span 2; }
.tile--incluye { grid-column: 1 / -1; }
.tile--incluye h3 { margin-top: 0; color: var(--oro); }
.tile--incluye ul { list-style: none; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tile--incluye li { background: rgba(255, 212, 90, .1); border: 1px solid rgba(255, 212, 90, .25); border-radius: 999px; padding: 4px 10px; font-size: .78rem; }
.enlace[hidden] { display: none; }
.enlace { color: var(--oro); font-size: .88rem; display: inline-block; margin-top: 6px; }
@media (max-width: 760px) { .tile--fecha, .tile--hora, .tile--lugar, .tile--incluye { grid-column: 1 / -1; } }

/* ---------- Línea de tiempo ---------- */
.linea { list-style: none; margin-top: 28px; position: relative; }
.linea::before { content: ''; position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--oro), var(--rojo), transparent); transform-origin: top; transform: scaleY(var(--prog, 0)); }
.linea li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.linea li.visible { opacity: 1; transform: none; }
.linea .punto { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--noche-2); border: 2px solid var(--oro); color: var(--oro); transition: transform .3s var(--ease), background .3s; }
.linea li:hover .punto { transform: scale(1.1); background: var(--oro); color: #1b1300; }
.linea .hora { font-weight: 700; color: var(--oro); font-size: .8rem; letter-spacing: .06em; }
.linea h3 { font-size: 1.08rem; letter-spacing: -.02em; }
.linea p { margin-top: 2px; color: var(--suave); font-size: .9rem; }
@media (min-width: 860px) {
  .linea::before { left: 50%; margin-left: -1px; }
  .linea li { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 24px; }
  .linea li > div:last-child { grid-column: 3; grid-row: 1; }
  .linea .punto { grid-column: 2; grid-row: 1; }
  .linea li:nth-child(odd) > div:last-child { grid-column: 1; text-align: right; }
}

/* ---------- Encuesta ---------- */
.encuesta-marco { position: relative; overflow: hidden; max-width: 720px; margin: 0 auto; padding: 2px; border-radius: 26px; isolation: isolate; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.encuesta-marco::before { content: ''; position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; margin: calc(-110% / 1) 0 0 -110%; z-index: -1; background: conic-gradient(var(--rojo), var(--oro), var(--verde), #6db5ff, var(--rojo)); animation: gira 10s linear infinite; will-change: transform; }
@keyframes gira { to { transform: rotate(360deg); } }
.encuesta { border-radius: 24px; background: linear-gradient(180deg, #0c3126, #07231b); padding: clamp(16px, 3.5vw, 26px); min-height: 300px; }
.progreso { display: flex; gap: 4px; margin-bottom: 12px; }
.progreso i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.progreso i.hecho { background: linear-gradient(90deg, var(--oro), var(--rojo)); }
.paso__contador { color: var(--suave); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.paso { animation: entra .35s var(--ease) both; }
.paso--atras { animation-name: entraAtras; }
@keyframes entra { from { opacity: 0; transform: translateX(22px); } }
@keyframes entraAtras { from { opacity: 0; transform: translateX(-22px); } }
.paso__cab { display: flex; gap: 12px; align-items: center; }
.paso__icono { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #1b1300; background: linear-gradient(135deg, #ffe08a, var(--oro-2)); flex: none; }
.paso__icono .ico { width: 22px; height: 22px; }
.paso h3 { font-size: 1.25rem; line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.paso__desc { margin-top: 2px; color: var(--suave); font-size: .9rem; }
.paso__ayuda { display: inline-block; margin: 12px 0 10px; font-size: .75rem; padding: 3px 10px; border-radius: 999px; background: rgba(37, 211, 162, .12); color: var(--verde); border: 1px solid rgba(37, 211, 162, .3); font-weight: 600; }

.opciones { display: grid; gap: 8px; margin-bottom: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.opcion { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; text-align: left; min-height: 46px; padding: 9px 14px; border-radius: 14px; cursor: pointer;
  background: var(--vidrio); border: 1.5px solid var(--borde); color: var(--texto); font: 500 .95rem var(--fuente); transition: border-color .2s, background .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.opcion > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.opcion:hover { border-color: rgba(255, 212, 90, .6); }
.opcion:active { transform: scale(.98); }
.opcion small { display: block; color: var(--suave); font-weight: 400; font-size: .8rem; }
.opcion .marca { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--suave); display: grid; place-items: center; flex: none; transition: background .2s, border-color .2s; color: transparent; }
.multi .opcion .marca { border-radius: 7px; }
.opcion .marca .ico { width: 13px; height: 13px; stroke-width: 3.2; }
.opcion[aria-checked='true'] { border-color: var(--oro); background: rgba(255, 212, 90, .13); }
.opcion[aria-checked='true'] .marca { background: var(--oro); border-color: var(--oro); color: #1b1300; }
.opcion:disabled { opacity: .35; cursor: not-allowed; }

/* Botón que abre la ventana de opciones */
.desplegable { margin-bottom: 16px; }
.desplegable__boton { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; cursor: pointer; background: var(--vidrio); border: 1.5px solid var(--borde); color: var(--texto); font: 600 .95rem var(--fuente); text-align: left; transition: border-color .2s, background .2s; }
.desplegable__boton > span { min-width: 0; overflow-wrap: anywhere; }
.desplegable__boton:hover { border-color: var(--oro); background: rgba(255, 212, 90, .08); }
.desplegable__boton small { display: block; font-weight: 400; color: var(--suave); font-size: .8rem; margin-top: 1px; }
.desplegable__boton .ico { color: var(--oro); transform: rotate(-90deg); }

/* Ventana modal: hoja inferior en celular, diálogo centrado en computadora */
html.modal-abierto { overflow: hidden; }
.modal { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(1, 14, 9, .72); color: var(--texto); align-items: flex-end; justify-content: center; animation: fundido .2s ease both; }
.modal[open] { display: flex; }
.modal__hoja { display: flex; flex-direction: column; width: min(100%, 640px); max-height: 88dvh; background: linear-gradient(180deg, #0d3428, #07231b); border: 1px solid var(--borde); border-bottom: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); animation: sube-hoja .3s var(--ease) both; overflow: hidden; }
.modal__cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 6px; }
.modal__cab h3 { font-size: 1.2rem; letter-spacing: -.02em; font-weight: 800; }
.modal__cab .paso__ayuda { margin: 6px 0 0; }
.modal__x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--borde); background: var(--vidrio); color: var(--texto); cursor: pointer; }
.modal__x:hover { background: rgba(255, 255, 255, .14); }
.modal__buscar { margin: 8px 18px 0; width: calc(100% - 36px); }
.modal__cuerpo { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px; scrollbar-width: thin; scrollbar-color: rgba(255, 212, 90, .4) transparent; }
.modal__cuerpo .opciones { margin-bottom: 0; }
.modal__vacio { color: var(--suave); text-align: center; padding: 18px 0; font-size: .9rem; }
.modal__vacio[hidden] { display: none; }
.modal__cuerpo .otro { margin-top: 12px; }
.modal__pie { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--borde); background: rgba(3, 18, 13, .6); }
.modal__pie .boton { width: 100%; }
.opcion[hidden] { display: none; }
@media (min-width: 700px) {
  .modal { align-items: center; }
  .modal__hoja { max-height: min(80vh, 720px); border-radius: 24px; border-bottom: 1px solid var(--borde); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation-name: aparece-hoja; }
}
@keyframes fundido { from { opacity: 0; } }
@keyframes sube-hoja { from { transform: translateY(60px); opacity: 0; } }
@keyframes aparece-hoja { from { transform: translateY(16px) scale(.97); opacity: 0; } }

/* Contexto de cada pregunta */
.paso__seccion { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #1b1300; background: var(--oro); }
.explica { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 212, 90, .35); color: var(--suave); font-size: .88rem; line-height: 1.45; }
.explica .ico { color: var(--oro); margin-top: 1px; width: 1.1em; height: 1.1em; }
.explica b { color: var(--texto); }

.campo { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--borde); background: rgba(0, 0, 0, .28); color: var(--texto); font: 400 .95rem var(--fuente); transition: border-color .2s, box-shadow .2s; }
.campo::placeholder { color: #7e89a6; }
.campo:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 3px rgba(255, 212, 90, .12); }
.otro { margin-top: 8px; }
.otro[hidden] { display: none; }
.campos { display: grid; gap: 10px; margin-bottom: 16px; }
@media (min-width: 560px) { .campos { grid-template-columns: 1fr 1fr; } }
.etiqueta { display: grid; gap: 5px; font-size: .78rem; color: var(--suave); font-weight: 600; letter-spacing: .04em; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.acciones { display: flex; gap: 8px; justify-content: space-between; }
.acciones .boton { flex: 1; }
.acciones .boton--fantasma { flex: 0 0 auto; }

.resumen { list-style: none; margin: 12px 0 18px; display: grid; gap: 6px; }
.resumen li { display: flex; gap: 10px; padding: 10px 12px; background: var(--vidrio); border-radius: 14px; border: 1px solid var(--borde); min-width: 0; font-size: .92rem; }
.resumen li > div { min-width: 0; overflow-wrap: anywhere; }
.resumen .ico { color: var(--oro); margin-top: 2px; }
.resumen b { display: block; font-size: .72rem; color: var(--suave); font-weight: 500; letter-spacing: .04em; }
.error { margin-bottom: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 59, 82, .14); border: 1px solid rgba(255, 59, 82, .4); color: #ffb3bd; font-size: .9rem; }

.gracias { text-align: center; padding: 4px 0 6px; }
.gracias .sello { width: 68px; height: 68px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ffe08a, var(--oro-2)); color: #1b1300; animation: pop .6s var(--ease); box-shadow: 0 0 0 8px rgba(255, 212, 90, .12); }
.gracias .sello .ico { width: 34px; height: 34px; stroke-width: 3; }
@keyframes pop { from { transform: scale(0); } }
.gracias h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.gracias h3 em { font-family: var(--serif); background: linear-gradient(100deg, #ffe08a, #ff6b7d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gracias p { color: var(--suave); margin-top: 4px; font-size: .92rem; }

.cargando { display: flex; gap: 8px; justify-content: center; padding: 90px 0; }
.cargando span { width: 10px; height: 10px; border-radius: 50%; background: var(--oro); animation: rebota 1s infinite; }
.cargando span:nth-child(2) { animation-delay: .15s; background: var(--rojo); }
.cargando span:nth-child(3) { animation-delay: .3s; background: var(--verde); }
@keyframes rebota { 50% { transform: translateY(-10px); opacity: .5; } }

.seguro { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px auto 0; max-width: 520px; text-align: center; color: var(--suave); font-size: .8rem; }
.pie { text-align: center; padding: 48px 20px calc(32px + env(safe-area-inset-bottom)); color: var(--suave); }
.pie img { margin: 0 auto 8px; width: 48px; height: 48px; opacity: .9; }
.pie p { font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .linea li, .hero__titulo .letra { opacity: 1 !important; transform: none !important; }
}
