:root {
    --navy-950: #040b16;
    --navy-900: #071326;
    --navy-800: #0c1b32;
    --navy-700: #102b4e;
    --teal-500: #17d6c3;
    --teal-700: #148d88;
    --orange-500: #ffb347;
    --orange-600: #ef9438;
    --ink: #132237;
    --muted: #5e6d7f;
    --line: #dce6ed;
    --surface: #ffffff;
    --surface-alt: #f3f8fb;
    --success: #137b58;
    --danger: #b42318;
    --shadow-sm: 0 10px 30px rgba(4, 18, 38, .08);
    --shadow-lg: 0 26px 70px rgba(4, 18, 38, .18);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 34px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 10000;
    background: #fff;
    color: var(--navy-900);
    padding: 10px 16px;
    border-radius: 8px;
    transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.stack > * + * { margin-top: 22px; }
.center { text-align: center; }
.narrow { max-width: 780px; margin-inline: auto; }
.eyebrow {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .77rem;
    font-weight: 800;
    color: var(--teal-700);
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--teal-500); }
h1, h2, h3 { line-height: 1.12; margin-top: 0; letter-spacing: -.03em; }
h1 { font-size: clamp(2.65rem, 7vw, 5.6rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
p { margin-top: 0; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #c9d7e6; max-width: 720px; }
.text-muted { color: var(--muted); }
.section-dark .text-muted { color: #b8c9d9; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--teal-500);
    color: var(--navy-950);
    text-decoration: none;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(23,214,195,.22); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
    outline: 3px solid rgba(255,179,71,.72);
    outline-offset: 3px;
}
.button-secondary { background: transparent; color: inherit; border-color: rgba(255,255,255,.38); }
.button-secondary-dark { background: #fff; color: var(--navy-900); border-color: var(--line); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: .92rem; }
.button-full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button-row-center { justify-content: center; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(220,230,237,.8);
    transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 228px; }
.primary-nav { display: flex; align-items: center; gap: 7px; }
.primary-nav > a, .nav-dropdown-toggle {
    border: 0;
    background: transparent;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    padding: 11px 13px;
    border-radius: 10px;
}
.primary-nav > a:hover, .nav-dropdown-toggle:hover, .primary-nav .active { background: var(--surface-alt); color: var(--teal-700); }
.primary-nav .button { color: var(--navy-950); background: var(--teal-500); padding-inline: 18px; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 290px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .18s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 12px 13px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.nav-dropdown-menu a:hover { background: var(--surface-alt); color: var(--teal-700); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; background: var(--navy-900); margin: 5px 0; }

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 15%, rgba(23,214,195,.16), transparent 30%),
        radial-gradient(circle at 12% 82%, rgba(255,179,71,.12), transparent 26%),
        var(--navy-900);
    color: #fff;
    padding: 92px 0 86px;
}
.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 760px; }
.hero-visual { filter: drop-shadow(0 25px 50px rgba(0,0,0,.28)); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.hero-stat { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); padding: 18px; border-radius: 16px; }
.hero-stat strong { display: block; color: var(--teal-500); font-size: 1.2rem; }
.hero-stat span { color: #c6d4e2; font-size: .9rem; }

.page-hero { padding: 76px 0 64px; background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.page-hero:before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -250px; background: radial-gradient(circle, rgba(23,214,195,.2), transparent 66%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.page-hero p { max-width: 780px; color: #c5d3e2; font-size: 1.2rem; }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 0; }
.trust-item { display: flex; gap: 11px; align-items: center; font-weight: 800; color: var(--navy-700); }
.trust-item span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #e2fbf7; color: var(--teal-700); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 42px; }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.card:hover { border-color: #b7d8de; }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #e0faf6; color: var(--teal-700); font-size: 1.5rem; margin-bottom: 22px; }
.card a.link-arrow { font-weight: 800; color: var(--teal-700); text-decoration: none; }
.card a.link-arrow:after { content: " →"; }
.card-tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #fff1df; color: #9a541a; font-weight: 800; font-size: .78rem; margin-bottom: 16px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.metric { padding: 28px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.metric strong { display: block; font-size: 2rem; color: var(--orange-500); }
.metric span { color: #c8d5e3; }

.feature-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 34px; }
.feature-list li:before { content: "✓"; position: absolute; left: 0; top: 0; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #dff8f4; color: var(--teal-700); font-weight: 900; }
.section-dark .feature-list li:before { background: rgba(23,214,195,.15); color: var(--teal-500); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 42px; counter-reset: process; }
.process-card { counter-increment: process; border-top: 4px solid var(--teal-500); background: #fff; border-radius: 0 0 18px 18px; padding: 28px; box-shadow: var(--shadow-sm); }
.process-card:before { content: "0" counter(process); display: block; color: var(--orange-600); font-weight: 900; font-size: .9rem; margin-bottom: 14px; }
.timeline { display: grid; gap: 18px; margin-top: 44px; }
.timeline-item { display: grid; grid-template-columns: 78px 1fr; gap: 22px; align-items: start; }
.timeline-number { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-900); color: var(--teal-500); font-weight: 900; }
.timeline-content { padding: 24px 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.timeline-meta { color: var(--orange-600); font-weight: 800; font-size: .9rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 44px; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-sm); }
.pricing-card.featured { border: 2px solid var(--teal-500); transform: translateY(-8px); }
.pricing-badge { position: absolute; right: 24px; top: -14px; background: var(--orange-500); color: var(--navy-950); padding: 7px 12px; border-radius: 999px; font-weight: 900; font-size: .76rem; }
.price { font-size: 2.4rem; font-weight: 900; color: var(--navy-900); margin: 18px 0 2px; }
.price-note { color: var(--muted); margin-bottom: 26px; }
.pricing-card .button { margin-top: auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 17px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-alt); color: var(--navy-900); font-size: .9rem; }
tr:last-child td { border-bottom: 0; }

.quote-block { border-left: 5px solid var(--teal-500); padding: 28px 34px; background: #fff; box-shadow: var(--shadow-sm); border-radius: 0 20px 20px 0; }
.cta-band { background: linear-gradient(120deg, var(--teal-500), #52e3d5 55%, var(--orange-500)); color: var(--navy-950); border-radius: 30px; padding: 46px; display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 680px; margin-bottom: 0; }
.cta-band .button { background: var(--navy-900); color: #fff; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-card { background: var(--navy-900); color: #fff; border-radius: 24px; padding: 34px; }
.contact-card a { color: var(--teal-500); font-weight: 800; text-decoration: none; }
.contact-form, .message-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 750; font-size: .92rem; }
input, select, textarea {
    width: 100%;
    border: 1px solid #cbd9e2;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    color: var(--ink);
}
textarea { resize: vertical; min-height: 120px; }
.checkbox-row { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-status { min-height: 1.6em; margin: 0; font-weight: 750; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.site-footer { background: var(--navy-950); color: #d5dfeb; padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 42px; }
.footer-logo { width: 228px; margin-bottom: 18px; }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: 0; margin-bottom: 16px; }
.site-footer a { display: block; color: #d5dfeb; text-decoration: none; margin: 8px 0; }
.site-footer a:hover { color: var(--teal-500); }
.footer-bottom { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: #94a7bb; font-size: .9rem; }

.message-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1300;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    background: var(--navy-900);
    color: #fff;
    font-weight: 850;
    box-shadow: var(--shadow-lg);
}
.message-launcher-icon { color: var(--teal-500); font-size: 1.25rem; }
.message-panel {
    position: fixed;
    right: 22px;
    bottom: 86px;
    z-index: 1400;
    width: min(410px, calc(100vw - 28px));
    max-height: min(700px, calc(100vh - 120px));
    overflow-y: auto;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(12px) scale(.98);
    visibility: hidden;
    transition: .2s ease;
}
.message-panel.open { opacity: 1; transform: translateY(0) scale(1); visibility: visible; }
.message-panel-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.message-panel h2 { font-size: 1.65rem; margin-bottom: 6px; }
.icon-button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1; }

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1600;
    max-width: 1100px;
    margin: auto;
    padding: 20px 22px;
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 5px; }
.cookie-banner p { margin-bottom: 0; color: var(--muted); }
.cookie-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.cookie-actions .button-secondary { color: var(--navy-900); border-color: var(--line); }
.cookie-actions a { font-weight: 800; color: var(--teal-700); }

.faq { display: grid; gap: 14px; margin-top: 38px; }
details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 18px 20px; }
summary { cursor: pointer; font-weight: 850; color: var(--navy-900); }
details p { margin: 14px 0 0; color: var(--muted); }

@media (max-width: 1020px) {
    .hero-grid, .section-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 720px; margin-inline: auto; }
    .card-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .process-grid { grid-template-columns: repeat(2,1fr); }
    .metric-grid, .trust-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }

    .menu-toggle { display: block; }
    .primary-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .2s ease;
    }
    .primary-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
    .primary-nav > a, .nav-dropdown-toggle { width: 100%; text-align: left; }
    .nav-dropdown-menu { position: static; width: 100%; box-shadow: none; border: 0; padding: 4px 0 4px 14px; display: none; opacity: 1; visibility: visible; transform: none; }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
}

@media (max-width: 700px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 72px 0; }
    .hero { padding: 70px 0 68px; }
    .hero-grid { gap: 40px; }
    .hero-stats, .card-grid, .card-grid-2, .pricing-grid, .process-grid, .metric-grid, .trust-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .form-grid { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
    .timeline-item { grid-template-columns: 48px 1fr; gap: 12px; }
    .timeline-number { width: 46px; height: 46px; border-radius: 14px; }
    .timeline-content { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .cookie-banner { flex-direction: column; align-items: flex-start; left: 12px; right: 12px; bottom: 12px; }
    .cookie-actions { width: 100%; }
    .cookie-actions .button { flex: 1; }
    .message-launcher { right: 14px; bottom: 14px; }
    .message-panel { right: 14px; bottom: 76px; }
    .brand img { width: 190px; }
}
