:root {
    --blue-900: #102a56;
    --blue-800: #163b78;
    --blue-700: #29487d;
    --blue-600: #2e6fc5;
    --green: #21b573;
    --orange: #ffb020;
    --red: #e25555;
    --ink: #172033;
    --muted: #64748b;
    --line: #e5eaf2;
    --bg: #f4f7fb;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(16, 42, 86, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.top-strip {
    background: #071b38;
    color: rgba(255,255,255,.86);
    font-size: 13px;
}
.top-strip .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    align-items: center;
}
.lang-flags { display: flex; gap: 8px; align-items: center; }
.lang-flags a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    font-size: 18px;
}
.lang-flags a.active { outline: 2px solid var(--green); background: rgba(33,181,115,.18); }

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 24px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; color: #24344f; }
.nav-links a { font-size: 14px; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.mobile-toggle { display: none; border: 0; background: var(--blue-900); color: #fff; border-radius: 10px; padding: 10px 12px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    font-size: 15px;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 25px rgba(16,42,86,.12); }
.btn-primary { background: var(--green); color: #fff; }
.btn-dark { background: var(--blue-900); color: #fff; }
.btn-outline { background: #fff; color: var(--blue-800); border-color: #cdd8ea; }
.btn-whatsapp { background: #25D366; color: #fff; }

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 10%, rgba(46,111,197,.24), transparent 34%),
        radial-gradient(circle at 85% 25%, rgba(33,181,115,.18), transparent 30%),
        linear-gradient(135deg, #0d2854 0%, #173e7a 56%, #235da5 100%);
    color: #fff;
    padding: 92px 0 76px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    font-weight: 800;
    color: #dff8ec;
    font-size: 13px;
}
h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    margin: 20px 0 18px;
    letter-spacing: -1.5px;
}
.hero p { color: rgba(255,255,255,.84); font-size: 19px; max-width: 620px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { margin-top: 24px; display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.82); font-weight: 700; font-size: 14px; }
.hero-proof span { display: inline-flex; gap: 8px; align-items: center; }
.hero-proof b { color: #fff; }

.app-card {
    background: rgba(255,255,255,.95);
    color: var(--ink);
    border-radius: 28px;
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.42);
}
.fake-dashboard {
    border-radius: 22px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #dce5f3;
}
.fake-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #fff; border-bottom: 1px solid #e8eef6; }
.fake-dots { display: flex; gap: 6px; }
.fake-dot { width: 10px; height: 10px; border-radius: 99px; background: #d9e2ef; }
.fake-dot:nth-child(1) { background: #ff6b6b; }
.fake-dot:nth-child(2) { background: #ffcd4d; }
.fake-dot:nth-child(3) { background: #35d07f; }
.fake-title { font-weight: 900; color: var(--blue-800); }
.kpi-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; padding: 16px; }
.kpi { background: #fff; border: 1px solid #e6edf7; border-radius: 16px; padding: 14px; }
.kpi small { color: var(--muted); font-weight: 800; text-transform: uppercase; font-size: 11px; }
.kpi strong { display: block; margin-top: 6px; font-size: 26px; color: var(--blue-900); }
.kpi.positive strong { color: var(--green); }
.bar-area { padding: 0 16px 16px; }
.bar { height: 18px; margin: 10px 0; border-radius: 99px; background: #dde7f4; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue-600), var(--green)); }

.section { padding: 78px 0; }
.section-white { background: #fff; }
.section h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    margin: 0 0 12px;
    letter-spacing: -.8px;
    color: var(--blue-900);
}
.section-lead { max-width: 760px; color: var(--muted); font-size: 18px; margin: 0 0 34px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(16,42,86,.06);
}
.feature-icon { width: 48px; height: 48px; border-radius: 14px; background: #e8f2ff; display: grid; place-items: center; color: var(--blue-700); font-size: 24px; margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; color: var(--blue-900); font-size: 19px; }
.feature p { margin: 0; color: var(--muted); }

.highlight-band {
    background: var(--blue-900);
    color: #fff;
    border-radius: 28px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    box-shadow: var(--shadow);
}
.highlight-band h2 { color: #fff; }
.highlight-band p { color: rgba(255,255,255,.82); }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.9); font-weight: 700; }
.check-list li::before { content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 999px; background: var(--green); display: grid; place-items: center; color: #fff; font-weight: 900; }

.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dashboard-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    min-height: 178px;
    position: relative;
    overflow: hidden;
}
.dashboard-card::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: rgba(46,111,197,.08); right: -30px; top: -30px; }
.dashboard-card h3 { margin: 0 0 8px; color: var(--blue-900); }
.dashboard-card p { margin: 0; color: var(--muted); }
.dashboard-number { color: var(--green); font-size: 34px; font-weight: 900; margin-bottom: 8px; display: block; }

.mobile-section { background: linear-gradient(135deg, #f9fbff, #e9f4ff); }
.mobile-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.phone {
    width: 290px;
    margin: 0 auto;
    background: #111827;
    border-radius: 42px;
    padding: 14px;
    box-shadow: var(--shadow);
}
.phone-screen { background: #fff; border-radius: 32px; min-height: 560px; overflow: hidden; padding: 18px; }
.phone-notch { width: 84px; height: 8px; background: #111827; border-radius: 999px; margin: 0 auto 18px; }
.phone-kpi { background: #f0f6ff; border: 1px solid #dae8fa; border-radius: 18px; padding: 14px; margin-bottom: 12px; }
.phone-kpi small { color: var(--muted); font-weight: 800; }
.phone-kpi strong { display: block; color: var(--blue-900); font-size: 24px; }

.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-card, .form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 16px 40px rgba(16,42,86,.08);
}
.contact-card h3, .form-card h3 { margin-top: 0; color: var(--blue-900); }
.contact-methods { display: grid; gap: 12px; }
.contact-method { display: flex; gap: 12px; padding: 14px; background: #f7faff; border: 1px solid #e1ebf9; border-radius: 16px; align-items: center; }
.contact-method span { color: var(--muted); font-size: 13px; display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 800; color: #24344f; font-size: 14px; }
input, textarea, select {
    width: 100%;
    border: 1px solid #d7e0ee;
    border-radius: 12px;
    padding: 12px 13px;
    font: inherit;
    background: #fff;
    color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; margin: 10px 0 18px; }
.recaptcha-wrap { margin: 0 0 18px; overflow-x: auto; }
.alert { padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; font-weight: 800; }
.alert-success { background: #e8f8ef; color: #0f7b48; border: 1px solid #bdebcf; }
.alert-error { background: #fff0f0; color: #b93232; border: 1px solid #ffd0d0; }

.footer { background: #071b38; color: rgba(255,255,255,.78); padding: 34px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer a { color: #fff; font-weight: 700; }

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 22px;
    box-shadow: 0 18px 60px rgba(16,42,86,.22);
    padding: 20px;
    display: none;
}
.cookie-banner.show { display: block; }
.cookie-grid { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.cookie-banner h3 { margin: 0 0 8px; color: var(--blue-900); }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 14px; max-height: 160px; overflow: auto; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(7,27,56,.56);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 110;
    padding: 16px;
}
.cookie-modal.show { display: flex; }
.cookie-box { background: #fff; max-width: 640px; width: 100%; border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.cookie-option { border: 1px solid #e1e8f2; border-radius: 16px; padding: 14px; margin: 12px 0; display: flex; justify-content: space-between; gap: 16px; }
.cookie-option strong { color: var(--blue-900); display: block; }
.cookie-option small { color: var(--muted); }
.switch input { width: auto; transform: scale(1.2); }

.legal-page { padding: 64px 0; background: #fff; }
.legal-card { max-width: 900px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: 0 16px 44px rgba(16,42,86,.08); }
.legal-card h1 { color: var(--blue-900); font-size: 40px; margin-top: 0; }
.legal-card h2 { color: var(--blue-900); }
.legal-card p, .legal-card li { color: #475569; }

@media (max-width: 980px) {
    .hero-grid, .highlight-band, .mobile-grid, .contact-wrap { grid-template-columns: 1fr; }
    .features-grid, .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: inline-flex; }
    .nav.open { align-items: flex-start; }
    .nav.open .nav-links, .nav.open .nav-actions { display: flex; position: absolute; left: 16px; right: 16px; top: 74px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
    .nav.open .nav-links { flex-direction: column; align-items: flex-start; }
    .nav.open .nav-actions { top: 270px; justify-content: flex-start; }
    .cookie-grid { grid-template-columns: 1fr; }
    .cookie-actions { justify-content: flex-start; }
}
@media (max-width: 660px) {
    .top-strip .container { flex-direction: column; align-items: flex-start; }
    .features-grid, .dashboard-grid, .form-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 58px; }
    .section { padding: 54px 0; }
    .phone { width: min(290px, 100%); }
}
