:root {
  --navy: #2a3586; --navy-900: #0f1440; --navy-850: #141a4f; --navy-800: #171e57; --navy-700: #222b75;
  --amarillo: #f4c400; --amarillo-claro: #ffe27a; --lila: #7f8be0; --turquesa: #3fb6a8;
  --tinta: #0f1330; --texto: #4a5170; --apagado: #6b7290; --tenue: #9aa3d6;
  --gris: #f3f5fb; --linea: #e3e7f2; --blanco: #fff;
  --radio: 20px; --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: "Plus Jakarta Sans", Poppins, system-ui, sans-serif; color: var(--texto); background: var(--blanco); -webkit-font-smoothing: antialiased; }
body.bloqueado { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.contenedor { width: min(1200px, 100% - 48px); margin: 0 auto; }
h1, h2, h3 { color: var(--tinta); margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; font-weight: 800; }
h2 em, h1 em { font-style: normal; color: var(--navy); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--amarillo); border-radius: 2px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--texto); max-width: 560px; margin: 16px 0 0; }
section { position: relative; }
.seccion { padding: 110px 0; }
.oscura { background: var(--navy-900); color: #fff; }
.oscura h2 { color: #fff; } .oscura h2 em { color: var(--amarillo); } .oscura .kicker { color: var(--amarillo); } .oscura .lead { color: #cfd5f2; }
.ilustrativo { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--apagado); background: var(--gris); border-radius: 999px; padding: 5px 11px; margin-top: 14px; }
.oscura .ilustrativo { color: var(--tenue); background: rgba(255,255,255,.07); }
.boton { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px; border: 0; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; }
.boton svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.boton:hover svg { transform: translateX(4px); }
.boton.amarillo { background: var(--amarillo); color: var(--navy-900); box-shadow: 0 10px 30px rgba(244,196,0,.35); }
.boton.amarillo:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(244,196,0,.45); }
.boton.contorno { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.boton.contorno:hover { background: rgba(255,255,255,.16); }
.boton.navy { background: var(--navy); color: #fff; }
.boton.navy:hover { background: var(--navy-700); transform: translateY(-2px); }

/* ---------- Intro: el logo se arma por capas ---------- */
#intro { position: fixed; inset: 0; z-index: 100; background: var(--navy-900); display: flex; align-items: center; justify-content: center; transition: transform 1s var(--ease); }
#intro.fuera { transform: translateY(-100%); }
#intro.oculto { display: none; }
#intro .saltar { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 13px; cursor: pointer; }
#intro .logo-capas { position: relative; width: 300px; aspect-ratio: 369 / 317; }
#intro .logo-capas img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
#intro .c-bahia { clip-path: inset(0 50% 0 50%); }
#intro .c-o { transform: translateX(-60px); }
#intro .c-e { transform: translateX(60px); }
#intro .c-flecha { transform: translateY(-120%); }
#intro .c-texto { transform: translateY(14px); }
#intro.corre .c-bahia { animation: plaza .8s var(--ease) forwards; }
#intro.corre .c-o { animation: llegar .8s .45s var(--ease) forwards; }
#intro.corre .c-e { animation: llegar .8s .55s var(--ease) forwards; }
#intro.corre .c-flecha { animation: estacionar 1s 1s cubic-bezier(.5, 0, .2, 1.35) forwards; }
#intro.corre .c-texto { animation: llegar .7s 1.75s var(--ease) forwards; }
#intro .destello { position: absolute; left: 50%; top: 78%; width: 70%; height: 30%; transform: translate(-50%, -50%) scale(.4); border-radius: 50%; background: radial-gradient(closest-side, rgba(244,196,0,.55), transparent); opacity: 0; pointer-events: none; }
#intro.corre .destello { animation: destello .9s 1.75s ease-out forwards; }
#intro .barra-carga { position: absolute; bottom: 0; left: 0; height: 4px; background: var(--amarillo); width: 0; }
/* Auto que cruza por debajo del logo y abre paso al inicio */
#intro .carril { position: absolute; left: 0; right: 0; bottom: 22vh; height: 4px; background: repeating-linear-gradient(90deg, rgba(244,196,0,.55) 0 40px, transparent 40px 80px); opacity: 0; transition: opacity .5s; }
#intro.cruzando .carril { opacity: 1; }
#intro .auto-intro { position: absolute; left: 0; bottom: calc(22vh + 2px); width: 230px; transform: translateX(-260px); will-change: transform; }
#intro .auto-intro svg { width: 100%; height: auto; display: block; overflow: visible; }
#intro .auto-intro .rueda { transform-box: fill-box; transform-origin: center; animation: girar .45s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
#intro.corre .barra-carga { animation: cargar 2.7s linear forwards; }
@keyframes plaza { to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes llegar { to { transform: none; opacity: 1; } }
@keyframes estacionar { 0% { transform: translateY(-120%); opacity: 0; } 25% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes destello { 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
@keyframes cargar { to { width: 100%; } }

/* ---------- Cabecera ---------- */
.progreso { position: fixed; top: 0; left: 0; height: 3px; background: var(--amarillo); width: 0; z-index: 60; }
header.cab { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s, padding .4s, box-shadow .4s; padding: 20px 0; }
header.cab.compacta { background: rgba(15,20,64,.92); backdrop-filter: blur(12px); padding: 10px 0; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
header.cab .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; }
.logo img { height: 54px; width: auto; transition: height .4s var(--ease); }
header.cab.compacta .logo img { height: 42px; }
nav.menu { display: flex; gap: 28px; }
nav.menu a { color: rgba(255,255,255,.85); font-size: 14.5px; font-weight: 600; position: relative; padding: 6px 0; }
nav.menu a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--amarillo); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
nav.menu a:hover { color: #fff; } nav.menu a:hover::after { transform: scaleX(1); }
.cab-der { display: flex; align-items: center; gap: 12px; }
.perfil-pill { display: none; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 999px; padding: 7px 8px 7px 14px; font-size: 12.5px; font-weight: 600; }
body[data-perfil] .perfil-pill { display: inline-flex; animation: aparecerY .5s var(--ease); }
.perfil-pill button { border: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
header .cta { padding: 12px 20px; font-size: 14px; }
.hamburguesa { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.hamburguesa i { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.hamburguesa i:nth-child(1) { top: 16px; } .hamburguesa i:nth-child(2) { top: 22px; } .hamburguesa i:nth-child(3) { top: 28px; }
body.menu-abierto .hamburguesa i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-abierto .hamburguesa i:nth-child(2) { opacity: 0; }
body.menu-abierto .hamburguesa i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-movil { position: fixed; inset: 0; z-index: 45; background: radial-gradient(circle at 100% 0%, rgba(244,196,0,.12), transparent 45%), var(--navy-900); padding: 96px 20px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; overflow-y: auto; clip-path: circle(0 at calc(100% - 46px) 46px); transition: clip-path .7s var(--ease); }
body.menu-abierto .menu-movil { clip-path: circle(150% at calc(100% - 46px) 46px); }
body.menu-abierto { overflow: hidden; }
body.menu-abierto .barra-movil, body.menu-abierto .herramientas, body.menu-abierto .wa { opacity: 0; pointer-events: none; }
.mm-titulo { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--amarillo); margin: 0 4px 10px; }
.mm-lista { display: grid; gap: 8px; }
.mm-lista a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: #fff; opacity: 0; transform: translateX(-16px); transition: opacity .45s, transform .45s var(--ease), background .3s; transition-delay: calc(var(--i) * .05s + .15s); }
body.menu-abierto .mm-lista a { opacity: 1; transform: none; }
.mm-lista a.activo { background: rgba(244,196,0,.12); border-color: rgba(244,196,0,.45); }
.mm-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(244,196,0,.14); display: grid; place-items: center; flex: none; }
.mm-ic svg { width: 20px; height: 20px; stroke: var(--amarillo); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mm-lista b { display: block; font-size: 16.5px; font-weight: 700; }
.mm-lista small { display: block; font-size: 12.5px; color: var(--tenue); margin-top: 1px; }
.mm-lista i { margin-left: auto; font-style: normal; color: var(--amarillo); font-weight: 800; }
.mm-pie { display: grid; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity .5s .45s, transform .5s .45s var(--ease); }
body.menu-abierto .mm-pie { opacity: 1; transform: none; }
.mm-pie .boton { justify-content: center; }
.mm-pie .mm-wa { display: flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: #fff; border-radius: 999px; padding: 14px; font-weight: 700; font-size: 15px; }
.mm-pie .mm-wa svg { width: 20px; height: 20px; fill: #fff; }
.mm-pie p { margin: 4px 0 0; text-align: center; font-size: 12.5px; color: var(--tenue); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; background: var(--navy-900); color: #fff; overflow: hidden; display: flex; align-items: center; padding: 140px 0 150px; }
.hero .fondo { position: absolute; inset: 0; background: url(/img/hero.jpg) center/cover; transform: scale(1.18); }
body.listo .hero .fondo { animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1.02); } }
.hero .velo { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,20,64,.96) 0%, rgba(15,20,64,.86) 42%, rgba(15,20,64,.4) 75%, rgba(15,20,64,.6) 100%); }
.hero .contenedor { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.hero .kicker { color: var(--amarillo); }
.hero h1 { color: #fff; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
body.listo .hero h1 .w > span { transform: translateY(0); }
.hero h1 em { color: var(--amarillo); position: relative; }
.hero .subrayado { position: absolute; left: 0; bottom: -6px; width: 100%; height: 14px; }
.hero .subrayado path { fill: none; stroke: var(--amarillo); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.2s 1.1s var(--ease); }
body.listo .hero .subrayado path { stroke-dashoffset: 0; }
.hero p.bajada { font-size: 20px; line-height: 1.55; color: #cfd5f2; max-width: 540px; margin: 26px 0 34px; transition: opacity .35s; }
.hero .acciones { display: flex; gap: 14px; flex-wrap: wrap; transition: opacity .35s; }
.cambiando { opacity: 0 !important; }
.entra { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
body.listo .entra { opacity: 1; transform: none; }
.selector { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); border-radius: 26px; padding: 26px; }
.selector .t { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amarillo); margin-bottom: 14px; }
.opcion { width: 100%; display: flex; gap: 16px; align-items: center; text-align: left; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.14); border-radius: 18px; padding: 18px; color: #fff; cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.opcion + .opcion { margin-top: 12px; }
.opcion:hover { transform: translateX(4px); background: rgba(255,255,255,.12); }
.opcion.on { border-color: var(--amarillo); background: rgba(244,196,0,.12); }
.opcion .ic { width: 52px; height: 52px; border-radius: 15px; background: var(--amarillo); display: grid; place-items: center; flex: none; }
.opcion .ic svg { width: 26px; height: 26px; stroke: var(--navy-900); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.opcion b { display: block; font-size: 17px; }
.opcion span { font-size: 13.5px; color: #cfd5f2; }
.opcion .chk { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); flex: none; display: grid; place-items: center; }
.opcion.on .chk { background: var(--amarillo); border-color: var(--amarillo); }
.opcion.on .chk::after { content: "✓"; color: var(--navy-900); font-size: 13px; font-weight: 800; }
.selector .pie-s { font-size: 12.5px; color: var(--tenue); margin-top: 14px; text-align: center; }
.carretera { position: absolute; left: 0; right: 0; bottom: 100px; height: 6px; overflow: hidden; opacity: .5; }
.carretera div { width: 200%; height: 100%; background: repeating-linear-gradient(90deg, var(--amarillo) 0 46px, transparent 46px 92px); animation: avanzar 3s linear infinite; }
@keyframes avanzar { to { transform: translateX(-92px); } }
.bajar { position: absolute; left: 50%; bottom: 122px; transform: translateX(-50%); width: 22px; opacity: 0; transition: opacity .8s 1.6s; z-index: 2; }
body.listo .bajar { opacity: .85; }
.bajar img { width: 100%; animation: rebote 1.8s ease-in-out infinite; }
@keyframes rebote { 50% { transform: translateY(10px); } }

/* ---------- Cifras y clientes ---------- */
.cifras { position: relative; z-index: 3; margin-top: -80px; }
.cifras .caja { background: #fff; border-radius: 26px; box-shadow: 0 30px 70px rgba(15,20,64,.16); display: grid; grid-template-columns: repeat(3, 1fr); padding: 32px 20px; }
.cifra { text-align: center; padding: 6px 18px; border-left: 1px solid var(--linea); }
.cifra:first-child { border-left: 0; }
.cifra .n { font-size: clamp(38px, 4.4vw, 56px); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.cifra .n.texto { font-size: clamp(28px, 3vw, 38px); line-height: 1.45; }
.cifra .n sup { font-size: .5em; color: var(--amarillo); vertical-align: top; position: relative; top: .1em; }
.cifra .e { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta); margin-top: 10px; }
.clientes { padding: 70px 0 20px; text-align: center; }
.clientes .titulo { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--apagado); }
.cinta { overflow: hidden; margin-top: 26px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
/* Logos sueltos en blanco y negro que pasan uno tras otro; el que se señala recupera su color */
.cinta .pista { display: flex; width: max-content; animation: cinta 75s linear infinite; }
.cinta .grupo { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.cinta img { height: 58px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .62; transition: filter .4s, opacity .4s, transform .4s; }
.cinta img:hover { filter: none; opacity: 1; transform: scale(1.06); }
.cinta:hover .pista { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .cinta .pista { animation-duration: 200s; } }
@media (max-width: 640px) { .cinta .grupo { gap: 40px; padding-right: 40px; } .cinta img { height: 40px; max-width: 118px; } .cinta .pista { animation-duration: 60s; } }
@keyframes cinta { to { transform: translateX(-50%); } }


/* ---------- Simulador ---------- */
.simulador { overflow: hidden; }
.simulador::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -260px; top: -260px; background: radial-gradient(circle, rgba(244,196,0,.14), transparent 65%); }
.sim-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sim { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 46px; position: relative; }
.calc { background: #fff; color: var(--texto); border-radius: 28px; padding: 36px 40px; display: grid; grid-template-columns: 1fr 400px; gap: 44px; align-items: center; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.controles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sim > *, .calc > *, .graficos > * { min-width: 0; }
.controles .control { margin-bottom: 0; }
.controles .control label { font-size: 15px; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.controles .control label output { font-size: 30px; letter-spacing: -0.02em; }
.modalidad { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.modalidad .ml { font-size: 14px; font-weight: 600; color: var(--tinta); white-space: nowrap; }
.seg { display: flex; flex: 1; background: #eef0f8; border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 10px 12px; font: inherit; font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.seg button:hover { background: #fff; }
.seg button.on { background: var(--navy); color: #fff; }
.seg button:focus-visible { outline: 2px solid var(--amarillo); outline-offset: 2px; }
.confianza-calc { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--linea); font-size: 13.5px; font-weight: 600; color: var(--navy); }
.calc-der .resultado { margin-top: 0; padding: 26px 26px 22px; background: var(--navy); }
.calc-der .resultado .e { color: #b7bde3; }
.calc-der .resultado .esc { color: var(--amarillo); }
.calc-der .resultado .rango { color: #fff; font-size: 38px; }
.calc-der .resultado .rango small { color: #b7bde3; }
.calc .top { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--navy); text-transform: uppercase; margin-bottom: 22px; }
.control { margin-bottom: 22px; }
.control label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--tinta); margin-bottom: 10px; }
.control label output { font-weight: 800; color: var(--navy); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--navy) var(--p, 50%), var(--linea) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--amarillo); border: 4px solid #fff; box-shadow: 0 3px 12px rgba(15,20,64,.35); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--amarillo); border: 4px solid #fff; box-shadow: 0 3px 12px rgba(15,20,64,.35); cursor: pointer; }
.resultado { margin-top: 8px; background: var(--gris); border-radius: 18px; padding: 20px; }
.resultado .e { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--apagado); }
.resultado .esc { color: var(--navy); }
.resultado .rango { font-size: 29px; white-space: nowrap; font-weight: 800; letter-spacing: -0.02em; color: var(--tinta); margin-top: 4px; }
.resultado .rango small { font-size: 15px; font-weight: 600; color: var(--apagado); }
.calc .boton { width: 100%; justify-content: center; margin-top: 16px; }
.puerta { display: none; margin-top: 12px; gap: 10px; }
.puerta.abierta { display: grid; animation: aparecerY .5s var(--ease); }
.puerta input { width: 100%; min-width: 0; border: 1.5px solid var(--linea); border-radius: 12px; padding: 13px 14px; font-family: inherit; font-size: 14px; color: var(--tinta); }
.puerta input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(42,53,134,.12); }
.puerta input.falta { border-color: #d64545; }
.puerta .dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.puerta .legal-p { font-size: 11.5px; color: var(--apagado); text-align: center; }
/* Simulación lista: hoja para descargar en PDF */
.modal-sim { position: fixed; inset: 0; z-index: 1000; background: rgba(10,13,40,.72); display: none; overflow-y: auto; padding: 30px 16px 40px; }
.modal-sim.abierto { display: block; animation: aparecerY .4s var(--ease); }
.ms-caja { max-width: 620px; margin: 0 auto; }
.ms-barra { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; margin-bottom: 14px; }
.ms-barra b { font-size: 18px; }
.ms-cerrar { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 40px; height: 40px; font-size: 22px; cursor: pointer; flex: none; }
.ms-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 10px; }
.ms-acc .boton { justify-content: center; margin: 0; }
.ms-acc .boton.wa-b { background: #25d366; color: #fff; }
.ms-nota { color: #c7cdf0; font-size: 12.5px; text-align: center; line-height: 1.5; }
.hoja-sim { background: #fff; color: #3a3f5c; border-radius: 10px; overflow: hidden; font-size: 13px; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.hs-cab { background: var(--navy-850); padding: 20px 26px; display: flex; justify-content: space-between; align-items: center; }
.hs-cab img { height: 46px; display: block; }
.hs-cab div { text-align: right; color: #c7cdf0; font-size: 12px; line-height: 1.5; }
.hs-cab div b { display: block; color: var(--amarillo); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hs-cu { padding: 22px 26px 6px; }
.hs-cu h3 { margin: 0; font-size: 22px; line-height: 1.2; color: var(--navy); }
.hs-para { color: var(--apagado); margin-top: 4px; font-size: 12.5px; }
.hs-sup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.hs-sup div { background: #f2f4fb; border-radius: 10px; padding: 10px 12px; }
.hs-sup i, .hs-gran i { display: block; font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a93a8; }
.hs-sup b { font-size: 19px; color: var(--navy); }
.hs-gran { margin-top: 14px; background: var(--navy); border-radius: 12px; padding: 14px 18px; color: #fff; }
.hs-gran i { color: var(--amarillo); }
.hs-gran b { font-size: 32px; letter-spacing: -.02em; }
.hs-gran small { color: #c7cdf0; font-size: 13px; }
.hs-bar { margin-top: 14px; display: grid; gap: 7px; }
.hs-bar .f { display: grid; grid-template-columns: 110px 1fr 70px; gap: 10px; align-items: center; font-size: 12.5px; }
.hs-bar .f div { height: 16px; border-radius: 4px; background: var(--lila); min-width: 3px; }
.hs-bar .f.top div { background: var(--amarillo); }
.hs-bar .f b { text-align: right; color: var(--navy); }
.hs-acum { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--linea); margin-top: 14px; padding-top: 12px; }
.hs-acum b { display: block; font-size: 18px; color: var(--navy); }
.hs-acum span { font-size: 11.5px; color: var(--apagado); }
.hs-como { margin-top: 14px; font-size: 12.5px; }
.hs-como b { color: var(--navy); }
.hs-como ul { margin: 4px 0 0; padding-left: 18px; line-height: 1.6; }
.hs-aviso { margin-top: 12px; font-size: 10.5px; color: #8a93a8; line-height: 1.5; }
.hs-pie { margin-top: 16px; background: var(--amarillo); color: var(--navy-900); padding: 13px 26px; font-weight: 800; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; }
@media (max-width: 640px) {
  .ms-acc { grid-template-columns: 1fr; }
  .hs-cu { padding: 18px 18px 4px; } .hs-cab { padding: 16px 18px; } .hs-pie { padding: 12px 18px; flex-direction: column; }
  .hs-sup b { font-size: 16px; } .hs-gran b { font-size: 26px; }
  .hs-bar .f { grid-template-columns: 92px 1fr 58px; }
  .hs-acum { flex-wrap: wrap; }
}
@media print {
  @page { size: A4; margin: 0; }
  body.imprimiendo > *:not(.modal-sim) { display: none !important; }
  body.imprimiendo .modal-sim { position: static; display: block; background: none; padding: 0; overflow: visible; animation: none; }
  body.imprimiendo .ms-barra, body.imprimiendo .ms-acc, body.imprimiendo .ms-nota { display: none !important; }
  body.imprimiendo .ms-caja { max-width: none; }
  body.imprimiendo .hoja-sim { box-shadow: none; border-radius: 0; width: 620px; zoom: 1.28; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.gracias { display: none; margin-top: 12px; font-size: 14px; color: #1d7a45; font-weight: 600; background: #e7f8ee; border-radius: 12px; padding: 12px 14px; }
@keyframes aparecerY { from { opacity: 0; transform: translateY(10px); } }
.graficos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grafico { background: var(--navy-850); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 22px 22px 16px; }
.grafico h3 { color: #fff; font-size: 15.5px; font-weight: 700; }
.grafico .sub { font-size: 12.5px; color: var(--tenue); margin-top: 3px; }
.grafico svg { width: 100%; height: auto; display: block; margin-top: 12px; overflow: visible; }
.grafico text { font-family: inherit; }
.grafico .eje { font-size: 13.5px; }
.grafico .valor { font-size: 16px; }
.grafico .etq-mayor { font-size: 12.5px; }
.eje { fill: var(--tenue); font-size: 11px; }
.rejilla { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.barra-esc { cursor: pointer; }
.barra-esc path { transition: d .6s var(--ease), fill .4s; }
.barra-esc .sel { fill: none; stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity .3s, d .6s var(--ease); }
.barra-esc.elegida .sel { opacity: 1; }
.valor { fill: #fff; font-size: 13px; font-weight: 700; }
.etq-mayor { fill: var(--amarillo); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.linea-acum { fill: none; stroke: var(--amarillo); stroke-width: 2.5; stroke-linejoin: round; }
.area-acum { fill: url(#grad-acum); }
.cruz { stroke: rgba(255,255,255,.4); stroke-width: 1; stroke-dasharray: 3 3; }
#tip { position: fixed; z-index: 90; pointer-events: none; background: #fff; color: var(--tinta); border-radius: 10px; padding: 8px 12px; font-size: 12.5px; box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; transition: opacity .15s; white-space: nowrap; }
#tip b { display: block; font-size: 14px; }

/* ---------- Modelos para dueños ---------- */
.duenos { background: var(--gris); }
.modelos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.modelo { background: #fff; border-radius: var(--radio); padding: 28px 24px; border: 1px solid var(--linea); position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.modelo::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--amarillo); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.modelo:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(15,20,64,.12); border-color: transparent; }
.modelo:hover::after { transform: scaleX(1); }
.ico { width: 52px; height: 52px; border-radius: 15px; background: var(--navy); display: grid; place-items: center; flex: none; }
.ico svg { width: 25px; height: 25px; stroke: var(--amarillo); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modelo h3 { font-size: 19px; margin: 20px 0 8px; }
.modelo p { font-size: 14.5px; line-height: 1.55; margin: 0 0 16px; }
.modelo .ideal { font-size: 12.5px; font-weight: 700; color: var(--navy); background: #eef0fb; border-radius: 10px; padding: 8px 12px; }
button.modelo { font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; color: inherit; width: 100%; }
button.modelo .ideal { align-self: stretch; }
.modelo .ver-mas { margin-top: 18px; align-self: stretch; display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; border-radius: 12px; padding: 12px 16px; transition: background .3s; }
.modelo .ver-mas i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--amarillo); color: var(--navy-900); display: grid; place-items: center; transition: transform .35s var(--ease); }
.modelo:hover .ver-mas { background: var(--navy-700); }
.modelo:hover .ver-mas i { transform: translateX(4px); }
.modelo:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }
/* Panel de detalle de cada modelo */
.panel-modelo { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(15,20,64,.55); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.panel-modelo.abierto { opacity: 1; pointer-events: auto; }
.pm-caja { width: min(880px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 28px; box-shadow: 0 40px 100px rgba(0,0,0,.35); transform: translateY(30px) scale(.97); transition: transform .5s var(--ease); }
.panel-modelo.abierto .pm-caja { transform: none; }
.pm-cab { background: var(--navy-900); color: #fff; padding: 26px 30px 0; position: relative; }
.pm-cerrar { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 18px; cursor: pointer; }
.pm-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 20px; }
.pm-tabs button { border: 0; background: transparent; color: #b7bde3; font-weight: 700; font-size: 14px; padding: 12px 16px; border-radius: 12px 12px 0 0; cursor: pointer; }
.pm-tabs button.on { background: #fff; color: var(--navy); }
.pm-cab h3 { color: #fff; font-size: 30px; }
.pm-cab .resumen { color: #cfd5f2; font-size: 16px; margin-top: 6px; max-width: 640px; }
.pm-cuerpo { padding: 28px 30px 30px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.pm-cuerpo h4 { margin: 0 0 14px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.pm-pasos { list-style: none; padding: 0; margin: 0; counter-reset: p; }
.pm-pasos li { counter-increment: p; position: relative; padding: 0 0 18px 46px; font-size: 14.5px; line-height: 1.5; }
.pm-pasos li::before { content: counter(p); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--amarillo); color: var(--navy-900); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.pm-pasos li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 4px; width: 2px; background: var(--linea); }
.pm-pasos li:last-child::after { display: none; }
.pm-pasos b { color: var(--tinta); display: block; }
.pm-beneficios { display: grid; gap: 10px; }
.pm-beneficios div { display: flex; gap: 12px; align-items: flex-start; background: var(--gris); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.pm-beneficios div::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--amarillo); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.pm-beneficios b { color: var(--tinta); }
.pm-top { display: grid; grid-template-columns: 1fr 270px; gap: 26px; align-items: center; padding-right: 50px; }
.pm-foto { position: relative; height: 158px; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 36px rgba(0,0,0,.35); }
.pm-foto img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s var(--ease); }
.pm-foto img.cambia { opacity: 0; transform: scale(1.06); }
.pm-foto .ideal-f { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(15,20,64,.85); backdrop-filter: blur(6px); color: #fff; border-radius: 10px; padding: 7px 10px; font-size: 12px; line-height: 1.35; }
.pm-foto .ideal-f b { color: var(--amarillo); display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.pm-flujo { grid-column: 1 / -1; background: var(--gris); border-radius: 20px; padding: 22px 24px; }
.pm-flujo .sub-f { font-size: 13px; color: var(--apagado); margin: -6px 0 16px; }
.flujo-fila { display: flex; align-items: center; gap: 0; }
.flujo-fila + .flujo-fila { margin-top: 16px; }
.nodo-f { flex: none; width: 128px; background: #fff; border-radius: 16px; padding: 14px 10px 12px; text-align: center; box-shadow: 0 6px 16px rgba(15,20,64,.07); opacity: 0; transform: translateY(10px); animation: nodoIn .5s var(--ease) forwards; animation-delay: var(--d, 0s); }
.nodo-f .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; margin: 0 auto 8px; }
.nodo-f .ic svg { width: 22px; height: 22px; stroke: var(--amarillo); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nodo-f .ic img { width: 30px; }
.nodo-f.tu .ic { background: var(--amarillo); }
.nodo-f.tu .ic svg { stroke: var(--navy-900); }
.nodo-f b { display: block; color: var(--tinta); font-size: 14px; }
.nodo-f small { color: var(--apagado); font-size: 11.5px; }
@keyframes nodoIn { to { opacity: 1; transform: none; } }
.conector { flex: 1; min-width: 70px; position: relative; height: 3px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--navy) 0 9px, transparent 9px 16px); background-size: 16px 3px; animation: fluir .7s linear infinite; opacity: 0; animation-name: fluir, aparecer; animation-duration: .7s, .4s; animation-iteration-count: infinite, 1; animation-fill-mode: none, forwards; animation-delay: 0s, var(--d, 0s); }
.conector::after { content: ""; position: absolute; right: -2px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left: 10px solid var(--navy); border-right: 0; }
.conector span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; background: #fff; color: var(--navy); font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; box-shadow: 0 4px 10px rgba(15,20,64,.08); }
.conector.oro { background: repeating-linear-gradient(90deg, #d9ad00 0 9px, transparent 9px 16px); background-size: 16px 3px; }
.conector.oro::after { border-left-color: #d9ad00; }
.conector.oro span { background: var(--amarillo); color: var(--navy-900); }
@keyframes fluir { to { background-position: 16px 0; } }
@keyframes aparecer { to { opacity: 1; } }
.reparto { display: flex; height: 40px; border-radius: 12px; overflow: hidden; margin-top: 8px; background: #e3e7f2; }
.reparto div { display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; width: 0; transition: width 1s var(--ease); white-space: nowrap; overflow: hidden; }
.reparto .r-tu { background: var(--amarillo); color: var(--navy-900); }
.reparto .r-ole { background: var(--navy); color: #fff; }
.reparto-nota { font-size: 12px; color: var(--apagado); margin-top: 6px; }
@media (max-width: 760px) {
  .pm-top { grid-template-columns: 1fr; padding-right: 0; }
  .pm-foto { height: 130px; }
  .flujo-fila { flex-direction: column; align-items: stretch; }
  .nodo-f { width: auto; display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 14px; }
  .nodo-f .ic { margin: 0; width: 38px; height: 38px; flex: none; }
  .nodo-f small { margin-left: auto; }
  .conector { flex: none; min-width: 0; width: 3px; height: 40px; margin: 4px 0 4px 32px; background: repeating-linear-gradient(180deg, var(--navy) 0 9px, transparent 9px 16px); background-size: 3px 16px; animation-name: fluirV, aparecer; }
  .conector.oro { background: repeating-linear-gradient(180deg, #d9ad00 0 9px, transparent 9px 16px); background-size: 3px 16px; }
  .conector::after { right: auto; top: auto; bottom: -4px; left: 50%; margin: 0 0 0 -7px; border: 7px solid transparent; border-top: 10px solid var(--navy); border-bottom: 0; }
  .conector.oro::after { border-left-color: transparent; border-top-color: #d9ad00; }
  .conector span { left: 18px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .flujo-fila + .flujo-fila { margin-top: 0; }
  .flujo-fila + .flujo-fila .nodo-f:first-child { display: none; }
}
@keyframes fluirV { to { background-position: 0 16px; } }
.pm-acciones { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--linea); padding-top: 22px; }
.pm-acciones .nota-v { margin-left: auto; align-self: center; font-size: 12px; color: var(--apagado); }
@media (max-width: 760px) { .pm-cuerpo { grid-template-columns: 1fr; } .pm-cab h3 { font-size: 24px; } .pm-acciones .nota-v { margin-left: 0; } }

/* ---------- Centro de control ---------- */
.control-ole { background: linear-gradient(180deg, var(--navy-900), #0b1033); }
.tablero { margin-top: 46px; background: #f5f7fd; border-radius: 30px; padding: 24px; box-shadow: 0 40px 90px rgba(0,0,0,.4); color: var(--texto); position: relative; overflow: hidden; }
.tab-barra { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 2px 4px 16px; flex-wrap: wrap; }
.tab-barra .izq { display: flex; align-items: center; gap: 14px; }
.tab-barra img { height: 38px; }
.tab-barra b { color: var(--tinta); font-size: 16px; display: block; }
.tab-barra small { color: var(--apagado); font-size: 12.5px; }
.vivo { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #1d7a45; background: #e7f8ee; border-radius: 999px; padding: 6px 12px; }
.vivo i { width: 8px; height: 8px; border-radius: 50%; background: #2fbf6c; animation: latido 1.4s infinite; }
@keyframes latido { 50% { transform: scale(1.6); opacity: .4; } }
.saludo { display: flex; align-items: center; gap: 16px; background: var(--navy); color: #fff; border-radius: 20px; padding: 18px 22px; }
.saludo .sol { width: 48px; height: 48px; border-radius: 50%; background: var(--amarillo); display: grid; place-items: center; flex: none; }
.saludo .sol svg { width: 26px; height: 26px; stroke: var(--navy-900); fill: none; stroke-width: 2; stroke-linecap: round; }
.saludo p { margin: 0; font-size: 17px; line-height: 1.45; color: #dfe3f7; }
.saludo p b { color: #fff; }
.saludo p .sube { color: var(--amarillo); font-weight: 700; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0; }
.kpi { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 6px 18px rgba(15,20,64,.06); display: flex; gap: 14px; align-items: flex-start; }
.kpi .ic { width: 42px; height: 42px; border-radius: 12px; background: #eef0fb; display: grid; place-items: center; flex: none; }
.kpi .ic svg { width: 21px; height: 21px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kpi .k { font-size: 13px; font-weight: 600; color: var(--apagado); }
.kpi .v { font-size: 28px; font-weight: 800; color: var(--tinta); margin-top: 2px; letter-spacing: -0.02em; }
.kpi .d { font-size: 12.5px; color: #1d7a45; font-weight: 600; margin-top: 2px; }
.paneles { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.panel { background: #fff; border-radius: 20px; padding: 20px; color: var(--texto); box-shadow: 0 6px 18px rgba(15,20,64,.06); }
.panel h3 { color: var(--tinta); font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.panel h3 span { font-size: 12px; color: var(--apagado); font-weight: 600; }
.panel .ayuda { font-size: 13px; color: var(--apagado); margin-top: 4px; }
.panel .ayuda b { color: var(--navy); }
.panel svg { width: 100%; height: auto; display: block; margin-top: 12px; overflow: visible; }
.panel .eje { fill: var(--apagado); }
.panel .rejilla { stroke: rgba(15,19,48,.08); }
.hora { cursor: pointer; }
.lote { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; margin-top: 14px; background: #eef0fb; border-radius: 14px; padding: 12px; }
.celda { aspect-ratio: 1 / 1.45; border: 2px dashed rgba(42,53,134,.22); border-radius: 7px; position: relative; overflow: hidden; background: #fff; }
.celda .auto { position: absolute; inset: 14% 16%; border-radius: 5px; background: linear-gradient(180deg, #4b57b0, #2a3586); transform: translateY(-140%); transition: transform .8s var(--ease); }
.celda .auto::before { content: ""; position: absolute; left: 12%; right: 12%; top: 18%; height: 20%; border-radius: 3px; background: #c9cfee; opacity: .8; }
.celda.ocupada { border-color: transparent; border-style: solid; background: #e3e7f6; }
.celda.ocupada .auto { transform: translateY(0); }
.celda.ocupada:nth-child(3n) .auto { background: linear-gradient(180deg, #f4c400, #d9ad00); }
.leyenda-lote { display: flex; gap: 16px; margin-top: 10px; font-size: 12.5px; color: var(--apagado); }
.leyenda-lote i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.feed { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; max-height: 236px; overflow: hidden; }
.feed li { display: flex; gap: 12px; align-items: center; background: var(--gris); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--tinta); animation: entraFeed .6s var(--ease); }
.feed li .h { font-variant-numeric: tabular-nums; color: var(--apagado); font-size: 12px; width: 40px; flex: none; }
.feed li .tipo { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.feed li .tipo svg { width: 16px; height: 16px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tipo.ent { background: #eef0fb; } .tipo.ent svg { stroke: var(--navy); }
.tipo.pago { background: #fff6cc; } .tipo.pago svg { stroke: #8a6d00; }
.tipo.alerta { background: #fdece7; } .tipo.alerta svg { stroke: #c0392b; }
@keyframes entraFeed { from { opacity: 0; transform: translateY(-14px); } }
.reporte { display: flex; gap: 16px; align-items: center; margin-top: 12px; }
.reporte .doc { width: 92px; flex: none; aspect-ratio: 3/4; background: #fff; border-radius: 8px; padding: 10px 9px; box-shadow: 0 10px 24px rgba(15,20,64,.15); transform: rotate(-4deg); border: 1px solid var(--linea); }
.reporte .doc img { height: 16px; margin-bottom: 8px; }
.reporte .doc i { display: block; height: 4px; border-radius: 2px; background: #dde1f2; margin-bottom: 5px; }
.reporte .doc i.y { background: var(--amarillo); width: 60%; }
.reporte p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--texto); }
.reporte p b { color: var(--tinta); }
.notificacion { position: absolute; top: 20px; right: 20px; z-index: 5; width: 300px; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(15,20,64,.25); transform: translateY(-140%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.notificacion.ver { transform: none; opacity: 1; }
.notificacion img { width: 38px; height: 38px; object-fit: contain; background: var(--navy); border-radius: 10px; padding: 5px; flex: none; }
.notificacion b { display: block; color: var(--tinta); font-size: 13.5px; }
.notificacion span { font-size: 12.5px; color: var(--apagado); }
@media (max-width: 1000px) { .notificacion { position: relative; top: 0; right: 0; width: auto; margin-bottom: 14px; display: none; } .notificacion.ver { display: flex; } }
.beneficios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.beneficios div { display: flex; gap: 12px; align-items: center; color: #dfe3f7; font-size: 15px; font-weight: 600; }
.beneficios .ico { width: 42px; height: 42px; background: rgba(244,196,0,.14); }
.beneficios .ico svg { width: 21px; height: 21px; }

/* ---------- Casos antes y después ---------- */
.casos .rejilla-c { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; margin-top: 30px; align-items: center; }
.pestanas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.pestanas button { border: 1.5px solid var(--linea); background: #fff; color: var(--tinta); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .3s; }
.pestanas button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.comparador { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 3 / 2; user-select: none; touch-action: pan-y; cursor: ew-resize; box-shadow: 0 30px 60px rgba(15,20,64,.18); }
.comparador img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.comparador .antes { clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
.comparador .linea-c { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; margin-left: -1.5px; background: var(--amarillo); }
.comparador .mango { position: absolute; top: 50%; left: var(--x, 50%); width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--amarillo); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.comparador .mango svg { width: 26px; height: 26px; stroke: var(--navy-900); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.comparador .rot { position: absolute; top: 18px; font-size: 12px; font-weight: 800; letter-spacing: .16em; padding: 7px 12px; border-radius: 999px; }
.comparador .rot.a { left: 18px; background: rgba(15,20,64,.8); color: #fff; }
.comparador .rot.d { right: 18px; background: var(--amarillo); color: var(--navy-900); }
.datos-caso { display: grid; gap: 14px; }
.dato { border-left: 4px solid var(--amarillo); padding: 6px 0 6px 18px; }
.dato .n { font-size: 46px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.dato .e { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta); margin-top: 6px; }
.hicimos { margin-top: 10px; background: var(--gris); border-radius: 18px; padding: 18px 20px; font-size: 15px; line-height: 1.55; color: var(--texto); }
.hicimos b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }

/* ---------- Mapa ---------- */
.mapa .rejilla-m { display: grid; grid-template-columns: 1.4fr .9fr; gap: 36px; margin-top: 30px; align-items: start; }
.mapa-caja { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(15,20,64,.2); }
#mapa-real { height: 560px; background: #0f1440; }
#mapa-real .leaflet-tile-pane { filter: sepia(.6) hue-rotate(190deg) saturate(2.4) brightness(1.15); }
.leaflet-container { font-family: inherit; }
.pin { position: relative; width: 22px; height: 22px; transform: scale(0); transition: transform .6s cubic-bezier(.5, 0, .2, 1.5), opacity .3s; }
.pin.on { transform: scale(1); }
.pin.apagado { opacity: .2; }
.pin i { position: absolute; inset: 0; border-radius: 50%; background: var(--amarillo); border: 3px solid var(--navy-900); box-shadow: 0 0 0 3px rgba(244,196,0,.3); }
.pin::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: rgba(244,196,0,.35); animation: pulso 2.2s infinite; }
@keyframes pulso { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
.leaflet-popup-content-wrapper { border-radius: 18px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 250px !important; }
.pop img { width: 100%; height: 110px; object-fit: cover; }
.pop .c { padding: 14px 16px 16px; }
.pop b { display: block; font-size: 15px; color: var(--tinta); }
.pop .z { font-size: 12.5px; color: var(--apagado); }
.pop .f { display: flex; gap: 16px; margin: 10px 0 12px; font-size: 12.5px; color: var(--texto); }
.pop .f strong { display: block; color: var(--tinta); font-size: 14px; }
.pop .bts { display: flex; gap: 8px; }
.pop .bts a { flex: 1; text-align: center; border-radius: 10px; padding: 9px 6px; font-size: 12.5px; font-weight: 700; }
.pop .bts a.c1 { background: var(--navy); color: #fff; }
.pop .bts a.c2 { background: #25d366; color: #fff; }
.linea-tiempo { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 500; background: rgba(15,20,64,.9); backdrop-filter: blur(10px); border-radius: 18px; padding: 14px 18px; display: flex; align-items: center; gap: 16px; color: #fff; }
.linea-tiempo button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--amarillo); cursor: pointer; display: grid; place-items: center; flex: none; }
.linea-tiempo button svg { width: 16px; height: 16px; fill: var(--navy-900); }
.linea-tiempo .anio { font-size: 26px; font-weight: 800; width: 66px; flex: none; font-variant-numeric: tabular-nums; }
.linea-tiempo input { flex: 1; background: linear-gradient(90deg, var(--amarillo) var(--p, 100%), rgba(255,255,255,.2) var(--p, 100%)); }
.linea-tiempo .cuenta { font-size: 13px; color: #cfd5f2; flex: none; text-align: right; }
.linea-tiempo .cuenta b { display: block; color: #fff; font-size: 18px; }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.filtros button { border: 1.5px solid var(--linea); background: #fff; color: var(--tinta); border-radius: 999px; padding: 9px 15px; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .3s; }
.filtros button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.fichas { margin-top: 16px; display: grid; gap: 8px; max-height: 360px; overflow: auto; padding-right: 4px; }
.ficha { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--linea); border-radius: 14px; padding: 12px 14px; background: #fff; cursor: pointer; transition: border-color .3s, transform .3s var(--ease); }
.ficha:hover { border-color: var(--navy); transform: translateX(4px); }
.ficha.oculta { display: none; }
.ficha b { color: var(--tinta); font-size: 14.5px; display: block; }
.ficha span { font-size: 12.5px; color: var(--apagado); }
.ficha .an { font-size: 12px; font-weight: 800; color: var(--navy); background: #fff6cc; border-radius: 999px; padding: 4px 9px; }
.nacional { margin-top: 18px; display: flex; gap: 12px; align-items: center; background: var(--navy); color: #fff; border-radius: 16px; padding: 16px 18px; font-size: 14px; line-height: 1.45; }
.nacional .ico { background: var(--amarillo); width: 42px; height: 42px; }
.nacional .ico svg { stroke: var(--navy-900); width: 21px; height: 21px; }
.nacional a { color: var(--amarillo); font-weight: 700; }

/* ---------- Proceso ---------- */
.proceso .pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 56px; position: relative; }
.proceso .riel { position: absolute; top: 34px; left: 8%; right: 8%; height: 3px; background: var(--linea); }
.proceso .riel i { position: absolute; inset: 0; background: var(--amarillo); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.proceso.in .riel i { transform: scaleX(1); }
.paso { position: relative; text-align: center; }
.paso .num { width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; background: #fff; border: 3px solid var(--navy); display: grid; place-items: center; font-size: 24px; font-weight: 800; color: var(--navy); position: relative; z-index: 1; transition: background .4s, color .4s; }
.paso:hover .num { background: var(--navy); color: var(--amarillo); }
.paso h3 { font-size: 19px; margin: 20px 0 6px; }
.paso p { font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ---------- Valet ---------- */
.valet .franja { position: relative; min-height: 520px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.valet .franja .foto { position: absolute; inset: -10% 0; background: url(/img/equipo.jpg) center 30%/cover; will-change: transform; }
.valet .franja::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,20,64,.95) 0%, rgba(15,20,64,.75) 45%, rgba(15,20,64,.1) 100%); z-index: 1; }
.valet .contenedor { position: relative; z-index: 2; }
.valet h2 { color: #fff; max-width: 540px; } .valet h2 em { color: var(--amarillo); }
.valet .kicker { color: var(--amarillo); }
.valet p { color: #d7dcf3; font-size: 18px; line-height: 1.55; max-width: 460px; margin: 16px 0 26px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; max-width: 520px; }
.chips span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; }

/* ---------- Nosotros ---------- */
.linea-t { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.linea-t::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--linea); }
.hito { position: relative; padding-top: 40px; }
.hito::before { content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--navy); transition: border-color .4s, transform .4s; }
.hito.in::before { border-color: var(--amarillo); transform: scale(1.1); }
.hito .an { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--navy); text-transform: uppercase; }
.hito h3 { font-size: 19px; margin: 8px 0 6px; }
.hito p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.confianza { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.conf { display: flex; gap: 16px; align-items: center; background: var(--gris); border-radius: 18px; padding: 20px; }
.conf b { color: var(--tinta); display: block; font-size: 16px; }
.conf span { font-size: 14px; line-height: 1.45; }

/* ---------- Diagnóstico ---------- */
.cierre { background: var(--navy); color: #fff; overflow: hidden; }
.cierre::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 56px; background: repeating-linear-gradient(90deg, var(--amarillo) 0 60px, var(--navy-900) 60px 120px); opacity: .9; transform: skewX(-30deg); }
.cierre .contenedor { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-bottom: 40px; }
.cierre h2 { color: #fff; } .cierre h2 em { color: var(--amarillo); } .cierre .kicker { color: var(--amarillo); } .cierre .lead { color: #d7dcf3; }
.form { background: #fff; border-radius: 26px; padding: 30px; color: var(--texto); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.form label { font-size: 12.5px; font-weight: 700; color: var(--tinta); display: block; margin-bottom: 6px; }
.form input, .form select { width: 100%; border: 1.5px solid var(--linea); border-radius: 12px; padding: 13px 14px; font-family: inherit; font-size: 14.5px; color: var(--tinta); background: #fff; transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(42,53,134,.12); }
.form .boton { justify-content: center; }
.form .ok { display: none; grid-column: 1 / -1; background: #e7f8ee; color: #1d7a45; border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 14.5px; }

/* ---------- Pie ---------- */
footer { background: var(--navy-900); color: #b7bde3; padding: 80px 0 30px; font-size: 14.5px; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
footer p { margin: 0 0 10px; line-height: 1.6; }
footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; gap: 20px; flex-wrap: wrap; }

/* ---------- WhatsApp, barra móvil y herramientas ---------- */
.wa { position: fixed; right: 26px; bottom: 26px; z-index: 40; width: 62px; height: 62px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(37,211,102,.45); transform: scale(0); transition: transform .6s 1s var(--ease); }
body.listo .wa { transform: scale(1); }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: onda 2s infinite; }
@keyframes onda { to { transform: scale(1.6); opacity: 0; } }
.wa svg { width: 32px; height: 32px; fill: #fff; }
.wa .burbuja { position: absolute; right: 74px; top: 50%; transform: translateY(-50%); background: #fff; color: var(--tinta); font-size: 13.5px; font-weight: 600; padding: 10px 14px; border-radius: 12px; white-space: nowrap; box-shadow: 0 10px 30px rgba(15,20,64,.15); opacity: 0; transition: opacity .4s; }
.wa:hover .burbuja, .wa.mostrar .burbuja { opacity: 1; }
/* ---------- Un día en un parqueadero OLE ---------- */
.dia { height: 420vh; background: var(--navy-900); }
.dia-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: var(--cielo, #2c2a6b); color: #fff; }
.dia-pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--sol-x, 10%) 0%, rgba(244,196,0,var(--brillo, .25)), transparent 55%); pointer-events: none; }
.dia h2 { color: #fff; } .dia h2 em { color: var(--amarillo); } .dia .kicker { color: var(--amarillo); }
.dia-cab { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.reloj { font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.reloj small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--amarillo); margin-bottom: 6px; text-transform: uppercase; }
.horizonte { position: relative; margin-top: 26px; height: 34px; }
.horizonte .via { position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: rgba(255,255,255,.18); }
.horizonte .via i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--amarillo); }
.horizonte .astro { position: absolute; top: 3px; left: var(--p, 0%); width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--amarillo); box-shadow: 0 0 24px rgba(244,196,0,.8); transition: background .4s, box-shadow .4s; }
.horizonte .astro.luna { background: #e8ecff; box-shadow: 0 0 24px rgba(232,236,255,.7), inset -7px -3px 0 #c5cbef; }
.horizonte .marcas { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.55); font-weight: 600; transform: translateY(26px); }
.dia-pista { display: flex; gap: 26px; margin-top: 54px; padding: 0 max(24px, calc((100vw - 1200px) / 2)); will-change: transform; }
.dia-panel { flex: none; width: min(540px, 78vw); height: min(50vh, 420px); border-radius: 26px; overflow: hidden; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.dia-panel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.dia-panel.activo img { transform: scale(1); }
.dia-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,45,0) 35%, rgba(10,13,45,.92) 100%); }
.dia-panel .txt { position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 1; }
.dia-panel .h { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--navy-900); background: var(--amarillo); border-radius: 999px; padding: 5px 12px; }
.dia-panel b { display: block; font-size: 24px; margin: 10px 0 4px; }
.dia-panel span.d { font-size: 15px; color: #d7dcf3; line-height: 1.45; }
.dia-panel.final { background: var(--amarillo); color: var(--navy-900); display: flex; flex-direction: column; justify-content: center; padding: 36px; }
.dia-panel.final::after { display: none; }
.dia-panel.final { margin-right: max(24px, calc((100vw - 1200px) / 2)); }
.dia-panel.final .n { font-size: 96px; font-weight: 800; letter-spacing: -4px; line-height: 1; }
.dia-panel.final p { font-size: 18px; font-weight: 600; margin: 10px 0 22px; }
@media (max-width: 760px) {
  .dia { height: auto; }
  .dia-pin { position: relative; height: auto; padding: 80px 0; }
  .dia-pista { flex-direction: column; transform: none !important; padding: 0 24px; }
  .dia-panel { width: 100%; height: 340px; }
  .horizonte { display: none; }
}
.barra-movil { display: none; position: fixed; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 42; gap: 6px; background: rgba(15,20,64,.78); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px; box-shadow: 0 18px 44px rgba(5,8,30,.45); transform: translateY(160%); transition: transform .6s var(--ease), opacity .3s; }
body.listo .barra-movil { transform: none; }
.barra-movil a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: -0.01em; white-space: nowrap; transition: transform .2s var(--ease), filter .2s; }
.barra-movil a:active { transform: scale(.96); filter: brightness(.95); }
.barra-movil .b1 { flex: 1; min-width: 0; background: linear-gradient(135deg, #ffdb4d 0%, var(--amarillo) 60%, #e6b800 100%); color: var(--navy-900); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px rgba(244,196,0,.3); }
.barra-movil .b1 span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.barra-movil > a { min-width: 0; }
.barra-movil .b1 svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; flex: none; }
.barra-movil .b2 { flex: none; width: 50px; padding: 0; background: #25d366; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px rgba(37,211,102,.35); position: relative; }
.barra-movil .b2::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(37,211,102,.55); animation: onda 2.2s infinite; }
.barra-movil .b2 svg { width: 24px; height: 24px; fill: #fff; }
.barra-movil .b3 { flex: none; width: 50px; padding: 0; background: rgba(255,255,255,.1); color: #fff; }
.barra-movil .b3 svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Revelado al hacer scroll ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.izq { transform: translateX(-50px); } .rv.der { transform: translateX(50px); } .rv.zoom { transform: scale(.95); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .calc { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .paneles { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  nav.menu, header .cta, .perfil-pill { display: none !important; }
  .hamburguesa { display: block; }
  .hero .contenedor, .cierre .contenedor, .casos .rejilla-c, .mapa .rejilla-m { grid-template-columns: 1fr; gap: 36px; }
  .modelos, .proceso .pasos, .linea-t, .confianza, .kpis { grid-template-columns: 1fr 1fr; }
  .proceso .riel, .linea-t::before { display: none; }
  .graficos { grid-template-columns: 1fr; }
  .controles { grid-template-columns: 1fr; gap: 22px; }
  .controles .control label { flex-direction: row; align-items: baseline; }
  .controles .control label output { font-size: 22px; }
  .calc-der .resultado { padding: 20px; }
  .calc-der .resultado .rango { font-size: 26px; white-space: normal; line-height: 1.2; }
  .grafico .eje { font-size: 22px; }
  .grafico .valor { font-size: 26px; }
  .grafico .etq-mayor { font-size: 19px; }
  .barra-esc .eje { font-size: 23px !important; }
  #acum-etq text { font-size: 24px; }
  .grafico { padding: 18px 16px 12px; }
  .confianza-calc { gap: 8px 16px; font-size: 13px; }
  .modalidad { flex-direction: column; align-items: stretch; gap: 10px; }
  .seg button { padding: 10px 6px; font-size: 13px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .beneficios { grid-template-columns: 1fr; }
  #mapa-real { height: 460px; }
}
@media (max-width: 640px) {
  .seccion { padding: 80px 0; }
  .cifras .caja { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .cifra:nth-child(3) { border-left: 0; grid-column: 1 / -1; }
  .modelos, .proceso .pasos, .linea-t, .confianza, footer .cols, .form { grid-template-columns: 1fr; }
  .lote { grid-template-columns: repeat(6, 1fr); }
  .tablero { padding: 14px; border-radius: 22px; }
  .tab-barra { padding: 4px 4px 12px; gap: 10px; }
  .tab-barra img { height: 30px; }
  .tab-barra small { display: block; font-size: 11.5px; }
  .vivo { font-size: 11px; padding: 5px 10px; }
  .saludo { padding: 14px 16px; gap: 12px; align-items: flex-start; border-radius: 16px; }
  .saludo .sol { width: 34px; height: 34px; }
  .saludo .sol svg { width: 18px; height: 18px; }
  .saludo p { font-size: 14.5px; }
  .kpis { grid-template-columns: 1fr; gap: 8px; margin: 12px 0; }
  .kpi { padding: 12px 14px; align-items: center; gap: 12px; border-radius: 14px; }
  .kpi .ic { width: 36px; height: 36px; border-radius: 10px; }
  .kpi .ic svg { width: 18px; height: 18px; }
  .kpi > div:last-child { flex: 1; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k v" "d v"; align-items: center; column-gap: 10px; }
  .kpi .k { grid-area: k; font-size: 13px; color: var(--tinta); font-weight: 700; }
  .kpi .v { grid-area: v; font-size: 22px; margin: 0; text-align: right; white-space: nowrap; }
  .kpi .d { grid-area: d; font-size: 11.5px; margin: 0; }
  .paneles { gap: 10px; }
  .panel { padding: 16px; border-radius: 16px; }
  .panel h3 { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 15px; }
  .panel .eje { font-size: 19px; }
  .feed li { font-size: 13px; padding: 9px 10px; gap: 10px; }
  .feed li .h { width: 34px; font-size: 11px; }
  .reporte .doc { width: 70px; }
  .reporte p { font-size: 13px; }
  .lote .celda:nth-child(n+19) { display: none; }
  .wa { display: none; }
  .barra-movil { display: flex; }
  .rv.izq, .rv.der { transform: translateY(40px); }
  .linea-tiempo { flex-wrap: wrap; gap: 10px; }
  .linea-tiempo input { order: 4; flex-basis: 100%; }
  footer { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
