/* Apps móviles · página de servicio. Mismo lenguaje que la landing: luz azul de un solo tono,
   aparatos derechos, pantallas hechas en HTML que se animan con el scroll (solo transform/opacity). */
.sv-apps em { font-style: normal; color: var(--azul); font-family: var(--fd); font-weight: 500; letter-spacing: -.035em; font-variation-settings: var(--opsz); }
.sv-apps main { overflow-x: clip; }
.ap-tag { font: 600 12.5px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; color: var(--azul); margin-bottom: 14px; }
.ap-h2 { font: 600 clamp(34px, 4vw, 58px)/1.03 var(--ft); letter-spacing: -.04em; text-wrap: balance; }
.ap-lead { margin-top: 16px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: var(--gris); }

/* ======================= el iPhone (y el Android) · medidas de diseño 340 × 704 ======================= */
.tel-caja { --k: 1; position: relative; width: calc(340px * var(--k)); height: calc(704px * var(--k)); flex: none; }
.tel { position: absolute; left: 0; top: 0; width: 340px; height: 704px; transform: scale(var(--k)); transform-origin: 0 0; }
.tel-marco { position: relative; height: 100%; padding: 5px; border-radius: 66px; background: linear-gradient(135deg, #d8d4cd, #8e8a83 40%, #c9c5be 60%, #77736d); box-shadow: 0 60px 90px -36px rgba(10,20,70,.5), 0 18px 30px -18px rgba(10,20,70,.38); }
.tel-bisel { height: 100%; padding: 9px; border-radius: 61px; background: #050507; }
.tel-pantalla { position: relative; width: 312px; height: 676px; overflow: hidden; border-radius: 52px; background: #fff; isolation: isolate; }
.tel-b { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #6f6b65, #b8b4ad); }
.tel-b.b1 { left: -3px; top: 150px; height: 38px; } .tel-b.b2 { left: -3px; top: 206px; height: 64px; } .tel-b.b3 { right: -3px; top: 186px; height: 92px; }
.tel-isla { position: absolute; z-index: 20; left: 50%; top: 12px; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; }
.tel-brillo { position: absolute; z-index: 21; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 30%, rgba(255,255,255,0) 46%); }
.tel-estado { position: absolute; z-index: 19; left: 0; right: 0; top: 0; height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 4px 30px 0 36px; color: #fff; font: 600 15px/1 var(--fb); letter-spacing: -.01em; pointer-events: none; }
.tel-estado.oscuro { color: #0a0a0f; }
.tel-ico { display: flex; align-items: center; gap: 6px; }
.tel-ico .senal { width: 17px; height: 11px; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 4.5px, currentColor 4.5px 7.5px, transparent 7.5px 9px, currentColor 9px 12px, transparent 12px 13.5px, currentColor 13.5px); clip-path: polygon(0 75%, 22% 75%, 22% 50%, 48% 50%, 48% 25%, 74% 25%, 74% 0, 100% 0, 100% 100%, 0 100%); }
.tel-ico .bat { position: relative; width: 25px; height: 12px; border-radius: 4px; border: 1.3px solid currentColor; opacity: .9; }
.tel-ico .bat::after { content: ''; position: absolute; inset: 1.5px 6px 1.5px 1.5px; border-radius: 2px; background: currentColor; }
/* Android: marco plano y cámara perforada */
.tel.android .tel-marco { border-radius: 48px; background: linear-gradient(135deg, #3b3d42, #1d1e22 45%, #34363b 70%, #17181b); }
.tel.android .tel-bisel { border-radius: 44px; padding: 8px; }
.tel.android .tel-pantalla { width: 314px; height: 678px; border-radius: 37px; }
.tel.android .tel-b { background: linear-gradient(90deg, #2a2b2f, #4a4c52); }
.tel-camara { position: absolute; z-index: 20; left: 50%; top: 14px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #050507; box-shadow: inset 0 0 0 3px #15161a; }
.tel-estado.and { padding: 2px 26px 0 28px; height: 44px; font-size: 14px; }

/* vistas dentro de la pantalla: se cruzan con el scroll */
.vista { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; font-family: var(--fb); letter-spacing: -.012em; }
.vista.visible, .vista[data-vista="0"] { opacity: 1; }
.vista img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lumbre · cafetería (ejemplo) ---------- */
.lumbre { background: #f5efe7; color: #23170f; }
.lm-cab { position: relative; height: 236px; overflow: hidden; }
.lm-cab img { position: absolute; inset: 0; object-position: 50% 62%; }
.lm-cab::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,8,.5) 0%, rgba(20,12,8,0) 34%, rgba(20,12,8,.2) 60%, rgba(20,12,8,.78) 100%); }
.lm-cab-txt { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 54px; color: #fff; }
.lm-marca { display: block; font: 700 13px/1 var(--ft); letter-spacing: .34em; opacity: .85; }
.lm-cab-txt span { display: block; margin-top: 8px; font: 600 27px/1.05 var(--ft); letter-spacing: -.035em; }
.lm-tarjeta { position: relative; z-index: 2; margin: -40px 14px 0; padding: 16px 16px 14px; border-radius: 22px; background: #fffdf9; box-shadow: 0 14px 30px -16px rgba(40,24,12,.35), 0 0 0 1px rgba(40,24,12,.06); }
.lm-t-cab { display: flex; align-items: flex-start; justify-content: space-between; }
.lm-t-cab small { display: block; font-size: 11.5px; color: #8b7b6e; font-weight: 500; }
.lm-t-cab b { display: block; margin-top: 3px; font: 600 19px/1.1 var(--ft); letter-spacing: -.03em; }
.lm-nivel { padding: 6px 10px; border-radius: 999px; background: #23170f; color: #f5efe7; font: 600 11px/1 var(--fb); }
.lm-sellos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 14px; }
.lm-sello { position: relative; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #e3d6c8; display: grid; place-items: center; }
.lm-sello svg { width: 56%; height: 56%; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s cubic-bezier(.2,1.6,.4,1); }
.lm-sello.on { background: #23170f; box-shadow: none; }
.lm-sello.on svg { opacity: 1; transform: none; }
.lm-sello.regalo { box-shadow: inset 0 0 0 1.5px #23170f; }
.lm-sello.regalo::after { content: 'Gratis'; font: 600 9px/1 var(--fb); color: #23170f; }
html[lang=en] .lm-sello.regalo::after { content: 'Free'; }
.lm-falta { margin-top: 12px; font-size: 12.5px; color: #6d5d50; }
.lm-qr-fila { display: flex; align-items: center; gap: 14px; margin: 14px 14px 0; padding: 14px; border-radius: 20px; background: #fffdf9; box-shadow: 0 0 0 1px rgba(40,24,12,.06); }
.lm-qr { width: 84px; height: 84px; flex: none; }
.lm-qr svg { display: block; width: 100%; height: 100%; }
.lm-qr-fila b { display: block; font: 600 15px/1.2 var(--ft); letter-spacing: -.02em; }
.lm-qr-fila span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: #7a6a5d; }
.lm-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 12px 10px 26px; background: rgba(255,253,249,.94); box-shadow: 0 -1px 0 rgba(40,24,12,.07); font: 500 11.5px/1 var(--fb); color: #9a8a7d; }
.lm-tabs .on { color: #23170f; font-weight: 600; }
.lm-tabs span { display: grid; justify-items: center; gap: 5px; }
.lm-tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.lm-menu { padding: 64px 16px 0; }
.lm-menu-cab b { display: block; font: 600 25px/1.05 var(--ft); letter-spacing: -.035em; }
.lm-menu-cab span { display: block; margin-top: 5px; font-size: 12.5px; color: #7a6a5d; }
.lm-chips { display: flex; gap: 6px; margin: 16px 0 6px; }
.lm-chips span { padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #6d5d50; box-shadow: inset 0 0 0 1px #e3d6c8; }
.lm-chips .on { background: #23170f; color: #f5efe7; box-shadow: none; }
.lm-prod { display: flex; align-items: center; gap: 12px; padding: 11px 0; box-shadow: 0 1px 0 rgba(40,24,12,.08); }
.lm-prod img { width: 58px; height: 58px; flex: none; border-radius: 14px; }
.lm-prod > div { flex: 1; min-width: 0; }
.lm-prod b { display: block; font: 600 14.5px/1.2 var(--ft); letter-spacing: -.02em; }
.lm-prod span { display: block; margin-top: 3px; font-size: 12px; color: #8b7b6e; }
.lm-prod .lm-add { flex: none; display: inline-grid; place-items: center; min-width: 74px; height: 32px; padding: 0 12px; border-radius: 999px; font: 600 12px/1 var(--fb) !important; color: #23170f !important; margin: 0 !important; box-shadow: inset 0 0 0 1.2px #23170f; transition: background .25s, color .25s; }
.lm-prod .lm-add.hecho { background: #23170f; color: #f5efe7 !important; }
.lm-barra-pedido { position: absolute; left: 14px; right: 14px; bottom: 26px; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 8px 0 18px; border-radius: 999px; background: #23170f; color: #f5efe7; font-size: 13px; will-change: transform, opacity; }
.lm-barra-pedido b { font-weight: 700; }
.lm-pedir { display: inline-grid; place-items: center; height: 40px; padding: 0 20px; border-radius: 999px; background: #f5efe7; color: #23170f; font-weight: 600; }
.lm-estado-hoja { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 34px; border-radius: 28px 28px 0 0; background: #fffdf9; box-shadow: 0 -18px 40px -20px rgba(40,24,12,.35); will-change: transform; transform: translateY(105%); }
.lm-estado-hoja small { font-size: 12px; color: #8b7b6e; font-weight: 500; }
.lm-estado-t { display: block; margin-top: 4px; font: 600 26px/1.05 var(--ft); letter-spacing: -.035em; }
.lm-prog { height: 6px; margin-top: 16px; border-radius: 3px; background: #efe5da; overflow: hidden; }
.lm-prog i { display: block; height: 100%; width: 100%; border-radius: 3px; background: #23170f; transform-origin: 0 0; transform: scaleX(.12); will-change: transform; }
.lm-linea { list-style: none; display: flex; justify-content: space-between; margin-top: 10px; font-size: 11.5px; color: #b3a497; }
.lm-linea li { transition: color .3s; } .lm-linea li.on { color: #23170f; font-weight: 600; }
.lm-estado-hoja p { margin-top: 14px; padding-top: 12px; box-shadow: 0 -1px 0 rgba(40,24,12,.08); font-size: 12.5px; color: #6d5d50; }

/* pantalla bloqueada con avisos */
.bloqueo { background: #1a120d; color: #fff; }
.bl-fondo { position: absolute; inset: 0; filter: brightness(.72) saturate(.9); object-position: 50% 50%; }
.bl-hora { position: relative; padding-top: 70px; text-align: center; }
.bl-hora small { font: 500 14px/1 var(--fb); opacity: .9; }
.bl-hora b { display: block; margin-top: 2px; font: 600 84px/1 var(--ft); letter-spacing: -.04em; }
.bl-avisos { position: absolute; left: 10px; right: 10px; top: 236px; display: grid; gap: 8px; }
.bl-aviso { display: flex; gap: 11px; padding: 12px 13px; border-radius: 20px; background: rgba(245,240,234,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #1b130e; opacity: 0; transform: translateY(-14px) scale(.96); will-change: transform, opacity; }
.bl-aviso .bl-app { flex: none; margin: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #23170f; color: #f5efe7; font: 700 16px/1 var(--ft); }
.bl-aviso b { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.bl-aviso b small { font-weight: 400; font-size: 12px; color: #6e625a; }
.bl-aviso span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; }

/* ---------- Norte · app de campo (ejemplo) ---------- */
.norte { background: #f6f7fb; color: #0b0d17; }
.nt-mapa { position: absolute; left: 0; right: 0; top: 0; height: 330px; }
.nt-mapa svg { width: 100%; height: 100%; display: block; }
.nt-ruta { stroke-dasharray: 1; stroke-dashoffset: 1; }
.nt-pins circle { fill: #fff; stroke: #0019ff; stroke-width: 2.5; }
.nt-pins text { font: 700 11px var(--fb); fill: #0019ff; text-anchor: middle; }
.nt-pins g.on circle { fill: #0019ff; } .nt-pins g.on text { fill: #fff; }
.nt-hoja { position: absolute; left: 0; right: 0; bottom: 0; top: 296px; padding: 10px 16px 0; border-radius: 26px 26px 0 0; background: #fff; box-shadow: 0 -10px 30px -18px rgba(10,20,70,.35); }
.nt-hoja::before { content: ''; display: block; width: 36px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: #dde0e8; }
.nt-hoja-cab { display: flex; align-items: flex-end; justify-content: space-between; }
.nt-hoja-cab small { font-size: 12px; color: #8a8fa0; font-weight: 500; }
.nt-hoja-cab b { display: block; margin-top: 2px; font: 600 22px/1.05 var(--ft); letter-spacing: -.035em; }
.nt-hechas { padding: 6px 10px; border-radius: 999px; background: #eef1ff; color: #0019ff; font: 600 12px/1 var(--fb); }
.nt-visitas { list-style: none; margin-top: 10px; }
.nt-visitas li { display: flex; align-items: center; gap: 12px; padding: 10px 0; box-shadow: 0 1px 0 #eceef4; transition: opacity .3s; }
.nt-visitas li i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px #c9cfdf; font: 700 12px/1 var(--fb); font-style: normal; color: #5d6274; transition: background .3s, color .3s, box-shadow .3s; }
.nt-visitas b { display: block; font: 600 14px/1.2 var(--ft); letter-spacing: -.02em; }
.nt-visitas span { display: block; margin-top: 2px; font-size: 12px; color: #8a8fa0; }
.nt-visitas li.hecha i { background: #0019ff; color: #fff; box-shadow: none; }
.nt-visitas li.hecha b { color: #8a8fa0; text-decoration: line-through; text-decoration-color: rgba(138,143,160,.6); }
.nt-visitas li.actual { box-shadow: 0 1px 0 #eceef4, inset 3px 0 0 #0019ff; padding-left: 10px; }

.nt-form { padding: 62px 16px 0; }
.nt-form-cab small { font-size: 12px; color: #8a8fa0; font-weight: 500; }
.nt-form-cab b { display: block; margin-top: 3px; font: 600 24px/1.05 var(--ft); letter-spacing: -.035em; }
.nt-form-cab span { display: block; margin-top: 4px; font-size: 12.5px; color: #5d6274; }
.nt-check { list-style: none; margin-top: 14px; padding: 4px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #eceef4; }
.nt-check li { display: flex; align-items: center; gap: 11px; padding: 10px 0; font-size: 13.5px; color: #2b2f3a; }
.nt-check li + li { box-shadow: 0 -1px 0 #f0f1f5; }
.nt-check i { position: relative; flex: none; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.6px #c9cfdf; transition: background .25s, box-shadow .25s; }
.nt-check i::after { content: ''; position: absolute; left: 7.5px; top: 3.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) scale(0); transition: transform .3s cubic-bezier(.2,1.6,.4,1); }
.nt-check li.on i { background: #0019ff; box-shadow: none; } .nt-check li.on i::after { transform: rotate(45deg) scale(1); }
.nt-sub { margin: 14px 0 8px; font: 600 12px/1 var(--fb); letter-spacing: .06em; text-transform: uppercase; color: #8a8fa0; }
.nt-fotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.nt-fotos span { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #e6e9f0; opacity: 0; transform: scale(.85); will-change: transform, opacity; }
.nt-fotos .nt-foto-mas { opacity: 1; transform: none; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px #d5dae6; color: #8a8fa0; font: 400 24px/1 var(--fb); }
.nt-firma { height: 70px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #eceef4; }
.nt-firma svg { display: block; width: 100%; height: 100%; }
.nt-trazo { stroke-dasharray: 1; stroke-dashoffset: 1; }
.nt-enviar { display: grid; place-items: center; height: 48px; margin-top: 14px; border-radius: 999px; background: #0019ff; color: #fff; font: 600 14px/1 var(--fb); opacity: .35; transition: opacity .3s; }
.nt-enviar.listo { opacity: 1; }

.lector { background: #0b0d17; }
.nt-camara { position: absolute; left: 0; right: 0; top: 0; height: 380px; overflow: hidden; }
.nt-camara > img { filter: brightness(.5) saturate(.7); }
.nt-marco { position: absolute; left: 50%; top: 150px; width: 210px; height: 112px; margin-left: -105px; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 0 0 2px rgba(255,255,255,.95), 0 0 0 999px rgba(5,6,12,.38); display: grid; place-items: center; transition: box-shadow .3s; }
.nt-barras { width: 150px; height: 62px; }
.nt-laser { position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; border-radius: 1px; background: #0019ff; box-shadow: 0 0 12px 2px rgba(0,25,255,.55); animation: laser 1.6s ease-in-out infinite alternate; }
@keyframes laser { from { transform: translateY(-36px); } to { transform: translateY(36px); } }
.lector.leido .nt-marco { box-shadow: 0 0 0 3px #16a34a, 0 0 0 999px rgba(5,6,12,.38); }
.lector.leido .nt-laser { opacity: 0; }
.nt-cam-txt { position: absolute; left: 0; right: 0; top: 290px; text-align: center; color: #fff; font-size: 13px; font-weight: 500; }
.nt-inv { position: absolute; left: 0; right: 0; bottom: 0; top: 330px; padding: 16px 16px 0; border-radius: 26px 26px 0 0; background: #f6f7fb; color: #0b0d17; }
.nt-leido { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #eceef4, 0 10px 24px -16px rgba(10,20,70,.4); opacity: 0; transform: translateY(14px); will-change: transform, opacity; }
.nt-leido i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #16a34a; }
.nt-leido i::after { content: ''; position: absolute; left: 11px; top: 7px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.nt-leido b { display: block; font: 600 14px/1.2 var(--ft); letter-spacing: -.02em; }
.nt-leido span { display: block; margin-top: 2px; font-size: 11.5px; color: #8a8fa0; }
.nt-mat { list-style: none; padding: 2px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #eceef4; }
.nt-mat li { display: flex; justify-content: space-between; padding: 10px 0; font-size: 13px; }
.nt-mat li + li { box-shadow: 0 -1px 0 #f0f1f5; }
.nt-mat b { font-weight: 500; } .nt-mat span { color: #5d6274; }
.nt-mat-nuevo { opacity: 0; will-change: opacity; }
.nt-sync { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: #5d6274; }
.nt-sync i { width: 8px; height: 8px; border-radius: 50%; background: #9aa0b1; transition: background .3s; }
.nt-sync.ok i { background: #16a34a; }

/* ---------- Sonríe · citas (ejemplo, solo en el hero) ---------- */
.sonrie { background: #fff; color: #0b0d17; }
.sn-cab { padding: 56px 20px 0; }
.sn-cab small { font-size: 12px; color: #8a8fa0; font-weight: 500; }
.sn-cab b { display: block; margin-top: 4px; font: 600 25px/1.05 var(--ft); letter-spacing: -.035em; }
.sn-doc { display: flex; align-items: center; gap: 12px; margin: 16px 20px 0; padding: 12px; border-radius: 18px; background: #f4f6fb; }
.sn-doc img { width: 46px; height: 46px; border-radius: 12px; }
.sn-doc b { display: block; font: 600 14px/1.2 var(--ft); } .sn-doc span { display: block; margin-top: 2px; font-size: 12px; color: #8a8fa0; }
.sn-dias { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 18px 20px 0; }
.sn-dias span { padding: 10px 0; border-radius: 14px; text-align: center; font-size: 11px; color: #8a8fa0; box-shadow: inset 0 0 0 1px #e6e9f0; }
.sn-dias span b { display: block; margin-top: 4px; font: 600 17px/1 var(--ft); color: #0b0d17; }
.sn-dias .on { background: #0b0d17; box-shadow: none; color: rgba(255,255,255,.7); } .sn-dias .on b { color: #fff; }
.sn-horas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 18px 20px 0; }
.sn-horas span { padding: 12px 0; border-radius: 12px; text-align: center; font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px #e6e9f0; }
.sn-horas .on { background: #0019ff; color: #fff; box-shadow: none; }
.sn-horas .no { color: #c3c7d2; text-decoration: line-through; }
.sn-boton { position: absolute; left: 20px; right: 20px; bottom: 30px; display: grid; place-items: center; height: 52px; border-radius: 999px; background: #0019ff; color: #fff; font: 600 14.5px/1 var(--fb); }

/* ======================= HERO ======================= */
.ap-hero { position: relative; padding: clamp(110px, 15vh, 140px) 0 0; overflow: clip; background: #fff; }
.ap-cielo { position: absolute; inset: 0; background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 30%, #eef3ff 100%); }
.ap-cielo i { position: absolute; border-radius: 50%; filter: blur(70px); }
.ap-cielo .a1 { width: 120vw; height: 70vh; left: -10vw; top: 60%; background: radial-gradient(closest-side, rgba(0,25,255,.26), rgba(0,25,255,0)); animation: ap-flota 14s ease-in-out infinite alternate; }
.ap-cielo .a2 { width: 60vw; height: 50vh; left: 48vw; top: 40%; background: radial-gradient(closest-side, rgba(90,140,255,.3), rgba(90,140,255,0)); animation: ap-flota 18s ease-in-out -6s infinite alternate-reverse; }
.ap-cielo .a3 { width: 50vw; height: 40vh; left: 0; top: 34%; background: radial-gradient(closest-side, rgba(160,195,255,.4), rgba(160,195,255,0)); animation: ap-flota 16s ease-in-out -3s infinite alternate; }
@keyframes ap-flota { to { transform: translate3d(4vw, -3vh, 0) scale(1.08); } }
.ap-hero-txt { position: relative; z-index: 1; width: min(1000px, 92vw); margin: 0 auto; text-align: center; }
.ap-h1 { font: 600 clamp(42px, 5.6vw, 86px)/1.02 var(--ft); letter-spacing: -.03em; }
.ap-h1 > span { display: inline-block; white-space: nowrap; }
.ap-bajada { max-width: 640px; margin: 18px auto 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--gris); }
.ap-hero-txt > * { opacity: 0; transform: translateY(18px); animation: entra .9s cubic-bezier(.2,.7,.2,1) forwards; }
.ap-hero-txt > :nth-child(2) { animation-delay: .08s; } .ap-hero-txt > :nth-child(3) { animation-delay: .18s; } .ap-hero-txt > :nth-child(4) { animation-delay: .26s; }

.ap-hero-tels { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-start; gap: clamp(18px, 3vw, 44px); height: clamp(420px, 52vh, 560px); margin-top: clamp(40px, 6vh, 64px); pointer-events: none; }
.ap-ht { will-change: transform; animation: ap-sube 1.1s .2s cubic-bezier(.2,.7,.2,1) both; }
.ap-ht.ht-izq, .ap-ht.ht-der { margin-top: 70px; }
.ap-ht.ht-izq { animation-delay: .32s; } .ap-ht.ht-der { animation-delay: .4s; }
@keyframes ap-sube { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
.ap-hero::after { content: ''; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(238,243,255,0), #eef3ff); pointer-events: none; }

/* ======================= pistas pegadas (clientes · equipo) ======================= */
.ap-pista { position: relative; height: 420vh; background: #eef3ff; }
.ap-pista.espejo { background: linear-gradient(180deg, #eef3ff 0%, #fff 30%); }
.ap-fijo { position: sticky; top: 0; height: 100svh; overflow: clip; }
.ap-luz { position: absolute; inset: 0; pointer-events: none; }
.ap-luz i { position: absolute; left: 58%; top: 50%; width: 70vw; height: 80vh; margin: -40vh 0 0 -35vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,25,255,.12), rgba(0,25,255,0)); filter: blur(40px); }
.espejo .ap-luz i { left: 42%; }
.ap-escena { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(48px, 7vw, 120px); height: 100%; width: min(1240px, 92vw); margin: 0 auto; padding-top: 40px; }
.espejo .ap-escena { flex-direction: row-reverse; }
.ap-texto { width: min(460px, 38vw); flex: none; }
.ap-aparato { flex: none; display: grid; place-items: center; }
.ap-pasos { list-style: none; margin-top: 28px; counter-reset: paso; }
.ap-pasos li { counter-increment: paso; box-shadow: 0 -1px 0 rgba(10,20,80,.1); }
.ap-pasos button { position: relative; display: block; width: 100%; padding: 18px 0 18px 46px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.ap-pasos button::before { content: attr(data-n); position: absolute; left: 0; top: 20px; font: 600 13px/1 var(--fb); color: #9aa0ad; transition: color .3s; }
.ap-pasos b { display: block; font: 600 clamp(19px, 1.6vw, 23px)/1.15 var(--ft); letter-spacing: -.03em; color: #9aa0ad; transition: color .3s; }
.ap-pasos span > span { min-height: 0; overflow: hidden; }
.ap-pasos button > span { display: grid; grid-template-rows: 0fr; opacity: 0; overflow: hidden; font-size: 15.5px; line-height: 1.5; color: var(--gris); transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1), opacity .35s, margin .45s; }
.ap-pasos li.on b { color: var(--tinta); }
.ap-pasos li.on button::before { color: var(--azul); }
.ap-pasos li.on button > span { grid-template-rows: 1fr; opacity: 1; margin-top: 8px; }
.ap-pasos li .barra { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--azul); transform-origin: 0 0; transform: scaleX(0); will-change: transform; }
.ap-pasos li { position: relative; }
.ap-nota { margin-top: 22px; font-size: 13px; color: #8a8fa0; }

/* ======================= conectada ======================= */
.ap-conecta { position: relative; background: #fff; padding-top: clamp(90px, 14vh, 150px); }
.ap-cab-centro { width: min(760px, 90vw); margin: 0 auto; text-align: center; }
.ap-cab-centro .ap-lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.cn-pista { position: relative; height: 230vh; }
.cn-fijo { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; overflow: clip; }
.cn-comp { --c: 1; position: relative; width: calc(1090px * var(--c)); height: calc(620px * var(--c)); flex: none; }
.cn-comp > * { transform-origin: 0 0; }
.cn-laptop { position: absolute; left: 0; top: 0; width: 900px; transform: scale(var(--c)); }
.cn-tapa { width: 810px; margin: 0 auto; padding: 4px; border-radius: 30px 30px 6px 6px; background: linear-gradient(180deg, #d9dce1, #a9aeb7); }
.cn-bisel { position: relative; padding: 18px 18px 26px; border-radius: 26px 26px 2px 2px; background: #050507; }
.cn-notch { position: absolute; z-index: 2; left: 50%; top: 18px; width: 110px; height: 18px; margin-left: -55px; border-radius: 0 0 11px 11px; background: #050507; }
.cn-pantalla { position: relative; height: 480px; border-radius: 10px 10px 0 0; overflow: hidden; background: #f6f7fb; }
.cn-base { position: relative; height: 22px; border-radius: 3px 3px 22px 22px / 3px 3px 14px 14px; background: linear-gradient(180deg, #eef0f3 0%, #d1d5db 45%, #9ea3ac 100%); box-shadow: 0 34px 44px -20px rgba(10,20,70,.45); }
.cn-ranura { position: absolute; left: 50%; top: 0; width: 140px; height: 9px; margin-left: -70px; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #a3a8b1, #c9cdd3); }
.cn-tel { position: absolute; left: 800px; top: 150px; transform: scale(var(--c)); }

.pn { display: grid; grid-template-columns: 150px 1fr; height: 100%; font-family: var(--fb); color: #0b0d17; letter-spacing: -.01em; }
.pn-lado { padding: 26px 12px; background: #fff; box-shadow: 1px 0 0 #eceef4; }
.pn-marca { display: block; padding: 0 8px 20px; font: 700 13px/1 var(--ft); letter-spacing: .3em; }
.pn-lado nav { display: grid; gap: 2px; }
.pn-lado nav span { padding: 9px 10px; border-radius: 9px; font-size: 13px; font-weight: 500; color: #5d6274; }
.pn-lado nav .on { background: #eef1ff; color: #0019ff; font-weight: 600; }
.pn-main { padding: 26px 20px; min-width: 0; }
.pn-cab { display: flex; align-items: center; justify-content: space-between; }
.pn-cab b { display: block; font: 600 20px/1.1 var(--ft); letter-spacing: -.03em; }
.pn-cab small { font-size: 12px; color: #8a8fa0; }
.pn-vivo { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #eceef4; font-size: 12px; font-weight: 600; }
.pn-vivo i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: ap-late 1.6s ease-in-out infinite; }
@keyframes ap-late { 50% { opacity: .35; } }
.pn-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.pn-col { display: flex; flex-direction: column; gap: 8px; min-height: 340px; padding: 10px; border-radius: 14px; background: #eef0f5; }
.pn-col > p { padding: 2px 4px 4px; font-size: 12px; font-weight: 600; color: #5d6274; }
.pn-card { padding: 11px 12px; border-radius: 11px; background: #fff; box-shadow: 0 1px 2px rgba(10,20,60,.06); font-size: 12px; }
.pn-card-cab { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pn-card b { font-size: 12.5px; font-weight: 600; }
.pn-card > span { display: block; margin-top: 5px; color: #4a4f61; }
.pn-card small { display: block; margin-top: 6px; color: #8a8fa0; font-size: 11.5px; }
.pn-chip { padding: 3px 7px; border-radius: 6px; background: #eef1ff; color: #0019ff; font-size: 10.5px; font-weight: 600; }
.pn-chip.gris { background: #eef0f5; color: #5d6274; }
.pn-card.listo { box-shadow: inset 3px 0 0 #16a34a, 0 1px 2px rgba(10,20,60,.06); }
.pn-nuevo { box-shadow: 0 0 0 2px #0019ff, 0 12px 24px -12px rgba(0,25,255,.5); will-change: transform, opacity; }
.cn-vista .lm-menu { padding-top: 66px; }
.cn-boton { position: absolute; left: 16px; right: 16px; bottom: 28px; display: grid; place-items: center; height: 54px; border-radius: 999px; background: #23170f; color: #f5efe7; font: 600 14.5px/1 var(--fb); will-change: transform, opacity; }
.cn-puntos { list-style: none; display: flex; gap: 40px; width: min(1090px, 90vw); }
.cn-puntos li { flex: 1; padding-top: 14px; box-shadow: 0 -1px 0 rgba(10,20,80,.12); font-size: 15px; line-height: 1.5; color: var(--gris); }
.cn-puntos b { color: var(--tinta); font-weight: 600; }

/* ======================= tiendas ======================= */
.ap-tiendas { position: relative; padding: clamp(100px, 14vh, 160px) 0; background: linear-gradient(180deg, #fff 0%, #eef3ff 100%); overflow: clip; }
.ti-marco { display: flex; align-items: center; justify-content: space-between; gap: 60px; width: min(1200px, 90vw); margin: 0 auto; }
.ti-texto { width: min(500px, 42vw); }
.ti-puntos { list-style: none; margin-top: 26px; }
.ti-puntos li { position: relative; padding: 14px 0 14px 24px; box-shadow: 0 -1px 0 rgba(10,20,80,.1); font-size: 15.5px; line-height: 1.5; color: #2b2f3a; }
.ti-puntos li::before { content: ''; position: absolute; left: 2px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--azul); }
.ti-puntos b { font-weight: 600; color: var(--tinta); }
.ti-tels { display: flex; gap: 28px; align-items: flex-start; }
.ti-tel { will-change: transform; }
.ti-tel + .ti-tel { margin-top: 80px; }
.tienda { background: #fff; color: #0b0d17; padding: 62px 18px 0; }
.tienda.play { padding-top: 54px; }
.tf-cab { display: flex; gap: 14px; }
.tf-icono { flex: none; display: grid; place-items: center; width: 82px; height: 82px; border-radius: 20px; background: #23170f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tf-icono b { font: 600 40px/1 var(--fd); color: #f5efe7; font-variation-settings: var(--opsz); letter-spacing: -.04em; }
.play .tf-icono { border-radius: 18px; width: 70px; height: 70px; } .play .tf-icono b { font-size: 34px; }
.tf-cab > div b { display: block; margin-top: 2px; font: 600 21px/1.1 var(--ft); letter-spacing: -.03em; }
.tf-cab > div span { display: block; margin-top: 3px; font-size: 12.5px; color: #8a8fa0; }
.tf-obtener { display: inline-grid !important; place-items: center; height: 30px; margin-top: 12px !important; padding: 0 18px; border-radius: 999px; background: #0071e3; color: #fff !important; font: 600 13px/1 var(--fb) !important; }
.play .tf-cab > div span { color: #0b57d0; font-weight: 500; }
.tf-instalar { display: grid; place-items: center; height: 40px; margin-top: 16px; border-radius: 999px; background: #0b57d0; color: #fff; font: 600 13.5px/1 var(--fb); }
.tf-datos { display: flex; margin-top: 18px; padding: 12px 0; box-shadow: 0 -1px 0 #eceef4, 0 1px 0 #eceef4; }
.tf-datos > div { flex: 1; text-align: center; }
.tf-datos > div + div { box-shadow: -1px 0 0 #eceef4; }
.tf-datos small { display: block; font-size: 10.5px; color: #8a8fa0; text-transform: uppercase; letter-spacing: .04em; }
.tf-datos b { display: block; margin-top: 5px; font: 600 15px/1 var(--ft); color: #5d6274; }
.tf-capturas { display: flex; gap: 8px; margin-top: 16px; }
.tf-cap { position: relative; flex: none; width: 128px; height: 250px; border-radius: 16px; overflow: hidden; background: #23170f; }
.tf-cap img { position: absolute; inset: 0; opacity: .82; }
.tf-cap i { position: absolute; left: 10px; right: 10px; top: 12px; font: 600 14px/1.15 var(--ft); font-style: normal; letter-spacing: -.02em; color: #fff; }
.tf-desc { margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: #4a4f61; }
.tf-nov { margin-top: 16px; padding-top: 14px; box-shadow: 0 -1px 0 #eceef4; font-size: 12.5px; line-height: 1.45; color: #4a4f61; }
.tf-nov b { display: block; font: 600 14px/1.2 var(--ft); color: #0b0d17; } .tf-nov small { display: block; margin-top: 2px; font-size: 11.5px; color: #8a8fa0; } .tf-nov span { display: block; margin-top: 6px; }
.tf-desc b { display: block; margin-bottom: 4px; font: 600 14px/1.2 var(--ft); color: #0b0d17; }

/* ======================= proyecto real: nichtarm ======================= */
.ap-real { padding: clamp(90px, 13vh, 150px) 0 clamp(80px, 11vh, 130px); background: #eef3ff; overflow: clip; }
.re-marco { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 90px); align-items: center; width: min(1240px, 90vw); margin: 0 auto; }
.re-icono { display: block; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 15px; box-shadow: 0 10px 24px -12px rgba(10,20,70,.45); }
.re-datos { list-style: none; margin-top: 24px; }
.re-datos li { position: relative; padding: 12px 0 12px 24px; box-shadow: 0 -1px 0 rgba(10,20,80,.1); font-size: 15.5px; line-height: 1.45; color: #2b2f3a; }
.re-datos li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--azul); }
.re-datos b { font-weight: 600; color: var(--tinta); }
.re-liga { display: inline-block; margin-top: 24px; font: 600 15px/1 var(--fb); color: var(--tinta); padding: 6px 0; box-shadow: 0 1px 0 rgba(10,20,80,.3); transition: color .2s, box-shadow .2s; }
.re-liga:hover { color: var(--azul); box-shadow: 0 1px 0 var(--azul); }
.re-tels { display: flex; gap: clamp(14px, 1.6vw, 24px); align-items: flex-start; }
.re-tel { will-change: transform; }
.re-tel:nth-child(2) { margin-top: 60px; }
.re-pant { background: #fff; }
.re-cap { position: absolute; left: 0; top: 18px; width: 100%; height: calc(100% - 18px); object-fit: cover; object-position: 50% 0; }
.re-mas { width: min(1240px, 90vw); margin: clamp(60px, 9vh, 100px) auto 0; padding-top: 34px; box-shadow: 0 -1px 0 rgba(10,20,80,.12); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.re-mas-t { font: 600 clamp(24px, 2.4vw, 34px)/1.1 var(--ft); letter-spacing: -.035em; }
.re-mas-fila { display: flex; gap: 14px; }
.re-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 132px; height: 150px; border-radius: 26px; box-shadow: inset 0 0 0 1.5px rgba(0,25,255,.22); background: rgba(255,255,255,.45); }
.re-slot i { width: 48px; height: 48px; border-radius: 13px; background: repeating-linear-gradient(135deg, rgba(0,25,255,.10) 0 6px, rgba(0,25,255,.04) 6px 12px); }
.re-slot small { font: 600 11.5px/1 var(--fb); letter-spacing: .06em; text-transform: uppercase; color: #6b74c9; }

/* ======================= preguntas (debajo del cierre, centradas; se abren con ../acordeon.js) ======================= */
.ap-preguntas { padding: clamp(70px, 10vh, 120px) 0 clamp(90px, 12vh, 140px); background: #fff; }
.pr-marco { display: flex; flex-direction: column; align-items: center; gap: clamp(32px, 4vw, 52px); width: min(1200px, 90vw); margin: 0 auto; text-align: center; }
.pr-cab .ap-lead a { color: var(--azul); font-weight: 600; box-shadow: 0 1px 0 rgba(0,25,255,.35); }
.pr-lista { width: 100%; max-width: 820px; text-align: left; }
.pr-lista details { border-top: 1px solid #e6e9f2; }
.pr-lista details:last-child { border-bottom: 1px solid #e6e9f2; }
.pr-lista summary { position: relative; list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font: 600 clamp(18px, 1.5vw, 21px)/1.3 var(--ft); letter-spacing: -.025em; transition: color .3s; }
.pr-lista summary::-webkit-details-marker { display: none; }
.pr-lista summary::before, .pr-lista summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--tinta); transition: transform .42s cubic-bezier(.22,1,.36,1), background .3s; }
.pr-lista summary::after { transform: rotate(90deg); }
.pr-lista details.abierta summary::after { transform: rotate(0); }
.pr-lista details.abierta summary, .pr-lista summary:hover { color: var(--azul); }
.pr-lista details.abierta summary::before, .pr-lista details.abierta summary::after { background: var(--azul); }
.pr-lista details p { max-width: 640px; padding: 0 48px 26px 0; font-size: 16px; line-height: 1.6; color: var(--gris); }

/* ======================= CTA ======================= */
.ap-cta { position: relative; overflow: clip; padding: clamp(110px, 18vh, 190px) 0 clamp(80px, 12vh, 130px); background: linear-gradient(180deg, #fff 0%, #eef3ff 100%); text-align: center; }
.ap-cta .ap-luz i { left: 50%; }
.cta-in { position: relative; width: min(900px, 90vw); margin: 0 auto; }
.cta-h { font: 600 clamp(38px, 5vw, 76px)/1.02 var(--ft); letter-spacing: -.04em; text-wrap: balance; }
.cta-in .ap-lead { max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-in .botones { margin-top: 30px; }

/* aparece al entrar */
.ap-aparece { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.ap-aparece.dentro { opacity: 1; transform: none; }

/* ======================= pantallas bajas ======================= */
@media (max-height: 800px) and (min-width: 761px) {
  .ap-pasos { margin-top: 18px; }
  .ap-pasos button { padding: 13px 0 13px 44px; }
  .ap-pasos button::before { top: 15px; }
  .ap-pasos button > span { font-size: 14.5px; }
}

/* ======================= celular ======================= */
@media (max-width: 1100px) and (min-width: 761px) { .re-marco { grid-template-columns: 1fr; } .re-tels { justify-content: center; } }
@media (max-width: 960px) and (min-width: 761px) {
  .ti-marco { flex-direction: column; } .ti-texto { width: 100%; }
}
@media (max-width: 760px) {
  .ap-hero { padding-top: 96px; }
  .ap-h1 > span { display: block; }
  .ap-hero-tels { height: 380px; gap: 10px; margin-top: 36px; }
  .ap-ht.ht-izq, .ap-ht.ht-der { margin-top: 50px; }

  .ap-pista { height: 400vh; }
  .ap-escena, .espejo .ap-escena { flex-direction: column-reverse; justify-content: flex-end; gap: 16px; padding-top: 72px; width: 90vw; }
  .ap-texto { width: 100%; }
  .ap-texto .ap-tag { margin-bottom: 8px; }
  .ap-h2 { font-size: 30px; }
  .ap-texto .ap-h2 { font-size: 26px; }
  .ap-pasos { margin-top: 10px; }
  .ap-pasos li { display: none; box-shadow: none; }
  .ap-pasos li.on { display: block; }
  .ap-pasos button { padding: 6px 0 0 34px; }
  .ap-pasos button::before { top: 9px; }
  .ap-pasos b { font-size: 18px; }
  .ap-pasos button > span { font-size: 14px; }
  .ap-pasos li .barra { display: none; }
  .ap-nota { display: none; }
  .ap-luz i { left: 50%; top: 35%; width: 120vw; margin-left: -60vw; }
  .espejo .ap-luz i { left: 50%; }

  .cn-pista { height: 200vh; }
  .cn-fijo { gap: 22px; }
  .cn-puntos { flex-direction: column; gap: 0; }
  .cn-puntos li { padding: 10px 0; font-size: 14px; }
  .cn-puntos li:nth-child(3) { display: none; }

  .ti-marco { flex-direction: column; gap: 44px; }
  .ti-texto { width: 100%; }
  .ti-tels { gap: 14px; }
  .ti-tel + .ti-tel { margin-top: 50px; }
  .ap-tiendas { padding: 80px 0 40px; }

  .re-marco { grid-template-columns: 1fr; }
  .re-tels { justify-content: center; gap: 8px; }
  .re-tel:nth-child(2) { margin-top: 36px; }
  .re-mas { flex-direction: column; align-items: flex-start; gap: 20px; }
  .re-mas-fila { width: 100%; gap: 8px; }
  .re-slot { flex: 1; width: auto; height: 120px; border-radius: 20px; }
  .re-slot small { font-size: 10px; }
}

/* ======================= sin movimiento ======================= */
@media (prefers-reduced-motion: reduce) {
  .ap-hero-txt > *, .ap-ht { animation: none; opacity: 1; transform: none; translate: none; }
  .ap-cielo i, .nt-laser, .pn-vivo i { animation: none; }
  .ap-aparece { opacity: 1; transform: none; transition: none; }
}
.ap-pista.quieto { height: auto; }
.ap-pista.quieto .ap-fijo { position: relative; height: auto; min-height: 100svh; padding: 60px 0; }
.cn-pista.quieto { height: auto; } .cn-pista.quieto .cn-fijo { position: relative; height: auto; padding: 60px 0 0; }
.ap-pista.quieto .ap-escena { height: auto; min-height: calc(100svh - 120px); }
.re-pant.oscura { background: #2e2e31; }

/* =====================================================================
   RONDA 2 (3 dic, noche): más color, gráficas, tarjetas que se apilan,
   panel con gráficas, bloque «más en desarrollo», entrada de cada pieza
   ===================================================================== */

/* entrada de cada componente (IntersectionObserver en pagina.js) */
.ent { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .75s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .85s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.ent.dentro { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ent { opacity: 1; transform: none; transition: none; } }

/* gráficas pequeñas (SVG generado en pagina.js) */
.mini { width: 96px; height: 34px; flex: none; }
.mini svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mini.dona { width: 38px; height: 38px; }

/* Lumbre: visitas por semana */
.lm-cab { height: 214px; }
.lm-qr-fila { margin-top: 10px; padding: 10px 14px; }
.lm-qr { width: 70px; height: 70px; }
.lm-visitas { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 14px 0; padding: 11px 14px; border-radius: 18px; background: #23170f; color: #f5efe7; }
.lm-visitas small { display: block; font-size: 11px; color: #b9a99b; }
.lm-visitas b { display: block; margin-top: 2px; font: 600 14px/1.2 var(--ft); letter-spacing: -.02em; }
.lm-mini { width: 104px; height: 30px; }

/* Norte: semana y material */
.nt-semana { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 11px 14px; border-radius: 16px; background: #0019ff; color: #fff; }
.nt-semana small { display: block; font-size: 11px; color: rgba(255,255,255,.72); }
.nt-semana b { display: block; margin-top: 2px; font: 600 14px/1.2 var(--ft); letter-spacing: -.02em; }
.nt-semana.claro { background: #fff; color: #0b0d17; box-shadow: 0 0 0 1px #eceef4; }
.nt-semana.claro small { color: #8a8fa0; }
.nt-hoja { top: 286px; }
.nt-visitas li { padding: 8px 0; }

/* ---------- Conectada: bloque tinta + panel con gráficas ---------- */
.ap-conecta { background: var(--tinta); color: #fff; }
.ap-conecta .ap-lead { color: rgba(255,255,255,.68); }
.ap-conecta em { color: #58a6ff; }
.ap-conecta .ap-tag { color: #8d99ff; }
.cn-puntos li { color: rgba(255,255,255,.62); box-shadow: 0 -1px 0 rgba(255,255,255,.16); }
.cn-puntos b { color: #fff; }
.ap-conecta .cn-base { box-shadow: 0 34px 60px -20px rgba(0,25,255,.45); }
.ap-conecta .tel-marco { box-shadow: 0 50px 80px -30px rgba(0,25,255,.5), 0 18px 30px -18px rgba(0,0,0,.6); }
.ap-conecta::before { content: ''; position: absolute; left: 50%; top: 52%; width: 90vw; height: 70vh; margin-left: -45vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,25,255,.32), rgba(0,25,255,0)); filter: blur(40px); pointer-events: none; }
.ap-conecta > * { position: relative; }

.pn-lado nav .on { background: #eef1ff; }
.pn-main { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; }
.pn-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pn-kpi { position: relative; padding: 11px 12px 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #eceef4; }
.pn-kpi p { font-size: 11px; font-weight: 500; color: #6b7083; white-space: nowrap; }
.pn-kpi b { display: block; margin-top: 4px; font: 600 21px/1 var(--ft); letter-spacing: -.035em; }
.pn-kpi .mini { position: absolute; right: 10px; bottom: 10px; width: 64px; height: 24px; }
.pn-kpi .mini.dona { width: 30px; height: 30px; }
.pn-kpi:first-child { background: #0019ff; color: #fff; box-shadow: none; }
.pn-kpi:first-child p { color: rgba(255,255,255,.75); }
.pn-fila { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.pn-tarjeta { display: flex; flex-direction: column; min-height: 0; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #eceef4; }
.pn-t { display: flex; align-items: baseline; justify-content: space-between; }
.pn-t b { font: 600 13.5px/1.2 var(--ft); letter-spacing: -.02em; } .pn-t small { font-size: 10.5px; color: #8a8fa0; }
.pn-horas { position: relative; flex: 1; display: flex; align-items: flex-end; gap: 9px; padding: 14px 0 0 22px; }
.pn-horas::before { content: ''; position: absolute; left: 22px; right: 0; top: 14px; bottom: 18px; background: repeating-linear-gradient(180deg, #eef0f4 0 1px, transparent 1px 25%); }
.pn-horas .ej { position: absolute; left: 0; font: 500 9.5px/1 var(--fb); color: #a0a5b4; transform: translateY(50%); }
.pn-hora { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; }
.pn-hora i { width: 100%; height: var(--h); border-radius: 5px 5px 2px 2px; background: #c9d2ff; transform-origin: bottom; transition: height .5s cubic-bezier(.2,.7,.2,1); }
.pn-hora.ahora i { background: #0019ff; }
.pn-hora span { font: 500 9.5px/1 var(--fb); color: #9aa0b1; }
.pn-lista { list-style: none; margin-top: 6px; }
.pn-lista li { display: flex; align-items: center; gap: 9px; padding: 7px 0; box-shadow: 0 -1px 0 #f0f1f5; }
.pn-lista li:first-child { box-shadow: none; }
.pn-av { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eef1ff; color: #0019ff; font: 700 9.5px/1 var(--fb); }
.pn-lista li > div { flex: 1; min-width: 0; }
.pn-lista b { display: block; font-size: 11.5px; font-weight: 600; }
.pn-lista small { display: block; font-size: 10.5px; color: #8a8fa0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-tag { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: #eef0f5; color: #4a4f61; font: 600 10px/1 var(--fb); font-style: normal; }
.pn-tag.azul { background: #0019ff; color: #fff; }
.pn-tag.listo { background: #fff; color: #0b0d17; box-shadow: inset 0 0 0 1px #e1e4ea; }
.pn-tag.listo i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.pn-tag.gris { background: transparent; color: #a0a5b4; }
.pn-lista li.pn-nuevo { margin: 0 -8px; padding: 7px 8px; border-radius: 9px; background: #f3f5ff; box-shadow: none; will-change: transform, opacity; }

/* ---------- tiendas: tarjetas de color que se apilan ---------- */
.ti-marco { align-items: flex-start; }
.ti-tels { position: sticky; top: max(90px, calc(50vh - 330px)); }
.ti-pila { margin-top: 30px; display: grid; gap: 18px; }
.ti-carta { position: sticky; top: calc(110px + var(--i, 0) * 14px); padding: 26px 28px 28px; border-radius: 26px; min-height: 190px; box-shadow: 0 24px 50px -28px rgba(10,20,70,.45); }
.ti-carta small { display: block; font: 600 12px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.ti-carta b { display: block; margin-top: 14px; font: 600 clamp(22px, 2vw, 28px)/1.1 var(--ft); letter-spacing: -.035em; }
.ti-carta p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; opacity: .85; }
.ti-carta.azul { background: #0019ff; color: #fff; }
.ti-carta.tinta { background: var(--tinta); color: #fff; }
.ti-carta.claro { background: #dfe5ff; color: var(--tinta); }
.ti-carta.nota { background: #fff; color: var(--tinta); box-shadow: inset 0 0 0 2px #0019ff, 0 24px 50px -28px rgba(10,20,70,.45); }
.ti-carta.nota small { color: #0019ff; opacity: 1; }
.ti-carta.nota p { color: var(--gris); opacity: 1; }
.ti-carta.nota .ti-nota-cta { margin-top: 14px; padding-top: 14px; box-shadow: 0 -1px 0 #e6e9f2; color: var(--tinta); font-weight: 600; }

/* ---------- nichtarm: anillo de capturas reales ---------- */
.re-anillo { margin-top: clamp(50px, 8vh, 90px); --an-alto: clamp(420px, 64vh, 620px); --an-alto-m: 380px; }
.ap-real { padding-bottom: clamp(50px, 8vh, 90px); }

/* ---------- más en desarrollo: bloque azul a todo el ancho ---------- */
.ap-mas { position: relative; overflow: clip; background: #0019ff; color: #fff; text-align: center; padding: clamp(110px, 17vh, 180px) 0 0; height: clamp(720px, 112vh, 1000px); }
.md-luz { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 100%, rgba(255,255,255,.22), rgba(255,255,255,0)), linear-gradient(180deg, #0019ff 0%, #0014d6 100%); }
.md-txt { position: relative; z-index: 2; width: min(1100px, 90vw); margin: 0 auto; }
.md-txt .ap-tag { color: rgba(255,255,255,.75); }
.md-h { font: 600 clamp(40px, 6vw, 96px)/1 var(--ft); letter-spacing: -.045em; text-wrap: balance; }
.ap-mas .md-h em { color: #fff; opacity: .78; }
.md-tels { position: absolute; z-index: 1; left: 50%; bottom: 0; display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 30px); transform: translateX(-50%); }
.md-tel { will-change: transform; }
.md-marco { width: clamp(150px, 15vw, 230px); aspect-ratio: 9 / 19; padding: 6px; border-radius: 34px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4), 0 40px 80px -30px rgba(0,0,40,.6); backdrop-filter: blur(6px); }
.md-pant { position: relative; height: 100%; border-radius: 29px; background: linear-gradient(180deg, #08105f, #0a0a0f); overflow: hidden; padding: 44px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.md-isla { position: absolute; left: 50%; top: 10px; width: 30%; height: 14px; margin-left: -15%; border-radius: 10px; background: #000; }
.md-l { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.16); }
.md-l.l1 { width: 45%; } .md-l.l2 { width: 75%; height: 16px; background: rgba(255,255,255,.26); } .md-l.l3 { width: 60%; } .md-l.l4 { width: 80%; }
.md-caja { display: block; height: 26%; border-radius: 14px; background: repeating-linear-gradient(135deg, rgba(141,153,255,.22) 0 8px, rgba(141,153,255,.08) 8px 16px); animation: md-brilla 3.2s ease-in-out infinite; }
.md-caja.c2 { height: 18%; animation-delay: -1.6s; }
@keyframes md-brilla { 50% { opacity: .55; } }
.md-t0, .md-t4 { margin-bottom: -40%; opacity: .7; } .md-t1, .md-t3 { margin-bottom: -22%; opacity: .88; } .md-t2 { margin-bottom: -8%; }
@media (max-width: 760px) {
  .ap-mas { height: 720px; padding-top: 100px; }
  .md-marco { width: 120px; border-radius: 26px; } .md-pant { border-radius: 21px; padding-top: 34px; }
  .md-t0, .md-t4 { display: none; }
  .ti-tels { position: relative; top: 0; }
  .ti-carta { top: calc(80px + var(--i, 0) * 12px); min-height: 0; padding: 22px; }
  .pn-kpi p { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .md-caja { animation: none; } }
.pn-kpi { display: flex; flex-direction: column; }
.pn-kpi p { overflow: hidden; text-overflow: ellipsis; }
.pn-kpi b { margin-top: 6px; }
.pn-kpi .mini { position: static; align-self: flex-end; margin-top: -20px; width: 52px; height: 20px; }
.pn-kpi .mini.dona { width: 26px; height: 26px; margin-top: -24px; }
.pn-tag { font-style: normal; }
.md-t0, .md-t4 { margin-bottom: -6%; } .md-t1, .md-t3 { margin-bottom: 4%; } .md-t2 { margin-bottom: 10%; }
.md-tels { bottom: -60px; }
.pn-kpi .mini { width: 44px; } .pn-kpi b { font-size: 19px; }
