:root {
    --navy: #072a4a;
    --navy-deep: #041c33;
    --blue: #0089f7;
    --blue-dark: #0069c2;
    --sky: #8fd8ef;
    --gold: #f5b400;
    --bg: #ffffff;
    --bg-tint: #f2f7fb;
    --surface: #ffffff;
    --text: #17293a;
    --muted: #51657a;
    --heading: #072a4a;
    --link: #0069c2;
    --line: #d9e4ee;
    --header-bg: rgba(255, 255, 255, .94);
    --shadow: 0 1px 2px rgba(7, 42, 74, .06), 0 8px 24px rgba(7, 42, 74, .07);
    --heading-font: "Mina", "Segoe UI", system-ui, sans-serif;
    --body-font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    --radius: 12px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #071726;
        --bg-tint: #0b2033;
        --surface: #10293f;
        --text: #dbe7f1;
        --muted: #9fb4c7;
        --heading: #f1f7fc;
        --link: #6cc3ff;
        --line: #1f3d57;
        --header-bg: rgba(7, 23, 38, .94);
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 1.0625rem/1.65 var(--body-font);
}

h1, h2, h3 {
    margin: 0 0 .5em;
    color: var(--heading);
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); }
address { font-style: normal; }
img { max-width: 100%; height: auto; }

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

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { margin-top: 32px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.icon { display: block; width: 24px; height: 24px; }

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

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid var(--blue-dark);
    border-radius: 8px;
    background: var(--blue-dark);
    color: #fff;
    font: 600 1rem/1.2 var(--body-font);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.button:hover { border-color: var(--navy); background: var(--navy); }
.button .icon { width: 20px; height: 20px; }
.button-small { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.button-outline { border-color: #fff; background: transparent; color: #fff; }
.button-outline:hover { border-color: #fff; background: #fff; color: var(--navy); }
.button-quiet { border-color: var(--link); background: transparent; color: var(--link); }
.button-quiet:hover { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; }
.button-light { border-color: #fff; background: #fff; color: var(--navy); }
.button-light:hover { border-color: var(--sky); background: var(--sky); color: var(--navy); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* Header */
.site-header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: var(--header-bg);
    backdrop-filter: blur(10px);
}
.site-header.menu-sticky { position: sticky; top: 0; }
.menu-navy { --header-bg: var(--navy); --heading: #fff; --bg-tint: rgba(255, 255, 255, .12); --line: rgba(255, 255, 255, .16); }
.menu-navy .submenu { --surface: var(--navy); --text: #e8f2fa; }
@media (min-width: 1081px) {
    .menu-center .site-nav { flex: 1; justify-content: space-between; padding-left: 24px; }
    .menu-center .site-nav > ul { margin-inline: auto; }
    .menu-left .site-nav { flex: 1; justify-content: space-between; padding-left: 24px; }
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { display: block; width: auto; height: 54px; }
.menu-toggle {
    display: none;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: none;
    color: var(--heading);
    cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav li { position: relative; }
.site-nav > ul > li > a, .submenu-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--heading);
    font: 500 1rem/1.2 var(--body-font);
    text-decoration: none;
    cursor: pointer;
}
.site-nav > ul > li > a:hover, .submenu-toggle:hover { background: var(--bg-tint); }
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .15s; }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-nav .submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 240px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.submenu-toggle[aria-expanded="true"] + .submenu { display: flex; }
.submenu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); text-decoration: none; }
.submenu a:hover { background: var(--bg-tint); }

/* Hero */
.hero {
    overflow: hidden;
    background: radial-gradient(90% 130% at 80% 45%, #0e4a7c 0%, var(--navy) 48%, var(--navy-deep) 100%);
    color: #e8f2fa;
}
.hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    padding-block: 56px;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--sky); }
.lead { font-size: 1.2rem; }
.eyebrow {
    margin-bottom: 10px;
    color: var(--blue-dark);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.diamond { display: block; width: 100%; max-width: 440px; margin-inline: auto; }
.diamond-rays { stroke: var(--sky); stroke-width: 1.6; stroke-linecap: round; opacity: .75; transform-origin: 200px 200px; animation: rays 90s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .diamond-rays { animation: none; }
}

.trust { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px 0;
    list-style: none;
    color: var(--muted);
    font-size: .95rem;
    text-align: center;
}
.trust-row strong { display: block; color: var(--heading); font: 700 1.2rem/1.3 var(--heading-font); }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 80px); }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); }
.page-head {
    padding-block: clamp(44px, 7vw, 76px);
    background: radial-gradient(100% 160% at 85% 20%, #0e4a7c 0%, var(--navy) 55%, var(--navy-deep) 100%);
    color: #e8f2fa;
}
.page-head h1 { max-width: 880px; color: #fff; }
.page-head .eyebrow { color: var(--sky); }
.page-head .lead { max-width: 720px; }
.prose { max-width: 800px; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 48px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
    position: relative;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}
.card p { color: var(--muted); }
.card-title { font-size: 1.3rem; }
.card-tag { color: var(--heading) !important; font-weight: 600; }
.card-link { display: block; text-decoration: none; transition: transform .15s, border-color .15s; }
.card-link:hover { border-color: var(--blue); transform: translateY(-3px); }
.card-icon {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 11px;
    border-radius: 10px;
    background: var(--bg-tint);
    color: var(--link);
}
.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--blue-dark);
    color: #fff;
    font-weight: 700;
}

.checks { margin: 16px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 5px 0 5px 28px; }
.checks li::before { content: "\2713"; position: absolute; left: 2px; color: var(--link); font-weight: 700; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 24px; max-width: 900px; margin-inline: auto; }

.callout { max-width: 800px; margin-inline: auto; padding: 20px 24px; border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: var(--bg-tint); }

.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; padding: 0; list-style: none; }
.stats li { flex: 1 1 180px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.stats strong { display: block; color: var(--link); font: 700 2rem/1.2 var(--heading-font); }

/* Home blocks */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; color: var(--muted); font-size: .85rem; text-align: center; }
.countdown > div { padding: 14px 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.countdown strong { display: block; color: var(--heading); font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--heading-font); font-variant-numeric: tabular-nums; }

.audit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: 16px;
    background: linear-gradient(120deg, var(--navy), #0e4a7c);
    color: #e8f2fa;
}
.audit h2 { color: #fff; }
.audit .button { flex: none; border-color: #fff; background: #fff; color: var(--navy); }
.audit .button:hover { border-color: var(--sky); background: var(--sky); }

.stars { color: var(--gold); letter-spacing: .1em; }
.reviews { column-count: 3; column-gap: 20px; }
.review {
    break-inside: avoid;
    margin: 0 0 20px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.review blockquote { margin: 8px 0 12px; font-size: 1rem; }
.review figcaption { color: var(--heading); font-weight: 600; font-size: .95rem; }

.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.partners li { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--heading); font-weight: 600; }

.big-stat { padding: 32px 24px; border-radius: var(--radius); background: var(--bg-tint); text-align: center; }
.big-stat strong { display: block; color: var(--link); font: 700 4rem/1.1 var(--heading-font); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery figcaption { margin-top: 10px; color: var(--heading); font-weight: 600; text-align: center; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 4px; color: var(--heading); font-weight: 600; cursor: pointer; }
.faq details p { padding: 0 4px 16px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-item .icon { flex: none; margin-top: 3px; color: var(--link); }
.contact-item h2 { margin-bottom: 4px; font-size: 1.1rem; }

.form-panel { margin-top: 12px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 5px; color: var(--heading); font-size: .95rem; font-weight: 600; }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #8ea3b6;
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
}
.field textarea { resize: vertical; }
.field-error { display: block; color: #c62828; font-size: .9rem; }
.field-trap { position: absolute; left: -10000px; }
.notice { margin-bottom: 20px; padding: 14px 16px; border-radius: 8px; }
.notice-good { background: #e3f6e8; color: #17512a; }
.notice-bad { background: #fde8e8; color: #7f1d1d; }
.notice a { color: inherit; }

.post { margin-bottom: 40px; }
.post-date { color: var(--muted); }

/* Call to action */
.cta { padding-block: 44px; background: var(--navy); color: #e8f2fa; }
.cta h2 { color: #fff; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta .button-row { flex: none; margin-top: 0; }
.cta .button { border-color: var(--blue); background: var(--blue-dark); }
.cta .button:hover { border-color: #fff; background: var(--blue); }
.cta .button-light { border-color: #fff; background: #fff; }
.cta .button-light:hover { border-color: var(--sky); background: var(--sky); }

/* Footer */
.site-footer { padding-top: 52px; background: var(--navy-deep); color: #b6c9da; font-size: .975rem; }
.site-footer a { color: #e4eff8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; }
.footer-name { color: #fff; font: 700 1.4rem/1.2 var(--heading-font); }
.footer-phone { font-size: 1.2rem; font-weight: 600; }
.site-footer h2 { color: #fff; font-size: 1.05rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { padding: 3px 0; }
.site-footer address { margin-bottom: 12px; }
.social { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px !important; }
.footer-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-block: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .9rem;
}

.cookie-notice {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    max-width: 360px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    font-size: .95rem;
}
.cookie-notice[hidden] { display: none; }
.cookie-actions { display: flex; gap: 10px; margin-top: 12px; }

/* Smaller screens */
@media (max-width: 1080px) {
    .menu-toggle { display: block; }
    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        padding: 12px 20px 20px;
        border-bottom: 1px solid var(--line);
        background: var(--bg);
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .menu-navy .site-nav { background: var(--navy); }
    .site-nav ul { flex-direction: column; align-items: stretch; }
    .site-nav > ul > li > a, .submenu-toggle { width: 100%; justify-content: space-between; padding: 12px 8px; }
    .site-nav .submenu { position: static; min-width: 0; padding: 0 0 0 12px; border: 0; background: none; box-shadow: none; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews { column-count: 2; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    body { font-size: 1rem; }
    .wrap { width: calc(100% - 32px); }
    .brand img { height: 44px; }
    .hero-row { grid-template-columns: 1fr; padding-block: 40px; }
    .hero .diamond { order: -1; max-width: 200px; margin: 0 auto; }
    .trust-row { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .card-grid, .card-grid-2, .field-row { grid-template-columns: minmax(0, 1fr); }
    .field-row { gap: 0; }
    .reviews { column-count: 1; }
    .audit, .cta-row { flex-direction: column; align-items: flex-start; }
    .cta .button-row { flex: initial; }
    .button-row .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .cookie-notice { right: 16px; left: 16px; max-width: none; }
}
