:root {
    --white: #fdf6ec;
    --blue: #123461;
    --red: #a3100b;
    --blue-dark: #0c2340;
    --text-dark: #1b1b1b;
    --text-muted: #5b5b5b;
    --border-subtle: rgba(18, 52, 97, 0.12);
    --shadow-sm: 0 2px 10px rgba(18, 52, 97, 0.08);
    --shadow-md: 0 12px 35px rgba(18, 52, 97, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    text-wrap: pretty;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--blue);
    font-weight: 600;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(18, 52, 97, 0.97);
    border-bottom: 1px solid rgba(253, 246, 236, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-link {
    display: block;
    width: min(360px, 72vw);
}

.brand-logo {
    display: block;
    width: 100%;
    max-height: 66px;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.header-nav-link {
    font-size: 0.96rem;
    font-weight: 500;
    color: rgba(253, 246, 236, 0.82);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    position: relative;
    transition: color 0.25s ease;
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.header-nav-link:hover {
    color: var(--white);
}

.header-nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn {
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.65rem 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.25s ease;
}

.btn-outline {
    color: rgba(253, 246, 236, 0.92);
    border: 1px solid rgba(253, 246, 236, 0.35);
}

.btn-outline:hover {
    color: var(--white);
    border-color: rgba(253, 246, 236, 0.75);
}

.btn-primary {
    color: var(--white);
    background: var(--red);
}

.btn-primary:hover {
    background: #830f0b;
}

.hero {
    background: linear-gradient(130deg, var(--blue-dark) 0%, var(--blue) 55%, #1a4a8a 100%);
    color: var(--white);
    padding: 4.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 78%, rgba(163, 16, 11, 0.18), transparent 46%),
        radial-gradient(circle at 85% 10%, rgba(253, 246, 236, 0.08), transparent 38%);
}

.hero-inner {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(253, 246, 236, 0.75);
    font-size: 0.8rem;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: rgba(253, 246, 236, 0.95);
    text-decoration: none;
}

.hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    background: rgba(163, 16, 11, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.35rem;
    flex: 0 0 auto;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.1;
}

.hero p {
    color: rgba(253, 246, 236, 0.83);
    font-size: 1.05rem;
    max-width: 780px;
}

.content {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0 4rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: 2fr 1fr;
}

.card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 1.7rem;
}

.card + .card {
    margin-top: 1.1rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--red);
    letter-spacing: 1.5px;
    font-size: 0.76rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.section-eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--red);
}

.card h2 {
    font-size: clamp(1.65rem, 2.2vw, 2.25rem);
    margin-bottom: 0.65rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.97rem;
}

.list {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    gap: 0.72rem;
}

.list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.list li i {
    color: var(--red);
    margin-top: 0.2rem;
}

.cta-box {
    background: var(--blue);
    color: var(--white);
    border-radius: 10px;
    padding: 1.4rem;
    box-shadow: var(--shadow-md);
}

.cta-box h3 {
    color: var(--white);
    font-size: 1.7rem;
    margin-bottom: 0.35rem;
}

.cta-box p {
    color: rgba(253, 246, 236, 0.75);
    font-size: 0.95rem;
    margin-bottom: 0.95rem;
}

.cta-stack {
    display: grid;
    gap: 0.6rem;
}

.cta-stack .btn {
    justify-content: center;
}

.cta-stack .btn[href^="mailto:"] {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
}

.side-card h3 {
    font-size: 1.55rem;
    margin-bottom: 0.6rem;
}

.area-links {
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.area-links a {
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.55rem 0.7rem;
    display: block;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.area-links a:hover {
    border-color: rgba(18, 52, 97, 0.35);
    background: rgba(18, 52, 97, 0.04);
}

.area-links a.active {
    background: rgba(18, 52, 97, 0.09);
    border-color: rgba(18, 52, 97, 0.42);
    color: var(--blue);
    font-weight: 600;
}

.team-block {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.team-photo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 8px;
}

.team-block p {
    margin: 0;
    font-size: 0.87rem;
}

.page-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 1.2rem 0 2rem;
}

.page-footer-inner {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: space-between;
    color: #6a6a6a;
    font-size: 0.84rem;
}

.page-footer-inner p {
    overflow-wrap: anywhere;
}

.page-footer a {
    color: #6a6a6a;
    text-decoration: none;
}

.page-footer a:hover {
    color: var(--blue);
}

@media (max-width: 991.98px) {
    .header-nav {
        display: none;
    }

    .btn {
        font-size: 0.86rem;
    }

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

@media (max-width: 767.98px) {
    .header-inner {
        min-height: 78px;
    }

    .brand-link {
        width: min(320px, 72vw);
    }

    .brand-logo {
        max-height: 52px;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.58rem 0.85rem;
    }

    .header-actions {
        gap: 0.45rem;
    }

    .hero {
        padding: 3.7rem 0 2.4rem;
    }

    .hero-title-wrap {
        align-items: flex-start;
    }

    .hero-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .card {
        padding: 1.35rem;
    }
}

@media (max-width: 575.98px) {
    .header-inner {
        min-height: auto;
        padding: 0.65rem 0;
        gap: 0.7rem;
    }

    .brand-link {
        width: min(320px, 80vw);
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 0.45rem;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.62rem 0.8rem;
    }

    .hero {
        padding: 3.2rem 0 2.1rem;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 8.4vw, 2.3rem);
    }

    .hero p {
        font-size: 0.98rem;
    }

    .cta-box h3 {
        font-size: 1.45rem;
    }

    .team-block {
        align-items: flex-start;
    }

    .page-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
