:root {
    --bg: #edf3f6;
    --surface: #ffffff;
    --surface-strong: #dfe8ef;
    --ink: #12253a;
    --ink-soft: #456178;
    --line: #c9d6df;
    --brand: #15456d;
    --brand-deep: #102f4c;
    --accent: #cf4338;
    --accent-dark: #a52f26;
    --shadow: 0 18px 40px rgba(16, 47, 76, 0.12);
    --radius: 24px;
    --radius-small: 16px;
    --shell: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(207, 67, 56, 0.08), transparent 24rem),
        linear-gradient(180deg, #f6f9fb 0%, var(--bg) 100%);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

p,
ul,
dl {
    margin: 0;
}

.shell {
    width: min(calc(100% - 2rem), var(--shell));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--brand);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
}

.skip-link:focus {
    top: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(246, 249, 251, 0.9);
    border-bottom: 1px solid rgba(18, 37, 58, 0.08);
}

.topline {
    background: var(--brand-deep);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
}

.topline-inner {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.65rem 0;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand img {
    width: 84px;
    height: auto;
    flex: 0 0 auto;
}

.brand span {
    display: grid;
    gap: 0.15rem;
}

.brand strong {
    font-size: 1.06rem;
    letter-spacing: 0.02em;
}

.brand small {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav a {
    text-decoration: none;
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--brand);
}

.nav-cta {
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow);
}

.nav-cta:hover {
    background: var(--accent-dark);
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 0.25rem 0;
    background: var(--ink);
}

.hero {
    padding: 4.5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 1.05fr);
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 1.4rem;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1,
.section h1,
.section h2 {
    margin: 0;
    line-height: 0.98;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.9rem);
    letter-spacing: -0.04em;
    max-width: 11ch;
}

.hero-text {
    max-width: 58ch;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.button-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow);
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-secondary {
    background: rgba(21, 69, 109, 0.08);
    color: var(--brand);
}

.button-secondary:hover {
    background: rgba(21, 69, 109, 0.14);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    list-style: none;
    padding: 0;
}

.hero-facts li {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(18, 37, 58, 0.08);
    border-radius: var(--radius-small);
    color: var(--ink-soft);
}

.hero-media {
    margin: 0;
    border-radius: calc(var(--radius) + 0.5rem);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(18, 37, 58, 0.08);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.trust-strip {
    padding-bottom: 2rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.trust-grid > div,
.info-card,
.quote-card,
.team-card,
.contact-panel {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(18, 37, 58, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.trust-grid > div {
    padding: 1.4rem;
}

.trust-kicker {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--brand);
    font-weight: 800;
}

.section {
    padding: 4.5rem 0;
}

.section-head {
    display: grid;
    gap: 0.8rem;
    justify-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.section-head-left {
    justify-items: start;
    text-align: left;
}

.section h1,
.section h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: -0.04em;
}

.section-head p:last-child {
    max-width: 56ch;
    color: var(--ink-soft);
}

.card-grid,
.quote-grid,
.team-grid {
    display: grid;
    gap: 1rem;
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
    padding: 1.5rem;
}

.info-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.2rem;
}

.info-card p {
    color: var(--ink-soft);
}

.section-highlight {
    background: linear-gradient(180deg, rgba(21, 69, 109, 0.08), rgba(21, 69, 109, 0.02));
}

.split-grid,
.contact-grid,
.footer-grid {
    display: grid;
    gap: 1.5rem;
}

.split-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    align-items: start;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    padding: 0;
    margin-top: 1.25rem;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: var(--accent);
}

.contact-panel {
    padding: 1.5rem;
}

.contact-panel h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.hours-list,
.contact-list {
    display: grid;
    gap: 0.85rem;
}

.hours-list div,
.contact-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(18, 37, 58, 0.08);
}

.hours-list dt,
.contact-list dt {
    font-weight: 700;
}

.hours-list dd,
.contact-list dd {
    margin: 0;
    color: var(--ink-soft);
    text-align: right;
}

.quote-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-card {
    padding: 1.5rem;
}

.quote-card p {
    font-size: 1.02rem;
}

.quote-card footer {
    margin-top: 1rem;
    color: var(--brand);
    font-weight: 700;
}

.section-team {
    background: rgba(255, 255, 255, 0.4);
}

.team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
    overflow: hidden;
    text-align: center;
}

.team-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.team-card h2,
.team-card h3 {
    margin: 1.15rem 1rem 0.35rem;
    font-size: 1.4rem;
}

.team-card p {
    margin: 0 1rem 1.3rem;
    color: var(--ink-soft);
}

.section-contact {
    padding-top: 3rem;
}

.contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.95fr);
    align-items: start;
}

.contact-list a,
.legal-copy a,
.route-link {
    color: var(--brand);
}

.route-box {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(18, 37, 58, 0.08);
}

.route-link {
    display: inline-flex;
    margin-top: 0.7rem;
    font-weight: 700;
}

.subpage-main {
    min-height: calc(100vh - 13rem);
}

.legal-section {
    padding-top: 3.5rem;
}

.legal-shell {
    width: min(calc(100% - 2rem), 860px);
}

.legal-copy {
    display: grid;
    gap: 1.15rem;
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(18, 37, 58, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.site-footer {
    padding: 1.4rem 0 2.2rem;
    border-top: 1px solid rgba(18, 37, 58, 0.08);
}

.footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.footer-grid p {
    color: var(--ink-soft);
}

.footer-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 980px) {
    .hero-grid,
    .card-grid,
    .quote-grid,
    .team-grid,
    .split-grid,
    .contact-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-facts {
        grid-template-columns: 1fr;
    }

    .hours-list div,
    .contact-list div {
        flex-direction: column;
    }

    .hours-list dd,
    .contact-list dd {
        text-align: left;
    }
}

@media (max-width: 780px) {
    .topline {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.35rem);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(18, 37, 58, 0.08);
        border-radius: 1.25rem;
        box-shadow: var(--shadow);
    }

    body.menu-open .site-nav {
        display: flex;
    }

    .nav-cta {
        text-align: center;
    }

    .nav-wrap {
        position: relative;
    }

    .brand img {
        width: 68px;
    }

    .hero {
        padding-top: 2.5rem;
    }

    .section,
    .legal-section {
        padding: 3.2rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
