:root {
    --color-navy: #0f2342;
    --color-navy-soft: #1b3661;
    --color-gold: #c8a35d;
    --color-gold-soft: #e9d8b5;
    --color-white: #ffffff;
    --color-ink: #1f2a37;
    --color-muted: #5b6676;
    --color-bg: #f6f8fb;
    --radius: 14px;
    --shadow: 0 14px 35px rgba(15, 35, 66, 0.12);
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    color: var(--color-ink);
    background: linear-gradient(180deg, #f9fbff 0%, #f6f8fb 45%, #ffffff 100%);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: "Manrope", sans-serif;
    line-height: 1.2;
    margin: 0 0 0.8rem;
    color: var(--color-navy);
}

h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

a {
    color: var(--color-navy-soft);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(7px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e8edf4;
}

.header-inner {
    min-height: 74px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.brand-text {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: 0.2px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 0;
    margin: 0;
}

.site-nav a {
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    width: 44px;
    min-height: 44px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.header-cta {
    white-space: nowrap;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    color: var(--color-white);
    border: 1px solid var(--color-navy);
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    min-height: 44px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    background: var(--color-navy-soft);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-gold);
}

.btn-small {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
}

.hero {
    padding: 4.5rem 0 3rem;
    background:
        radial-gradient(circle at 80% 20%, rgba(200, 163, 93, 0.25), transparent 38%),
        radial-gradient(circle at 15% 90%, rgba(15, 35, 66, 0.12), transparent 42%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 0.82rem;
}

.hero p {
    color: var(--color-muted);
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.4rem 0;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.trust-strip li {
    background: #eef3f9;
    border: 1px solid #dde5f0;
    border-radius: 999px;
    padding: 0.6rem 0.9rem;
    font-size: 0.92rem;
}

.card {
    background: var(--color-white);
    border: 1px solid #e6ebf2;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--color-bg);
}

.section-head {
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.card-grid,
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.icon-list {
    padding-left: 1.1rem;
}

.icon-list li {
    margin-bottom: 0.7rem;
}

.accordion details {
    border: 1px solid #dce3ed;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.75rem;
    background: var(--color-white);
}

.accordion summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--color-navy);
}

.cta-banner {
    background:
        linear-gradient(135deg, rgba(15, 35, 66, 0.96), rgba(27, 54, 97, 0.92)),
        linear-gradient(90deg, rgba(200, 163, 93, 0.35), rgba(255, 255, 255, 0));
    color: var(--color-white);
}

.cta-banner h2,
.cta-banner p,
.cta-banner label {
    color: var(--color-white);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 0.65rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.faq-search {
    width: 100%;
    border: 1px solid #cdd8e7;
    border-radius: 10px;
    padding: 0.72rem;
    min-height: 44px;
    font: inherit;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    line-height: 0;
}

.map-embed iframe {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
}

.prose {
    max-width: 860px;
}

.featured-image img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
    height: auto;
}

.site-footer {
    background: #0c1c34;
    color: #d9e2f0;
    padding: 3rem 0 1.2rem;
}

.site-footer h3 {
    color: #ffffff;
}

.site-footer a {
    color: #f4ddae;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.footer-bottom {
    margin-top: 1.6rem;
    border-top: 1px solid #27446d;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

/* ── Social links ────────────────────────────────────── */
.social-links {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #d9e2f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
    background: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* footer-bottom social links are smaller */
.footer-bottom .social-links {
    margin-top: 0;
}

.popup {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    max-width: 360px;
    z-index: 1000;
}

.popup.hidden {
    display: none;
}

/* ── Photo strip ─────────────────────────────────────── */
.photo-strip {
    overflow: hidden;
    border-top: 3px solid var(--color-gold);
    border-bottom: 3px solid var(--color-gold);
}

.photo-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.photo-strip-inner img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.photo-strip-inner img:hover {
    transform: scale(1.04);
}

/* ── Card with image ─────────────────────────────────── */
.card--has-img {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius) var(--radius) 0 0;
}

.card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.card-body .btn,
.card-body .text-link {
    margin-top: auto;
    align-self: flex-start;
}

/* ── Team card ───────────────────────────────────────── */
.team-card {
    text-align: center;
}

.team-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-gold);
    display: block;
    margin: 0 auto 0.9rem;
}

/* ── Page banner ─────────────────────────────────────── */
.page-banner {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 35, 66, 0.45) 0%,
        rgba(15, 35, 66, 0.1) 100%
    );
}

/* ── Form feedback notices ───────────────────────────── */
.form-notice {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.form-notice--ok {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-notice--err {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ── text-link style ─────────────────────────────────── */
.text-link {
    color: var(--color-gold);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .card-grid,
    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .split,
    .cta-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .brand {
        align-self: start;
        padding-top: 0.35rem;
    }

    .menu-toggle {
        display: inline-block;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: end;
        align-content: center;
        gap: 0.35rem;
        justify-self: end;
        margin-left: auto;
    }

    .header-actions > * {
        grid-column: 1;
        margin-left: auto;
    }

    .site-nav {
        grid-column: 1 / -1;
        display: none;
    }

    .site-nav.is-open {
        display: block;
        padding-bottom: 1rem;
    }

    .site-nav ul {
        justify-content: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 3rem 0;
    }

    .card-grid,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3rem;
    }

    .btn {
        width: 100%;
    }

    .header-actions {
        width: auto;
        justify-self: end;
    }

    .header-cta {
        grid-row: 2;
        display: inline-flex;
        width: auto;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .photo-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-strip-inner img {
        height: 160px;
    }

    .page-banner {
        height: 200px;
    }
}
