:root {
    --brand: #7d1a12;
    --brand-dark: #59100b;
    --accent: #f2c94c;
    --ink: #17202a;
    --muted: #59636e;
    --surface: #f5f6f7;
    --nav: #0f1822;
}

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

body {
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
}

a {
    color: var(--brand);
}

a:hover {
    color: var(--brand-dark);
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1100;
    padding: .7rem 1rem;
    border-radius: .35rem;
    background: #fff;
    color: #111;
    font-weight: 700;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

#mainNav {
    min-height: 72px;
    background: rgba(15, 24, 34, .96);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .14);
}

.navbar-brand {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: .02em;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: #fff;
}

.navbar-brand img {
    width: 46px;
    height: 37px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, .86);
    font-size: .92rem;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--accent);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 720px;
    padding: 145px 0 90px;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(12, 20, 30, .94) 0%, rgba(12, 20, 30, .79) 50%, rgba(12, 20, 30, .24) 100%), url("../img/header-share-v5.jpg");
    background-image: linear-gradient(90deg, rgba(12, 20, 30, .94) 0%, rgba(12, 20, 30, .79) 50%, rgba(12, 20, 30, .24) 100%), image-set(url("../img/header-desktop-v5.webp") type("image/webp"), url("../img/header-share-v5.jpg") type("image/jpeg"));
    background-position: center;
    background-size: cover;
    color: #fff;
}

.hero-content {
    max-width: 850px;
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.text-brand {
    color: var(--brand) !important;
}

.hero h1 {
    max-width: 800px;
    margin-bottom: 1rem;
    font-size: clamp(2.6rem, 6vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.hero-claim {
    margin-bottom: 1.2rem;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 600;
}

.hero-copy {
    max-width: 730px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .91);
    font-size: 1.1rem;
}

.hero-actions .btn {
    padding: .9rem 1.25rem;
    font-size: .98rem;
    font-weight: 750;
}

.hero-region {
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
}

.btn-brand {
    border-color: var(--accent);
    background: var(--accent);
    color: #171717;
    font-weight: 750;
}

.btn-brand:hover,
.btn-brand:focus,
.btn-brand:active {
    border-color: #ffe078;
    background: #ffe078;
    color: #111;
}

.section-space {
    padding: 6rem 0;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 3.5rem;
}

.section-heading h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.025em;
}

.section-heading > p:last-child {
    color: var(--muted);
    font-size: 1.05rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid #e1e4e8;
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 14px 36px rgba(23, 32, 42, .08);
}

.service-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 1.4rem;
    border-radius: 50%;
    background: #f8e7e4;
    place-items: center;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--brand);
}

.service-card h3,
.support-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
}

.service-card p {
    color: var(--muted);
}

.service-card .result {
    margin-top: auto;
    padding-top: .8rem;
    color: var(--ink);
}

#security-check {
    scroll-margin-top: 95px;
}

.supporting-row {
    margin-top: 2rem;
}

.support-card {
    padding: 1.6rem 1.8rem;
    border-left: 5px solid var(--brand);
    border-radius: .35rem;
    background: var(--surface);
}

.support-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.services-cta {
    margin-top: 3rem;
}

.services-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 650;
}

.about-row {
    max-width: 980px;
    margin: 0 auto;
}

.portrait {
    width: 320px;
    aspect-ratio: 1;
    border: 8px solid #fff;
    border-radius: 50%;
    box-shadow: 0 14px 35px rgba(23, 32, 42, .16);
    object-fit: cover;
}

.about-row h3 {
    margin-bottom: .25rem;
    font-size: 2rem;
    font-weight: 800;
}

.role {
    margin-bottom: 1.5rem;
    color: var(--brand);
    font-weight: 750;
}

.expertise {
    margin-top: 1.5rem;
    color: #3f4851;
    font-size: .94rem;
    font-weight: 700;
}

.contact-section {
    position: relative;
    overflow: hidden;
    background-color: var(--nav);
    background-image: radial-gradient(circle at 50% 0, #293949 0, var(--nav) 52%);
}

.contact-section .section-heading > p:last-child {
    color: rgba(255, 255, 255, .76);
}

.contact-actions {
    margin-bottom: 3rem;
}

.phone-link {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 750;
    text-decoration: none;
}

.phone-link:hover,
.phone-link:focus {
    color: var(--accent);
}

.map-consent {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, .92);
    border-radius: .65rem;
    background: #182532;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .25);
}

.map-placeholder {
    display: grid;
    min-height: 360px;
    padding: 2.5rem 1.5rem;
    background:
        linear-gradient(rgba(15, 24, 34, .9), rgba(15, 24, 34, .9)),
        repeating-linear-gradient(35deg, transparent 0 42px, rgba(255, 255, 255, .05) 43px 45px);
    place-items: center;
    text-align: center;
}

.map-placeholder[hidden],
.map-canvas[hidden] {
    display: none;
}

.map-placeholder-content {
    max-width: 680px;
}

.map-placeholder h3 {
    margin-bottom: .8rem;
    font-size: 1.45rem;
    font-weight: 800;
}

.map-placeholder p {
    color: rgba(255, 255, 255, .8);
}

.map-pin {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    fill: var(--accent);
}

.map-external-link {
    display: block;
    width: fit-content;
    margin: 1.1rem auto 0;
    color: #fff;
}

.map-external-link:hover,
.map-external-link:focus,
.map-privacy-link a:hover,
.map-privacy-link a:focus {
    color: var(--accent);
}

.map-privacy-link {
    margin: .85rem 0 0;
    font-size: .88rem;
}

.map-privacy-link a {
    color: #fff;
}

.map-canvas iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

.map-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 1rem;
    background: #182532;
}

.map-controls[hidden] {
    display: none;
}

.map-controls a {
    color: #fff;
    font-size: .86rem;
}

.site-footer {
    padding: 1.6rem 0;
    background: #090f16;
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
}

.site-footer a {
    color: #fff;
}

.legal-page {
    background: var(--surface);
}

.legal-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.legal-main {
    padding: 4rem 0;
}

.legal-card {
    padding: clamp(1.25rem, 4vw, 3.5rem);
    border: 1px solid #e1e4e8;
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(23, 32, 42, .07);
}

.legal-card + .legal-card {
    margin-top: 2rem;
}

.legal-card h1,
.legal-card h2 {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.legal-card h3,
.legal-card h4 {
    margin-top: 2rem;
    font-size: 1.18rem;
    font-weight: 800;
}

.legal-card li + li {
    margin-top: .75rem;
}

.legal-definitions {
    padding-left: 0;
    list-style: none;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: .75rem 0 1rem;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .navbar-nav .nav-link {
        padding: .65rem 0;
    }

    .hero {
        min-height: 680px;
        background-position: 62% center;
    }
}

@media (max-width: 575.98px) {
    html {
        scroll-padding-top: 68px;
    }

    #mainNav {
        min-height: 66px;
    }

    .navbar-brand img {
        width: 39px;
        height: 32px;
    }

    .hero {
        min-height: 700px;
        padding: 120px 0 70px;
        background-image: linear-gradient(rgba(12, 20, 30, .82), rgba(12, 20, 30, .82)), url("../img/header-share-v5.jpg");
        background-image: linear-gradient(rgba(12, 20, 30, .82), rgba(12, 20, 30, .82)), image-set(url("../img/header-mobile-v5.webp") type("image/webp"), url("../img/header-share-v5.jpg") type("image/jpeg"));
    }

    .hero h1 {
        overflow-wrap: anywhere;
        font-size: clamp(2rem, 8vw, 2.35rem);
        hyphens: manual;
        line-height: 1.08;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .section-space {
        padding: 4.5rem 0;
    }

    .section-heading {
        margin-bottom: 2.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .map-canvas iframe {
        height: 300px;
    }

    .map-placeholder {
        min-height: 300px;
        padding: 2rem 1rem;
    }

    .map-controls {
        justify-content: center;
    }

    .legal-main {
        padding: 2rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
