/* ==========================================================================
   Civillex — site design system
   Navy + gold, Cormorant Garamond headings, Manrope body.
   One stylesheet for every page. No framework.
   ========================================================================== */

:root {
    --navy: #0E2340;
    --navy-deep: #0A1A31;
    --navy-hover: #1B3760;
    --navy-line: #24395A;
    --navy-border: #2C4266;
    --navy-rule: #1E3253;
    --gold: #C9A24A;
    --gold-dark: #B08A3E;
    --gold-light: #D8B35C;
    --gold-ink: #2A2410;
    --paper: #F7F5F0;
    --white: #FFFFFF;
    --line: #E6E1D6;
    --line-soft: #EFEBE2;
    --stone: #D9D2C2;
    --placeholder: #E9E4D8;
    --ink: #14213A;
    --muted: #4B5568;
    --muted-2: #6B7487;
    --muted-3: #7A8394;
    --sky: #C9D2E0;
    --sky-2: #B4BFD1;
    --slate: #51607A;

    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --wrap: 1240px;
    --gutter: 24px;
    --header-h: 81px;
    --shadow-lg: 0 24px 60px rgba(14, 35, 64, .10);
    --shadow-md: 0 10px 24px rgba(14, 35, 64, .12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.1; overflow-wrap: break-word; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--gold); color: var(--navy-deep); }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--gold); color: var(--navy-deep); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--navy-deep); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 110px 0; }
.section--sm { padding: 72px 0; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.head-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; align-items: end; }
.head-center { text-align: center; max-width: 720px; margin: 0 auto; }
.head-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }

/* ---------- Typography ---------- */
.eyebrow {
    display: flex; align-items: center; gap: 12px;
    color: var(--gold-dark); font: 700 13px/1.4 var(--sans);
    letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--gold); }
.eyebrow--plain::before { display: none; }
.head-center .eyebrow { justify-content: center; }

.h-display {
    font: 600 clamp(44px, 6vw, 76px)/1.02 var(--serif);
    color: var(--white); margin-top: 22px; text-wrap: balance;
}
.h-section {
    font: 600 clamp(36px, 4.4vw, 56px)/1.05 var(--serif);
    margin-top: 16px; text-wrap: balance;
}
.h-display em, .h-section em, .h-card em { font-style: italic; color: var(--gold-dark); }
.h-display em, .on-dark em, .h-section--light em { color: var(--gold); }
.h-section--light { color: var(--white); }
.lead { font-size: 16px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.lead--light { color: var(--sky); }
.lead + .lead { margin-top: 14px; }
.num-serif { font: italic 600 20px/1 var(--serif); color: var(--gold); }
.diamond { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); flex: none; display: inline-block; }
.diamond--sm { width: 7px; height: 7px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border: 1px solid transparent; border-radius: 0;
    font: 700 14px/1.2 var(--sans); white-space: nowrap; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
    text-align: center;
}
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--gold); color: var(--navy-deep); }
.btn--dark { background: var(--navy-deep); color: var(--white); }
.btn--dark:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { border-color: var(--slate); color: var(--white); font-weight: 600; }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-ink { border-color: var(--navy-deep); color: var(--navy-deep); }
.btn--outline-ink:hover { background: var(--navy-deep); color: var(--white); }
.btn .arrow { color: var(--gold); transition: transform .2s; }
.btn--gold .arrow, .btn--navy:hover .arrow { color: inherit; }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.link-arrow:hover { color: var(--gold-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--navy-deep); color: var(--sky); font-size: 13px; }
.topbar__inner { display: flex; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar__links { display: flex; gap: 22px; min-width: 0; overflow: hidden; align-items: center; }
.topbar__links a, .topbar__links span { color: var(--sky); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.topbar__links a:hover { color: var(--gold); }
.topbar__links svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.topbar__addr { overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 360px; display: block !important; }

.lang { display: flex; gap: 4px; align-items: center; }
.lang form { margin: 0; }
.lang__btn {
    background: transparent; color: var(--sky); border: 0; padding: 4px 9px;
    font: 600 12px/1.4 var(--sans); letter-spacing: .06em; cursor: pointer; border-radius: 2px;
}
.lang__btn:hover { background: rgba(201, 162, 74, .25); color: var(--white); }
.lang__btn.is-active { background: var(--gold); color: var(--navy-deep); }
.lang--header .lang__btn { color: var(--navy); padding: 5px 7px; font-size: 11.5px; font-weight: 700; }
.lang--header .lang__btn:hover { background: var(--paper); color: var(--navy); }
.lang--header .lang__btn.is-active { background: var(--gold); color: var(--navy-deep); }

.site-header {
    position: sticky; top: 0; z-index: 60;
    background: var(--white); border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(14, 35, 64, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; min-height: 80px; }
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px 26px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav > a, .nav__trigger { color: var(--navy); padding: 8px 0; position: relative; }
.nav > a::after, .nav__trigger::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav > a:hover::after, .nav > a.is-current::after, .nav__item:hover .nav__trigger::after, .nav__trigger.is-current::after { transform: scaleX(1); }
.nav > a:hover, .nav > a.is-current { color: var(--navy); }
.nav__item { position: static; padding: 26px 0; margin: -26px 0; }
.nav__trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav__trigger svg { width: 9px; height: 9px; transition: transform .2s; }
.nav__item:hover .nav__trigger svg, .nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }

.site-header__actions { display: flex; align-items: center; gap: 22px; flex: none; }
.site-header__reg { font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.site-header__reg:hover { color: var(--gold-dark); }
.site-header__cta {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px;
    background: var(--navy); color: var(--white); font-size: 14px; font-weight: 600;
    white-space: nowrap; border-radius: 999px;
}
.site-header__cta:hover { background: var(--navy-hover); color: var(--white); }
.site-header__cta span { color: var(--gold); }
.site-header__mobile { display: none; align-items: center; gap: 8px; }
.burger {
    width: 44px; height: 44px; border: 0; background: var(--navy); color: var(--white);
    display: grid; place-items: center; cursor: pointer; padding: 0;
}
.burger svg { width: 22px; height: 22px; }
.burger .burger__close { display: none; }
.menu-open .burger .burger__open { display: none; }
.menu-open .burger .burger__close { display: block; }

/* Mega menu */
.mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-top: 1px solid var(--line); border-bottom: 3px solid var(--gold);
    box-shadow: 0 30px 60px rgba(14, 35, 64, .14);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item:hover .mega, .nav__item:focus-within .mega, .nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
.mega__intro { border-right: 1px solid var(--line-soft); padding-right: 32px; }
.mega__intro h3 { font-size: 28px; margin-top: 12px; white-space: normal; }
.mega__intro p { font-size: 14px; line-height: 1.65; color: var(--muted); margin-top: 12px; white-space: normal; }
.mega__intro .btn { margin-top: 22px; }
.mega__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.mega__col { min-width: 0; }
.mega__title { display: flex; gap: 8px; align-items: baseline; font: 600 21px/1.15 var(--serif); color: var(--navy); white-space: normal; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 10px; }
.mega__title .num-serif { font-size: 16px; }
.mega__title:hover { color: var(--gold-dark); }
.mega__list { list-style: none; display: grid; gap: 2px; }
.mega__list a { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: normal; line-height: 1.35; }
.mega__list a .diamond { width: 5px; height: 5px; background: var(--stone); transition: background .2s; }
.mega__list a:hover { color: var(--navy); }
.mega__list a:hover .diamond { background: var(--gold); }

/* Mobile menu panel */
.mobile-panel {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); color: var(--white);
    max-height: calc(100vh - 69px); max-height: calc(100dvh - 69px); overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 20px 40px rgba(10, 26, 49, .35);
}
.menu-open .mobile-panel { display: block; }
.mobile-panel__inner { padding: 8px 20px 28px; }
.mobile-nav { list-style: none; }
.mobile-nav > li { border-bottom: 1px solid var(--navy-line); }
.mobile-nav > li > a, .mobile-nav__toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px;
    padding: 16px 0; color: var(--white); font: 600 26px/1.15 var(--serif);
    background: none; border: 0; cursor: pointer; text-align: left;
}
.mobile-nav > li > a span, .mobile-nav__toggle span { color: var(--gold); font: 400 18px/1 var(--sans); transition: transform .2s; }
.mobile-nav__toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.mobile-nav > li > a:hover { color: var(--gold); }
.mobile-sub { display: none; padding: 0 0 16px; }
.mobile-sub.is-open { display: block; }
.mobile-sub__group + .mobile-sub__group { margin-top: 14px; }
.mobile-sub__title { display: flex; gap: 10px; align-items: baseline; color: var(--white); font-weight: 700; font-size: 15px; padding: 6px 0; }
.mobile-sub__title .num-serif { font-size: 16px; }
.mobile-sub__links { list-style: none; padding-left: 26px; display: grid; gap: 2px; }
.mobile-sub__links a { display: block; color: var(--sky); font-size: 14px; padding: 5px 0; }
.mobile-sub__links a:hover { color: var(--gold); }
.mobile-panel__ctas { display: grid; gap: 10px; margin-top: 22px; }
.mobile-panel__contact { display: grid; gap: 8px; margin-top: 22px; font-size: 13.5px; color: var(--sky); }
.mobile-panel__contact a { color: var(--sky); }
.mobile-panel__social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { background: var(--navy); color: var(--white); position: relative; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__shape { position: absolute; left: -120px; top: 50%; transform: translateY(-50%); height: 130%; width: auto; max-width: none; filter: brightness(0) invert(1); opacity: .12; }
.hero__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero__text { font-size: 17px; line-height: 1.7; color: var(--sky); max-width: 560px; margin-top: 26px; text-wrap: pretty; }
.hero__checks { display: grid; gap: 12px; margin-top: 28px; font-size: 15px; }
.hero__checks li { display: flex; gap: 12px; align-items: center; list-style: none; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero__media { position: relative; min-height: 440px; }
.hero__frame { position: absolute; inset: 0 0 40px 40px; border: 1px solid var(--gold); }
.hero__img { position: absolute; top: 40px; left: 0; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: cover; background: #1A3150; }
.stats { position: absolute; left: 0; bottom: 0; background: var(--white); color: var(--navy); padding: 22px 26px; display: flex; gap: 28px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.stat__num { font: 600 38px/1 var(--serif); color: var(--navy); }
.stat__label { font-size: 12px; color: var(--muted-2); margin-top: 6px; line-height: 1.3; }
.stats__div { width: 1px; background: var(--line); align-self: stretch; }
.hero__kicker-short, .hero__text--short { display: none; }

.pillars { position: relative; z-index: 2; margin-top: -48px; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white); box-shadow: var(--shadow-lg); }
.pillar { padding: 36px 34px; border-right: 1px solid var(--line-soft); }
.pillar:last-child { border-right: 0; }
.pillar__num { font: italic 600 18px/1 var(--serif); color: var(--gold-dark); }
.pillar__title { font-size: 28px; margin: 10px 0 12px; }
.pillar__text { font-size: 15px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

/* Services tabs (desktop) / accordion (mobile) */
.svc-tabs {
    --tabw: 340px;
    margin-top: 48px; display: grid; grid-template-columns: var(--tabw) minmax(0, 1fr);
    grid-template-rows: repeat(5, auto) 1fr;
    background: var(--white) linear-gradient(var(--line), var(--line)) no-repeat var(--tabw) 0 / 1px 100%;
    border: 1px solid var(--line);
}
.svc { display: contents; }
.svc__btn {
    grid-column: 1; all: unset; grid-column: 1; box-sizing: border-box; cursor: pointer;
    display: flex; gap: 18px; align-items: center; padding: 22px 28px;
    border-bottom: 1px solid var(--line-soft); background: var(--white); color: var(--ink);
    font: 700 16px/1.3 var(--sans); transition: background-color .2s, color .2s;
}
.svc__btn:hover { background: var(--paper); }
.svc__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.svc__btn .num-serif { width: 28px; flex: none; }
.svc__btn-name { flex: 1; }
.svc__icon { display: none; }
.svc.is-active .svc__btn { background: var(--navy); color: var(--white); }
.svc__panel { grid-column: 2; grid-row: 1 / -1; padding: 44px 40px 48px; min-width: 0; display: none; }
.svc.is-active .svc__panel { display: block; animation: fadeUp .35s ease both; }
.svc__tag { font: italic 600 20px/1.3 var(--serif); color: var(--gold-dark); }
.svc__title { font-size: 40px; margin: 8px 0 14px; }
.svc__desc { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 620px; text-wrap: pretty; }
.svc__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 30px; list-style: none; }
.svc__items li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--paper); font-weight: 600; font-size: 15px; color: var(--ink); }
.svc__items li a { color: inherit; flex: 1; }
.svc__items li a:hover { color: var(--gold-dark); }
.svc__panel .btn { margin-top: 32px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Media + badge (about blocks) */
.media-badge { position: relative; min-height: 560px; }
.media-badge__img { position: absolute; inset: 0 48px 64px 0; width: calc(100% - 48px); height: calc(100% - 64px); object-fit: cover; background: var(--placeholder); }
.media-badge__badge { position: absolute; right: 0; bottom: 0; width: 240px; background: var(--navy); color: var(--white); padding: 28px; }
.media-badge__title { font: italic 600 22px/1.3 var(--serif); color: var(--gold); }
.media-badge__text { font-size: 14px; line-height: 1.6; color: var(--sky); margin-top: 8px; }

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin-top: 36px; }

.values--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; }
.value { border-top: 1px solid var(--stone); padding-top: 18px; }
.value__title { font-size: 24px; }
.value__text { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.block-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Why (navy) */
.why__shape { position: absolute; right: -160px; top: -80px; height: 120%; width: auto; max-width: none; pointer-events: none; filter: brightness(0) invert(1); opacity: .05; }
.why__grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); margin-top: 56px; }
.why__item { background: var(--navy); padding: 34px 26px; transition: background-color .25s; }
.why__item:hover { background: #12294A; }
.why__num { font: italic 600 34px/1 var(--serif); color: var(--gold); }
.why__title { font: 700 17px/1.35 var(--sans); color: var(--white); margin: 20px 0 10px; }
.why__text { font-size: 14px; line-height: 1.65; color: var(--sky-2); }
.why__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Team slider + cards */
.slider-nav { display: flex; gap: 10px; align-items: center; }
.slider-btn { width: 52px; height: 52px; border: 1px solid var(--navy); background: transparent; color: var(--navy); font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.slider-btn:hover { background: var(--navy); color: var(--white); }
.slider-btn--next { background: var(--navy); color: var(--white); }
.slider-btn--next:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.swipe-hint { display: none; font-size: 12px; color: var(--muted-3); white-space: nowrap; }
.team-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 72px) / 4));
    gap: 24px; margin-top: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; padding-bottom: 4px;
}
.team-track::-webkit-scrollbar { display: none; }
.member { background: var(--white); border: 1px solid var(--line); scroll-snap-align: start; display: flex; flex-direction: column; transition: border-color .2s, transform .25s; }
.member:hover { border-color: var(--gold); }
.member__photo { overflow: hidden; background: var(--placeholder); aspect-ratio: 4 / 5; }
.member__img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.member:hover .member__img { transform: scale(1.03); }
.member__body { padding: 20px 22px 24px; }
.member__name { font-size: 24px; }
.member__role { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-top: 6px; }
.member__bio { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.center-cta { margin-top: 28px; display: flex; justify-content: center; }

/* News cards */
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.news-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.post-card:hover { border-color: var(--gold); color: var(--ink); }
.post-card__media { position: relative; }
.post-card__img-wrap { overflow: hidden; aspect-ratio: 16 / 10; background: var(--placeholder); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__author { position: absolute; left: 18px; right: 18px; bottom: -30px; background: var(--white); padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-md); }
.post-card__avatar { width: 40px; height: 40px; object-fit: cover; flex: none; background: var(--placeholder); }
.post-card__who { min-width: 0; }
.post-card__name { font-weight: 700; font-size: 14.5px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-card__date { font-size: 12.5px; color: var(--muted-3); margin-top: 2px; }
.post-card__body { padding: 50px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__title { font-size: 24px; line-height: 1.18; text-wrap: pretty; }
.post-card__excerpt { font-size: 14.5px; line-height: 1.65; color: var(--muted); flex: 1; }
.post-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 6px; }
.post-card__cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.post-card__arrow { font-size: 18px; color: var(--navy); transition: transform .2s; }
.post-card:hover .post-card__arrow { transform: translateX(4px); }
.post-card__meta-m, .post-card__by-m { display: none; }

/* Featured post (news page) */
.post-feature { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.post-feature:hover { border-color: var(--gold); color: var(--ink); }
.post-feature__img-wrap { overflow: hidden; min-height: 380px; background: var(--placeholder); }
.post-feature__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-feature:hover .post-feature__img { transform: scale(1.03); }
.post-feature__body { padding: 44px 44px 40px; display: flex; flex-direction: column; gap: 16px; }
.post-feature__label { display: inline-flex; align-self: flex-start; padding: 6px 10px; background: var(--navy); color: var(--gold); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.post-feature__title { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; text-wrap: balance; }
.post-feature__excerpt { font-size: 16px; line-height: 1.7; color: var(--muted); }
.post-feature__by { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.post-feature__by img { width: 44px; height: 44px; object-fit: cover; }
.post-feature__by strong { display: block; color: var(--navy); font-size: 14.5px; }
.post-feature__by span { font-size: 12.5px; color: var(--muted-3); }

/* CTA band */
.cta-band { background: var(--gold); padding: 52px 48px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; position: relative; overflow: hidden; }
.cta-band__title { font: 600 clamp(30px, 3.4vw, 44px)/1.1 var(--serif); color: var(--navy-deep); }
.cta-band__title em { font-style: italic; }
.cta-band__text { margin-top: 10px; font-size: 16px; color: var(--gold-ink); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.cta-band__btns svg { width: 18px; height: 18px; }

/* Gold band directly after a section needs no extra top gap */
.section + .cta-wrap { padding-top: 0; }
.section--white + .cta-wrap, .section--navy + .cta-wrap { padding-top: 72px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 56px; align-items: start; }
.faq__aside { position: sticky; top: 110px; }
.contact-lines { display: grid; gap: 12px; margin-top: 28px; font-size: 15px; font-weight: 600; }
.contact-lines span { color: var(--muted); font-weight: 500; }
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc { background: var(--white); border: 1px solid var(--line); transition: border-color .2s; }
.acc.is-open { border-color: var(--gold); }
.acc__btn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 16px; align-items: center; justify-content: space-between; width: 100%; padding: 22px 26px; }
.acc__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.acc__q { font-weight: 700; font-size: 16px; line-height: 1.45; color: var(--navy); text-wrap: pretty; }
.acc__icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: var(--paper); color: var(--navy); font-size: 18px; font-weight: 500; transition: background-color .2s, color .2s; }
.acc__icon::before { content: "+"; }
.acc.is-open .acc__icon { background: var(--gold); color: var(--navy-deep); }
.acc.is-open .acc__icon::before { content: "\2212"; }
.acc__a { display: none; padding: 0 26px 24px; font-size: 15px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.acc.is-open .acc__a { display: block; animation: fadeUp .3s ease both; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-hero__shape { position: absolute; right: -140px; top: 50%; transform: translateY(-50%); height: 150%; width: auto; max-width: none; pointer-events: none; filter: brightness(0) invert(1); opacity: .07; }
.page-hero__inner { position: relative; padding-top: 64px; padding-bottom: 76px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.page-hero__title { font: 600 clamp(40px, 5.2vw, 68px)/1.04 var(--serif); color: var(--white); margin-top: 18px; text-wrap: balance; max-width: 900px; }
.page-hero__title em { font-style: italic; color: var(--gold); }
.page-hero__lead { font-size: 17px; line-height: 1.7; color: var(--sky); max-width: 640px; margin-top: 20px; text-wrap: pretty; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 24px; font-size: 14px; color: var(--sky); align-items: center; }
.page-hero__meta strong { color: var(--white); font-weight: 600; }
.page-hero__meta img { width: 40px; height: 40px; object-fit: cover; }
.page-hero__meta .who { display: flex; gap: 12px; align-items: center; }
.page-hero__aside { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; list-style: none; font-size: 13px; font-weight: 600; color: var(--sky-2); }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.crumbs a { color: var(--sky); }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--white); min-width: 0; max-width: 52ch; }
.crumbs [aria-current] > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.hero-quick { display: grid; gap: 0; background: rgba(255, 255, 255, .04); border: 1px solid var(--navy-line); min-width: 300px; }
.hero-quick a { display: flex; gap: 14px; align-items: center; padding: 16px 20px; color: var(--white); font-weight: 600; font-size: 14.5px; border-bottom: 1px solid var(--navy-line); }
.hero-quick a:last-child { border-bottom: 0; }
.hero-quick a:hover { color: var(--gold); background: rgba(255, 255, 255, .03); }
.hero-quick svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero-quick small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-2); margin-bottom: 2px; }

/* Stats band */
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); box-shadow: var(--shadow-lg); position: relative; z-index: 2; margin-top: -44px; }
.stat-band__item { padding: 30px 30px; border-right: 1px solid var(--line-soft); }
.stat-band__item:last-child { border-right: 0; }
.stat-band .stat__num { font-size: 44px; }
.stat-band .stat__label { font-size: 13px; }

/* Feature cards (numbered) */
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 34px 30px; transition: border-color .2s, transform .25s, box-shadow .25s; position: relative; }
.card:hover { border-color: var(--gold); }
.card__num { font: italic 600 22px/1 var(--serif); color: var(--gold-dark); }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--paper); margin-bottom: 22px; }
.card__icon img { width: 30px; height: 30px; object-fit: contain; }
.card__icon svg { width: 24px; height: 24px; color: var(--gold-dark); }
.card__title { font-size: 26px; margin: 12px 0 12px; line-height: 1.12; }
.card__icon + .card__title { margin-top: 0; }
.card__text { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* Tabs (about) */
.tabs { margin-top: 30px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.tabs__btn { all: unset; cursor: pointer; padding: 14px 4px; margin-right: 28px; font-weight: 700; font-size: 15px; color: var(--muted-2); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tabs__btn:hover { color: var(--navy); }
.tabs__btn.is-active { color: var(--navy); border-color: var(--gold); }
.tabs__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tabs__panel { display: none; padding-top: 22px; }
.tabs__panel.is-active { display: block; animation: fadeUp .3s ease both; }
.tabs__panel p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.tabs__panel p + p { margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.chips li { font-size: 13px; font-weight: 600; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); color: var(--navy); }
.chips--dark li { background: rgba(255, 255, 255, .04); border-color: var(--navy-line); color: var(--white); }

/* Sidebar layout */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.with-sidebar--left { grid-template-columns: 280px minmax(0, 1fr); }
.sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
.side-box { background: var(--white); border: 1px solid var(--line); padding: 28px 26px; }
.side-box__title { font: 700 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.side-box__title::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.side-nav { list-style: none; display: grid; }
.side-nav a { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-weight: 600; font-size: 15px; color: var(--ink); }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a .num-serif { width: 24px; font-size: 17px; flex: none; }
.side-nav a .side-nav__arrow { margin-left: auto; color: var(--stone); transition: transform .2s, color .2s; }
.side-nav a:hover { color: var(--gold-dark); }
.side-nav a:hover .side-nav__arrow { color: var(--gold); transform: translateX(3px); }
.side-nav a.is-current { color: var(--navy); }
.side-nav a.is-current .side-nav__arrow { color: var(--gold); }
.side-nav a.is-current::before { content: ""; width: 3px; align-self: stretch; background: var(--gold); margin-left: -26px; margin-right: 11px; }
.side-nav--toc a { font-size: 14px; font-weight: 600; padding: 10px 0; line-height: 1.4; color: var(--muted); }
.side-nav--toc a.is-current { color: var(--navy); }
.side-nav--toc a.is-current::before { margin-left: -26px; margin-right: 11px; }

.consult { background: var(--navy); color: var(--white); padding: 32px 28px; position: relative; overflow: hidden; }
.consult__shape { position: absolute; right: -60px; bottom: -40px; height: 220px; width: auto; max-width: none; filter: brightness(0) invert(1); opacity: .06; pointer-events: none; }
.consult__title { font: 600 30px/1.1 var(--serif); color: var(--white); margin-top: 12px; position: relative; }
.consult__title em { font-style: italic; color: var(--gold); }
.consult__text { font-size: 14.5px; line-height: 1.65; color: var(--sky); margin-top: 12px; position: relative; }
.consult__btns { display: grid; gap: 10px; margin-top: 22px; position: relative; }
.consult__lines { display: grid; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--navy-line); font-size: 14px; position: relative; }
.consult__lines a { color: var(--white); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.consult__lines a:hover { color: var(--gold); }
.consult__lines svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

/* Services overview page */
.svc-block { padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-block__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; }
.svc-block__num { font: italic 600 22px/1 var(--serif); color: var(--gold-dark); }
.svc-block__title { font-size: clamp(32px, 3.4vw, 46px); margin-top: 10px; }
.svc-block__desc { font-size: 16px; line-height: 1.75; color: var(--muted); margin-top: 18px; max-width: 780px; }
.svc-block__img { margin-top: 28px; width: 100%; max-height: 300px; object-fit: cover; background: var(--placeholder); }
.sub-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.sub-item { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); padding: 22px 22px; transition: border-color .2s; color: var(--ink); }
a.sub-item:hover { border-color: var(--gold); color: var(--ink); }
.sub-item__icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--paper); }
.sub-item__icon img { width: 32px; height: 32px; object-fit: contain; }
.sub-item__name { font: 600 22px/1.15 var(--serif); color: var(--navy); }
.sub-item__text { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 6px; }

/* Service detail */
.intro-card { background: var(--white); border: 1px solid var(--line); padding: 44px 44px; }
.expertise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.exp-card { background: var(--white); border: 1px solid var(--line); padding: 30px 28px; scroll-margin-top: 110px; transition: border-color .2s, box-shadow .25s; display: flex; flex-direction: column; }
.exp-card:hover, .exp-card:target { border-color: var(--gold); }
.exp-card:target { box-shadow: 0 0 0 3px rgba(201, 162, 74, .25); }
.exp-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.exp-card__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--paper); }
.exp-card__icon img { width: 34px; height: 34px; object-fit: contain; }
.exp-card__num { font: italic 600 30px/1 var(--serif); color: var(--line); }
.exp-card__title { font-size: 26px; margin-top: 22px; }
.exp-card__tag { font: italic 600 17px/1.35 var(--serif); color: var(--gold-dark); margin-top: 6px; }
.exp-card__text { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin-top: 12px; }

.other-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.other-card { display: flex; flex-direction: column; gap: 18px; background: var(--white); border: 1px solid var(--line); padding: 26px 24px; color: var(--ink); min-height: 190px; }
.other-card:hover { border-color: var(--gold); color: var(--ink); }
.other-card__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--paper); }
.other-card__icon img { width: 30px; height: 30px; object-fit: contain; }
.other-card__name { font: 600 24px/1.12 var(--serif); color: var(--navy); }
.other-card__more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--gold-dark); display: flex; gap: 6px; align-items: center; }

/* Prose (rich text) */
.prose { font-size: 16.5px; line-height: 1.8; color: #2C3547; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--navy); line-height: 1.15; margin-top: 1.6em; }
.prose h2 { font-size: 36px; }
.prose h3 { font-size: 30px; }
.prose h4 { font-size: 25px; }
.prose h5, .prose h6 { font-family: var(--sans); font-weight: 700; font-size: 17px; color: var(--navy); margin-top: 1.4em; }
.prose p { margin-top: 1em; }
.prose a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); }
.prose strong { color: var(--navy); }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 24px; margin-top: .55em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; padding-left: 32px; }
.prose ol li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 0; font: italic 600 18px/1.6 var(--serif); color: var(--gold-dark); }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 3px solid var(--gold); background: var(--paper); font: italic 500 22px/1.5 var(--serif); color: var(--navy); }
.prose img { margin: 1.6em 0; width: 100%; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--paper); color: var(--navy); }
.prose > :first-child { margin-top: 0; }
.prose--legal h3 { font-size: 28px; padding-top: 28px; border-top: 1px solid var(--line-soft); margin-top: 34px; scroll-margin-top: 110px; }
.prose--legal > h3:first-of-type { border-top: 0; }

/* Article */
.article { background: var(--white); border: 1px solid var(--line); }
.article__cover { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--placeholder); }
.article__body { padding: 48px 56px 56px; }
.article__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 44px; padding-bottom: 28px; margin-bottom: 34px; border-bottom: 1px solid var(--line-soft); }
.article__meta small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-3); }
.article__meta strong { display: block; color: var(--navy); font-size: 15px; margin-top: 4px; }
.article__meta .who { display: flex; gap: 12px; align-items: center; }
.article__meta .who img { width: 44px; height: 44px; object-fit: cover; }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.share__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-3); margin-right: 6px; }
.share a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); }
.share a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.share svg { width: 17px; height: 17px; }
.recent { list-style: none; display: grid; }
.recent li + li { border-top: 1px solid var(--line-soft); }
.recent a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 14px 0; color: var(--ink); }
.recent li:first-child a { padding-top: 0; }
.recent li:last-child a { padding-bottom: 0; }
.recent img { width: 72px; height: 56px; object-fit: cover; background: var(--placeholder); }
.recent strong { display: block; font: 600 18px/1.2 var(--serif); color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent span { font-size: 12.5px; color: var(--muted-3); margin-top: 4px; display: block; }
.recent a:hover strong { color: var(--gold-dark); }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; list-style: none; }
.pager a, .pager span { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 14px; color: var(--navy); }
.pager a:hover { border-color: var(--navy); }
.pager .is-current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pager .is-disabled { color: var(--stone); }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); box-shadow: var(--shadow-lg); position: relative; z-index: 2; margin-top: -44px; }
.contact-card { padding: 30px 28px; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.contact-card:last-child { border-right: 0; }
a.contact-card:hover { background: var(--paper); color: var(--ink); }
.contact-card__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 10px; }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card__label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.contact-card__value { font: 600 22px/1.25 var(--serif); color: var(--navy); }
.contact-card__value--sm { font-size: 19px; }

.form-wrap { background: var(--white); border: 1px solid var(--line); padding: 48px 48px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.field input, .field textarea {
    width: 100%; border: 1px solid var(--line); background: var(--paper); padding: 15px 16px;
    font-size: 15px; color: var(--ink); border-radius: 0; outline: none; transition: border-color .2s, background-color .2s;
    -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-3); }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 26px; }
.form-note { font-size: 13px; color: var(--muted-2); max-width: 360px; }
.form-note a { color: var(--gold-dark); text-decoration: underline; }
.alert { padding: 14px 18px; border-left: 3px solid #B54A3C; background: #FBEDEA; color: #7A2A1F; font-size: 14px; margin-top: 24px; }
.alert p + p { margin-top: 4px; }

.map { position: relative; height: 440px; background: var(--placeholder); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(100%) contrast(1.05); }
.map__card { position: absolute; left: max(24px, calc((100% - var(--wrap)) / 2 + 24px)); top: 40px; background: var(--navy); color: var(--white); padding: 26px 28px; max-width: 320px; box-shadow: var(--shadow-lg); }
.map__card h3 { color: var(--white); font-size: 26px; margin-top: 10px; }
.map__card p { font-size: 14px; color: var(--sky); margin-top: 8px; line-height: 1.6; }
.map__card a { display: inline-flex; margin-top: 14px; color: var(--gold); font-weight: 700; font-size: 14px; }

.success { background: var(--white); border: 1px solid var(--line); padding: 64px 48px; text-align: center; max-width: 760px; margin: 0 auto; }
.success__icon { width: 76px; height: 76px; margin: 0 auto 26px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.success__icon svg { width: 34px; height: 34px; }
.success h2 { font-size: clamp(32px, 4vw, 46px); }
.success p { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.success .block-actions { justify-content: center; }

/* Error page */
.error-page { text-align: center; padding: 120px 0; }
.error-page__code { font: italic 600 clamp(110px, 18vw, 200px)/1 var(--serif); color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: var(--sky-2); }
.newsletter { border-bottom: 1px solid var(--navy-rule); }
.newsletter__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.newsletter__title { font: 600 clamp(28px, 3vw, 38px)/1.1 var(--serif); color: var(--white); margin-top: 10px; }
.newsletter__title em { font-style: italic; color: var(--gold); }
.newsletter__form { display: flex; gap: 0; border: 1px solid var(--navy-border); background: rgba(255, 255, 255, .03); }
.newsletter__form input[type="email"] { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 16px 18px; color: var(--white); font-size: 15px; }
.newsletter__form input::placeholder { color: var(--slate); }
.newsletter__form button { flex: none; }
.newsletter__msg { display: none; margin-top: 10px; font-size: 13.5px; padding: 10px 14px; }
.newsletter__msg.is-ok { display: block; background: rgba(201, 162, 74, .14); color: var(--gold); }
.newsletter__msg.is-error { display: block; background: rgba(220, 90, 70, .14); color: #F2A396; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer-brand img { height: 48px; width: auto; }
.footer-brand p { font-size: 14.5px; line-height: 1.7; margin-top: 20px; max-width: 400px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 13px; font-weight: 700; }
.social a { color: var(--white); border: 1px solid var(--navy-border); padding: 8px 12px; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col__title { font: 700 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.footer-col nav, .footer-col__list { display: grid; gap: 10px; font-size: 14.5px; }
.footer-col a { color: var(--sky-2); }
.footer-col a:hover { color: var(--gold); }
.footer-col__list a.is-white { color: var(--white); }
.footer-col__list span { line-height: 1.5; }
.footer-bottom { border-top: 1px solid var(--navy-rule); }
.footer-bottom__inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; font-size: 13px; }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: var(--sky-2); }
.footer-bottom a:hover { color: var(--gold); }

.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 50;
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--gold); color: var(--navy-deep); padding: 14px 20px; font-weight: 700; font-size: 14px;
    box-shadow: 0 12px 30px rgba(10, 26, 49, .3);
}
.wa-float:hover { background: var(--gold-light); color: var(--navy-deep); }
.wa-float svg { width: 18px; height: 18px; }
.to-top {
    position: fixed; right: 22px; bottom: 84px; z-index: 50; width: 46px; height: 46px;
    background: var(--navy); color: var(--white); border: 0; cursor: pointer; display: grid; place-items: center;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-deep); }
.to-top svg { width: 18px; height: 18px; }
.mobile-bar { display: none; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .nav { gap: 4px 18px; }
    .site-header__actions { gap: 16px; }
    .mega__inner { grid-template-columns: 1fr; }
    .mega__intro { display: none; }
    .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
    .values--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .other-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
    :root { --header-h: 69px; }
    .topbar { display: none; }
    .nav, .site-header__actions { display: none; }
    .site-header__mobile { display: flex; }
    .site-header__inner { padding-top: 12px; padding-bottom: 12px; min-height: 68px; }
    .site-header__logo img { height: 40px; }
    .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .with-sidebar, .with-sidebar--left { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .sidebar { position: static; }
    .with-sidebar--left .sidebar--toc { display: none; }
    .with-sidebar--left > .sidebar { order: 2; }
    .faq { grid-template-columns: 1fr; gap: 32px; }
    .faq__aside { position: static; }
    .page-hero__inner { grid-template-columns: 1fr; }
    .page-hero__aside { min-width: 0; }
    .hero-quick { min-width: 0; }
    .contact-cards, .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-card:nth-child(2), .stat-band__item:nth-child(2) { border-right: 0; }
    .contact-card:nth-child(-n+2), .stat-band__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
    .post-feature { grid-template-columns: 1fr; }
    .post-feature__img-wrap { min-height: 0; aspect-ratio: 16 / 9; }
    .news-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 80px; }
    .head-split { grid-template-columns: 1fr; }
    .svc-tabs { --tabw: 260px; }
    .svc__panel { padding: 36px 30px 40px; }
    .media-badge { min-height: 440px; }
    .newsletter__inner { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    :root { --gutter: 16px; }
    body { font-size: 15px; padding-bottom: 60px; }
    .section { padding: 56px 0; }
    .section--sm { padding: 44px 0; }
    .eyebrow { font-size: 11.5px; gap: 10px; }
    .eyebrow::before { width: 24px; }
    .h-section { font-size: 34px; margin-top: 12px; }
    .lead { font-size: 15px; }

    /* Hero (mobile design) */
    .hero__grid { padding: 44px 20px 0; gap: 0; }
    .hero__kicker-full, .hero__text--long { display: none; }
    .hero__kicker-short, .hero__text--short { display: inline; }
    .hero__text--short { display: block; }
    .h-display { font-size: 42px; margin-top: 16px; }
    .hero__text { font-size: 15.5px; line-height: 1.65; margin-top: 18px; }
    .hero__checks { display: none; }
    .hero__btns { display: grid; gap: 10px; margin-top: 26px; }
    .hero__btns .btn { width: 100%; padding: 16px; }
    .hero__shape { left: auto; right: -120px; top: -20px; transform: none; height: 520px; }
    .hero__media { min-height: 0; height: 240px; margin-top: 36px; }
    .hero__frame { inset: 0 0 24px 24px; }
    .hero__img { top: 24px; width: calc(100% - 24px); height: calc(100% - 24px); }
    .stats {
        left: -4px; right: -4px; bottom: 0; transform: translateY(calc(100% - 28px));
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0;
        box-shadow: 0 16px 36px rgba(14, 35, 64, .14); z-index: 3;
    }
    .stats__div { display: none; }
    .stats .stat { padding: 18px 8px; text-align: center; border-right: 1px solid var(--line-soft); }
    .stats .stat:last-child { border-right: 0; }
    .stat__num { font-size: 30px; }
    .stat__label { font-size: 11px; }

    .pillars { margin-top: 0; padding-top: 76px; }
    .pillars .container { padding: 0; }
    .pillars__grid {
        display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
        background: none; box-shadow: none; padding: 0 16px 8px; scrollbar-width: none;
    }
    .pillars__grid::-webkit-scrollbar { display: none; }
    .pillar { flex: 0 0 82%; scroll-snap-align: center; background: var(--white); border: 1px solid var(--line); padding: 24px 22px; }
    .pillar:last-child { border-right: 1px solid var(--line); }
    .pillar__title { font-size: 26px; margin: 6px 0 10px; }
    .pillar__text { font-size: 14px; line-height: 1.65; }

    /* Services accordion */
    .svc-tabs { display: flex; flex-direction: column; gap: 8px; background: none; border: 0; margin-top: 24px; }
    .svc { display: block; background: var(--white); border: 1px solid var(--line); transition: border-color .2s; }
    .svc.is-active { border-color: var(--gold); }
    .svc__btn { display: flex; width: 100%; gap: 14px; padding: 18px; min-height: 60px; border-bottom: 0; }
    .svc.is-active .svc__btn { background: var(--white); color: var(--ink); }
    .svc__btn-name { color: var(--navy); }
    .svc__icon { display: grid; place-items: center; width: 30px; height: 30px; background: var(--paper); color: var(--navy); font-size: 18px; flex: none; }
    .svc__icon::before { content: "+"; }
    .svc.is-active .svc__icon { background: var(--gold); color: var(--navy-deep); }
    .svc.is-active .svc__icon::before { content: "\2212"; }
    .svc__panel { padding: 0 18px 20px; }
    .svc__tag, .svc__title { display: none; }
    .svc__desc { font-size: 14.5px; line-height: 1.65; }
    .svc__items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
    .svc__items li { font-size: 12.5px; padding: 7px 10px; gap: 0; }
    .svc__items li .diamond { display: none; }
    .svc__panel .btn { display: flex; width: 100%; margin-top: 16px; }

    .media-badge { min-height: 0; height: 300px; }
    .media-badge__img { inset: 0 32px 32px 0; width: calc(100% - 32px); height: calc(100% - 32px); object-position: top; }
    .media-badge__badge { width: 190px; padding: 18px; }
    .media-badge__title { font-size: 19px; }
    .media-badge__text { font-size: 12.5px; }
    .grid-2 { gap: 32px; }
    .values { gap: 20px 16px; margin-top: 24px; }
    .values--4 { margin-top: 36px; }
    .value { padding-top: 12px; }
    .value__title { font-size: 21px; }
    .value__text { font-size: 13px; line-height: 1.55; }
    .block-actions { margin-top: 28px; }
    .block-actions .btn { flex: 1 1 100%; }

    .why__shape { right: -140px; top: auto; bottom: -60px; height: 420px; opacity: .06; }
    .head-center { text-align: left; }
    .head-center .eyebrow { justify-content: flex-start; }
    .why__grid { display: flex; flex-direction: column; gap: 0; background: none; border: 0; border-top: 1px solid var(--navy-line); margin-top: 26px; }
    .why__item { display: grid; grid-template-columns: 34px 1fr; gap: 0 16px; padding: 18px 0; border-bottom: 1px solid var(--navy-line); background: none; }
    .why__item:hover { background: none; }
    .why__num { font-size: 28px; grid-row: span 2; }
    .why__title { margin: 0 0 6px; font-size: 16px; }

    .slider-nav { display: none; }
    .swipe-hint { display: block; }
    .head-row { flex-wrap: nowrap; align-items: flex-end; }
    .head-row > div:first-child { min-width: 0; flex: 1; }
    .btn { white-space: normal; }
    .team-track { display: flex; gap: 12px; margin: 24px calc(var(--gutter) * -1) 0; padding: 0 16px 8px; scroll-padding: 0 16px; }
    .team-track .member { flex: 0 0 72%; }
    .member__body { padding: 16px 16px 18px; }
    .member__name { font-size: 22px; }
    .member__role { font-size: 11px; margin-top: 4px; }
    .team-track .member__bio { display: none; }
    .center-cta .btn { width: 100%; }

    .news-grid, .news-grid--3 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 24px calc(var(--gutter) * -1) 0; padding: 0 16px 8px; scroll-padding: 0 16px; scrollbar-width: none; }
    .news-grid::-webkit-scrollbar { display: none; }
    .news-grid .post-card { flex: 0 0 84%; scroll-snap-align: start; }
    .news-grid--stack { display: grid; grid-template-columns: 1fr; margin: 24px 0 0; padding: 0; gap: 14px; overflow: visible; }
    .news-grid--stack .post-card { flex: none; }
    .post-card__author, .post-card__excerpt, .post-card__foot { display: none; }
    .post-card__body { padding: 16px 16px 18px; gap: 8px; }
    .post-card__meta-m { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .post-card__meta-m span:first-child { color: var(--gold-dark); }
    .post-card__meta-m span:last-child { color: var(--muted-3); }
    .post-card__title { font-size: 21px; line-height: 1.2; }
    .post-card__by-m { display: block !important; font-size: 12.5px; color: var(--muted-3); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-soft); }

    .cta-band { padding: 28px 22px; display: block; }
    .cta-band__title { font-size: 30px; }
    .cta-band__text { font-size: 14.5px; margin-top: 8px; }
    .cta-band__btns { display: grid; gap: 10px; margin-top: 18px; }
    .cta-band__btns .btn { width: 100%; padding: 15px; }
    .cta-wrap { padding: 16px 0 48px; }
    .section + .cta-wrap { padding-top: 0; }
    .section--white + .cta-wrap, .section--navy + .cta-wrap { padding-top: 40px; }

    .acc__btn { padding: 16px; min-height: 56px; gap: 12px; }
    .acc__q { font-size: 15px; line-height: 1.4; }
    .acc__icon { width: 28px; height: 28px; font-size: 17px; }
    .acc__a { padding: 0 16px 18px; font-size: 14px; line-height: 1.65; }
    .faq .contact-lines { display: none; }

    /* Inner pages */
    .page-hero__inner { padding-top: 36px; padding-bottom: 48px; gap: 24px; }
    .page-hero__title { font-size: 40px; margin-top: 14px; }
    .page-hero__lead { font-size: 15px; margin-top: 14px; }
    .page-hero__shape { right: -160px; height: 120%; }
    .crumbs { font-size: 12px; }
    .crumbs [aria-current] { max-width: 62vw; }
    .stat-band, .contact-cards { margin-top: -28px; }
    .stat-band__item { padding: 20px 16px; }
    .stat-band .stat__num { font-size: 32px; }
    .contact-card { padding: 22px 18px; }
    .contact-card__value { font-size: 18px; word-break: break-word; }
    .contact-card__value--sm { font-size: 16px; }
    .contact-card__icon { width: 38px; height: 38px; margin-bottom: 6px; }
    .cards-4, .cards-3, .sub-list, .expertise, .other-services { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
    .card { padding: 26px 22px; }
    .card__title { font-size: 24px; }
    .svc-block { padding: 48px 0; }
    .svc-block__head { grid-template-columns: 1fr; }
    .svc-block__head .btn { display: none; }
    .svc-block__more-m { display: flex !important; margin-top: 18px; }
    .sub-item { padding: 18px 16px; gap: 14px; }
    .sub-item__icon { width: 44px; height: 44px; }
    .sub-item__icon img { width: 26px; height: 26px; }
    .sub-item__name { font-size: 20px; }
    .intro-card { padding: 28px 22px; }
    .exp-card { padding: 24px 20px; }
    .exp-card__title { font-size: 23px; margin-top: 18px; }
    .other-card { min-height: 0; flex-direction: row; align-items: center; padding: 18px 16px; gap: 14px; }
    .other-card__icon { width: 44px; height: 44px; }
    .other-card__name { font-size: 20px; flex: 1; }
    .other-card__more { margin: 0; font-size: 0; }
    .other-card__more::after { content: "\2192"; font-size: 18px; }
    .member-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
    .member-grid .member__body { padding: 14px 14px 16px; }
    .member-grid .member__name { font-size: 20px; }
    .member-grid .member__bio { font-size: 13px; }
    .tabs__btn { margin-right: 20px; font-size: 14px; }
    .prose { font-size: 15.5px; line-height: 1.75; }
    .prose h3 { font-size: 26px; }
    .prose h4 { font-size: 22px; }
    .prose--legal h3 { font-size: 24px; }
    .article__body { padding: 26px 20px 32px; }
    .article__meta { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
    .article__meta > div:first-child { grid-column: 1 / -1; }
    .form-wrap { padding: 28px 20px; }
    .form-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
    .form-actions .btn { width: 100%; }
    .map { height: 380px; }
    .map__card { left: 16px; right: 16px; top: auto; bottom: 16px; max-width: none; padding: 20px; }
    .side-box { padding: 22px 20px; }
    .consult { padding: 26px 22px; }
    .success { padding: 40px 22px; }
    .post-feature__body { padding: 24px 20px 24px; }
    .post-feature__title { font-size: 28px; }
    .pager { margin-top: 36px; }
    .error-page { padding: 72px 0; }

    /* Footer (mobile design) */
    .newsletter__inner { padding-top: 36px; padding-bottom: 36px; }
    .newsletter__form { flex-direction: column; border: 0; background: none; gap: 10px; }
    .newsletter__form input[type="email"] { border: 1px solid var(--navy-border); background: rgba(255, 255, 255, .03); }
    .newsletter__form button { width: 100%; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding-top: 40px; padding-bottom: 28px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand img { height: 42px; }
    .footer-brand p { font-size: 14px; margin-top: 16px; }
    .footer-col__title { font-size: 12px; margin-bottom: 14px; }
    .footer-col nav, .footer-col__list { gap: 12px; font-size: 14px; }
    .footer-col--contact { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--navy-rule); }
    .footer-bottom__inner { font-size: 12px; }

    .wa-float { display: none; }
    .mobile-panel__inner { padding-bottom: 96px; }
    .to-top { bottom: 76px; right: 14px; width: 42px; height: 42px; }
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
        background: var(--white); box-shadow: 0 -8px 24px rgba(10, 26, 49, .12);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: var(--navy); font-weight: 700; font-size: 14.5px; border-right: 1px solid var(--line); }
    .mobile-bar a:last-child { background: var(--gold); color: var(--navy-deep); border-right: 0; }
    .mobile-bar svg { width: 18px; height: 18px; }
}

@media (max-width: 380px) {
    .h-display { font-size: 38px; }
    .page-hero__title { font-size: 36px; }
    .member-grid { grid-template-columns: 1fr !important; }
    .stat__label { font-size: 10.5px; }
    .lang--header .lang__btn { padding: 5px 5px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .topbar, .site-header, .site-footer, .wa-float, .mobile-bar, .to-top, .sidebar, .cta-wrap { display: none !important; }
    body { background: #fff; padding: 0; }
}
