/* Sitio de ventas de Milo (milovende.com): inicio y /como-funciona/.
   Diseño: lienzo "milovende.com · computadora / celular / cómo funciona".
   Las páginas legales y de confirmación siguen con estilos.css. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fuentes/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fuentes/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fuentes/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fuentes/IBMPlexMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --marino: #123A6B;
  --marino-2: #1E4E8C;
  --marino-nav: rgba(36, 94, 166, 0.82);
  --azul: #5DA3E6;
  --primario: #1E64B4;
  --miel: #FFB547;
  --salmon: #F2A49A;
  --salmon-suave: #FDE2DE;
  --crema: #FDF3DC;
  --crema-2: #F7E7C6;
  --fondo: #EEF3F8;
  --gris: #4A6585;
  --guia: #8AA2BF;
  --claro: #B9D6F3;
  --clarito: #DCEBFA;
  --pie: #0B2547;
  --marco: #0B1E38;
  --exito-suave: #DCFCE7;
  --exito: #15803D;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--marino);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--primario); }
a:hover { color: var(--marino); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--miel); outline-offset: 3px; }
.solo-lector {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.h1 { font-size: 76px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: 46px; line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.h3 { font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.texto { font-size: 18px; line-height: 1.55; color: var(--gris); }
.marino { background-color: var(--marino); color: #FFFFFF; }
.marino .texto { color: var(--claro); }
.puntos {
  background-image: radial-gradient(rgba(185, 214, 243, 0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 28px; border-radius: 999px;
  background: var(--miel); color: var(--marino);
  font: 700 17px/1 var(--sans); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { color: var(--marino); background: #FFC266; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 181, 71, 0.35); }
.btn svg { flex-shrink: 0; }
.btn-chico { height: 48px; padding: 0 20px; font-size: 15px; }
.btn-linea {
  display: inline-flex; align-items: center; height: 58px; padding: 0 24px; border-radius: 999px;
  border: 1.5px solid var(--azul); color: #FFFFFF; font: 600 16px/1 var(--sans); text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.btn-linea:hover { color: #FFFFFF; background: rgba(93, 163, 230, 0.16); transform: translateY(-2px); }

/* ---------- Barra de navegación flotante ---------- */
.nav { position: sticky; top: 16px; z-index: 50; height: 0; }
.nav-caja { max-width: 1380px; margin: 0 auto; padding: 16px 24px 0; }
.nav-pildora {
  height: 72px; padding: 0 12px 0 16px; border-radius: 999px;
  background: var(--marino-nav); border: 1px solid rgba(185, 214, 243, 0.28);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(5, 18, 38, 0.35);
  display: flex; align-items: center; gap: 12px;
}
.nav-marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #FFFFFF; }
.nav-marca:hover { color: #FFFFFF; }
.logo {
  width: 42px; height: 42px; border-radius: 50%; background: var(--crema);
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.logo img { width: 38px; height: 42px; }
.nav-nombre { font-size: 22px; font-weight: 800; }
.nav-espacio { flex: 1; }
.nav-ligas { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
.nav-ligas a { color: var(--clarito); text-decoration: none; }
.nav-ligas a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 6px; }
.nav-demo { margin-left: 14px; }

/* ---------- Etiquetas y títulos de sección ---------- */
.etiqueta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: var(--marino-2); color: var(--clarito);
  font-size: 14px; font-weight: 600;
}
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--salmon); flex-shrink: 0; }
.antetitulo {
  font: 700 14px/1.2 var(--mono); color: var(--primario); letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase;
}
.antetitulo::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: var(--salmon); flex-shrink: 0; }
.marino .antetitulo { color: var(--claro); }

/* ---------- Ticket ---------- */
.ticket { position: relative; }
.ticket-papel {
  position: relative; z-index: 3; background: #FFFFFF; color: var(--marino);
  font-family: var(--mono); display: flex; flex-direction: column;
}
.dentado {
  position: relative; z-index: 3; height: 10px; background: #FFFFFF;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 20px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 20px 100%;
}
.dentado-arriba { transform: scaleY(-1); }
.raya { border-top: 2px dashed var(--marino); }
.renglon { display: flex; gap: 8px; align-items: baseline; }
.renglon > .guia { flex: 1; border-bottom: 2px dotted var(--guia); transform: translateY(-4px); min-width: 12px; }
.renglon .si { color: var(--primario); font-weight: 700; }
/* La ✓ de IBM Plex Mono parece una "v": la palomita sale de la letra del sistema. */
.palomita { font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", system-ui, sans-serif; font-weight: 700; }
.par { display: flex; justify-content: space-between; gap: 12px; }
.codigo-barras {
  height: 44px; width: 150px; align-self: center;
  background: repeating-linear-gradient(90deg,
    var(--marino) 0 3px, transparent 3px 6px, var(--marino) 6px 7px, transparent 7px 9px,
    var(--marino) 9px 11px, transparent 11px 13px, var(--marino) 13px 14px, transparent 14px 17px,
    var(--marino) 17px 20px, transparent 20px 22px, var(--marino) 22px 23px, transparent 23px 26px);
}

/* ---------- Marcos de dispositivo ---------- */
.tablet {
  padding: 12px; border-radius: 30px; background: var(--marco);
  box-shadow: 0 30px 60px rgba(8, 24, 48, 0.35);
}
.tablet img { display: block; width: 100%; height: auto; border-radius: 18px; }
.iphone {
  position: relative; padding: 9px; border-radius: 50px; background: #0A0C10;
  border: 2px solid #3A4250; box-shadow: 0 30px 60px rgba(8, 24, 48, 0.35), inset 0 0 0 2px #1C222B;
}
.iphone::before, .iphone::after, .iphone .boton {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #3A4250;
}
.iphone::before { left: -5px; top: 110px; height: 30px; }
.iphone::after { left: -5px; top: 156px; height: 50px; }
.iphone .boton { right: -5px; top: 140px; height: 70px; }
.iphone-pantalla { position: relative; border-radius: 41px; overflow: hidden; }
.iphone-pantalla img { display: block; width: 100%; height: auto; }
.iphone-pantalla::after {
  content: ""; position: absolute; top: 9px; left: 50%; margin-left: -42px;
  width: 84px; height: 25px; border-radius: 13px; background: #000000;
}

/* ---------- Movimiento ---------- */
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.flota { animation: flotar 6s ease-in-out infinite; }
.flota2 { animation: flotar 7s ease-in-out infinite; animation-delay: -2s; }
.flota3 { animation: flotar 8s ease-in-out infinite; animation-delay: -4s; }
@keyframes mecer { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.mece { animation: mecer 5s ease-in-out infinite; transform-box: fill-box; transform-origin: top center; }
@keyframes imprimir { 0% { transform: translateY(48px); } 100% { transform: translateY(0); } }
.imprime { animation: imprimir 2.4s ease-out infinite alternate; }
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(18, 58, 107, 0.14); }

/* Milo saludando, con las capas de la app (assets/milo/capas): la patita
   saluda dos veces en 1.2 s cada 4.5 s, la cola se mece ±6° (2.4 s) y
   parpadea. Mismos centros de giro que MiloAnimado. */
.milo-hola .cola { transform-box: view-box; transform-origin: 150px 452px; animation: cola 2.4s ease-in-out infinite alternate; }
.milo-hola .patita { transform-box: view-box; transform-origin: 232px 380px; animation: saludo 4.5s ease-in-out infinite; }
.milo-hola .ojos-cerrados { opacity: 0; animation: parpadeo-cerrados 5.2s infinite; }
.milo-hola .ojos-abiertos { animation: parpadeo-abiertos 5.2s infinite; }
.milo-hola.otro-ritmo .patita { animation-delay: -2.2s; }
.milo-hola.otro-ritmo .ojos-cerrados, .milo-hola.otro-ritmo .ojos-abiertos { animation-delay: -3s; }
@keyframes cola { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes saludo {
  0%, 26.7%, 100% { transform: rotate(0); }
  6.7%, 20% { transform: rotate(-20deg); }
  13.3% { transform: rotate(0); }
}
@keyframes parpadeo-abiertos { 0%, 95.9% { opacity: 1; } 96%, 98.3% { opacity: 0; } 98.4%, 100% { opacity: 1; } }
@keyframes parpadeo-cerrados { 0%, 95.9% { opacity: 0; } 96%, 98.3% { opacity: 1; } 98.4%, 100% { opacity: 0; } }

/* Aparecer y subir al hacer scroll (solo con JavaScript; sitio.js). */
.js .revela { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .revela.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flota, .flota2, .flota3, .mece, .imprime,
  .milo-hola .cola, .milo-hola .patita, .milo-hola .ojos-abiertos, .milo-hola .ojos-cerrados { animation: none; }
  .milo-hola .ojos-cerrados { opacity: 0; }
  .lift, .btn, .btn-linea { transition: none; }
  .lift:hover, .btn:hover, .btn-linea:hover { transform: none; }
  .js .revela { opacity: 1; transform: none; transition: none; }
}

/* ---------- Portada ---------- */
.portada { position: relative; overflow: hidden; padding: 170px 0 120px; }
.portada-grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 56px; align-items: center; }
.portada-texto { display: flex; flex-direction: column; gap: 26px; }
.portada-texto .h1 em { font-style: normal; color: var(--miel); }
.portada-texto .texto { font-size: 20px; max-width: 540px; }
.botones { display: flex; gap: 14px; flex-wrap: wrap; }
.portada-nota { font-size: 15px; color: var(--claro); }
.portada-ticket { padding-top: 90px; }
.recibo-rot { transform: rotate(3deg); }
.recibo-grande { width: 500px; max-width: 100%; }
.recibo-grande .ticket-papel { padding: 34px 36px 26px; font-size: 16px; gap: 13px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.ticket-encabezado { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.ticket-encabezado strong { font: 800 30px/1.1 var(--sans); }
.ticket-encabezado span, .ticket-pie { font-size: 13px; color: var(--gris); }
.ticket-pie { text-align: center; }
.total { font-weight: 700; font-size: 19px; }
.tenue { color: var(--gris); }
.milo-asoma { position: absolute; top: -96px; right: 34px; z-index: 2; width: 150px; height: 188px; }
.onda { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; display: block; }

/* ---------- Así se ve Milo ---------- */
.muestra { background: var(--fondo); padding: 72px 0 100px; overflow: hidden; }
.muestra .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.muestra .h2 { max-width: 760px; }
.muestra .texto { max-width: 600px; }
.muestra-escena { position: relative; margin-top: 36px; display: flex; justify-content: center; width: 100%; }
.muestra-tablet { width: 860px; max-width: 100%; }
.muestra-celular { position: absolute; right: -10px; bottom: -60px; width: 230px; }
.chip {
  position: absolute; background: #FFFFFF; border-radius: 18px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 16px 30px rgba(18, 58, 107, 0.2); text-align: left;
}
.chip-icono { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chip-textos { display: flex; flex-direction: column; }
.chip-textos small { font-size: 12px; color: var(--gris); }
.chip-textos strong { font-size: 16px; font-weight: 800; }
.chip-venta { left: -20px; top: 60px; }
.chip-venta .chip-icono { background: var(--exito-suave); }
.chip-fiado { left: 40px; bottom: -30px; }
.chip-fiado .chip-icono { background: var(--salmon-suave); }
.chip-fiado strong { font-size: 15px; }

/* ---------- Beneficios ---------- */
.beneficios { padding: 100px 0; }
.beneficios .wrap { display: flex; flex-direction: column; gap: 96px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.inv > :first-child { order: 2; }
.beneficio-texto { display: flex; flex-direction: column; gap: 16px; }
.beneficio-texto .texto { max-width: 480px; }
.encabezado-ticket { font: 700 15px/1.3 var(--mono); max-width: 460px; }
.centrado { display: flex; justify-content: center; }
.tablet-media { width: 560px; max-width: 100%; }

/* ---------- Tu tiendita ---------- */
.tiendita { background: var(--crema); padding: 100px 0; overflow: hidden; }
.tiendita-texto { display: flex; flex-direction: column; gap: 20px; }
.marcatextos { background: linear-gradient(transparent 58%, var(--miel) 58%); padding: 0 6px; }
.pasos { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.paso-tarjeta { background: #FFFFFF; border-radius: 22px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.numero {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--salmon);
  color: var(--marino); font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.paso-tarjeta h3 { font-size: 18px; font-weight: 700; }
.paso-tarjeta p { font-size: 15px; line-height: 1.5; color: var(--gris); margin-top: 4px; }
.mostrador { width: 100%; max-width: 680px; height: auto; display: block; }

/* ---------- Sin internet ---------- */
.sin-internet { padding: 100px 0; overflow: hidden; }
.sin-internet-texto { display: flex; flex-direction: column; gap: 18px; }
.aviso-tranquilo {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px;
  background: var(--marino-2); max-width: 460px; font-size: 15px; font-weight: 600; color: var(--clarito);
}
.aviso-tranquilo .cara {
  width: 52px; height: 52px; border-radius: 16px; background: var(--crema); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.aviso-tranquilo .cara img { width: 48px; height: 52px; }
.sin-internet-media { display: flex; justify-content: center; gap: 24px; align-items: flex-end; }
.celular-grande { width: 260px; }
.milo-dormido { width: 170px; height: 212px; margin-bottom: -10px; }

/* ---------- Equipo ---------- */
.equipo { padding: 96px 0; }
.equipo-texto { display: flex; flex-direction: column; gap: 16px; }
.nota { font-size: 13px; color: var(--gris); }
.recibo-equipo { width: 420px; max-width: 100%; transform: rotate(-2deg); margin-top: 120px; }
.recibo-equipo .ticket-papel, .recibo-equipo .dentado { background: var(--fondo); }
.recibo-equipo .ticket-papel { padding: 28px 30px; font-size: 15px; gap: 14px; }
.recibo-equipo .titulo-ticket { text-align: center; font-weight: 700; font-size: 17px; }
.milo-tablet { position: absolute; top: -150px; left: 50%; margin-left: -80px; width: 160px; height: 200px; z-index: 2; }

/* ---------- Preguntas ---------- */
.preguntas { background: var(--fondo); padding: 100px 0; }
.preguntas .wrap { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.preguntas .h2 { text-align: center; }
.recibo-preguntas { width: 760px; max-width: 100%; }
.recibo-preguntas .ticket-papel { padding: 22px 36px 18px; font-family: var(--sans); box-shadow: 0 20px 40px rgba(18, 58, 107, 0.1); }
.recibo-preguntas .dentado { filter: drop-shadow(0 20px 20px rgba(18, 58, 107, 0.06)); }
.pregunta { border-bottom: 2px dashed #C9D6E6; }
.pregunta:last-child { border-bottom: 0; }
.pregunta summary {
  list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; gap: 12px;
  font: 700 16px/1.4 var(--mono);
}
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: "+"; color: var(--primario); font-weight: 700; transition: transform .2s ease; }
.pregunta[open] summary::after { content: "−"; }
.pregunta summary:hover { color: var(--primario); }
.pregunta p { font-size: 15px; line-height: 1.5; color: var(--gris); padding: 0 0 18px; margin-top: -6px; }

/* ---------- Cierre ---------- */
.cierre { padding: 160px 0 90px; }
.cierre .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.recibo-cierre { width: 440px; max-width: 100%; }
.recibo-cierre .ticket-papel { padding: 30px; gap: 12px; margin-top: 70px; text-align: left; }
.recibo-cierre .total { font-size: 20px; }
.recibo-cierre .codigo-barras { height: 36px; }
.milo-festeja { position: absolute; top: -150px; left: 50%; margin-left: -85px; width: 170px; height: 212px; z-index: 2; }
.cierre .h2 { margin-top: 12px; }

/* ---------- Pie ---------- */
.pie { background: var(--pie); padding: 36px 0; }
.pie .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--claro); font-size: 14px; }
.pie-marca { font-weight: 800; color: #FFFFFF; font-size: 18px; }
.pie a { color: var(--claro); }
.pie a:hover { color: #FFFFFF; }
.redes { display: flex; gap: 10px; margin-left: 8px; }
.red {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(185, 214, 243, 0.14);
  display: flex; align-items: center; justify-content: center;
}
.red:hover { background: rgba(185, 214, 243, 0.26); }
.red-wa { background: var(--miel); }
.red-wa:hover { background: #FFC266; }

/* WhatsApp fijo (solo celular). */
.wa-fija {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--miel);
  align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* ---------- Cómo funciona ---------- */
.cf-portada { position: relative; padding: 160px 0 80px; }
.cf-portada .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.cf-portada .h1 { max-width: 880px; }
.cf-portada .texto { font-size: 19px; max-width: 600px; }
.cf-demo { background: var(--fondo); padding: 56px 0 100px; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.demo-tablet {
  width: 100%; max-width: 760px; padding: 14px; border-radius: 34px; background: var(--marco);
  box-shadow: 0 30px 60px rgba(8, 24, 48, 0.4);
}
.demo-pantalla { position: relative; width: 100%; aspect-ratio: 1600 / 1000; border-radius: 22px; overflow: hidden; background: var(--fondo); }
.escena { position: absolute; inset: 0; opacity: 0; animation: escena 16s infinite both; }
.escena img { display: block; width: 100%; height: 100%; }
.e2 { animation-delay: 4s; } .e3 { animation-delay: 8s; } .e4 { animation-delay: 12s; }
@keyframes escena { 0% { opacity: 0; } 3% { opacity: 1; } 22% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
.toque {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(93, 163, 230, 0.85); box-shadow: 0 0 0 3px #FFFFFF;
  animation: toque 1.4s ease-out infinite;
}
@keyframes toque { 0% { transform: scale(0.4); opacity: 0.75; } 100% { transform: scale(2.4); opacity: 0; } }
.demo-pasos { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.demo-paso { border-radius: 22px; padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; animation: paso 16s infinite both; }
.p2 { animation-delay: 4s; } .p3 { animation-delay: 8s; } .p4 { animation-delay: 12s; }
@keyframes paso {
  0%, 24% { background: #FFFFFF; box-shadow: 0 14px 30px rgba(18, 58, 107, 0.14); }
  25%, 100% { background: transparent; box-shadow: none; }
}
.demo-paso-cuerpo { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.demo-paso-cuerpo .renglon { font: 700 15px/1.3 var(--mono); }
.demo-paso-cuerpo p { font-size: 15px; line-height: 1.5; color: var(--gris); }
.progreso { height: 4px; border-radius: 2px; background: #D5DFEB; overflow: hidden; }
.barra { height: 4px; border-radius: 2px; background: var(--primario); width: 0; animation: barra 16s infinite both linear; }
.b2 { animation-delay: 4s; } .b3 { animation-delay: 8s; } .b4 { animation-delay: 12s; }
@keyframes barra { 0% { width: 0; } 24% { width: 100%; } 25%, 100% { width: 0; } }
.ademas { padding: 96px 0; }
.ademas .wrap { display: flex; flex-direction: column; gap: 36px; }
.ademas-titulo { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.tarjeta-captura { background: var(--fondo); border-radius: 28px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.tarjeta-captura img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 8px 20px rgba(18, 58, 107, 0.12); }
.tarjeta-captura div { padding: 0 8px 8px; display: flex; flex-direction: column; gap: 6px; }
.tarjeta-captura h3 { font-size: 20px; font-weight: 700; }
.tarjeta-captura p { font-size: 15px; line-height: 1.5; color: var(--gris); }

@media (prefers-reduced-motion: reduce) {
  .escena, .demo-paso, .barra, .toque { animation: none; }
  .e4 { opacity: 1; }
  .p4 { background: #FFFFFF; box-shadow: 0 14px 30px rgba(18, 58, 107, 0.14); }
  .b4 { width: 100%; }
}

/* ---------- Pantallas medianas ---------- */
@media (max-width: 1100px) {
  .portada-grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; }
  .h1 { font-size: 64px; }
  .muestra-celular { width: 190px; right: 0; }
}

/* ---------- Celular ---------- */
@media (max-width: 820px) {
  html { scroll-padding-top: 96px; }
  .wrap { padding: 0 20px; }
  .nav-caja { padding: 12px 16px 0; }
  .nav-pildora { height: 64px; }
  .nav-ligas, .solo-desk, .chip { display: none !important; }
  .portada { padding: 130px 0 96px; }
  .portada-grid, .split, .demo-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split.inv > :first-child { order: 0; }
  .h1 { font-size: 42px; }
  .h2 { font-size: 31px; }
  .h3 { font-size: 27px; }
  .portada-texto .texto { font-size: 18px; }
  .btn, .btn-linea { width: 100%; }
  .recibo-rot { transform: none; }
  .recibo-grande .ticket-papel { padding: 28px 22px 22px; font-size: 14px; }
  .milo-asoma { width: 120px; height: 150px; top: -78px; right: 18px; }
  .muestra { padding: 56px 0 72px; }
  .beneficios, .tiendita, .sin-internet, .equipo, .preguntas { padding: 72px 0; }
  .beneficios .wrap { gap: 64px; }
  .recibo-equipo { transform: none; }
  .recibo-equipo .ticket-papel { padding: 24px 18px; font-size: 13px; gap: 12px; }
  .recibo-equipo .renglon strong { white-space: nowrap; }
  .recibo-equipo .titulo-ticket { font-size: 15px; }
  .recibo-cierre .ticket-papel { padding: 24px 20px; }
  .recibo-cierre .total { font-size: 16px; }
  .recibo-preguntas .ticket-papel { padding: 14px 20px 10px; }
  .pregunta summary { font-size: 15px; }
  .tres { grid-template-columns: minmax(0, 1fr); }
  .cf-portada { padding: 130px 0 72px; }
  .pie .wrap { flex-direction: column; align-items: flex-start; }
  .redes { margin-left: 0; }
  .wa-fija { display: flex; }
  .pie { padding-bottom: 96px; }
}
