/* KioscoYa: landing (index.php). Se carga después de ky.css y usa sus variables.
   Secciones oscuras con color fijo (no dependen del tema). Prefijo l- para no chocar con login/registro. */

.l-page {
  --night: #0C0C0E;
  --night-2: #16161A;
  --night-3: #202026;
  --night-line: rgb(255 255 255 / .09);
  --night-ink: #F4F4F5;
  --night-muted: #A1A1AA;
  --app-bg: #F4F4F2;
  --app-surface: #FFFFFF;
  --app-ink: #18181B;
  --app-muted: #6B6B74;
  --app-line: #E4E4E7;
}

/* ---------- Barra superior oscura ---------- */
.l-page .nav { background: rgb(12 12 14 / .9); border-bottom-color: transparent; color: var(--night-ink); }
.l-page .nav.is-stuck { border-bottom-color: var(--night-line); }
.l-page .nav .brand { color: #FAFAFA; }
.l-page .nav-links a { color: var(--night-muted); }
.l-page .nav-links a:hover { color: #FFF; }
.l-page .nav-login { color: #FAFAFA; }
.l-page .nav-login:hover { background: rgb(255 255 255 / .08); }
.l-page .nav-toggle { background: var(--night-2); border-color: var(--night-line); color: #FAFAFA; }
@media (max-width: 860px) {
  .l-page .nav-sheet { background: var(--night); border-bottom-color: var(--night-line); color: #FAFAFA; }
  .l-page .nav-sheet a:not(.btn) { border-bottom-color: var(--night-line); }
}

.l-hl { color: var(--accent); }
.l-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.l-kicker::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--accent); }
.l-head { max-width: 720px; margin-bottom: 56px; }
.l-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; margin-top: 14px; }
.l-head p { margin-top: 16px; color: var(--muted); font-size: 1.12rem; max-width: 60ch; }
.btn kbd { font: 600 .72rem/1 var(--body); padding: .3em .45em; border-radius: 6px; background: rgb(0 0 0 / .1); }

.l-btn-glass { background: rgb(255 255 255 / .06); color: #FAFAFA; border-color: rgb(255 255 255 / .16); backdrop-filter: blur(8px); }
.l-btn-glass:hover { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .3); }

/* ---------- Hero ---------- */
.l-hero { position: relative; background: var(--night); color: var(--night-ink); padding: 64px 0 0; margin-top: -68px; padding-top: 132px; overflow: hidden; isolation: isolate; }
.l-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 18%, rgb(255 198 41 / .16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgb(255 198 41 / .07), transparent 70%);
}
.l-hero-bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 85%);
}
.l-hero-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(transparent, var(--bg)); }
.l-hero-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: end; }
.l-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--night-line); background: rgb(255 255 255 / .04); color: var(--night-ink); text-decoration: none; font-size: .9rem; font-weight: 500; transition: border-color .2s, background-color .2s; }
.l-pill:hover { border-color: rgb(255 198 41 / .5); background: rgb(255 198 41 / .06); }
.l-pill span { background: var(--accent); color: #18181B; font-weight: 700; font-size: .78rem; padding: .3em .7em; border-radius: 999px; }
.l-pill i { transition: transform .25s var(--ease); }
.l-pill:hover i { transform: translateX(3px); }
.l-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin-top: 26px; color: #FAFAFA; }
.l-hero-side p { color: var(--night-muted); font-size: 1.13rem; line-height: 1.6; }
.l-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.l-hero-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--night-muted); font-size: .92rem; }
.l-hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.l-hero-trust i { color: var(--accent); }

/* Escenario con la maqueta */
.l-stage { position: relative; margin-top: 64px; perspective: 1800px; padding-bottom: 72px; }
.l-window { position: relative; border-radius: 16px; background: var(--night-2); border: 1px solid rgb(255 255 255 / .12);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .4), 0 40px 120px -30px rgb(0 0 0 / .8), 0 0 90px -20px rgb(255 198 41 / .22);
  overflow: hidden; transform-origin: 50% 0; transform: rotateX(var(--tilt, 14deg)) scale(var(--sc, .96)); transition: transform .1s linear; will-change: transform; }
.l-window-bar { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; height: 40px; padding: 0 14px; background: #1C1C21; border-bottom: 1px solid rgb(255 255 255 / .07); }
.l-window-bar .dots { display: flex; gap: 7px; }
.l-window-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #3A3A42; }
.l-window-bar .dots i:first-child { background: #FF5F57; } .l-window-bar .dots i:nth-child(2) { background: #FEBC2E; } .l-window-bar .dots i:nth-child(3) { background: #28C840; }
.l-window-bar .url { justify-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: #8A8A93; background: #121215; padding: 5px 14px; border-radius: 8px; min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; }

/* App simulada (colores del panel real, siempre claros) */
.l-app { display: grid; grid-template-columns: 200px 1fr; background: var(--app-bg); color: var(--app-ink); font-size: 13px; line-height: 1.4; min-height: 520px; }
.l-side { background: #18181B; color: #A1A1AA; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.l-side-brand { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: #FAFAFA; letter-spacing: -.03em; padding: 4px 10px 14px; }
.l-side-brand b { background: var(--accent); color: #18181B; border-radius: 999px; padding: 0 .38em; margin-left: 2px; }
.l-side-group { font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #5F5F68; padding: 12px 10px 4px; }
.l-side span { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px; font-weight: 500; }
.l-side span i { font-size: 1.05rem; }
.l-side span.on { background: rgb(255 198 41 / .14); color: #FFD45C; }
.l-main { padding: 18px 20px 20px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.l-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.l-top small { display: block; color: var(--app-muted); font-size: .75rem; }
.l-top strong { font-family: var(--display); font-size: 1.25rem; letter-spacing: -.02em; }
.l-top-right { display: flex; align-items: center; gap: 10px; }
.l-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #E7F6EC; color: #15803D; white-space: nowrap; }
.l-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(21 128 61 / .5); } 70% { box-shadow: 0 0 0 6px rgb(21 128 61 / 0); } 100% { box-shadow: 0 0 0 0 rgb(21 128 61 / 0); } }
.l-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #18181B; font-weight: 700; font-size: .72rem; flex: none; }
.l-avatar.lg { width: 44px; height: 44px; font-size: .9rem; }
.l-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.l-stat { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.l-stat small { color: var(--app-muted); font-size: .74rem; font-weight: 500; }
.l-stat strong { display: block; font-family: var(--display); font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 2px 0; white-space: nowrap; }
.l-stat em { font-style: normal; font-size: .72rem; color: var(--app-muted); display: inline-flex; align-items: center; gap: 4px; }
.l-stat em.up { color: #15803D; font-weight: 600; }
.l-stat em b { color: var(--app-ink); font-weight: 600; }
.l-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 12px; flex: 1; }
.l-card { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 12px; padding: 14px; min-width: 0; }
.l-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.l-card-head b { font-size: .86rem; }
.l-card-head small { color: var(--app-muted); font-size: .74rem; }
.l-card-head .live { display: inline-flex; align-items: center; gap: 6px; color: #15803D; font-weight: 600; }
.l-card-head .live i { width: 7px; height: 7px; border-radius: 50%; background: #15803D; animation: pulse 2s infinite; }
.l-chart { grid-row: span 2; display: flex; flex-direction: column; }
.l-bars { flex: 1; min-height: 150px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; padding-bottom: 6px; border-bottom: 1px solid var(--app-line); }
.l-bars span { height: 100%; display: flex; align-items: flex-end; }
.l-bars i { display: block; width: 100%; height: var(--h); border-radius: 5px 5px 2px 2px; background: #E9E9EC; transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease) calc(var(--i) * 50ms + .3s), background-color .3s; }
.l-bars span:nth-child(8) i, .l-bars span:nth-child(9) i { background: var(--accent); }
.l-bars span:nth-child(7) i, .l-bars span:nth-child(10) i, .l-bars span:nth-child(11) i { background: #FFE08A; }
.l-stage.in .l-bars i { transform: scaleY(1); }
.l-bars-x { display: flex; justify-content: space-between; color: var(--app-muted); font-size: .68rem; padding-top: 6px; font-variant-numeric: tabular-nums; }
.l-medios { margin-top: 14px; }
.l-medios-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; }
.l-medios-bar i { width: var(--w); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .9s; }
.l-stage.in .l-medios-bar i { transform: scaleX(1); }
.m1 { background: #18181B; } .m2 { background: var(--accent); } .m3 { background: #A1A1AA; } .m4 { background: #D4D4D8; }
.l-medios-ley { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: .7rem; color: var(--app-muted); }
.l-medios-ley span { display: inline-flex; align-items: center; gap: 5px; }
.l-medios-ley i { width: 8px; height: 8px; border-radius: 2px; }
.l-feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; overflow: hidden; height: 162px; }
.l-feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; font-size: .78rem; font-variant-numeric: tabular-nums; }
.l-feed li .t { color: var(--app-muted); }
.l-feed li .m { display: inline-flex; align-items: center; gap: 5px; color: #3F3F46; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-feed li.new { animation: feed-in .7s var(--ease); background: #FFF4D1; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-14px); } }
.l-alerts { display: grid; gap: 6px; align-content: start; }
.l-alerts .l-card-head { margin-bottom: 4px; }
.l-alerts > span { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 500; padding: 7px 9px; border-radius: 8px; }
.l-alerts .warn { background: #FEF3E2; color: #B45309; } .l-alerts .bad { background: #FDECEC; color: #C62828; } .l-alerts .info { background: #E8EEFC; color: #1D4ED8; }

/* Piezas flotantes */
.l-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: rgb(255 255 255 / .96); color: #18181B; box-shadow: 0 24px 48px -16px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .05); font-size: .82rem; opacity: 0; }
.l-float .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.l-float small { display: block; color: #6B6B74; font-size: .72rem; }
.l-float strong { font-size: .9rem; }
.l-float-scan { left: -28px; top: 46%; }
.l-float-scan .ico { background: #18181B; color: var(--accent); }
.l-float-scan > b { margin-left: 8px; font-variant-numeric: tabular-nums; }
.l-float-arca { right: 6%; bottom: 40px; }
.l-float-arca .ico { background: #E7F6EC; color: #15803D; }
.l-float-ticket { right: -44px; top: -50px; padding: 0; background: none; box-shadow: none; display: block; }
.l-float-ticket .paper { width: 196px; background: #FFF; color: #18181B; font: 500 11px/1.45 ui-monospace, 'SF Mono', Menlo, monospace; padding: 14px 14px 18px; box-shadow: 0 24px 48px -16px rgb(0 0 0 / .55);
  --zz: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; -webkit-mask: var(--zz); mask: var(--zz); }
.l-float-ticket b { display: block; text-align: center; font-size: 12px; }
.l-float-ticket small { display: block; text-align: center; color: #6B6B74; font-size: 10px; }
.l-float-ticket hr { border: 0; border-top: 1px dashed #A1A1AA; margin: 8px 0; }
.l-float-ticket p { display: flex; justify-content: space-between; gap: 8px; margin: 0; }
.l-float-ticket .tot { font-weight: 700; font-size: 12.5px; margin-bottom: 4px; }
.l-float-ticket .gr { margin-top: 6px; }
.l-stage.in .l-float-scan { animation: float-in .8s var(--ease) 1.3s both, bob 6s ease-in-out 2.1s infinite; }
.l-stage.in .l-float-arca { animation: float-in .8s var(--ease) 1.8s both, bob 7s ease-in-out 2.6s infinite reverse; }
.l-stage.in .l-float-ticket { opacity: 1; }
.l-float-ticket { clip-path: inset(0 -40px 100% -40px); }
.l-stage.in .l-float-ticket { animation: print 1.6s steps(14) .9s forwards; }
@keyframes float-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes print { to { clip-path: inset(0 -40px -60px -40px); } }

/* ---------- Cinta ---------- */
.l-strip { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.l-marquee { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.l-strip:hover .l-marquee { animation-play-state: paused; }
.l-marquee ul { list-style: none; margin: 0; padding: 18px 0; display: flex; }
.l-marquee li { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; font-weight: 600; color: var(--ink-2); white-space: nowrap; border-right: 1px solid var(--line); }
.l-marquee li i { font-size: 1.3rem; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Recorrido ---------- */
.l-tour { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 28px; align-items: start; }
.l-tour-tabs { display: grid; gap: 6px; }
.l-tab { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid transparent; background: none; color: var(--ink); font: inherit; cursor: pointer; overflow: hidden; transition: background-color .25s, border-color .25s; }
.l-tab:hover { background: var(--surface); }
.l-tab.on { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.l-tab .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; background: var(--surface-2); transition: background-color .25s, color .25s; }
.l-tab.on .ico { background: var(--accent); color: #18181B; }
.l-tab .txt b { display: block; font-family: var(--display); font-size: 1.08rem; letter-spacing: -.01em; }
.l-tab .txt small { display: block; color: var(--muted); font-size: .92rem; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .3s, margin .3s; }
.l-tab.on .txt small { max-height: 6em; opacity: 1; margin-top: 4px; }
.l-tab .prog { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.l-tab.on .prog { animation: prog var(--dur, 7s) linear forwards; }
.l-tour.paused .l-tab .prog { animation: none; transform: scaleX(0); }
@keyframes prog { to { transform: scaleX(1); } }
.l-tour-screen { position: relative; border-radius: 22px; padding: 28px; min-height: 470px; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 85% 0%, rgb(255 198 41 / .22), transparent 70%), var(--night); }
.l-tour-screen::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 40px 40px; }
.l-scr { background: var(--app-bg); color: var(--app-ink); border-radius: 14px; padding: 18px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .6); }
.l-scr.on { animation: scr-in .6s var(--ease); }
@keyframes scr-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.l-scr table { width: 100%; border-collapse: collapse; background: var(--app-surface); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--app-line); font-variant-numeric: tabular-nums; }
.l-scr th { text-align: left; font-size: .72rem; font-weight: 600; color: var(--app-muted); text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; background: #FAFAF9; border-bottom: 1px solid var(--app-line); }
.l-scr td { padding: 10px 12px; border-bottom: 1px solid #F0F0F1; }
.l-scr tr:last-child td { border-bottom: 0; }
.l-scr td small { display: block; color: var(--app-muted); font-size: .74rem; }
.l-scr td i { margin-right: 4px; }
.l-scr .ok { color: #15803D; font-weight: 600; } .l-scr .bad { color: #C62828; font-weight: 600; }
.l-scr kbd { font: 600 .7rem/1 var(--body); padding: .3em .45em; border-radius: 5px; background: #FFF; border: 1px solid var(--app-line); border-bottom-width: 2px; color: #3F3F46; }
.l-scr .l-badge i { animation: none; }

/* Pantalla: vender */
.s-pos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--app-surface); border: 2px solid #18181B; font-variant-numeric: tabular-nums; }
.s-search i { font-size: 1.3rem; }
.s-search .typing { flex: 1; overflow: hidden; white-space: nowrap; border-right: 2px solid #18181B; width: 0; animation: type 1.8s steps(13) .5s forwards, caret .8s step-end infinite; }
.l-scr:not(.on) .typing { animation: none; }
@keyframes type { to { width: 13ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.s-search.sm { height: 36px; border-width: 1px; border-color: var(--app-line); color: var(--app-muted); flex: 1; min-width: 160px; font-size: .82rem; }
.s-favs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.s-favs span { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px; border-radius: 10px; background: var(--app-surface); border: 1px solid var(--app-line); font-weight: 600; font-size: .8rem; }
.s-favs i { font-size: 1.3rem; }
.s-keys { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; color: var(--app-muted); font-size: .76rem; }
.s-pos-right { background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.s-line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--app-line); font-variant-numeric: tabular-nums; }
.l-scr.on .s-line.new { animation: feed-in .6s var(--ease) 2.3s both; }
.s-total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0 6px; }
.s-total b { font-family: var(--display); font-size: 1.8rem; letter-spacing: -.02em; }
.s-paga { display: flex; justify-content: space-between; font-size: .8rem; color: var(--app-muted); padding: 8px 10px; border-radius: 8px; background: #F4F4F5; }
.s-paga b { color: var(--app-ink); }
.s-paga .vuelto { color: #15803D; } .s-paga .vuelto b { color: #15803D; }
.s-medios { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.s-medios span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--app-line); font-size: .76rem; font-weight: 600; }
.s-medios span.on { background: #18181B; color: #FFF; border-color: #18181B; }
.s-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 10px; background: var(--accent); font-weight: 700; margin-top: auto; }

/* Pantalla: caja */
.s-caja { display: grid; gap: 12px; }
.s-caja-head { display: flex; justify-content: space-between; align-items: center; }
.s-caja-head small { display: block; color: var(--app-muted); font-size: .76rem; }
.s-caja-head b { font-family: var(--display); font-size: 1.2rem; }
.s-caja-mov { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-caja-mov span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--app-surface); border: 1px solid var(--app-line); font-size: .78rem; }
.s-caja-mov b { margin-left: auto; font-variant-numeric: tabular-nums; }
.s-caja-mov .in i { color: #15803D; } .s-caja-mov .out i { color: #C62828; }
.s-caja-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 10px; background: #18181B; color: #FAFAFA; }
.s-caja-foot span { display: inline-flex; align-items: center; gap: 6px; color: #D4D4D8; font-size: .8rem; }

/* Pantalla: stock */
.s-stock { display: grid; gap: 12px; }
.s-stock-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.s-stock-bar .chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--app-surface); border: 1px solid var(--app-line); font-weight: 600; font-size: .8rem; }
.s-aumento { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #FFF4D1; color: #6B4E00; font-size: .82rem; }
.s-aumento i { color: #B45309; }
.st { display: inline-block; min-width: 34px; text-align: center; padding: 2px 8px; border-radius: 999px; font-weight: 600; font-size: .78rem; }
.st.ok { background: #E7F6EC; color: #15803D; } .st.warn { background: #FEF3E2; color: #B45309; } .st.bad { background: #FDECEC; color: #C62828; }
.l-scr.on td.up { animation: flash 1.2s var(--ease) .4s; }
@keyframes flash { 30% { background: #FFF4D1; } }

/* Pantalla: fiado */
.s-fiado { display: grid; gap: 12px; }
.s-fiado-head { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--app-surface); border: 1px solid var(--app-line); }
.s-fiado-head small { display: block; color: var(--app-muted); font-size: .76rem; }
.s-fiado-head .saldo { margin-left: auto; text-align: right; }
.s-fiado-head .saldo b { font-family: var(--display); font-size: 1.5rem; color: #C62828; }
.s-limite { padding: 12px 14px; border-radius: 12px; background: var(--app-surface); border: 1px solid var(--app-line); }
.s-limite div { display: flex; justify-content: space-between; font-size: .78rem; color: var(--app-muted); margin-bottom: 8px; }
.s-limite > i { display: block; height: 8px; border-radius: 999px; background: #F0F0F1; position: relative; overflow: hidden; }
.s-limite > i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--accent), #F59E0B); }
.l-scr.on .s-limite > i::after { animation: grow 1.2s var(--ease); }
@keyframes grow { from { width: 0; } }
.s-fiado ul { list-style: none; margin: 0; padding: 0; background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 12px; }
.s-fiado li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #F0F0F1; font-variant-numeric: tabular-nums; }
.s-fiado li:last-child { border-bottom: 0; }
.s-fiado li span { display: inline-flex; align-items: center; gap: 6px; }
.s-fiado li small { color: var(--app-muted); }
.s-fiado-act { display: flex; gap: 8px; flex-wrap: wrap; }
.s-fiado-act span { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--app-surface); border: 1px solid var(--app-line); font-weight: 600; font-size: .8rem; }
.s-fiado-act .wa { background: #25D366; border-color: #25D366; color: #06331A; }

/* Pantalla: ARCA */
.s-arca { display: grid; gap: 12px; }
.s-arca-toggle { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--app-surface); border: 1px solid var(--app-line); font-weight: 600; }
.s-arca-toggle span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.sw { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #D4D4D8; flex: none; transition: background-color .3s; }
.sw i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #FFF; box-shadow: 0 1px 2px rgb(0 0 0 / .2); transition: transform .3s var(--ease); }
.sw.on { background: #15803D; }
.sw.on i { transform: translateX(16px); }
.s-factura { background: #FFF; border-radius: 12px; border: 1px solid var(--app-line); padding: 16px; font-size: .8rem; }
.s-factura-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--app-line); }
.s-factura-head small { display: block; color: var(--app-muted); }
.s-factura .letra { width: 40px; height: 40px; border: 2px solid #18181B; border-radius: 6px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.4rem; }
.s-factura-row { display: flex; justify-content: space-between; padding: 6px 0; color: #3F3F46; }
.s-factura-items { border-block: 1px dashed var(--app-line); padding: 8px 0; margin: 4px 0 10px; }
.s-factura-items p { display: flex; justify-content: space-between; margin: 0; }
.s-factura-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.s-factura-foot small { display: block; color: var(--app-muted); font-size: .7rem; }
.s-factura-foot .tot { text-align: right; }
.s-factura-foot .tot b { font-family: var(--display); font-size: 1.4rem; }
.qr { display: grid; grid-template-columns: repeat(7, 7px); gap: 1px; padding: 4px; border: 1px solid var(--app-line); border-radius: 4px; }
.qr i { width: 7px; height: 7px; }
.qr i.b { background: #18181B; }
.l-scr.on .s-factura { animation: scr-in .7s var(--ease) .2s both; }
.s-arca-tipos { display: flex; flex-wrap: wrap; gap: 6px; }
.s-arca-tipos span { padding: 6px 12px; border-radius: 999px; background: var(--app-surface); border: 1px solid var(--app-line); font-weight: 600; font-size: .78rem; }
.s-arca-tipos span.on { background: #18181B; color: #FFF; border-color: #18181B; }

/* Pantalla: empleados */
.s-equipo { display: grid; gap: 12px; }
.s-emp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--app-surface); border: 1px solid var(--app-line); }
.s-emp small { display: block; color: var(--app-muted); font-size: .76rem; }
.s-emp .l-badge { margin-left: auto; }
.s-perms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-perms label { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--app-surface); border: 1px solid var(--app-line); font-size: .8rem; font-weight: 500; cursor: pointer; user-select: none; }
.s-perms label:hover { border-color: #A1A1AA; }
.s-activity { padding: 12px 14px; border-radius: 12px; background: #18181B; color: #D4D4D8; }
.s-activity small { color: #71717A; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.s-activity p { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: .8rem; }
.s-activity p i { color: var(--accent); }
.s-activity p span { margin-left: auto; color: #71717A; font-variant-numeric: tabular-nums; }

/* ---------- Demo interactiva ---------- */
.l-try { background: var(--surface); border-block: 1px solid var(--line); }
.l-demo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.l-scan { position: relative; width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 0; background: var(--night); color: #FAFAFA; font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: transform .2s var(--ease); }
.l-scan:active { transform: scale(.985); }
.l-scan > i { font-size: 2.2rem; color: var(--accent); }
.l-scan b { display: block; font-family: var(--display); font-size: 1.15rem; }
.l-scan small { color: var(--night-muted); }
.l-scan .laser { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #FF3B30; box-shadow: 0 0 12px 2px rgb(255 59 48 / .7); opacity: 0; }
.l-scan.scanning .laser { animation: laser .5s ease-in-out 2; }
@keyframes laser { 0% { opacity: 1; top: 12%; } 50% { top: 88%; } 100% { opacity: 1; top: 12%; } }
.l-demo-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.l-prod { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.l-prod:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.l-prod:active { transform: scale(.96); }
.l-prod.hit { animation: hit .5s var(--ease); }
@keyframes hit { 30% { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 45%, transparent); } }
.l-prod i { font-size: 1.5rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); }
.l-prod span { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.l-prod small { color: var(--muted); font-variant-numeric: tabular-nums; }
.l-demo-note { margin-top: 14px; color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: 6px; }
.l-demo-right { display: grid; gap: 14px; }
.l-pos { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.l-pos-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1.5px dashed var(--line); }
.l-pos-head b { font-family: var(--display); font-size: 1.15rem; }
.l-pos-head button { background: none; border: 0; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.l-pos-lines { list-style: none; margin: 0; padding: 8px 0; min-height: 132px; max-height: 190px; overflow-y: auto; }
.l-pos-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 6px 0; font-variant-numeric: tabular-nums; animation: line-in .35s var(--ease); }
.l-pos-lines li .q { font-weight: 700; min-width: 2.4ch; }
.l-pos-lines li .a { font-weight: 600; }
.l-pos-lines li.empty { display: block; text-align: center; color: var(--muted); padding: 42px 0; animation: none; }
.l-pos-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1.5px dashed var(--line); }
.l-pos-total span { color: var(--muted); font-weight: 500; }
.l-pos-total strong { font-family: var(--display); font-size: 2.1rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.l-pos-medios { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px; border: 0; padding: 0; }
.l-pos-medios label { cursor: pointer; }
.l-pos-medios input { position: absolute; opacity: 0; pointer-events: none; }
.l-pos-medios span { display: inline-flex; align-items: center; gap: 6px; padding: .5em .9em; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.l-pos-medios input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.l-pos-medios input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.l-pos-paga { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: .88rem; color: var(--muted); }
.l-pos-paga[hidden] { display: none; }
.l-pos-paga button { padding: .35em .75em; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.l-pos-paga button.on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.l-pos-paga output { margin-left: auto; font-weight: 700; color: var(--ok); font-variant-numeric: tabular-nums; }
.l-pos-paga output.falta { color: var(--danger); }
.l-pos .btn kbd { background: rgb(0 0 0 / .12); }
.l-demo-out { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: start; }
.l-print { position: relative; height: 100%; min-height: 150px; border-radius: 16px; background: var(--night); padding: 12px 12px 0; overflow: hidden; }
.l-print::before { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 6px; border-radius: 4px; background: #000; box-shadow: inset 0 1px 2px rgb(255 255 255 / .1); z-index: 2; }
.l-print .paper { position: relative; margin: 6px 6px 0; background: #FFF; color: #18181B; font: 500 10px/1.45 ui-monospace, 'SF Mono', Menlo, monospace; padding: 10px; transform: translateY(-105%); }
.l-print .paper:empty { visibility: hidden; }
.l-print.go .paper { animation: paper 1.1s steps(10) forwards; }
@keyframes paper { from { transform: translateY(-105%); } to { transform: translateY(0); } }
.l-print .paper b { display: block; text-align: center; }
.l-print .paper p { display: flex; justify-content: space-between; gap: 6px; margin: 0; }
.l-print .paper hr { border: 0; border-top: 1px dashed #A1A1AA; margin: 6px 0; }
.l-print .paper small { display: block; text-align: center; color: #6B6B74; font-size: 9px; }
.l-caja { padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.l-caja-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.l-caja-top strong { font-family: var(--display); font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.l-caja dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 10px 0 0; font-size: .86rem; color: var(--muted); }
.l-caja dl div { display: flex; justify-content: space-between; gap: 6px; }
.l-caja dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 600; }
.l-caja-stock { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }

/* ---------- Funciones ---------- */
.l-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.l-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.l-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.l-tile > i, .l-tile .t-copy > i { font-size: 1.6rem; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); margin-bottom: 14px; }
.l-tile h3 { font-size: 1.3rem; }
.l-tile p { color: var(--muted); font-size: .97rem; }
.t-big { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
.t-dark { background: var(--night); border-color: var(--night); color: #FAFAFA; }
.t-dark p { color: var(--night-muted); }
.t-dark .t-copy > i { background: rgb(255 198 41 / .14); color: var(--accent); }
.t-lotes { display: grid; gap: 8px; margin-top: 24px; }
.t-lotes span { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--night-2); border: 1px solid var(--night-line); border-left: 4px solid; }
.t-lotes small { color: var(--night-muted); }
.t-lotes .bad { border-left-color: #F87171; } .t-lotes .warn { border-left-color: #FBBF24; } .t-lotes .ok { border-left-color: #4ADE80; }
.t-accent { grid-column: span 2; background: var(--accent); border-color: var(--accent); color: #18181B; }
.t-accent > i { background: rgb(24 24 27 / .1); }
.t-accent p { color: #3F3A2A; }
.t-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.t-ajustes { display: grid; gap: 8px; min-width: 240px; }
.t-ajustes span { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: .9rem; }
.t-ajustes b { font-variant-numeric: tabular-nums; }
.t-ajustes b.off { color: var(--muted); }
.t-phone > i { background: var(--accent-soft); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .t-dark { background: var(--night-2); border-color: var(--night-line); }
}

/* ---------- Antes / después ---------- */
.l-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.l-vs-col { padding: 32px; border-radius: 22px; border: 1px solid var(--line); }
.l-vs-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin-bottom: 20px; }
.l-vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.l-vs-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.l-vs-col li i { font-size: 1.2rem; margin-top: 3px; flex: none; }
.l-vs-col.old { background: var(--surface-2); color: var(--muted); }
.l-vs-col.old li i { color: var(--danger); }
.l-vs-col.new { background: var(--night); border-color: var(--night); color: #FAFAFA; box-shadow: 0 30px 60px -30px rgb(24 24 27 / .5); }
.l-vs-col.new .brand { color: #FAFAFA; font-size: 1.5rem; }
.l-vs-col.new li i { color: var(--accent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .l-vs-col.new { background: var(--night-2); border-color: rgb(255 198 41 / .3); }
}

/* ---------- Pasos ---------- */
.l-steps-sec { padding-top: 0; }
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.l-steps li { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.l-steps .n { display: block; font-family: var(--display); font-weight: 800; font-size: 3rem; letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 26px; }
.l-steps li:first-child .n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.l-steps h3 { font-size: 1.35rem; margin-bottom: 8px; }
.l-steps p { color: var(--muted); }

/* ---------- Precio ---------- */
.l-price { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 64px; align-items: center; }
.l-price-copy h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; margin-top: 14px; }
.l-price-copy p { color: var(--muted); font-size: 1.12rem; margin-top: 16px; max-width: 42ch; }
.l-period { display: inline-flex; gap: 4px; padding: 4px; margin-top: 28px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.l-period button { display: inline-flex; align-items: center; gap: 8px; padding: .65em 1.2em; border-radius: 999px; border: 0; background: none; color: var(--muted); font: 600 .95rem/1 var(--body); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.l-period button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
.l-period button span { background: var(--accent); color: #18181B; font-size: .75rem; padding: .25em .55em; border-radius: 999px; }
.l-plan { position: relative; padding: 32px; border-radius: 26px; background: var(--night); color: #FAFAFA; overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px -40px rgb(24 24 27 / .6); }
.l-plan::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; background: radial-gradient(closest-side, rgb(255 198 41 / .28), transparent); }
.l-plan-top b { font-size: 1rem; color: var(--night-muted); font-weight: 600; }
.l-plan-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.l-plan-price strong { font-family: var(--display); font-size: clamp(2.8rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity .2s, transform .2s var(--ease); }
.l-plan-price strong.swap { opacity: 0; transform: translateY(8px); }
.l-plan-price small { color: var(--night-muted); font-size: 1rem; }
.l-plan-top p { color: var(--night-muted); min-height: 3em; }
.l-plan ul { list-style: none; margin: 22px 0 26px; padding: 20px 0 0; border-top: 1px solid var(--night-line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.l-plan li { display: flex; gap: 8px; align-items: flex-start; font-size: .94rem; }
.l-plan li i { color: var(--accent); margin-top: 3px; flex: none; }
.l-plan-foot { display: block; text-align: center; margin-top: 14px; color: var(--night-muted); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .l-plan { background: var(--night-2); border: 1px solid var(--night-line); }
}

/* ---------- Cierre ---------- */
.l-closer { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; padding: 64px; border-radius: 28px; background: var(--night); color: #FAFAFA; overflow: hidden; isolation: isolate; }
.l-closer-glow { position: absolute; z-index: -1; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(255 198 41 / .35), transparent); }
.l-closer h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; }
.l-closer p { margin-top: 14px; color: var(--night-muted); font-size: 1.1rem; }
.l-closer-cta { display: grid; gap: 10px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .l-closer { background: var(--night-2); border: 1px solid var(--night-line); }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .l-window { transform: none !important; }
  .l-bars i, .l-medios-bar i { transform: none; }
  .l-float { opacity: 1; }
  .l-float-ticket { clip-path: none; }
  .l-marquee { animation: none; flex-wrap: wrap; width: auto; }
  .l-marquee ul[aria-hidden] { display: none; }
  .s-search .typing { width: 13ch; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .l-tour { grid-template-columns: 320px minmax(0, 1fr); }
  .l-app { grid-template-columns: 170px 1fr; }
  .l-float-scan { left: -8px; }
  .l-float-ticket { right: -6px; top: -84px; }
}
@media (max-width: 980px) {
  .l-hero-top { grid-template-columns: 1fr; gap: 24px; }
  .l-side { display: none; }
  .l-app { grid-template-columns: 1fr; }
  .l-tour { grid-template-columns: 1fr; }
  .l-tour-tabs { grid-template-columns: repeat(3, 1fr); }
  .l-tab { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .l-tab .txt small { display: none; }
  .l-demo { grid-template-columns: 1fr; }
  .l-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-wide { grid-column: span 2; }
  .l-price { grid-template-columns: 1fr; gap: 36px; }
  .l-closer { grid-template-columns: 1fr; padding: 44px 32px; }
}
@media (max-width: 860px) {
  .l-hero { padding-top: 108px; }
  .l-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-stat.hide-sm { display: none; }
  .l-grid { grid-template-columns: 1fr; }
  .l-chart { grid-row: auto; }
  .l-alerts { display: none; }
  .l-float-arca { display: none; }
  .l-vs { grid-template-columns: 1fr; }
  .l-steps { grid-template-columns: 1fr; }
  .s-pos { grid-template-columns: 1fr; }
  .s-pos-left .s-favs, .s-pos-left .s-keys { display: none; }
}
@media (max-width: 560px) {
  .l-hero h1 { font-size: 2.75rem; }
  .l-hero-actions .btn { flex: 1 1 100%; }
  .l-stage { margin-top: 40px; padding-bottom: 48px; }
  .l-window-bar { grid-template-columns: 50px 1fr 0; }
  .l-main { padding: 12px; gap: 10px; }
  .l-top strong { font-size: 1.05rem; }
  .l-top-right .l-avatar { display: none; }
  .l-stat strong { font-size: 1.2rem; }
  .l-bars { min-height: 110px; }
  .l-feed ul { height: 130px; }
  .l-float-scan { left: 8px; top: auto; bottom: 8px; }
  .l-float-ticket { display: none; }
  .l-tour-tabs { grid-template-columns: repeat(2, 1fr); }
  .l-tab .ico { width: 36px; height: 36px; font-size: 1.15rem; }
  .l-tab .txt b { font-size: .95rem; }
  .l-tour-screen { padding: 12px; border-radius: 18px; min-height: 0; }
  .l-scr { padding: 12px; font-size: 12.5px; }
  .l-scr th:nth-child(2), .l-scr td:nth-child(2) { display: none; }
  .s-caja-mov, .s-perms { grid-template-columns: 1fr; }
  .s-factura-foot { grid-template-columns: auto 1fr; }
  .s-factura-foot .tot { grid-column: 1 / -1; text-align: left; }
  .l-demo-prods { gap: 8px; }
  .l-prod { padding: 10px; gap: 6px; border-radius: 14px; }
  .l-prod i { width: 34px; height: 34px; font-size: 1.25rem; }
  .l-prod span { font-size: .82rem; }
  .l-demo-out { grid-template-columns: 1fr; }
  .l-print { display: none; }
  .l-pos { padding: 16px; }
  .l-bento { grid-template-columns: 1fr; }
  .t-big, .t-accent, .t-wide { grid-column: auto; grid-row: auto; }
  .t-wide { grid-template-columns: 1fr; }
  .t-ajustes { min-width: 0; }
  .t-lotes span { flex-direction: column; align-items: flex-start; gap: 2px; }
  .l-vs-col { padding: 24px 20px; }
  .l-plan { padding: 26px 20px; }
  .l-plan ul { grid-template-columns: 1fr; }
  .l-closer { padding: 36px 22px; }
  .l-closer-cta .btn { width: 100%; }
}
@media (hover: none) and (pointer: coarse) {
  .l-pos .btn kbd { display: none; }
}
