/* ==========================================================================
   MD Corp Services: site styles
   Palette: deep navy + muted brass on warm off-white.
   ========================================================================== */

:root {
  --navy-950: #081a2c;
  --navy-900: #0b2239;
  --navy-800: #0f2d4b;
  --navy-700: #163c62;
  --navy-600: #1f4f7f;
  --brass: #b88a2f;
  --brass-light: #d9b467;
  --brass-dark: #85621a;      /* brass for text on light backgrounds (AA) */
  --paper: #f6f3ec;
  --paper-2: #efeadf;
  --surface: #ffffff;
  --ink: #142538;             /* headings */
  --text: #26323f;            /* body */
  --muted: #586572;
  --line: #e3ddd0;
  --line-strong: #cfc6b4;
  --on-dark: #e9eef4;
  --on-dark-muted: #b4c2d1;
  --wa: #15803d;
  --wa-dark: #116632;
  --danger: #b42318;
  --success: #166534;

  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 34, 57, .06), 0 1px 3px rgba(11, 34, 57, .08);
  --shadow-md: 0 8px 24px rgba(11, 34, 57, .10), 0 2px 6px rgba(11, 34, 57, .06);
  --shadow-lg: 0 24px 60px rgba(8, 26, 44, .28);

  --container: 1180px;
  --gutter: 24px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.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: 200;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 8px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-brass { background: var(--brass-light); color: var(--navy-950); }
.btn-brass:hover { background: #e4c27c; color: var(--navy-950); box-shadow: 0 8px 22px rgba(217, 180, 103, .28); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); background: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy-700); text-decoration: none;
}
.link-arrow .icon { transition: transform .18s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark-muted); font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar-items { display: flex; gap: 26px; list-style: none; }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--brass-light); }
.topbar .icon { color: var(--brass-light); }
.topbar-note { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 980px) { .topbar { display: none; } }

/* ---------- Header / nav ---------- */
/* No backdrop-filter/transform here: either would make the fixed mobile
   menu position itself inside the header instead of the viewport. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(11, 34, 57, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 9px; flex: none;
  background: var(--navy-800); color: var(--brass-light);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 18px; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(217, 180, 103, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: var(--ink); white-space: nowrap; }
.brand-desc { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); font-weight: 600; margin-top: 3px; }
.brand-logo { height: 46px; width: auto; }

.nav { display: flex; align-items: center; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a {
  display: inline-block; padding: 10px 14px; border-radius: 6px;
  font-weight: 500; font-size: 15.5px; color: var(--ink); text-decoration: none;
  position: relative;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list > li > a[aria-current="page"] { color: var(--navy-800); font-weight: 600; }

.mega-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-left: -8px; border: 0; border-radius: 6px;
  background: transparent; color: var(--muted); cursor: pointer;
}
.mega-toggle .icon { transition: transform .2s; }
.has-mega.open .mega-toggle .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: min(880px, calc(100vw - 48px));
  padding-top: 12px;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity .18s, visibility .18s;
}
.mega-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 22px;
}
.mega-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
.mega-grid a {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; line-height: 1.35;
}
.mega-grid a:hover { background: var(--paper); color: var(--navy-800); }
.mega-grid .icon { color: var(--brass-dark); margin-top: 1px; }
.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
@media (min-width: 981px) {
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega {
    visibility: visible; opacity: 1; pointer-events: auto;
  }
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px var(--gutter) 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
  }
  .nav-open .nav-menu { transform: none; visibility: visible; }
  .nav-open .nav-toggle .icon-menu { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 16px 4px; font-size: 17px; }
  .nav-list > li > a::after { display: none; }
  .mega-toggle { width: 44px; height: 44px; margin: 0; }
  .mega { position: static; transform: none; width: 100%; padding: 0 0 12px; display: none; visibility: visible; opacity: 1; pointer-events: auto; }
  .has-mega.open .mega { display: block; }
  .mega-panel { border: 0; box-shadow: none; padding: 0; background: transparent; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-grid a { padding: 10px 6px; }
  .mega-foot { display: none; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .nav-cta .btn { width: 100%; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 17.5px; }
  .brand-mark { width: 40px; height: 40px; font-size: 16px; }
  .brand-desc { font-size: 10.5px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy-900); color: var(--on-dark); }
.bg-navy h2, .bg-navy h3 { color: #fff; }
@media (max-width: 760px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.bg-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--brass-light); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.bg-navy .section-head p { color: var(--on-dark-muted); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head-row .section-head { margin-bottom: 0; }
@media (max-width: 760px) { .section-head-row { flex-direction: column; align-items: flex-start; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(31, 79, 127, .55), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(184, 138, 47, .14), transparent 60%),
    var(--navy-900);
  color: var(--on-dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center;
  padding-block: 96px 104px;
}
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 62px); line-height: 1.07; margin-bottom: 22px; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--brass-light); font-weight: 600; }
.hero-lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--on-dark-muted); max-width: 590px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scope { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin-top: 36px; font-size: 14px; color: var(--on-dark-muted); }
.hero-scope li { display: inline-flex; align-items: center; gap: 8px; }
.hero-scope .icon { color: var(--brass-light); }

.doc-card {
  position: relative; background: #fffdf8; color: var(--text);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 30px 30px 24px;
  border-top: 4px solid var(--brass);
}
.doc-card::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -10px; height: 10px; z-index: -1;
  background: #e8e1d2; border-radius: 0 0 12px 12px; opacity: .55;
}
.doc-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line-strong); padding-bottom: 14px; margin-bottom: 8px; }
.doc-card-title { font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--ink); margin: 0; }
.doc-card-tag { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); font-weight: 600; white-space: nowrap; }
.doc-list { list-style: none; }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid #efe9dc; font-size: 15.5px; color: var(--ink); }
.doc-list li:last-child { border-bottom: 0; }
.tick {
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(184, 138, 47, .14); color: var(--brass-dark);
}
.tick .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.doc-card-foot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-block: 64px 72px; }
  .doc-card { max-width: 560px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .doc-card { padding: 22px 18px 18px; }
  .doc-list li { font-size: 14.5px; }
}

/* ---------- Facts strip ---------- */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid li { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border-left: 1px solid var(--line); }
.facts-grid li:first-child { border-left: 0; padding-left: 0; }
.fact-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); color: var(--navy-700); flex: none; }
.fact-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.fact-text strong { color: var(--ink); font-size: 15px; }
.fact-text span, .fact-text a { color: var(--muted); font-size: 14px; text-decoration: none; overflow-wrap: anywhere; }
.fact-text a:hover { color: var(--navy-700); }
@media (max-width: 980px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid li { border-left: 0; padding: 18px 0; }
  .facts-grid li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .facts-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid li, .facts-grid li:nth-child(even) { padding: 16px 0; border-left: 0; }
  .facts-grid li + li { border-top: 1px solid var(--line); }
}

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 26px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card::before {
  content: ""; position: absolute; left: 28px; top: 0; width: 44px; height: 3px; background: var(--brass); border-radius: 0 0 3px 3px;
}
.icon-tile {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--paper); color: var(--navy-700); margin-bottom: 20px;
}
.icon-tile .icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card p { color: var(--muted); font-size: 15.5px; }
.mini-list { list-style: none; margin: 4px 0 22px; display: grid; gap: 8px; }
.mini-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.mini-list .icon { color: var(--brass-dark); margin-top: 2px; stroke-width: 2.2; }
.service-card .link-arrow { margin-top: auto; }

.service-card.compact { padding: 26px 24px 22px; }
.service-card.compact h3 { font-size: 20px; }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
}
.step { position: relative; }
.step-num {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--brass); color: var(--brass-dark);
  font-family: var(--font-serif); font-size: 21px; font-weight: 700; margin-bottom: 20px;
}
.bg-paper .step-num { background: var(--paper); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .steps::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Client types ---------- */
.tile-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tile { background: #fff; padding: 28px 28px 26px; }
.tile h3 { font-size: 19.5px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.tile h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brass); transform: rotate(45deg); flex: none; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tile-grid { grid-template-columns: 1fr; } }

/* ---------- Commitments (navy) ---------- */
.commit-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.commit {
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 28px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
}
.commit .icon-tile { background: rgba(217, 180, 103, .12); color: var(--brass-light); margin-bottom: 18px; }
.commit h3 { font-size: 20px; margin-bottom: 8px; }
.commit p { margin: 0; color: var(--on-dark-muted); font-size: 15px; }
.bg-paper .commit, .commit.light { background: #fff; border-color: var(--line); }
.commit.light h3 { color: var(--ink); }
.commit.light p { color: var(--muted); }
.commit.light .icon-tile { background: var(--paper); color: var(--navy-700); }
@media (max-width: 980px) { .commit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .commit-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-aside h2 { font-size: clamp(30px, 3.4vw, 42px); }
.faq-aside p { color: var(--muted); }
.faq-aside .btn { margin-top: 8px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 2px; font-family: var(--font-serif); font-size: 19.5px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy-700); }
.faq-sign { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--navy-700); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-sign { border-color: var(--brass); }
.faq-item[open] .faq-sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 48px 22px 2px; color: var(--muted); }
.faq-answer p { margin: 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .faq-item summary { font-size: 17.5px; } .faq-answer { padding-right: 0; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-800); color: var(--on-dark); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(217, 180, 103, .25); box-shadow: 0 0 0 40px rgba(217, 180, 103, .04), 0 0 0 80px rgba(217, 180, 103, .03);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 64px; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.cta-inner p { color: var(--on-dark-muted); margin: 0; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 860px) { .cta-inner { flex-direction: column; align-items: flex-start; padding-block: 52px; } }
@media (max-width: 480px) { .cta-actions, .cta-actions .btn { width: 100%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 400px at 90% -20%, rgba(31, 79, 127, .5), transparent 60%), var(--navy-900);
  color: var(--on-dark);
}
.page-hero .container { position: relative; padding-top: 56px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.2vw, 50px); max-width: 860px; margin-bottom: 16px; }
.page-hero p.lead { color: var(--on-dark-muted); font-size: clamp(16.5px, 1.4vw, 19px); max-width: 760px; margin: 0; }
.page-hero .hero-actions { margin-top: 28px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--on-dark-muted); margin-bottom: 22px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--brass-light); }
.page-hero .icon-tile { background: rgba(217, 180, 103, .12); color: var(--brass-light); width: 56px; height: 56px; margin-bottom: 18px; }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.detail-main h2 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 18px; }
.detail-main > section + section { margin-top: 56px; }
.check-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check-grid li {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 500; color: var(--ink); line-height: 1.45; font-size: 15.5px;
}
.check-grid .tick { margin-top: -1px; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }
.audience-list { list-style: none; display: grid; gap: 12px; }
.audience-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.audience-list .icon { color: var(--brass-dark); margin-top: 3px; }
.steps.vertical { grid-template-columns: 1fr; gap: 0; }
.steps.vertical::before { display: none; }
.steps.vertical .step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 26px; position: relative; }
.steps.vertical .step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 1px; background: var(--line-strong); }
.steps.vertical .step-num { margin: 0; }
.steps.vertical .step h3 { margin-top: 12px; }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.side-card.navy { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.side-card.navy h3 { color: #fff; }
.side-card.navy p { color: var(--on-dark-muted); }
.side-card h3 { font-size: 21px; margin-bottom: 8px; }
.side-card p { font-size: 15px; color: var(--muted); }
.side-card .btn { width: 100%; }
.side-card .btn + .btn { margin-top: 10px; }
.side-links { list-style: none; display: grid; gap: 2px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { color: var(--navy-600); }
.side-links .icon { color: var(--brass-dark); }
@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
}

/* ---------- Services index ---------- */
.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.jump-nav a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 14px; color: var(--ink); text-decoration: none; font-weight: 500; }
.jump-nav a:hover { border-color: var(--navy-700); color: var(--navy-700); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split .lead-text { font-family: var(--font-serif); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.4; color: var(--ink); }
.prose p { color: var(--text); }
.prose p.muted { color: var(--muted); }
.note-card { background: var(--paper); border-left: 3px solid var(--brass); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; }
.note-card h3 { font-size: 19px; margin-bottom: 6px; }
.note-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.practice-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.practice-list a { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.practice-list a:hover { color: var(--navy-600); }
.practice-list .icon { color: var(--brass-dark); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .practice-list { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.contact-card .icon-tile { margin: 0; width: 46px; height: 46px; }
.contact-card h3 { font-family: var(--font-sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 2px 0 6px; font-weight: 600; }
.contact-card p, .contact-card a { margin: 0; color: var(--ink); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--navy-600); }
.contact-card .sub { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; }
.contact-card .sub a { color: var(--navy-600); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 28px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: 8px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586572' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(31, 79, 127, .14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }
.form-status { display: none; margin-top: 20px; padding: 14px 16px; border-radius: 8px; font-size: 15px; }
.form-status.is-success { display: block; background: #ecf7ef; color: var(--success); border: 1px solid #bfe3c9; }
.form-status.is-error { display: block; background: #fdf0ee; color: var(--danger); border: 1px solid #f3c6c0; }
.form-status a { color: inherit; font-weight: 600; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .form-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }
.map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.map-bar h2 { margin: 0; font-size: clamp(26px, 2.6vw, 32px); }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal ul { padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 48px; padding-block: 72px 56px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-desc { color: var(--brass-light); }
.footer-about { margin-top: 18px; max-width: 320px; }
.site-footer h3 { font-family: var(--font-sans); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--brass-light); }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--brass-light); margin-top: 3px; }
.footer-contact a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--brass-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0 28px; font-size: 13.5px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--brass-light); }
.footer-legal { display: flex; gap: 20px; list-style: none; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; padding-block: 56px 40px; } }

/* ---------- Floating contact ---------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 20px 0 16px; height: 54px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 28px rgba(21, 128, 61, .35);
  transition: transform .2s, background-color .2s;
}
.fab-wa:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }
.fab-wa .icon { width: 24px; height: 24px; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .fab-wa { display: none; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(11, 34, 57, .08);
  }
  .mobile-bar .btn { min-height: 46px; }
  body { padding-bottom: 72px; }
  .nav-open .mobile-bar { display: none; }
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .link-arrow .icon { transition: none; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-family: var(--font-serif); font-size: 88px; color: var(--brass); line-height: 1; margin-bottom: 12px; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .fab-wa, .mobile-bar, .cta-band, .site-footer, .map-wrap { display: none !important; }
  .hero, .page-hero { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}
