body { font-family: 'DM Sans', system-ui, sans-serif; }
.heading-serif { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }

.nav-scrolled {
    background: rgba(255,255,255,.92);
    border-color: rgba(2,79,124,.06);
    box-shadow: 0 1px 0 rgba(2,79,124,.06), 0 12px 40px rgba(15,23,42,.06);
}
.nav-scrolled .nav-link { color: #64748b; }
.nav-scrolled .nav-link:hover { color: #024f7c; }
.nav-scrolled .nav-link-active { color: #024f7c; }
.nav-scrolled .nav-brand-sub { color: #64748b; }
.nav-scrolled .nav-brand-name { color: #024f7c; }
.nav-scrolled .nav-menu-btn { color: #024f7c; }

.btn-primary { transition: all .25s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(2,79,124,.38); }

.expertise-hero {
    background: linear-gradient(160deg, #060d18 0%, #024f7c 50%, #0a1628 100%);
}
.back-link {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: rgba(125,211,252,.9); margin-bottom: 2rem; transition: color .2s;
}
.back-link:hover { color: #fff; }
.hero-eyebrow {
    font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
    color: rgba(125,211,252,.8); margin-bottom: 1rem;
}
.hero-title { font-size: clamp(1.85rem, 5.5vw, 3.25rem); line-height: 1.12; max-width: 36rem; margin-bottom: 1.25rem; }
.hero-lead { font-size: clamp(0.95rem, 2.8vw, 1.05rem); line-height: 1.7; color: #cbd5e1; max-width: 40rem; }

@media (max-width: 639px) {
    .expertise-hero { padding-top: 6.5rem !important; }
    .why-choose { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .why-col h3 { font-size: 1.05rem; }
    .why-col p { font-size: 0.92rem; line-height: 1.75; }
    .area-card {
        padding: 1.25rem 1.15rem 1.15rem;
        min-height: 0;
    }
    .area-card-title { font-size: 1rem; line-height: 1.35; }
    .area-card-summary {
        font-size: 0.9rem;
        line-height: 1.65;
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
    }
    .area-panel-body { padding: 1.25rem 1.15rem 1.5rem; }
    .area-panel-title { font-size: 1.35rem; }
    .area-overview { font-size: 1rem; line-height: 1.8; }
    .area-services li, .area-clients li { font-size: 0.92rem; }
    .area-panel-hero { min-height: 180px; }
    .area-panel-hero-overlay { padding: 1.5rem 1.15rem; }
    .section-eyebrow { font-size: 0.72rem; }
}

/* Brochure-inspired "Why choose" strip */
.why-choose {
    background: linear-gradient(180deg, #060d18 0%, #0a1628 100%);
    color: #e2e8f0;
}
.why-choose-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 2.5rem;
    text-align: center;
}
.why-choose-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .why-choose-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.why-col h3 {
    font-size: 1rem; font-weight: 700; color: #fff;
    margin: 0 0 .85rem; line-height: 1.35;
}
.why-col p {
    font-size: .88rem; line-height: 1.7; color: #94a3b8; margin: 0;
}
.why-quote {
    margin: 2.5rem auto 0; max-width: 36rem; text-align: center;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.05rem; font-style: italic; line-height: 1.55;
    color: #7dd3fc; border: none; padding: 0;
}
.why-quote::before {
    content: '\201C';
    display: block;
    font-size: 3rem; line-height: 1; color: rgba(125,211,252,.35);
    margin-bottom: .5rem;
}

.section-eyebrow {
    font-size: .68rem; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase; color: #64748b;
    margin-bottom: 1.25rem;
}

.expertise-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}
.expertise-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(2,79,124,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2,79,124,.03) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }

.area-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(2,79,124,.12);
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 1.35rem;
    box-shadow: 0 4px 18px -6px rgba(2,79,124,.08);
    cursor: pointer;
    transition: transform .28s ease, border-color .28s, box-shadow .28s, background .28s;
}
.area-card:hover {
    transform: translateY(-2px);
    border-color: rgba(2,79,124,.25);
    box-shadow: 0 16px 40px -12px rgba(2,79,124,.14);
}
.area-card.is-active {
    border-color: #024f7c;
    background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
    box-shadow: 0 20px 48px -14px rgba(2,79,124,.2);
}
.area-num {
    font-size: .65rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: #94a3b8; margin-bottom: .75rem;
}
.area-icon { width: 2.5rem; height: 2.5rem; color: #024f7c; margin-bottom: .85rem; }
.area-card-title {
    font-size: 1.05rem; font-weight: 700; color: #0f172a;
    line-height: 1.3; margin-bottom: .5rem;
}
.area-card-summary {
    font-size: .84rem; color: #64748b; line-height: 1.6;
    flex: 1; margin-bottom: 1rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.area-expand-hint {
    font-size: .78rem; font-weight: 600; color: #024f7c;
    margin-top: auto; padding-top: .25rem;
}

/* Expandable brochure panel */
.areas-panels { position: relative; }
.area-panel {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(2,79,124,.15);
    box-shadow: 0 28px 64px -20px rgba(2,79,124,.22);
    animation: panelIn .4s cubic-bezier(.4,0,.2,1) both;
}
.area-panel[hidden] { display: none !important; }
@keyframes panelIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.area-panel-inner {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .area-panel-inner { grid-template-columns: minmax(280px, 36%) 1fr; min-height: 420px; }
}

.area-panel-hero {
    position: relative;
    min-height: 220px;
    background: #060d18;
}
@media (min-width: 900px) { .area-panel-hero { min-height: auto; } }
.area-panel-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: .45;
}
.area-panel-hero-overlay {
    position: relative; z-index: 1;
    height: 100%;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem 1.75rem;
    background: linear-gradient(180deg, transparent 0%, rgba(6,13,24,.75) 55%, rgba(6,13,24,.95) 100%);
    color: #fff;
}
.area-panel-num {
    font-size: 3rem; font-weight: 700; line-height: 1;
    color: rgba(255,255,255,.12); margin-bottom: .5rem;
    font-family: 'DM Serif Display', Georgia, serif;
}
.area-panel-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.65rem; line-height: 1.2; margin: 0 0 .65rem;
}
.area-panel-tagline {
    font-size: .9rem; line-height: 1.55; color: rgba(226,232,240,.85); margin: 0;
}

.area-panel-body {
    padding: 1.75rem 1.75rem 2rem;
    background: #fff;
    position: relative;
}
@media (min-width: 900px) { .area-panel-body { padding: 2rem 2.25rem 2.25rem; } }

.area-panel-close {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .75rem; font-weight: 600; color: #64748b;
    margin-bottom: 1.25rem; padding: .35rem .65rem;
    border-radius: 9999px; border: 1px solid #e2e8f0;
    background: #f8fafc; cursor: pointer; transition: all .2s;
}
.area-panel-close:hover { color: #024f7c; border-color: rgba(2,79,124,.2); }

.area-overview {
    font-size: .95rem; line-height: 1.75; color: #475569;
    margin: 0 0 1.75rem; max-width: 52rem;
}

.area-panel-grid {
    display: grid; gap: 1.75rem;
    grid-template-columns: 1fr;
    margin-bottom: 1.75rem;
}
@media (min-width: 700px) { .area-panel-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.area-subhead {
    font-size: .68rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: #024f7c; margin: 0 0 .85rem;
}
.area-services, .area-clients {
    margin: 0; padding: 0; list-style: none;
}
.area-services li, .area-clients li {
    position: relative; padding-left: 1rem;
    font-size: .875rem; color: #475569; line-height: 1.55;
    margin-bottom: .45rem;
}
.area-services li::before, .area-clients li::before {
    content: '';
    position: absolute; left: 0; top: .55rem;
    width: 4px; height: 4px; border-radius: 50%; background: #024f7c;
}

.area-regs { display: flex; flex-wrap: wrap; gap: .45rem; }
.reg-pill {
    font-size: .72rem; font-weight: 500; color: #334155;
    padding: .35rem .7rem; border-radius: 9999px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
}

.area-panel-cta {
    display: flex; flex-wrap: wrap; gap: .75rem;
    padding-top: 1rem; border-top: 1px solid #e2e8f0;
}
.btn-secondary {
    display: inline-flex; align-items: center;
    padding: .65rem 1.15rem; border-radius: .6rem;
    font-size: .82rem; font-weight: 600;
    color: #024f7c; border: 1px solid rgba(2,79,124,.25);
    background: #fff; transition: all .2s;
}
.btn-secondary:hover { background: #f8fafc; border-color: #024f7c; }
.btn-primary-inline {
    display: inline-flex; align-items: center;
    padding: .65rem 1.15rem; border-radius: .6rem;
    font-size: .82rem; font-weight: 600;
    color: #fff; background: #024f7c; transition: all .2s;
}
.btn-primary-inline:hover { background: #2563eb; }

.site-footer {
    background: linear-gradient(180deg, #060d18 0%, #0a1628 100%);
    color: #e2e8f0;
}
.footer-text { color: rgba(226,232,240,.75); }