/* Pachanga Club · Vestuario (web del cliente) · diseño 2026: limpio y luminoso.
   Marca: Denim #131E29 (acción), Carmesí #CE0D0D (acento), Celeste #6991AF (info). Bethany para los titulares, Circular para todo lo demás.
   En escritorio: columna de marca a la izquierda y el recorrido a la derecha. En móvil: una columna. */
@font-face { font-family: "Bethany Elingston"; src: url("fuentes/BethanyElingston.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Circular Std"; src: url("fuentes/CircularStd-Medium.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

:root {
  --tinta: #131e29; --tinta-2: #3c4752; --gris: #6b7480; --gris-claro: #9aa1a9;
  --fondo: #ffffff; --suave: #f6f6f4; --suave-2: #efefec; --linea: #e8e7e3; --linea-fuerte: #d6d5d0;
  --carmesi: #ce0d0d; --carmesi-suave: #fdecec;
  --celeste: #6991af; --celeste-oscuro: #3f6a8c; --celeste-suave: #edf3f8; --celeste-texto: #2e4a60;
  --ok: #1f8a55; --ok-suave: #e7f6ee; --ok-texto: #17663f;
  --blanco: #ffffff;
  --sombra-1: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --sombra-2: 0 24px 48px -12px rgba(16, 24, 40, .18);
  --anillo: 0 0 0 4px rgba(105, 145, 175, .28);
  --serif: "Bethany Elingston", Georgia, serif;
  --sans: "Circular Std", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --r-grande: 20px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 44px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--tinta); background: var(--fondo); -webkit-font-smoothing: antialiased; min-height: 100dvh; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--anillo); }
a { color: var(--tinta); font-weight: 700; }
p { margin: 0; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: 0; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
::selection { background: var(--celeste-suave); }

/* ── Escena: marca (izquierda, solo escritorio) + recorrido ───── */
.escena { min-height: 100dvh; display: grid; grid-template-columns: 1fr; }
.lado-marca { display: none; }
.pagina { width: 100%; max-width: 520px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding: 0 var(--s5) var(--s6); }
.cabecera { display: flex; justify-content: space-between; align-items: center; height: 72px; position: sticky; top: 0; z-index: 4; background: color-mix(in srgb, var(--fondo) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); margin: 0 calc(-1 * var(--s5)); padding: 0 var(--s5); }
.logo { font-family: var(--serif); font-size: 25px; line-height: 1; color: inherit; text-decoration: none; font-weight: 400; }
.logo span { color: var(--carmesi); }
.cabecera-der { display: flex; align-items: center; gap: var(--s3); font-size: 12.5px; color: var(--gris); letter-spacing: .4px; }
.cabecera-der b { color: var(--tinta); }
.idioma { background: var(--suave); color: var(--tinta-2); border: 0; border-radius: 999px; height: 30px; padding: 0 12px; font-size: 12px; font-weight: 700; }
.idioma:hover { background: var(--suave-2); }
main { display: flex; flex-direction: column; flex: 1; }
main > * { animation: entra .32s cubic-bezier(.2, .8, .2, 1) both; }
main > *:nth-child(2) { animation-delay: .03s; } main > *:nth-child(3) { animation-delay: .06s; } main > *:nth-child(4) { animation-delay: .09s; } main > *:nth-child(5) { animation-delay: .12s; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (min-width: 960px) {
  .escena { grid-template-columns: minmax(380px, 44%) 1fr; }
  .lado-marca { display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; padding: 40px 48px; color: #fff; overflow: hidden;
    background: radial-gradient(700px 420px at 100% 0%, rgba(206, 13, 13, .32), transparent 62%), radial-gradient(640px 520px at 0% 100%, rgba(105, 145, 175, .36), transparent 60%), #131e29; }
  .lado-marca::after { content: ""; position: absolute; right: -160px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 120px rgba(255, 255, 255, .02); pointer-events: none; }
  .lado-marca .logo { font-size: 30px; color: #fff; }
  .lado-marca .cuerpo-marca { margin-top: auto; margin-bottom: auto; display: flex; flex-direction: column; gap: 20px; max-width: 440px; position: relative; z-index: 1; }
  .lado-marca .sobre { font-size: 12px; letter-spacing: 2.4px; color: rgba(255, 255, 255, .6); }
  .lado-marca h1 { font-size: 64px; line-height: .95; color: #fff; }
  .lado-marca p { color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.5; }
  .lado-marca ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .lado-marca li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
  .lado-marca li i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); display: inline-flex; align-items: center; justify-content: center; flex: none; }
  .lado-marca li svg { width: 17px; height: 17px; }
  .lado-marca .pie-marca { font-size: 13px; color: rgba(255, 255, 255, .55); position: relative; z-index: 1; }
  .lado-marca .pie-marca a { color: #fff; font-weight: 600; }
  .pagina { padding: 0 var(--s6) var(--s7); max-width: 560px; }
  .cabecera { margin: 0 calc(-1 * var(--s6)); padding: 0 var(--s6); height: 84px; }
  .cabecera .logo { visibility: hidden; }
  .titulo.grande { margin-top: 12vh !important; }
}

/* ── Pasos ────────────────────────────────────────────────── */
.volver { margin-top: var(--s4); display: flex; }
.atras { height: 36px; border-radius: 999px; border: 1px solid var(--linea); background: var(--blanco); display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 14px 0 10px; font-size: 13px; font-weight: 700; color: var(--tinta-2); transition: background .12s; }
.atras::after { content: "Atrás"; }
.atras:hover { background: var(--suave); }
.atras svg { width: 16px; height: 16px; }
.pasos { margin-top: var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.pasos-barras { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 6px; }
.pasos-barras i { display: block; height: 4px; border-radius: 2px; background: var(--suave-2); position: relative; overflow: hidden; }
.pasos-barras i.hecha { background: var(--tinta); }
.pasos-barras i.hecha:last-of-type { animation: llena .5s ease-out; transform-origin: left; }
@keyframes llena { from { transform: scaleX(0); } to { transform: none; } }
.pasos-nombres { display: flex; justify-content: space-between; font-size: 12px; color: var(--gris-claro); }
.pasos-nombres span.actual { color: var(--tinta); font-weight: 700; }

/* ── Títulos y bloques ────────────────────────────────────── */
.titulo { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.titulo p { font-size: 15.5px; color: var(--gris); line-height: 1.5; }
.titulo p b { color: var(--tinta); }
.titulo.grande { margin-top: var(--s6); gap: var(--s4); }
.titulo.grande h1 { font-size: 52px; line-height: .96; }
.titulo.grande p { font-size: 16.5px; }
.seccion { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.seccion + .seccion { margin-top: var(--s5); }
.etq { font-size: 11.5px; letter-spacing: 1.4px; color: var(--gris); text-transform: uppercase; font-weight: 700; }
.pie-pantalla { margin-top: auto; padding-top: var(--s5); display: flex; flex-direction: column; gap: var(--s2); position: sticky; bottom: 0; padding-bottom: max(var(--s4), env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--fondo) 70%, transparent); z-index: 3; }
.nota { font-size: 12.5px; line-height: 1.45; color: var(--gris); }
.nota.centro { text-align: center; }
.nota a { color: inherit; }

/* ── Campos ───────────────────────────────────────────────── */
.campo { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--tinta-2); font-weight: 600; }
.campo input, .campo select { width: 100%; height: 52px; border: 1px solid var(--linea); border-radius: 12px; background: var(--blanco); padding: 0 var(--s4); font-size: 16px; color: var(--tinta); font-weight: 400; transition: border-color .15s, box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none; }
.campo select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7480' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.campo input::placeholder { color: var(--gris-claro); }
.campo input:hover, .campo select:hover { border-color: var(--linea-fuerte); }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--celeste); box-shadow: var(--anillo); }
.campo input:disabled { color: var(--gris); background: var(--suave); }
.campos { display: flex; flex-direction: column; gap: var(--s4); }
.campos .dos, .dos { display: grid; grid-template-columns: 110px 1fr; gap: var(--s3); }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: 14px; color: var(--tinta-2); line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--tinta); flex: none; }

/* ── Botones ──────────────────────────────────────────────── */
.boton { width: 100%; height: 56px; border: 0; border-radius: 16px; background: var(--tinta); color: var(--blanco); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; transition: transform .08s, background .15s, box-shadow .15s, opacity .15s; box-shadow: 0 8px 20px -8px rgba(19, 30, 41, .55); }
.boton:hover { background: #22303d; }
.boton:active { transform: scale(.985); }
.boton:disabled { background: var(--suave-2); color: var(--gris-claro); box-shadow: none; cursor: default; transform: none; }
.boton.oscuro { background: var(--tinta); }
.boton.blanco { background: var(--blanco); color: var(--tinta); border: 1px solid var(--linea); box-shadow: var(--sombra-1); }
.boton.blanco:hover { background: var(--suave); }
.boton.borde { background: transparent; color: var(--tinta); border: 1px solid var(--linea); box-shadow: none; }
.boton.borde:hover { background: var(--suave); }
.boton svg { width: 18px; height: 18px; transition: transform .15s; }
.boton:hover svg { transform: translateX(2px); }
.enlace-boton { background: none; border: 0; color: var(--gris); font-weight: 700; padding: var(--s3); width: 100%; font-size: 14px; }
.enlace-boton:hover { color: var(--tinta); }
.error { background: var(--carmesi-suave); color: #8a0909; padding: var(--s3) var(--s4); border-radius: 12px; font-size: 14px; line-height: 1.45; margin-top: var(--s4); animation: tiembla .3s; }
@keyframes tiembla { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.aviso { display: flex; gap: var(--s3); align-items: flex-start; background: var(--celeste-suave); color: var(--celeste-texto); border-radius: 14px; padding: 14px var(--s4); font-size: 14px; line-height: 1.45; }
.aviso svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.aviso b { color: inherit; }

/* ── Prendas ──────────────────────────────────────────────── */
.prenda { background: var(--blanco); border-radius: var(--r-grande); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); border: 1px solid var(--linea); box-shadow: var(--sombra-1); cursor: pointer; text-align: left; width: 100%; position: relative; transition: border-color .15s, box-shadow .15s, transform .08s; }
.prenda:hover { border-color: var(--linea-fuerte); box-shadow: 0 10px 24px -12px rgba(16, 24, 40, .22); }
.prenda:active { transform: scale(.995); }
.prenda.elegida { border-color: var(--tinta); box-shadow: 0 0 0 1px var(--tinta), 0 10px 24px -12px rgba(16, 24, 40, .25); }
.prenda.elegida::after { content: ""; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--tinta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; animation: pop .25s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.prenda.quieta { cursor: default; box-shadow: none; }
.prenda.quieta:hover { border-color: var(--linea); box-shadow: none; }
.prenda.quieta::after { display: none; }
.fila { display: flex; gap: var(--s4); align-items: center; }
.fila img, .fila .foto { width: 84px; height: 96px; border-radius: 14px; background: var(--suave); object-fit: contain; flex: none; }
.fila .marco, .hoja-cuerpo .mini .marco { width: 72px; height: 84px; border-radius: 14px; background: var(--suave); overflow: hidden; flex: none; display: block; }
.marco img { width: 100%; height: 100%; object-fit: contain; border: 0; border-radius: 0; background: transparent; mix-blend-mode: multiply; }
.fila .marco.destacada { box-shadow: 0 0 0 2px var(--blanco), 0 0 0 4px var(--ok); }
.fila .texto { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.fila .nombre { font-weight: 700; font-size: 16px; line-height: 1.25; }
.fila .meta { font-size: 14px; color: var(--gris); }
.fila .meta b { color: var(--tinta); }
.fila .flecha { width: 32px; height: 32px; border-radius: 50%; background: var(--suave); color: var(--tinta-2); flex: none; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, transform .15s; }
.fila .flecha svg { width: 16px; height: 16px; }
.prenda:hover .fila .flecha { background: var(--tinta); color: #fff; transform: translateX(2px); }
.union { display: flex; align-items: center; gap: 10px; color: var(--ok); font-size: 13px; font-weight: 700; }
.union::before, .union::after { content: ""; flex: 1; border-top: 1px dashed var(--linea-fuerte); }
.union svg { width: 18px; height: 18px; }
.estado-prenda { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--celeste-texto); background: var(--celeste-suave); border-radius: 999px; padding: 4px 10px; align-self: flex-start; }
.estado-prenda svg { width: 14px; height: 14px; }
.estado-prenda.dev { color: var(--tinta-2); background: var(--suave-2); }

/* ── Cuentas (desglose) ───────────────────────────────────── */
.cuentas { background: var(--suave); border-radius: var(--r-grande); padding: var(--s4) 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.cuentas div { display: flex; justify-content: space-between; gap: var(--s3); }
.cuentas div span:first-child { color: var(--gris); }
.cuentas .total { border-top: 1px solid var(--linea); padding-top: 12px; margin-top: 2px; font-weight: 700; font-size: 17px; }
.cuentas .total span:first-child { color: var(--tinta); }
.cuentas .total .pagar { color: var(--tinta); }
.cuentas .total .cobrar { color: var(--ok); }

/* ── Métodos (envío y reembolso) ──────────────────────────── */
.metodo { display: flex; flex-direction: column; gap: 6px; background: var(--blanco); border: 1px solid var(--linea); border-radius: 18px; padding: 18px; cursor: pointer; text-align: left; width: 100%; position: relative; transition: border-color .15s, box-shadow .15s; box-shadow: var(--sombra-1); }
.metodo:hover { border-color: var(--linea-fuerte); }
.metodo.elegido { border-color: var(--tinta); box-shadow: 0 0 0 1px var(--tinta); }
.metodo .cab { display: flex; align-items: center; gap: var(--s3); font-weight: 700; font-size: 16px; }
.metodo .cab svg { width: 22px; height: 22px; flex: none; padding: 9px; box-sizing: content-box; background: var(--suave); border-radius: 12px; }
.metodo .chip { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--ok-suave); color: var(--ok-texto); margin-left: auto; white-space: nowrap; }
.metodo p { font-size: 13.5px; color: var(--gris); line-height: 1.45; padding-left: 52px; }
.metodo .importe { font-weight: 700; color: var(--tinta); font-size: 18px; }
.metodo.elegido .cab svg { background: var(--tinta); color: #fff; }

/* ── Hoja (móvil: sube desde abajo · escritorio: ventana centrada) ── */
.velo { position: fixed; inset: 0; background: rgba(10, 14, 20, .38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 10; animation: aparece-velo .2s ease-out; }
@keyframes aparece-velo { from { opacity: 0; } to { opacity: 1; } }
.hoja { position: fixed; left: 0; right: 0; bottom: 0; max-height: 92dvh; background: var(--blanco); border-radius: 28px 28px 0 0; z-index: 11; display: flex; flex-direction: column; box-shadow: 0 -20px 60px rgba(0, 0, 0, .22); animation: sube .34s cubic-bezier(.2, .9, .25, 1); }
@keyframes sube { from { transform: translateY(100%); } to { transform: none; } }
.hoja-cab { display: flex; align-items: center; justify-content: space-between; padding: var(--s3) var(--s4) 0; }
.hoja-cab .asa { width: 40px; height: 5px; border-radius: 3px; background: var(--linea); margin: 0 auto; }
.hoja-cab .icono { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--suave); display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: background .12s; }
.hoja-cab .icono:hover { background: var(--suave-2); }
.hoja-cab .icono svg { width: 17px; height: 17px; }
.hoja-cuerpo { overflow: auto; padding: var(--s4) var(--s5) var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.hoja-cuerpo > * { animation: entra .28s cubic-bezier(.2, .8, .2, 1) both; }
.hoja-cuerpo h2 { margin-top: var(--s1); }
.hoja-cuerpo .mini { display: flex; gap: var(--s3); align-items: center; background: var(--suave); border-radius: 16px; padding: 10px; }
.hoja-cuerpo .mini img, .hoja-cuerpo .mini .foto { width: 52px; height: 60px; border-radius: 10px; background: var(--blanco); object-fit: contain; flex: none; }
.hoja-cuerpo .mini .marco { width: 52px; height: 60px; background: var(--blanco); }
.hoja-cuerpo .mini .nombre { font-weight: 700; font-size: 14.5px; }
.hoja-cuerpo .mini .meta { font-size: 13px; color: var(--gris); }
.opcion { display: flex; align-items: center; gap: var(--s4); text-align: left; border: 1px solid var(--linea); border-radius: 18px; background: var(--blanco); color: var(--tinta); padding: 18px; width: 100%; transition: border-color .15s, box-shadow .15s, transform .08s; box-shadow: var(--sombra-1); }
.opcion:hover { border-color: var(--linea-fuerte); box-shadow: 0 10px 24px -12px rgba(16, 24, 40, .22); }
.opcion:active { transform: scale(.99); }
.opcion.principal { background: var(--tinta); color: var(--blanco); border-color: var(--tinta); }
.opcion svg { width: 22px; height: 22px; flex: none; padding: 10px; box-sizing: content-box; border-radius: 14px; background: var(--suave); }
.opcion.principal svg { background: rgba(255, 255, 255, .12); }
.opcion .tx { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.opcion .tx b { font-size: 16px; }
.opcion .tx small { font-size: 13px; color: var(--gris); line-height: 1.4; }
.opcion.principal .tx small { color: rgba(255, 255, 255, .7); }
.opcion .chip { font-size: 11px; font-weight: 700; background: var(--carmesi); color: var(--blanco); padding: 4px 9px; border-radius: 999px; flex: none; letter-spacing: .5px; }
.hero { height: 300px; border-radius: 22px; background: var(--suave); overflow: hidden; position: relative; }
.hero img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.galeria { display: flex; gap: var(--s2); overflow: auto; padding-bottom: var(--s1); scrollbar-width: none; }
.galeria span { width: 58px; height: 64px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; flex: none; cursor: pointer; background: var(--suave); display: block; transition: border-color .12s; }
.galeria span.activa { border-color: var(--tinta); }
.galeria span img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.tallas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); }
.talla { height: 52px; border: 1px solid var(--linea); border-radius: 14px; background: var(--blanco); font-size: 16px; font-weight: 700; color: var(--tinta); transition: background .12s, border-color .12s, transform .08s, color .12s; }
.talla:hover:not(:disabled) { border-color: var(--tinta); }
.talla:active:not(:disabled) { transform: scale(.96); }
.talla.activa { background: var(--tinta); border-color: var(--tinta); color: var(--blanco); }
.talla:disabled { background: var(--suave); border-color: transparent; color: var(--gris-claro); text-decoration: line-through; cursor: default; }
.tallas-pie { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--gris); }
.tallas-pie a { color: var(--celeste-oscuro); font-weight: 600; }
.retencion { background: var(--celeste-suave); border-radius: var(--r-grande); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s3); text-align: center; }
.retencion h2 { font-size: 28px; }
.retencion p { font-size: 14px; color: var(--celeste-texto); }

/* ── Línea de tiempo (pantalla final y seguimiento) ──────── */
.hitos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hitos li { display: flex; gap: var(--s4); }
.hitos .punto { display: flex; flex-direction: column; align-items: center; }
.hitos .punto i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--linea-fuerte); background: var(--blanco); margin-top: 4px; flex: none; }
.hitos .punto i.hecho { background: var(--ok); border-color: var(--ok); }
.hitos .punto i.ahora { background: var(--blanco); border-color: var(--carmesi); box-shadow: 0 0 0 4px var(--carmesi-suave); animation: late 1.8s ease-in-out infinite; }
@keyframes late { 50% { box-shadow: 0 0 0 7px rgba(206, 13, 13, .06); } }
.hitos .punto s { flex: 1; width: 2px; background: var(--linea); border: 0; margin: 4px 0; min-height: 16px; }
.hitos li:last-child .punto s { display: none; }
.hitos .tx { padding-bottom: var(--s5); display: flex; flex-direction: column; gap: 2px; }
.hitos .tx b { font-size: 15px; }
.hitos .tx small { font-size: 13.5px; color: var(--gris); line-height: 1.4; }
.ok-circ { width: 68px; height: 68px; border-radius: 50%; background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--ok-suave); animation: pop .4s cubic-bezier(.2, .9, .3, 1.5); }
.ok-circ svg { width: 32px; height: 32px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: traza .45s .2s ease-out forwards; }
@keyframes traza { to { stroke-dashoffset: 0; } }
.fondo-aros { display: none; }
/* Pantallas finales (antes "oscuras"): ahora claras, con el estado como protagonista */
body.oscuro .titulo .etq { color: var(--gris); }
.tarjeta-seg { background: var(--suave); border-radius: var(--r-grande); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.tarjeta-seg .fila img, .tarjeta-seg .fila .foto, .tarjeta-seg .fila .marco { background: var(--blanco); }

/* ── Entrada en móvil: cabecera de marca (como la columna de escritorio) y el formulario en una hoja blanca ── */
.hechos-movil { display: none; }
@media (max-width: 959px) {
  body.entrada { background: #131e29; }
  body.entrada .pagina { position: relative; overflow: hidden; padding-bottom: 0; background: radial-gradient(420px 300px at 110% -5%, rgba(206, 13, 13, .38), transparent 65%), radial-gradient(380px 320px at -20% 45%, rgba(105, 145, 175, .34), transparent 65%), #131e29; }
  body.entrada .pagina::before { content: ""; position: absolute; right: -120px; top: 60px; width: 300px; height: 300px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .07); box-shadow: 0 0 0 40px rgba(255, 255, 255, .025), 0 0 0 80px rgba(255, 255, 255, .018); pointer-events: none; }
  body.entrada .cabecera { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; position: relative; }
  body.entrada .cabecera .logo { color: #fff; }
  body.entrada .cabecera-der { color: rgba(255, 255, 255, .6); }
  body.entrada .idioma { background: rgba(255, 255, 255, .1); color: #fff; }
  body.entrada .titulo.grande { margin-top: 20px; position: relative; }
  body.entrada .titulo.grande h1 { color: #fff; font-size: 50px; }
  body.entrada .titulo.grande p { color: rgba(255, 255, 255, .72); }
  body.entrada .hechos-movil { display: flex; gap: 8px; list-style: none; margin: 20px calc(-1 * var(--s5)) 0; padding: 0 var(--s5) 2px; overflow-x: auto; scrollbar-width: none; position: relative; }
  body.entrada .hechos-movil::-webkit-scrollbar { display: none; }
  body.entrada .hechos-movil li { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .9); font-size: 13px; white-space: nowrap; }
  body.entrada .hechos-movil svg { width: 15px; height: 15px; opacity: .85; }
  body.entrada #f-entrada { margin: 26px calc(-1 * var(--s5)) 0 !important; background: var(--fondo); border-radius: 28px 28px 0 0; padding: 28px var(--s5) max(28px, env(safe-area-inset-bottom)); flex: 1; box-shadow: 0 -12px 40px rgba(0, 0, 0, .25); position: relative; animation: sube-hoja .45s cubic-bezier(.2, .9, .25, 1) both; }
  @keyframes sube-hoja { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  body.entrada .error { position: relative; }
  body.entrada main { min-height: calc(100dvh - 72px); }
}
@media (min-width: 640px) and (max-width: 959px) {
  .pagina { max-width: 560px; }
}
@media (min-width: 720px) {
  .hoja { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 520px; max-height: 88vh; border-radius: 26px; animation: aparece .26s cubic-bezier(.2, .9, .3, 1.15); }
  @keyframes aparece { from { opacity: 0; transform: translate(-50%, -47%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
  .hoja-cab .asa { visibility: hidden; }
}
@media (max-width: 380px) {
  .tallas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .titulo.grande h1 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
