/* SolutionDKS — estilos del sitio (sin frameworks). */

:root {
    --bg: #f5f8f9;
    --surface: #ffffff;
    --surface-2: #eef4f5;
    --ink: #0f2228;
    --muted: #556a70;
    --line: #dde6e8;
    --brand: #2a8296;
    --brand-strong: #17596a;
    --brand-soft: #e3f1f4;
    --pasa: #0f7a5a;
    --pasa-strong: #0a5c44;
    --pasa-soft: #e2f4ec;
    --whatsapp: #1fa855;
    --shadow: 0 1px 2px rgba(15, 34, 40, .06), 0 8px 24px -12px rgba(15, 34, 40, .18);
    --shadow-lg: 0 24px 60px -24px rgba(15, 34, 40, .35);
    --radius: 18px;
    --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1316;
        --surface: #111c20;
        --surface-2: #16242a;
        --ink: #e7eff1;
        --muted: #9db0b5;
        --line: #22343b;
        --brand: #4fb3c8;
        --brand-strong: #7fcfdf;
        --brand-soft: #13303a;
        --pasa: #35c48f;
        --pasa-strong: #6fdcb2;
        --pasa-soft: #12302a;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
        --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .8);
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.6 var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .85em 1.35em; border-radius: 12px; border: 1px solid transparent;
    font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.btn-primary { background: var(--brand-strong); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: var(--shadow); }
.btn-whatsapp:hover { background: #19944a; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: #0a3d30; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
@media (prefers-color-scheme: dark) {
    .btn-primary { background: var(--brand); color: #04181e; }
    .btn-primary:hover { background: var(--brand-strong); }
}

/* ---------- Navegación ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 12px; }
.brand img { height: 54px; width: auto; }
@media (prefers-color-scheme: dark) { .brand, .logo-chip { background: #f3f7f8; } }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links .pill-new {
    display: inline-flex; align-items: center; gap: 6px;
}
.pill-new::after {
    content: 'Nuevo'; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--pasa); background: var(--pasa-soft); padding: 2px 7px; border-radius: 99px;
}
.nav-links .btn { padding: .6em 1.05em; font-size: .92rem; }
.menu-btn {
    display: none; background: var(--surface); border: 1px solid var(--line); color: var(--ink);
    width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 880px) {
    .menu-btn { display: inline-flex; }
    .nav-links {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 20px;
        background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; }
    .nav-links a:not(.btn) { padding: 12px 8px; font-size: 1.05rem; color: var(--ink); }
    .nav-links .btn { margin-top: 8px; padding: .9em; }
}

/* ---------- Secciones ---------- */
section { padding: 88px 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
}
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 65%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-copy { display: grid; gap: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 8px; color: var(--muted); font-size: .95rem; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts .icon { color: var(--brand); }

.hero-visual { position: relative; min-height: 460px; }
.hero-visual .screen {
    border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    background: var(--surface);
}
.hero-visual .screen-kiosk { width: 80%; margin-left: auto; }
.hero-visual .phone { position: absolute; left: 0; top: 22%; width: 30%; }
.hero-badge {
    position: absolute; right: 4%; bottom: -10px; display: flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
    box-shadow: var(--shadow); font-size: .9rem; font-weight: 600;
}
.hero-badge img { width: 34px; height: 34px; border-radius: 9px; }
.hero-badge small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }

/* Marco de teléfono */
.phone {
    border-radius: 34px; padding: 8px; background: #0d1417; box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .08);
}
.phone img { border-radius: 27px; width: 100%; }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { min-height: 0; padding-bottom: 24px; }
}

/* ---------- Tarjetas de servicios ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
    display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card-icon {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    background: var(--brand-soft); color: var(--brand-strong);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-pasa { border-color: color-mix(in srgb, var(--pasa) 45%, var(--line)); }
.card-pasa .card-icon { background: var(--pasa-soft); color: var(--pasa); }
.card a.more { color: var(--pasa); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card a.more:hover { text-decoration: underline; }
@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Banda Pasa ---------- */
.pasa-band {
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(53, 196, 143, .25), transparent 60%),
        linear-gradient(160deg, #0c4a39 0%, #08362a 55%, #062820 100%);
    color: #eafaf3;
}
.pasa-band .eyebrow { color: #7fe3bb; }
.pasa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pasa-copy { display: grid; gap: 22px; }
.pasa-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); color: #fff; }
.pasa-copy .lead { color: #c4e9da; }
.pasa-title { display: flex; align-items: center; gap: 14px; }
.pasa-title img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: #5fd8a7; margin-top: 2px; }
.pasa-visual { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: end; }
.pasa-visual .stack { display: grid; gap: 18px; }
.shot { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .12); }
.caption { font-size: .85rem; color: #a9d8c5; margin-top: 8px; }
@media (max-width: 960px) {
    .pasa-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .pasa-visual { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; }
.contact-list { display: grid; gap: 14px; align-content: start; }
.contact-item {
    display: flex; gap: 16px; align-items: center; padding: 18px 20px; text-decoration: none;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
    transition: border-color .15s ease;
}
.contact-item:hover { border-color: var(--brand); }
.contact-item .card-icon { width: 44px; height: 44px; }
.contact-item small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-item strong { font-size: 1.05rem; word-break: break-word; }
.contact-item.wa .card-icon { background: color-mix(in srgb, var(--whatsapp) 15%, transparent); color: var(--whatsapp); }
.form {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow); display: grid; gap: 16px;
}
.form h3 { font-size: 1.45rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--ink); background: var(--bg);
    border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.field textarea { resize: vertical; min-height: 110px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* ---------- Pie ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .logo-chip { padding: 4px 8px; border-radius: 10px; }
.footer-brand img { height: 46px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------- Página Pasa ---------- */
.pasa-hero {
    padding: 64px 0 80px;
    background:
        radial-gradient(800px 480px at 90% 0%, rgba(53, 196, 143, .28), transparent 60%),
        linear-gradient(165deg, #0c4a39 0%, #08362a 60%, #062820 100%);
    color: #eafaf3;
}
.pasa-hero .hero-grid { grid-template-columns: 1fr 1fr; }
.pasa-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
.pasa-hero h1 em { font-style: normal; color: #7fe3bb; }
.pasa-hero .lead { color: #c4e9da; }
.pasa-hero .facts { color: #b6e2d0; }
.pasa-hero .facts .icon { color: #5fd8a7; }
.pasa-hero .eyebrow { color: #7fe3bb; }
.app-mark { display: inline-flex; align-items: center; gap: 12px; font: 700 1.5rem var(--font-head); color: #fff; }
.app-mark img { width: 52px; height: 52px; border-radius: 13px; }
.pasa-hero-visual { position: relative; }
.pasa-hero-visual .shot { width: 78%; margin-left: auto; }
.pasa-hero-visual .phone { position: absolute; left: 0; top: 12%; width: 30%; }
@media (min-width: 961px) { .pasa-hero-visual { min-height: 440px; } }
@media (max-width: 960px) {
    .pasa-hero .hero-grid { grid-template-columns: 1fr; }
    .pasa-hero-visual { padding-bottom: 0; }
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: paso; }
.step {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
    box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start;
}
.step::before {
    counter-increment: paso; content: counter(paso);
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: var(--pasa); color: #fff; font: 700 1.05rem var(--font-head);
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.reverse { grid-template-columns: 1.15fr 1fr; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 18px; }
.feature-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.feature-copy .eyebrow { color: var(--pasa); }
.feature .checks .icon { color: var(--pasa); }
.feature .checks li { color: var(--ink); }
.feature .checks li span { color: var(--muted); }
.feature .checks strong { color: var(--ink); }
.feature .shot { border-color: var(--line); box-shadow: var(--shadow-lg); }
.phones { display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.phones .phone { width: 46%; max-width: 270px; }
.phones .phone:nth-child(2) { transform: translateY(-28px); }
.kiosk-pair { display: grid; gap: 16px; }
.kiosk-pair .shot:last-child { width: 56%; margin: -16% 0 0 auto; position: relative; }
.shots { display: grid; gap: 16px; }
@media (max-width: 960px) {
    .feature, .feature.reverse { grid-template-columns: 1fr; gap: 36px; }
    .feature.reverse .feature-copy { order: 0; }
}

.security { background: var(--surface-2); }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sec-grid .card-icon { background: var(--pasa-soft); color: var(--pasa); }
@media (max-width: 1040px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sec-grid { grid-template-columns: 1fr; } }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px;
}
.faq summary {
    cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 1.05rem;
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--pasa); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding: 0 0 18px; }

.cta-band { padding: 72px 0; }
.cta-box {
    border-radius: 24px; padding: clamp(28px, 5vw, 56px); text-align: center; display: grid; gap: 18px; justify-items: center;
    background: linear-gradient(160deg, #0c4a39, #062820); color: #eafaf3; box-shadow: var(--shadow-lg);
}
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-box p { color: #c4e9da; max-width: 620px; }
.cta-box .actions { justify-content: center; }

@media (max-width: 960px) {
    .hero-visual, .pasa-hero-visual { min-height: 64vw; padding-bottom: 0; }
    .hero-visual .phone, .pasa-hero-visual .phone { top: 0; width: 32%; }
    .hero-visual .screen-kiosk, .pasa-hero-visual .shot { margin-top: 12vw; width: 76%; }
    .hero-badge { right: 0; bottom: -18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
