/* =========================================================
   Liberi: hoja de estilos principal
   ========================================================= */

:root {
    --ink: #14233B;
    --ink-2: #1D3150;
    --text: #2A3546;
    --muted: #5D6878;
    --line: #DCE1E7;
    --line-soft: #E8ECF0;
    --bg: #F4F6F8;
    --surface: #FFFFFF;

    --blue: #2443B8;
    --blue-dark: #1A3290;
    --blue-soft: #E8ECFA;
    --green: #17845A;
    --green-dark: #116845;
    --green-soft: #E2F3EA;
    --violet: #5A48C0;
    --violet-soft: #ECE9FA;
    --amber: #A86A0C;
    --amber-soft: #FBF0DC;

    --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;

    --shadow-lift: 0 1px 2px rgba(20, 35, 59, .06), 0 12px 32px -12px rgba(20, 35, 59, .18);
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.hidden { display: none !important; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.dot { color: var(--blue); }

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

/* ---------- Botones y enlaces ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
    white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 24px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:disabled { background: #7C8DCB; cursor: progress; }

.btn-ghost { background: transparent; color: var(--ink); border-color: #B9C2CE; }
.btn-ghost:hover { border-color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #E6EAF0; }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }

.text-link {
    display: inline-block;
    font-weight: 600;
    color: var(--tone, var(--blue));
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 1px;
    transition: opacity .15s;
}
.text-link:hover { opacity: .75; }

/* ---------- Cabecera ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 72px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--blue);
    color: #fff;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--ink);
}
.logo-tag { font-size: .72rem; color: var(--muted); margin-top: 3px; letter-spacing: .01em; }

.main-nav { display: flex; gap: 28px; margin-left: auto; font-size: .94rem; font-weight: 500; }
.main-nav a { color: var(--muted); padding: 6px 0; transition: color .15s; }
.main-nav a:hover { color: var(--ink); }

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 8px;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink);
    cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px var(--gutter) 20px;
    border-top: 1px solid var(--line-soft);
    background: #fff;
}
.mobile-menu .mobile-link:not(.btn) {
    padding: 12px 4px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 14px; padding: 14px; }

/* ---------- Hero ---------- */
.hero {
    padding: clamp(48px, 7vw, 96px) 0 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--blue-dark);
    margin-bottom: 22px;
}
.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px var(--green-soft);
}

.hero h1 {
    font-size: clamp(2.35rem, 4.6vw, 3.9rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.035em;
    color: var(--ink);
    max-width: 14ch;
    text-wrap: balance;
}

.lead {
    margin-top: 24px;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--muted);
    max-width: 46ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 28px;
    font-size: .92rem;
    color: var(--muted);
}
.hero-checks li,
.checks li { position: relative; padding-left: 22px; }
.hero-checks li::before,
.checks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .42em;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--tone, var(--green));
    border-bottom: 2px solid var(--tone, var(--green));
    transform: rotate(-45deg);
}

/* Vista de producto */
.hero-visual { position: relative; padding: 0 0 104px 48px; }

.app-window {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lift);
    overflow: hidden;
}

.app-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-soft);
}
.app-title { font-weight: 700; color: var(--ink); font-size: .95rem; }
.app-tabs { display: flex; gap: 4px; font-size: .78rem; color: var(--muted); }
.app-tabs span { padding: 4px 10px; border-radius: 999px; }
.app-tabs .is-active { background: var(--blue-soft); color: var(--blue-dark); font-weight: 600; }

.board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    background: var(--bg);
}
.board-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.col-head {
    display: flex;
    justify-content: space-between;
    padding: 2px 4px 4px;
    font-size: .76rem;
    font-weight: 600;
    color: var(--muted);
}
.col-head span { color: #8A94A3; font-weight: 500; }
.col-won .col-head { color: var(--green); }

.deal {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 11px;
    font-size: .8rem;
}
.deal-faint { opacity: .55; }
.deal-name {
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.deal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.avatar {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: .6rem;
    font-weight: 700;
    color: var(--blue-dark);
    background: var(--blue-soft);
}
.avatar.a2 { color: var(--violet); background: var(--violet-soft); }
.avatar.a3 { color: var(--amber); background: var(--amber-soft); }
.deal-tag {
    margin-top: 8px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--green);
}
.deal-arriving { border-color: #9ED3B9; box-shadow: 0 0 0 3px var(--green-soft); }

/* Única animación de la página: la oportunidad pasa a "Firmado" */
@media (prefers-reduced-motion: no-preference) {
    .deal-leaving { animation: deal-leave .5s ease-in 1.1s both; }
    .deal-arriving { animation: deal-arrive .6s cubic-bezier(.2, .8, .2, 1) 1.5s both; }
    .deal-arriving .deal-tag { animation: fade-in .4s ease 2.1s both; }
}
@media (prefers-reduced-motion: reduce) {
    .deal-leaving { display: none; }
}
@keyframes deal-leave {
    to { opacity: 0; transform: translateX(40%); height: 0; padding-block: 0; margin-top: -8px; border-width: 0; }
}
@keyframes deal-arrive {
    from { opacity: 0; transform: translateX(-30%); }
    to { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.clock-card {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 214px;
    padding: 16px 18px;
    background: var(--ink);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px -16px rgba(20, 35, 59, .45);
}
.clock-brand { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: #B7C2D3; }
.clock-dot { width: 8px; height: 8px; border-radius: 50%; background: #3CC48A; display: inline-block; flex: none; }
.clock-time {
    margin-top: 8px;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.clock-label { margin-top: 4px; font-size: .82rem; color: #B7C2D3; }
.clock-bar { margin-top: 14px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.clock-bar span { display: block; width: 84%; height: 100%; background: #3CC48A; }
.clock-foot { margin-top: 8px; font-size: .78rem; color: #B7C2D3; }
.clock-foot strong { color: #fff; font-weight: 600; }

/* Datos de empresa */
.facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(48px, 6vw, 80px);
    border-top: 1px solid var(--line);
}
.facts > div { padding: 26px 24px 30px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.facts dd { margin-top: 2px; font-size: .92rem; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-white { background: #fff; border-block: 1px solid var(--line); }

.section h2,
.demo-band h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.03em;
    color: var(--ink);
    text-wrap: balance;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 24px 64px;
    align-items: end;
    margin-bottom: 48px;
}
.section-head h2 { max-width: 20ch; }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 42ch; }

/* ---------- Productos ---------- */
.tone-blue { --tone: var(--blue); --tone-soft: var(--blue-soft); }
.tone-green { --tone: var(--green); --tone-soft: var(--green-soft); }
.tone-violet { --tone: var(--violet); --tone-soft: var(--violet-soft); }
.tone-amber { --tone: var(--amber); --tone-soft: var(--amber-soft); }

.product-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--tone-soft);
    color: var(--tone);
}
.product-icon svg { width: 22px; height: 22px; }

.product-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px 64px;
    padding: clamp(28px, 4vw, 48px);
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--blue);
    border-radius: var(--r-lg);
}
.product-feature h3 {
    margin-top: 22px;
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: var(--ink);
}
.product-feature .pf-copy p { margin: 14px 0 26px; color: var(--muted); max-width: 52ch; }
.pf-list { display: flex; flex-direction: column; align-self: center; }
.pf-list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.pf-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.pf-list strong { color: var(--ink); font-weight: 600; }
.pf-list span { color: var(--muted); font-size: .95rem; }

.product-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--tone);
    border-radius: var(--r-lg);
}
.product h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}
.badge {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--tone);
    background: var(--tone-soft);
}
.product > p { margin-top: 10px; color: var(--muted); font-size: .97rem; }
.checks { display: flex; flex-direction: column; gap: 8px; margin: 20px 0 26px; font-size: .93rem; color: var(--text); }
.product .text-link,
.product .video-btn { margin-top: auto; }

.video-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none;
    border: 0;
    font-weight: 600;
    color: var(--tone);
    cursor: pointer;
}
.video-btn .play {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--tone);
    color: #fff;
    transition: transform .15s;
}
.video-btn .play svg { width: 14px; height: 14px; margin-left: 2px; }
.video-btn:hover .play { transform: scale(1.08); }

/* ---------- Ventajas ---------- */
.ventajas-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 48px 80px;
    align-items: start;
}
.ventajas-head { position: sticky; top: 120px; }
.ventajas-head h2 { margin-bottom: 26px; }

.ventajas-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 48px;
}
.ventaja svg { width: 26px; height: 26px; color: var(--blue); }
.ventaja h3 { margin-top: 16px; font-size: 1.12rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.ventaja p { margin-top: 6px; color: var(--muted); font-size: .97rem; }

/* ---------- Banda demo ---------- */
.demo-band { padding: clamp(64px, 8vw, 96px) 0; background: var(--ink); color: #fff; }
.demo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 48px 80px;
    align-items: center;
}
.demo-band h2 { color: #fff; }
.demo-copy p { margin: 16px 0 30px; color: #B7C2D3; font-size: 1.08rem; max-width: 50ch; }

.demo-panel {
    padding: 20px;
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--r-lg);
}
.demo-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: .88rem;
    font-weight: 600;
    color: #DDE3EC;
}
.demo-panel-head::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3CC48A; }
.demo-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    font-size: .9rem;
    color: #B7C2D3;
}
.demo-row + .demo-row { border-top: 1px solid rgba(255, 255, 255, .06); }
.demo-row strong { font-weight: 600; white-space: nowrap; }
.c-green { color: #5ED4A0; }
.c-blue { color: #93A8F5; }
.c-amber { color: #F2C06B; }

/* ---------- Contacto ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 48px 80px;
    align-items: start;
}
.contact-info > p { margin-top: 18px; color: var(--muted); font-size: 1.05rem; max-width: 44ch; }

.contact-list { display: flex; flex-direction: column; margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.contact-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.contact-list span { display: block; font-size: .82rem; color: var(--muted); }
.contact-list a,
.contact-list strong { font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--blue); }

.form-panel {
    padding: clamp(24px, 3.5vw, 40px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lift);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--blue); }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #C5CDD8;
    border-radius: var(--r-sm);
    font-size: .97rem;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6878' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}
.field input::placeholder,
.field textarea::placeholder { color: #98A1AE; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #9AA5B4; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-soft);
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 22px 0;
    font-size: .88rem;
    color: var(--muted);
    cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }

.form-error {
    margin: -6px 0 18px;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    background: #FDECEC;
    color: #9B2424;
    font-size: .92rem;
}

.form-note { margin-top: 12px; font-size: .8rem; color: var(--muted); }

.form-success { padding: 40px 8px; text-align: center; }
.form-success:focus { outline: none; }
.success-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
}
.success-icon svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.form-success p { margin: 10px auto 0; color: var(--muted); max-width: 40ch; }
@media (prefers-reduced-motion: no-preference) {
    .form-success:not(.hidden) .success-icon { animation: pop .45s cubic-bezier(.2, .9, .3, 1.3) both; }
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Modal de vídeo ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(12, 22, 38, .78);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility 0s linear .25s;
}
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }

.modal-box {
    width: 100%;
    max-width: 920px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--r-lg);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
    transform: scale(.96);
    transition: transform .25s;
}
.modal.is-open .modal-box { transform: none; }

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px 14px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.modal-head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; font-weight: 600; color: #fff; }
.modal-close {
    display: grid;
    place-items: center;
    padding: 8px;
    background: none;
    border: 0;
    border-radius: var(--r-sm);
    color: #B7C2D3;
    cursor: pointer;
}
.modal-close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.modal-close svg { width: 22px; height: 22px; }
.modal-body { padding: 16px; background: #0E1A2D; }
.modal-body video { width: 100%; max-height: 68vh; border-radius: var(--r-md); background: #000; }
.modal-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.modal-foot p { font-size: .88rem; color: #B7C2D3; }

/* ---------- Pie ---------- */
.site-footer { padding: 64px 0 32px; background: var(--ink); color: #B7C2D3; font-size: .93rem; }
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.logo-light .logo-name { color: #fff; }
.logo-light .dot { color: #93A8F5; }
.footer-brand p { margin-top: 18px; max-width: 40ch; }
.footer-title { margin-bottom: 14px; font-weight: 600; color: #fff; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 26px;
    font-size: .84rem;
    color: #8C99AD;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: 18ch; }
    .hero-visual { max-width: 640px; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .product-row { grid-template-columns: 1fr 1fr; }
    .product-row .product:last-child { grid-column: 1 / -1; }
    .ventajas-grid,
    .contact-grid,
    .demo-grid { grid-template-columns: 1fr; }
    .ventajas-head { position: static; }
}

@media (max-width: 860px) {
    .main-nav,
    .header-cta { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-inner { height: 64px; }
    html { scroll-padding-top: 72px; }
    .section-head,
    .product-feature { grid-template-columns: 1fr; }
}

@media (min-width: 861px) {
    .mobile-menu { display: none !important; }
}

@media (max-width: 640px) {
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-visual { padding: 0; }
    .clock-card { position: relative; left: auto; bottom: auto; width: auto; max-width: 240px; margin: -28px 0 0 12px; }
    .board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px; }
    .deal { padding: 8px; font-size: .72rem; }
    .deal-faint { display: none; }
    .avatar { display: none; }
    .app-tabs span:not(.is-active) { display: none; }
    .facts { grid-template-columns: 1fr; }
    .facts > div,
    .facts > div + div { padding: 18px 0; border-left: 0; }
    .facts > div + div { border-top: 1px solid var(--line); }
    .product-row,
    .ventajas-list,
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .demo-row { flex-direction: column; gap: 2px; }
}
