:root {
    --sea-900: #0d2b3f;
    --sea-700: #1f4a5f;
    --sage-500: #7fae9a;
    --sage-200: #d9e9e1;
    --sand-50: #f7f6f1;
    --ink-900: #13242d;
    --ink-700: #314550;
    --line: #d4dee3;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(13, 43, 63, 0.16);
    --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink-900);
    background: radial-gradient(circle at 20% 0%, #edf6f2 0%, #f8fafb 45%, #ffffff 100%);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.18;
    margin: 0 0 12px;
    color: var(--sea-900);
}
h1 { font-size: clamp(2rem, 6vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
p { margin: 0 0 14px; }
a { color: inherit; text-decoration: none; }

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    background: var(--sea-900);
    color: #d6e7f2;
    font-size: .88rem;
}
.topbar-inner {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.topbar a { color: #f0fbff; text-decoration: underline; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eaf1f4;
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}
.brand {
    display: flex;
    gap: 10px;
    align-items: center;
}
.brand strong {
    display: block;
    font-size: 1rem;
    letter-spacing: .02em;
}
.brand small {
    display: block;
    color: var(--ink-700);
    font-size: .8rem;
}
.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(145deg, var(--sea-900), var(--sage-500));
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}
.site-nav a {
    font-size: .93rem;
    color: var(--ink-700);
}
.site-nav a.active,
.site-nav a:hover { color: var(--sea-900); }

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 7px 10px;
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 11px 20px;
    font-weight: 700;
    background: linear-gradient(100deg, var(--sea-900), var(--sea-700));
    color: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    color: var(--sea-900);
    border: 1px solid var(--sea-700);
    box-shadow: none;
}
.btn-small { padding: 9px 15px; font-size: .85rem; }

.hero {
    padding: 82px 0 56px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    align-items: center;
}
.hero-card {
    padding: 30px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #ffffff 30%, #edf6f2 120%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.hero .lead {
    font-size: 1.08rem;
    color: var(--ink-700);
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.hero-media {
    border-radius: var(--radius);
    min-height: 400px;
    background: linear-gradient(rgba(13,43,63,.26), rgba(13,43,63,.1)),
    url('https://images.unsplash.com/photo-1580281657521-8f0f1f4dd3f3?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
    box-shadow: var(--shadow);
}

.section {
    padding: 58px 0;
}
.section.muted { background: var(--sand-50); }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .76rem;
    color: var(--sea-700);
    font-weight: 700;
    margin-bottom: 10px;
}
.muted-text, .muted { color: var(--ink-700); }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 9px 25px rgba(14, 38, 56, .06);
}
.card h3 { margin-bottom: 8px; }

.compare {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.compare th,
.compare td {
    padding: 15px 14px;
    border-bottom: 1px solid #d9e4ea;
    text-align: left;
}
.compare thead th {
    background: var(--sea-900);
    color: #fff;
    font-size: .9rem;
}
.compare tbody tr:nth-child(odd) { background: #f7fbfd; }

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.badge {
    padding: 9px 13px;
    border-radius: 999px;
    background: #ebf5f1;
    color: #245646;
    border: 1px solid #cce1d8;
    font-weight: 600;
    font-size: .86rem;
}

.flow-step {
    position: relative;
    padding-left: 50px;
}
.flow-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 4px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #edf5f8;
    color: var(--sea-900);
    font-weight: 700;
}

.video-grid iframe {
    width: 100%;
    min-height: 250px;
    border: 0;
    border-radius: 16px;
}

.site-footer {
    background: #0e2432;
    color: #c8d7e0;
    margin-top: 50px;
}
.footer-grid {
    padding: 45px 0 26px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 22px;
}
.site-footer a {
    display: block;
    color: #e2eef4;
    margin-bottom: 7px;
}
.footer-copy {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 12px 0 20px;
    font-size: .88rem;
}

.assessment-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 80;
}
.assessment-modal.open { display: block; }
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 30, .66);
}
.modal-card {
    position: relative;
    width: min(640px, calc(100% - 28px));
    max-height: calc(100vh - 30px);
    overflow: auto;
    margin: 18px auto;
    border-radius: 20px;
    background: #fff;
    padding: 28px;
}
.close-modal {
    position: absolute;
    top: 11px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    cursor: pointer;
}
.lead-form {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}
.lead-form label {
    display: grid;
    gap: 5px;
    font-size: .92rem;
    color: var(--ink-700);
}
.lead-form input,
.lead-form textarea {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px;
    font: inherit;
}

.page-hero {
    padding: 64px 0 38px;
    background: linear-gradient(140deg, #f5faf8, #eef5fb);
    border-bottom: 1px solid #e3edf3;
}

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 18px;
    background: #26d366;
    color: #09361c;
    font-weight: 700;
    border-radius: 999px;
    padding: 11px 17px;
    box-shadow: 0 12px 22px rgba(17, 45, 28, .3);
    z-index: 50;
}

.kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}
.kpi strong {
    display: block;
    font-size: 1.3rem;
    color: var(--sea-900);
}

@media (max-width: 980px) {
    .site-nav {
        position: absolute;
        right: 16px;
        top: 88px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 12px;
        min-width: 220px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
    }
    .site-nav.open { display: flex; }
    .nav-toggle { display: inline-flex; }
    .hero-grid,
    .grid-3,
    .grid-2,
    .footer-grid,
    .kpi {
        grid-template-columns: 1fr;
    }
    .hero-media { min-height: 260px; }
}
