@font-face { font-family: 'Outfit'; src: url('/fonts/Outfit-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/fonts/Outfit-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/fonts/Outfit-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  color-scheme: dark;
  --fondo: #0A0D14;
  --superficie: #121722;
  --superficie-alta: #1B2230;
  --linea: #283245;
  --texto: #EEE9E1;
  --suave: #9AA3B2;
  --menta: #2EC497;
  --menta-p: #239E79;
  --menta-sombra: #12302A;
  --pend: #E9C46A;
  --alerta: #F08A8A;
  --alerta-sombra: #3A1C1E;
  --sans: Outfit, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;
  --ancho: 1180px;
  --margen: clamp(16px, 4vw, 48px);
  --rebote: cubic-bezier(.2, .9, .3, 1.25);
  --suave-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--menta); color: var(--fondo); }
:focus-visible { outline: 2px solid var(--menta); outline-offset: 3px; border-radius: 4px; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
p { text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cifra { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.01em; }
.cuadro { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--menta); flex: 0 0 auto; }
.wordmark { display: block; color: var(--texto); height: 26px; width: auto; aspect-ratio: 258.6 / 114.5; }
.saltar { position: absolute; left: 16px; top: -60px; padding: 10px 14px; background: var(--menta); color: var(--fondo); border-radius: 8px; z-index: 50; font-weight: 600; text-decoration: none; }
.saltar:focus { top: 12px; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 10px;
  font-weight: 600; font-size: 17px; text-decoration: none;
  transition: background-color 180ms, color 180ms, border-color 180ms, transform 120ms;
}
.boton:active { transform: scale(.98); }
.boton-menta { background: var(--menta); color: var(--fondo); }
.boton-menta:hover { background: #3fd3a6; }
.boton-linea { border: 1px solid var(--linea); color: var(--texto); }
.boton-linea:hover { border-color: var(--suave); }
.boton-chico { min-height: 40px; padding: 0 16px; font-size: 15px; }
.boton-grande { min-height: 60px; padding: 0 30px; font-size: 19px; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto;
  padding: 16px var(--margen);
  background: color-mix(in srgb, var(--fondo) 86%, transparent);
  backdrop-filter: blur(12px) saturate(1.3);
}
.cabecera-logo { display: block; }
.cabecera-nav { display: none; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.cabecera-nav a { color: var(--suave); text-decoration: none; transition: color 150ms; }
.cabecera-nav a:hover { color: var(--texto); }
.cabecera .boton { margin-left: auto; }
@media (min-width: 820px) { .cabecera-nav { display: flex; } .cabecera .boton { margin-left: 8px; } }

/* ---------- Primera vista ---------- */
.hero {
  max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto;
  padding: clamp(40px, 8vh, 96px) var(--margen) clamp(64px, 10vh, 120px);
  display: grid; gap: 56px; align-items: center;
}
@media (min-width: 980px) { .hero { grid-template-columns: 1.15fr .85fr; min-height: calc(100svh - 72px); align-content: center; } }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: .98; letter-spacing: -0.04em; }
.sin-cambiar { color: var(--suave); }
.hero-sub { margin-top: 28px; max-width: 34ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--suave); }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-promesa { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 16px; color: var(--texto); font-weight: 500; }

/* Las ventas de una noche: llegan pedidos, quedan pagados y el total sube mientras el dueño duerme. */
.hero-pieza { position: relative; justify-self: center; width: min(100%, 420px); margin: 0; }
@media (min-width: 980px) { .hero-pieza { align-self: start; margin-top: 8px; } }

.noche {
  background: var(--superficie); border: 1px solid var(--linea); border-radius: 20px;
  padding: 18px 18px 16px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
  transition: opacity 500ms var(--suave-out);
}
.saliendo .noche { opacity: 0; }
.noche-cabeza { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.noche-titulo { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--suave); }
.noche-vivo { width: 8px; height: 8px; border-radius: 2px; background: var(--menta); }
.animada .noche-vivo { animation: vivo 1.6s infinite ease-in-out; }
@keyframes vivo { 50% { opacity: .3; } }
.noche-hora { white-space: nowrap; font-size: 14px; color: var(--suave); padding: 4px 8px; border-radius: 8px; background: var(--superficie-alta); }
.amanecio .noche-hora { color: var(--menta); background: var(--menta-sombra); }

.noche-total { display: grid; gap: 4px; margin: 18px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--linea); }
.noche-total b { font-size: clamp(34px, 4vw, 44px); line-height: 1.05; color: var(--texto); letter-spacing: -0.03em; }
.noche-total span { font-size: 14px; color: var(--suave); }

/* Los pedidos nuevos entran arriba y empujan a los anteriores hacia abajo. */
.noche-lista {
  list-style: none; display: flex; flex-direction: column;
  height: calc(4 * 62px); overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent);
}
.noche-fila { display: grid; flex: none; overflow: hidden; }
.noche-fila > * { min-height: 0; }
.noche-fila {
  grid-template-columns: auto 1fr auto; align-items: center; column-gap: 12px;
  height: 62px; border-bottom: 1px solid var(--linea);
}
.nf-hora { font-size: 13px; color: var(--suave); min-width: 11ch; white-space: nowrap; }
.nf-texto { display: grid; min-width: 0; line-height: 1.3; }
.nf-texto b { font-weight: 500; font-size: 15px; }
.nf-texto small { font-size: 13px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-der { display: grid; justify-items: end; gap: 4px; }
.nf-der .cifra { font-size: 15px; }
.nf-estado { display: grid; font-size: 12px; font-weight: 500; }
.nf-estado span { grid-area: 1 / 1; justify-self: end; padding: 2px 8px; border-radius: 6px; transition: opacity 300ms var(--suave-out), transform 400ms var(--suave-out); }
.nf-estado span { opacity: 0; transform: translateY(6px); }
.nf-estado span:nth-child(1) { color: var(--suave); background: var(--superficie-alta); }
.nf-estado span:nth-child(2) { color: var(--pend); background: rgba(233, 196, 106, .12); }
.nf-estado span:nth-child(3) { color: var(--menta); background: var(--menta-sombra); }
[data-estado="pedido"] .nf-estado span:nth-child(1),
[data-estado="recibido"] .nf-estado span:nth-child(2),
[data-estado="pagado"] .nf-estado span:nth-child(3) { opacity: 1; transform: none; }
/* De noche el total va "por confirmar"; en la mañana, ya confirmado, se pone menta. */
.noche-total b { transition: color 500ms var(--suave-out); }
.amanecio .noche-total b { color: var(--menta); }

.animada .noche-fila { height: 0; opacity: 0; transform: translateY(-8px); transition: height 450ms var(--suave-out), opacity 300ms var(--suave-out) 250ms, transform 450ms var(--suave-out) 150ms; }
.animada .noche-fila.visible { height: 62px; opacity: 1; transform: none; }

.noche-pie { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--suave); }
.noche-pie .cuadro { margin-top: 5px; }
.amanecio .noche-pie { color: var(--texto); }

@media (max-width: 520px) {
  .noche { padding: 16px 14px 14px; }
  .nf-hora { width: auto; }
}

/* ---------- Secciones comunes ---------- */
section { scroll-margin-top: 80px; }
.dolor, .metodo, .falsos, .encaja, .empezar, .preguntas {
  max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; padding: clamp(72px, 12vh, 140px) var(--margen) 0;
}
h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.035em; }

/* ---------- El problema ---------- */
.dolor-lista { list-style: none; border-top: 1px solid var(--linea); }
.dolor-lista li { border-bottom: 1px solid var(--linea); padding: clamp(20px, 3vw, 32px) 0; display: flex; gap: 20px; align-items: baseline; }
.dolor-lista li::before { content: ''; flex: 0 0 auto; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--suave); transform: translateY(-2px); }
.dolor-lista span { font-size: clamp(24px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 500; color: var(--suave); }
.dolor-cierre { margin-top: 32px; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; font-weight: 500; color: var(--menta); }

/* ---------- El método ---------- */
.metodo-cabeza p { margin-top: 16px; max-width: 46ch; color: var(--suave); font-size: 19px; }
.metodo-cuerpo { margin-top: 56px; display: grid; gap: 48px; }
@media (min-width: 900px) { .metodo-cuerpo { grid-template-columns: 1fr 360px; gap: 80px; } }
.pasos { list-style: none; display: grid; gap: 56px; }
@media (min-width: 900px) { .pasos { gap: 0; padding-bottom: 24vh; } .paso { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; } }
.paso { position: relative; padding-left: 36px; transition: opacity 400ms; }
@media (min-width: 900px) { .paso { opacity: .38; } .paso.activo { opacity: 1; } }
.paso-marca { position: absolute; left: 0; top: 12px; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--linea); transition: background-color 300ms, border-color 300ms; }
.paso.activo .paso-marca, .paso:not(:only-child) .paso-marca { border-color: var(--suave); }
.paso.activo .paso-marca { background: var(--menta); border-color: var(--menta); }
.paso h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -0.025em; }
.paso p { margin-top: 14px; max-width: 44ch; color: var(--suave); font-size: 19px; line-height: 1.55; }
.paso-pantalla:empty { display: none; }
.paso-pantalla { margin-top: 24px; }
.paso-pantalla .pantalla { position: static; opacity: 1; transform: none; border: 1px solid var(--linea); border-radius: 22px; max-width: 360px; min-height: 0; }

.telefono-zona { display: none; }
@media (min-width: 900px) {
  .telefono-zona { display: block; position: sticky; top: max(84px, calc(50vh - 340px * var(--escala, 1) + 30px)); align-self: start; height: max-content; margin-top: 8vh; margin-bottom: 8vh; }
  .telefono { zoom: var(--escala, 1); }
}
.telefono {
  position: relative; width: 340px; height: 640px; border-radius: 44px;
  background: var(--superficie); border: 10px solid #1B2230;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--linea);
  overflow: hidden;
}
.telefono-notch { position: absolute; z-index: 2; top: 10px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #05070b; }
.pantallas { position: relative; height: 100%; }
.pantalla {
  position: absolute; inset: 0; padding: 48px 14px 18px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--fondo); font-size: 15px; line-height: 21px;
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity 450ms var(--suave-out), transform 450ms var(--suave-out);
}
.pantalla.activa { opacity: 1; transform: none; }
.nota-ejemplo { margin-top: 14px; font-size: 13px; color: var(--suave); text-align: center; }

/* chat */
.pantalla-chat { padding-top: 44px; gap: 0; }
.chat-cabeza { display: flex; align-items: center; gap: 10px; padding: 8px 6px 12px; border-bottom: 1px solid var(--linea); }
.chat-cabeza b { display: block; font-size: 15px; }
.chat-cabeza small { color: var(--suave); font-size: 12px; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--superficie-alta); display: grid; place-items: center; font-weight: 600; }
.chat-cuerpo { display: flex; flex-direction: column; gap: 10px; padding: 14px 2px; }
.burbuja { max-width: 88%; padding: 9px 12px; border-radius: 14px; }
.burbuja.cliente { align-self: flex-start; background: var(--superficie-alta); border-top-left-radius: 4px; }
.burbuja.negocio { align-self: flex-end; background: var(--menta-sombra); border-top-right-radius: 4px; display: grid; gap: 4px; }
.linea-item, .linea-total { display: flex; justify-content: space-between; gap: 10px; }
.linea-item { color: var(--suave); }
.linea-total { padding-top: 6px; margin-top: 2px; border-top: 1px solid rgba(46, 196, 151, .25); font-weight: 600; }
.linea-total .cifra { color: var(--menta); }
.chico { font-size: 13px; color: var(--suave); margin-top: 4px; }
.burbuja-imagen { padding: 6px; }
.mini-recibo { width: 172px; padding: 14px; border-radius: 10px; background: #f3f1ec; color: #2b2134; display: grid; gap: 2px; font-size: 12px; line-height: 16px; }
.mini-ok { color: #13704F; font-weight: 600; margin-bottom: 6px; }
.mini-lab { color: #6b6474; margin-top: 4px; }
.mini-monto { font-size: 16px; color: #1d1626; }
.lectura { align-self: stretch; display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--linea); }
.lectura-titulo { font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--suave); }
.chk { position: relative; padding-left: 24px; }
.chk::before { content: ''; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 4px; background: var(--menta-sombra); }
.chk::after { content: ''; position: absolute; left: 5px; top: 5px; width: 6px; height: 9px; border: solid var(--menta); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* panel */
.panel-cabeza { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 4px 10px; border-bottom: 1px solid var(--linea); }
.wordmark.mini { height: 18px; }
.panel-cabeza small { color: var(--suave); font-size: 12px; }
.panel-titulo { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.02em; padding: 4px 2px; }
.menta { color: var(--menta); }
.tarjeta-rev { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--superficie); border: 1px solid var(--linea); }
.rev-fila { display: flex; justify-content: space-between; align-items: center; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.tag-ok { background: var(--menta-sombra); color: var(--menta); }
.rev-montos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rev-montos > div { background: var(--superficie-alta); border-radius: 10px; padding: 8px 10px; display: grid; }
.rev-montos small { color: var(--suave); font-size: 12px; }
.rev-montos .cifra { font-size: 17px; }
.boton-falso { margin-top: 4px; display: grid; place-items: center; height: 44px; border-radius: 10px; background: var(--menta); color: var(--fondo); font-weight: 600; }
.pantalla-panel.activa .boton-falso { animation: toque 2.6s 900ms var(--suave-out) both; }
@keyframes toque { 0%, 30% { transform: none; } 36% { transform: scale(.96); background: var(--menta-p); } 44%, 100% { transform: none; } }
.aviso-falso { padding: 10px 12px; border-radius: 10px; background: var(--menta-sombra); color: var(--menta); font-weight: 500; opacity: 0; transform: translateY(6px); }
.pantalla-panel.activa .aviso-falso { animation: aparece 500ms 2s var(--suave-out) forwards; }
@keyframes aparece { to { opacity: 1; transform: none; } }
.mini-barras { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 120px; padding: 12px; background: var(--superficie); border: 1px solid var(--linea); border-radius: 14px; }
.mini-barras i { display: block; height: var(--h); border-radius: 3px 3px 0 0; background: var(--texto); opacity: .85; transform-origin: bottom; }
.mini-barras i.hoy { background: var(--menta); opacity: 1; }
.pantalla.activa .mini-barras i { animation: crece 700ms var(--suave-out) both; }
.pantalla.activa .mini-barras i:nth-child(2) { animation-delay: 60ms; }
.pantalla.activa .mini-barras i:nth-child(3) { animation-delay: 120ms; }
.pantalla.activa .mini-barras i:nth-child(4) { animation-delay: 180ms; }
.pantalla.activa .mini-barras i:nth-child(5) { animation-delay: 240ms; }
.pantalla.activa .mini-barras i:nth-child(6) { animation-delay: 300ms; }
.pantalla.activa .mini-barras i:nth-child(7) { animation-delay: 360ms; }
@keyframes crece { from { transform: scaleY(0); } }
.mini-cifras { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--linea); border-radius: 14px; overflow: hidden; background: var(--superficie); }
.mini-cifras div { padding: 10px 12px; border-top: 1px solid var(--linea); border-left: 1px solid var(--linea); margin: -1px 0 0 -1px; }
.mini-cifras dt { color: var(--suave); font-size: 12px; }
.mini-cifras dd { font-size: 16px; }
.mini-cifras .pend { color: var(--pend); }

/* ---------- Comprobantes falsos ---------- */
.falsos { display: grid; gap: 48px; }
@media (min-width: 900px) { .falsos { grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; } }
.falsos-texto p { margin-top: 20px; max-width: 48ch; color: var(--suave); font-size: 19px; line-height: 1.55; }
.falsos-texto p:first-of-type { color: var(--texto); }
.revision { list-style: none; display: grid; gap: 2px; background: var(--linea); border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; }
.revision li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--superficie); }
.revision b { display: block; font-weight: 600; font-size: 17px; }
.revision small { color: var(--suave); font-size: 15px; line-height: 20px; }
.rv-icono { position: relative; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 6px; }
.rv-icono.ok { background: var(--menta-sombra); }
.rv-icono.ok::after { content: ''; position: absolute; left: 10px; top: 6px; width: 7px; height: 12px; border: solid var(--menta); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.rv-icono.alerta { background: var(--alerta-sombra); }
.rv-icono.alerta::before, .rv-icono.alerta::after { content: ''; position: absolute; left: 13px; top: 7px; width: 2.5px; height: 14px; background: var(--alerta); border-radius: 2px; transform: rotate(45deg); }
.rv-icono.alerta::after { transform: rotate(-45deg); }
.rv-icono.tu { background: var(--menta); }
.rv-icono.tu::after { content: ''; position: absolute; inset: 9px; border-radius: 2px; background: var(--fondo); }

/* ---------- Encaja ---------- */
.encaja { text-align: center; }
.encaja > p { margin: 16px auto 0; max-width: 46ch; color: var(--suave); font-size: 19px; }
.herramientas { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.herramientas li { padding: 14px 20px; border-radius: 10px; background: var(--superficie); border: 1px solid var(--linea); font-weight: 500; font-size: 17px; }
.herramientas .pieza-aptia { display: inline-flex; align-items: center; gap: 10px; border-color: var(--menta); color: var(--texto); background: var(--menta-sombra); }

/* ---------- Cómo empezamos ---------- */
.empezar-lista { list-style: none; counter-reset: n; margin-top: 40px; display: grid; gap: 2px; background: var(--linea); border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; }
@media (min-width: 900px) { .empezar-lista { grid-template-columns: repeat(3, 1fr); } }
.empezar-lista li { counter-increment: n; background: var(--fondo); padding: 28px 24px 32px; color: var(--suave); font-size: 17px; line-height: 1.55; }
.empezar-lista li::before { content: counter(n); display: block; font-family: var(--mono); font-size: 14px; color: var(--menta); margin-bottom: 28px; }
.empezar-lista b { display: block; color: var(--texto); font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 10px; font-weight: 600; }

/* ---------- Preguntas ---------- */
.preguntas h2 { margin-bottom: 24px; }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas details:first-of-type { border-top: 1px solid var(--linea); }
.preguntas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: clamp(19px, 1.8vw, 23px); font-weight: 500; letter-spacing: -0.01em; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ''; flex: 0 0 auto; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--suave); transition: background-color 200ms, border-color 200ms, transform 300ms var(--rebote); }
.preguntas details[open] summary::after { background: var(--menta); border-color: var(--menta); transform: rotate(90deg); }
.preguntas details p { padding: 0 0 24px; max-width: 62ch; color: var(--suave); font-size: 18px; line-height: 1.6; }

/* ---------- Cierre ---------- */
.cierre {
  position: relative; overflow: hidden;
  max-width: calc(var(--ancho) + 2 * var(--margen)); margin: clamp(96px, 14vh, 160px) auto 0;
  padding: clamp(72px, 12vh, 140px) var(--margen); text-align: center;
}
.cierre h2 { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.cierre p { margin: 20px auto 36px; max-width: 40ch; color: var(--suave); font-size: 20px; }

/* ---------- Pie ---------- */
.pie { max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; padding: 48px var(--margen) calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); display: grid; gap: 10px; color: var(--suave); font-size: 15px; }
.pie .wordmark { height: 22px; }
.pie-chico { font-size: 13px; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}

/* ---------- Páginas legales ---------- */
.legal { max-width: calc(720px + 2 * var(--margen)); margin: 0 auto; padding: clamp(32px, 6vh, 64px) var(--margen) 72px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.035em; }
.legal-fecha { margin-top: 12px; color: var(--suave); font-size: 15px; }
.legal h2 { margin-top: 40px; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.legal h3 { margin-top: 20px; font-size: 18px; font-weight: 600; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--texto); }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 12px; padding-left: 22px; display: grid; gap: 8px; }
.legal li::marker { color: var(--menta); }
.legal a, .pie a { color: var(--menta); }
