﻿html { scroll-padding-top: 6rem; }

/* Secciones landing: mismo lienzo; sin líneas entre bloques; ambient que sangra */
.landing-section {
    position: relative;
    border: none;
    box-shadow: none;
    background-color: #f8fafc;
}

.landing-section > .landing-ambient {
    overflow: visible;
}

/* Aire extra entre bloques clave (sin tocar degradados) */
#home.landing-section + #beneficios.landing-section,
#home.landing-section + #repuestos-mostrador.landing-section {
    margin-top: 1.5rem;
}

#beneficios.landing-section + #resuelve.landing-section {
    margin-top: 2rem;
}

@media (min-width: 640px) {
    #home.landing-section + #beneficios.landing-section,
    #home.landing-section + #repuestos-mostrador.landing-section {
        margin-top: 2rem;
    }

    #beneficios.landing-section + #resuelve.landing-section {
        margin-top: 2.5rem;
    }
}

@media (min-width: 1024px) {
    #home.landing-section + #beneficios.landing-section,
    #home.landing-section + #repuestos-mostrador.landing-section {
        margin-top: 2.75rem;
    }

    #beneficios.landing-section + #resuelve.landing-section {
        margin-top: 3.25rem;
    }
}

.landing-legal-prose section[id] {
    scroll-margin-top: 6.5rem;
}

.landing-legal-prose h2 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.landing-legal-prose a {
    color: #0084ff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-legal-prose a:hover {
    color: #0066cc;
}

.landing-legal-prose ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1.25rem;
    list-style-type: disc;
}

.landing-section + .landing-section {
    margin-top: -2.5rem;
}

@media (min-width: 640px) {
    .landing-section + .landing-section {
        margin-top: -3rem;
    }
}

@media (min-width: 1024px) {
    .landing-section + .landing-section {
        margin-top: -3.5rem;
    }
}

.landing-ambient {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Hero ↔ Beneficios: blobs sin recorte (legacy ids) */
#home > .landing-ambient,
#beneficios > .landing-ambient {
    overflow: visible;
}

#home,
#beneficios,
#resuelve,
#caja,
#dispositivos,
#comparacion,
#repuestos-mostrador,
#catalogo,
#ky-ia,
#precios,
#preguntas,
#prueba,
#reportes {
    border: none;
    box-shadow: none;
}

#resuelve > .landing-ambient,
#caja > .landing-ambient,
#dispositivos > .landing-ambient {
    overflow: visible;
}

/* Qué resuelve — micro-UI */
#resuelve .resolve-toggle {
    position: relative;
    display: inline-flex;
    height: 1.5rem;
    width: 2.75rem;
    flex-shrink: 0;
    align-items: center;
    border-radius: 9999px;
    padding: 0.125rem;
    transition: background-color 0.2s ease;
}
#resuelve .resolve-toggle--off {
    background-color: #cbd5e1;
}
#resuelve .resolve-toggle--on {
    background-color: #0084ff;
}
#resuelve .resolve-toggle-thumb {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease;
}
#resuelve .resolve-toggle--off .resolve-toggle-thumb {
    transform: translateX(0);
}
#resuelve .resolve-toggle--on .resolve-toggle-thumb {
    transform: translateX(1.25rem);
}
#resuelve .resolve-micro-badge {
    box-shadow: 0 1px 2px rgba(0, 132, 255, 0.12);
}

/* Bento showcase widgets */
#beneficios .bento-card {
    transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
#beneficios .bento-card:hover {
    transform: translateY(-2px);
}
#beneficios .bento-seg[aria-selected='true'] {
    background-color: #0084ff;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 132, 255, 0.28);
}
#beneficios [data-bento-inventory] {
    min-height: 0;
}
#beneficios [data-bento-inventory] .bento-inventory-table-wrap {
    overflow-y: hidden;
    scrollbar-gutter: stable;
}
#beneficios [data-bento-inventory] .bento-price-cell {
    vertical-align: middle;
    white-space: nowrap;
}
#beneficios .bento-receipt {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace;
    font-size: 8px;
    line-height: 1.35;
    color: #0f172a;
    -webkit-font-smoothing: none;
    font-smooth: never;
}
#beneficios .bento-dash {
    margin: 0.35rem 0;
    overflow: hidden;
    color: #334155;
    font-size: 7px;
    letter-spacing: -0.06em;
    text-align: center;
    white-space: nowrap;
}
#beneficios .bento-reports-card.is-printing {
    z-index: 50;
}
#beneficios .bento-printer-stage {
    min-height: 2.85rem;
}
#beneficios .bento-thermal-slot-glow {
    background: linear-gradient(90deg, transparent, rgba(0, 132, 255, 0.38), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}
#beneficios .bento-reports-card.is-printing .bento-thermal-slot-glow {
    opacity: 1;
    animation: bento-slot-pulse 0.85s ease;
}
@keyframes bento-slot-pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}
#beneficios [data-bento-float-host] {
    top: 2.125rem;
    z-index: 10;
}
#beneficios [data-bento-slot-chassis] {
    z-index: 30;
}
#beneficios .bento-thermal-float.is-visible {
    display: block !important;
}
#beneficios .bento-thermal-float {
    filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.22)) drop-shadow(0 6px 12px rgba(15, 23, 42, 0.14));
    transition: opacity 0.7s ease;
}
#beneficios .bento-thermal-float.is-emerging {
    opacity: 1;
}
#beneficios .bento-thermal-float.is-fading {
    opacity: 0;
}
#beneficios .bento-paper-wrap {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: max-height;
}
#beneficios .bento-thermal-paper {
    position: relative;
    overflow: visible;
    max-height: none;
    height: auto;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05);
}
#beneficios .bento-thermal-paper::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 8px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.04) 55%, transparent);
}
#beneficios .bento-ticket-saw {
    height: 8px;
    background:
        linear-gradient(135deg, #ffffff 33.33%, transparent 33.33%) 0 0 / 10px 10px,
        linear-gradient(225deg, #ffffff 33.33%, transparent 33.33%) 0 0 / 10px 10px;
    background-color: #ffffff;
}
#beneficios .bento-print-status {
    min-height: 1.25rem;
    transition: color 0.25s ease;
}
#beneficios .bento-print-status.is-busy {
    color: #0084ff;
}
#beneficios .bento-print-status.is-done {
    color: #059669;
}
#beneficios .bento-reports-actions .bento-seg,
#beneficios .bento-reports-actions .bento-print-btn {
    min-height: 2.35rem;
}
@media (max-width: 1023px) {
    #beneficios [data-bento-showcase] {
        align-items: start;
    }
    #beneficios [data-bento-reports],
    #beneficios [data-bento-cxp] {
        height: auto;
        align-self: start;
    }
    #beneficios .bento-reports-actions .bento-seg,
    #beneficios .bento-reports-actions .bento-print-btn {
        flex: 0 0 auto;
    }
}
@media (min-width: 1024px) {
    #beneficios .bento-reports-actions .bento-seg,
    #beneficios .bento-reports-actions .bento-print-btn {
        flex: 1 1 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    #beneficios .bento-paper-wrap {
        transition-duration: 0.2s;
    }
    #beneficios .bento-thermal-float {
        transition: opacity 0.35s ease;
    }
}
#beneficios .bento-cxp-row.is-paying {
    opacity: 0.7;
    pointer-events: none;
}
#beneficios .bento-cxp-row.is-paid {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04));
    border-color: rgba(16, 185, 129, 0.35);
}
#beneficios .bento-cxp-success {
    animation: bento-cxp-success-in 0.45s ease forwards;
}
@keyframes bento-cxp-success-in {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
#beneficios .bento-print-btn.is-printing {
    background: #0f172a;
    color: #fff;
}
#landing-header.landing-header {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.material-symbols-outlined {
    -webkit-user-select: none;
    user-select: none;
}
body { background: #f8fafc; color: #0f172a; font-family: 'Plus Jakarta Sans', sans-serif; }
.gradient-brand { background: linear-gradient(135deg, #00d2ff 0%, #0266ff 100%); }
.text-gradient {
    background: linear-gradient(135deg, #00d2ff 0%, #38bdf8 50%, #0266ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.landing-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.glow-card { transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.glow-card:hover { box-shadow: 0 0 35px rgba(0, 210, 255, .25); border-color: rgba(0, 210, 255, .45); transform: translateY(-3px); }
.landing-nav-menu.is-open .landing-nav-panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
#landing-header .landing-nav-menu.is-open .landing-nav-trigger:not(.is-active) { color: #0084FF; }
.landing-nav-menu.is-open .landing-nav-trigger:not(.is-active) { color: #22d3ee; }
.landing-nav-menu.is-open .landing-nav-trigger .landing-nav-chevron { transform: rotate(180deg); }
#landing-nav .landing-nav-trigger.is-active { font-weight: 700; }
#landing-header #landing-nav .landing-nav-trigger.is-active .landing-nav-label {
    background-image: none;
    -webkit-text-fill-color: #0084FF;
    color: #0084FF;
}
#landing-header #landing-nav .landing-nav-trigger.is-active .landing-nav-chevron { color: #0084FF; }
#landing-header #landing-nav .landing-nav-trigger.is-active::after {
    background-image: none;
    background-color: #0084FF;
}
#landing-header a.landing-home-link.is-active,
#landing-header a.landing-home-link.is-active:hover,
#landing-header a.landing-section-link.is-active,
#landing-header a.landing-section-link.is-active:hover {
    background-image: none;
    -webkit-text-fill-color: #0084FF;
    color: #0084FF;
}
#landing-header #landing-nav a.landing-home-link.is-active::after,
#landing-header #landing-nav a.landing-section-link.is-active::after {
    background-image: none;
    background-color: #0084FF;
}
#landing-nav .landing-nav-trigger.is-active .landing-nav-label {
    background-image: linear-gradient(135deg, #00d2ff 0%, #0266ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
#landing-nav .landing-nav-trigger.is-active .landing-nav-chevron { color: #22d3ee; }
[data-step-panel][hidden] { display: none !important; }
[data-step-tab] .step-index {
    border: 1px solid rgba(34, 211, 238, .45);
    color: #67e8f9;
    background: transparent;
}
[data-step-tab] .step-badge { display: none; }
[data-step-tab].is-current {
    border-color: rgba(34, 211, 238, .7);
    background: #0e1a2e;
    box-shadow: 0 0 32px rgba(0, 210, 255, .16);
}
[data-step-tab].is-current .step-index {
    border-color: transparent;
    color: #020617;
    background: linear-gradient(135deg, #00d2ff 0%, #0266ff 100%);
}
[data-step-tab].is-current .step-badge { display: inline-flex; }
#landing-nav .landing-nav-trigger.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.55rem;
    height: 2px;
    border-radius: 2px;
    background-image: linear-gradient(135deg, #00d2ff 0%, #0266ff 100%);
}
a.landing-home-link { position: relative; transition: color .25s ease; }
a.landing-home-link.is-active,
a.landing-home-link.is-active:hover {
    background-image: linear-gradient(135deg, #00d2ff 0%, #0266ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
}
#landing-nav a.landing-home-link.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.55rem;
    height: 2px;
    border-radius: 2px;
    background-image: linear-gradient(135deg, #00d2ff 0%, #0266ff 100%);
}
a.landing-section-link { position: relative; transition: color .25s ease; }
a.landing-section-link.is-active,
a.landing-section-link.is-active:hover {
    background-image: linear-gradient(135deg, #00d2ff 0%, #0266ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
}
#preguntas [data-faq-item] {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#preguntas [data-faq-item].is-open {
    border-color: #93c5fd;
    box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.12);
}

#preguntas [data-faq-chevron] {
    transition: transform 0.3s ease;
}

#preguntas [data-faq-item].is-open [data-faq-chevron] {
    transform: rotate(180deg);
    color: #0084ff;
}

#preguntas [data-faq-panel] {
    overflow: hidden;
    transition: opacity 0.3s ease;
}
.resolve-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: none;
    min-height: 2.4rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(51, 65, 85, .9);
    background: transparent;
    color: #94a3b8;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.resolve-pill .material-symbols-outlined { font-size: 1.05rem; }
.resolve-pill:hover { color: #e2e8f0; border-color: rgba(148, 163, 184, .7); }
.resolve-pill:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
.resolve-pill.is-current {
    color: #ecfeff;
    border-color: rgba(34, 211, 238, .55);
    background: rgba(8, 18, 32, .9);
}
[data-resolve-preview][hidden],
[data-report-panel][hidden],
[data-ky-pending][hidden],
[data-ky-result][hidden],
[data-ky-open-note][hidden],
[data-ky-demo-voice][hidden],
[data-pos-panel][hidden] { display: none !important; }
.resolve-board { position: relative; }
.resolve-frame { position: relative; display: flex; justify-content: center; height: 38rem; }
.resolve-pair { position: relative; width: min(64rem, 100%); height: 100%; }
.resolve-desktop {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(100% - 13rem);
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(51, 65, 85, .8);
    background: #0b1220;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
}
.resolve-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
}
.resolve-phone img {
    position: absolute;
    inset: .4rem;
    width: calc(100% - .8rem);
    height: calc(100% - .8rem);
    object-fit: contain;
    object-position: center center;
    border-radius: 1.35rem;
    background: #0b1220;
}
.resolve-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 11, 19, .18) 0%, transparent 22%, transparent 78%, rgba(7, 11, 19, .22) 100%);
    pointer-events: none;
}
.resolve-phone {
    position: absolute;
    z-index: 2;
    right: 0;
    top: 1.35rem;
    width: 17.25rem;
    height: calc(100% - 2.7rem);
    padding: .4rem;
    border-radius: 1.9rem;
    border: 1px solid rgba(148, 163, 184, .35);
    background: #0f172a;
    box-shadow: 0 28px 50px rgba(0, 0, 0, .4);
}
.resolve-card {
    position: absolute;
    z-index: 3;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(8, 12, 20, .88);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
    padding: .75rem .85rem;
    animation: resolve-bob 6s ease-in-out infinite;
}
.resolve-card-list { left: 0; top: 1.25rem; width: min(14.5rem, 34%); }
.resolve-card-note { left: 0; bottom: 1.25rem; max-width: 14rem; padding: .55rem .75rem; animation-delay: .35s; }
.resolve-card-stat { right: 18.5rem; bottom: 1.25rem; width: 12rem; animation-delay: .8s; }
@keyframes resolve-bob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
}
@media (min-width: 1024px) {
    .resolve-board { min-height: 43rem; }
    .resolve-stage { position: absolute; inset: 0; }
}
@media (max-width: 767px) {
    .resolve-frame { height: 34rem; }
    .resolve-desktop { width: 100%; height: 23rem; bottom: auto; }
    .resolve-phone { width: 9.75rem; height: 18.25rem; top: auto; bottom: .65rem; }
    .resolve-card-note { display: none; }
    .resolve-card-list { top: auto; bottom: .65rem; left: .65rem; width: calc(100% - 12rem); }
    .resolve-card-stat { left: auto; right: .65rem; top: .65rem; bottom: auto; width: 9rem; }
}
@media (prefers-reduced-motion: reduce) {
    .resolve-card { animation: none; }
}
/* Reportes — sección luminosa */
#reportes .report-panels {
    display: grid;
}
#reportes .report-panel {
    grid-area: 1 / 1;
    min-width: 0;
}
#reportes .report-tab-pill:focus-visible {
    outline: 2px solid #0084ff;
    outline-offset: 2px;
}
#reportes .report-tab-pill.is-current {
    border-color: transparent;
    background: #0084ff;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 132, 255, 0.28);
}
#reportes .report-metric-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
#reportes .report-metric-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 8px 24px -12px rgba(0, 132, 255, 0.2);
}
#reportes .report-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 2.6rem;
}
#reportes .report-bars--light span {
    flex: 1;
    height: max(var(--h), 8%);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #00c6ff, #0084ff);
    opacity: 0.9;
}
#reportes .report-donut--light {
    flex: none;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    background: var(--donut);
    -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%);
    mask: radial-gradient(circle, transparent 52%, #000 53%);
}
#reportes .report-split--light {
    display: flex;
    height: 0.55rem;
    overflow: hidden;
    border-radius: 9999px;
    background: #e2e8f0;
}
#reportes .report-doc-card {
    transition: box-shadow 0.3s ease;
}
#reportes .report-doc-rule {
    height: 1px;
    margin: 0;
    background: repeating-linear-gradient(90deg, #cbd5e1 0, #cbd5e1 4px, transparent 4px, transparent 8px);
    border: 0;
}
#reportes .report-doc-body {
    max-height: none;
}
@media (min-width: 1024px) {
    #reportes .report-doc-card {
        position: sticky;
        top: 6rem;
    }
}
@media (max-width: 1023px) {
    #reportes .report-doc-body {
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-right: 0.25rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    #reportes .report-metric-card,
    #reportes .report-doc-card {
        transition: none;
    }
}
[data-niche-card] { transition: border-color .3s ease, box-shadow .3s ease; }
[data-niche-card]:hover,
[data-niche-card]:focus-visible {
    border-color: rgba(0, 210, 255, .45);
    box-shadow: 0 18px 50px rgba(0, 210, 255, .12);
}
#landing-nav a.landing-section-link.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.55rem;
    height: 2px;
    border-radius: 2px;
    background-image: linear-gradient(135deg, #00d2ff 0%, #0266ff 100%);
}
/* Flujo de caja — landing clara */
#caja .pos-flow-step:focus-visible {
    outline: 2px solid #0084ff;
    outline-offset: 2px;
}
#caja .pos-flow-step.is-current {
    border-color: #7dd3fc;
    background-color: #fff;
    box-shadow: 0 12px 32px rgba(0, 132, 255, 0.1);
}
#caja .pos-flow-step.is-current .pos-flow-step-num {
    background-color: #0084ff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.28);
}
#caja .pos-flow-preview {
    position: relative;
}
#caja .pos-flow-panel[hidden] {
    display: none !important;
}
#caja .pos-flow-panel.is-on {
    animation: pos-flow-in 0.28s ease;
}
@keyframes pos-flow-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    #caja .pos-flow-panel.is-on {
        animation: none;
    }
}