:root {
    --navy: #1a2b4a;
    --navy-dark: #0f1a2f;
    --accent: #c9a961;
    --accent-dark: #a88c48;
    --text: #22303c;
    --muted: #5a6472;
    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --border: #e3e6ea;
    --success: #2e7d5b;
    --danger: #b23a3a;
    --radius: 6px;
    --shadow: 0 1px 3px rgba(15, 26, 47, 0.08);
    --shadow-lg: 0 8px 24px rgba(15, 26, 47, 0.10);
    --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

/* ===== Header / Nav ===== */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: var(--wrap);
    margin: 0 auto;
}
.brand {
    display: inline-block;
    overflow: hidden;
    height: 48px;
    line-height: 0;
}
.brand:hover { text-decoration: none; }
.brand img {
    display: block;
    height: 140px;
    width: auto;
    margin: -46px -24px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .4rem .6rem;
    cursor: pointer;
    color: var(--navy);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-links a {
    color: var(--text);
    font-weight: 500;
    padding: .25rem 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--navy);
    border-bottom-color: var(--accent);
    text-decoration: none;
}
.nav-cta {
    background: var(--navy);
    color: #fff !important;
    padding: .5rem 1rem !important;
    border-radius: var(--radius);
    border: none !important;
}
.nav-cta:hover { background: var(--navy-dark); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem 0;
    min-width: 220px;
    list-style: none;
    margin: .5rem 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    display: block;
    padding: .5rem 1rem;
    border-bottom: none;
    color: var(--text);
}
.dropdown a:hover {
    background: var(--bg-soft);
    color: var(--navy);
    text-decoration: none;
}

/* ===== Hero ===== */
.hero {
    background: radial-gradient(ellipse at center, #24365a 0%, var(--navy) 55%, var(--navy-dark) 100%);
    color: #fff;
    padding: 3rem 0;
}
.hero-split {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
}
.hero-shield {
    display: inline-block;
    line-height: 0;
    filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.45));
}
.hero-shield img {
    display: block;
    height: 220px;
    width: auto;
    border-radius: 50%;
}
.hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: .5rem; }
.hero p.lead { font-size: 1.1rem; color: #d8dde6; margin-bottom: 1.25rem; max-width: 620px; }
.hero .cta-group { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
.hero-pills {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .5rem;
}
.hero-pills li {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #eef1f6;
    padding: .3rem .75rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.35rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--navy-dark); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
.btn-ghost { background: var(--bg-soft); color: var(--navy); }
.btn-ghost:hover { background: var(--border); text-decoration: none; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ===== Sections ===== */
section { padding: 4rem 0; }
section.alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: 2rem; margin-bottom: .5rem; }
.section-head p { color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ===== Service cards ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.service-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    color: var(--text);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    text-decoration: none;
}
.service-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}
.service-card h3 { margin-bottom: .35rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.service-card .more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--navy);
    font-weight: 600;
    font-size: .9rem;
}

/* ===== Content page layout ===== */
.page {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 2rem;
    padding: 3rem 0;
    align-items: start;
}
.page-header-block {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}
.page-header-block h1 { margin-bottom: .25rem; }
.page-header-block small { color: var(--muted); font-size: 1rem; }
.page article p { text-align: justify; hyphens: auto; }
.page article ul { padding-left: 1.25rem; }

/* ===== Breadcrumbs ===== */
.breadcrumbs { margin-bottom: 1rem; font-size: .85rem; color: var(--muted); }
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.breadcrumbs li + li::before {
    content: "›";
    margin-right: .35rem;
    color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs li[aria-current] { color: var(--text); font-weight: 500; }

/* ===== FAQ (accordion) ===== */
.faq { margin-top: 2.5rem; }
.faq h2 { margin-bottom: 1rem; }
.faq details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    margin-bottom: .6rem;
    background: #fff;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--accent-dark);
    transition: transform .15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
    margin: .75rem 0 0;
    text-align: left;
    color: var(--text);
}

/* ===== Related services ===== */
.related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.related h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}
.related-grid a {
    display: block;
    padding: .85rem 1rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--navy);
    font-weight: 500;
    font-size: .95rem;
    text-align: center;
    transition: background .15s ease, border-color .15s ease;
}
.related-grid a:hover {
    background: #fff;
    border-color: var(--accent);
    text-decoration: none;
}
@media (max-width: 700px) {
    .related-grid { grid-template-columns: 1fr; }
}

/* ===== Sidebar cards ===== */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.card-head {
    padding: .75rem 1rem;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--navy);
    font-size: .95rem;
}
.card-body { padding: 1rem; }
.card-list { list-style: none; padding: 0; margin: 0; }
.card-list li {
    padding: .6rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: .95rem;
}
.card-list li:last-child { border-bottom: none; }

.sidebar address {
    font-style: normal;
    line-height: 1.6;
    color: var(--muted);
    font-size: .95rem;
}
.sidebar address strong { color: var(--navy); }
.sidebar .btn { margin-top: .5rem; }

.hours {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 0;
}
.hours .day { color: var(--text); font-weight: 500; }
.hours .time {
    background: var(--success);
    color: #fff;
    padding: .15rem .55rem;
    border-radius: 3px;
    font-size: .85rem;
    font-weight: 500;
}
.hours-note { color: var(--muted); font-size: .85rem; text-align: center; margin-top: .5rem; }

.doc-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: .95rem;
}
.doc-list a:last-child { border-bottom: none; }
.doc-list a:hover { background: var(--bg-soft); text-decoration: none; }
.tag {
    background: var(--danger);
    color: #fff;
    font-size: .7rem;
    padding: .1rem .45rem;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ===== Contact strip ===== */
.contact-strip {
    background: var(--navy);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}
.contact-strip h2 { color: #fff; }
.contact-strip p { color: #d8dde6; margin-bottom: 1.5rem; }
.contact-strip .cta-group { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer {
    background: var(--navy-dark);
    color: #cfd5df;
    padding: 3rem 0 1.5rem;
    font-size: .9rem;
}
.site-footer a { color: #eef1f6; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.site-footer h4 {
    color: #fff;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #8a94a3;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .page { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-split {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    .hero-split .cta-group,
    .hero-split .hero-pills { justify-content: center; }
    .hero-shield img { height: 190px; }
}

@media (max-width: 640px) {
    h1 { font-size: 1.75rem; }
    .hero { padding: 2rem 0; }
    .hero h1 { font-size: 1.9rem; }
    .hero p.lead { font-size: 1rem; }
    .hero-shield img { height: 150px; }
    section { padding: 2.5rem 0; }
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: .5rem 0;
        box-shadow: var(--shadow);
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links li { border-bottom: 1px solid var(--border); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a { padding: .75rem 1.5rem; border-bottom: none; }
    .nav-cta { margin: .5rem 1.5rem; text-align: center; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-soft);
        margin: 0;
        border-radius: 0;
    }
    .service-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
