/* ============================================================
   Evidentia & Co. | Site Stylesheet
   Palette: Navy #13294B | Brass #C9A84C | White #FFFFFF
   Type: Playfair Display (display) | Libre Franklin (body)
   ============================================================ */

/* Self-hosted variable fonts: no third party font requests */
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/pf.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/pfi.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Libre Franklin';
  src: url('/fonts/lf.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #13294B;
  --navy-deep: #0E1F3A;
  --brass: #C9A84C;
  --brass-dark: #AE9040;
  --white: #FFFFFF;
  --mist: #F5F7FA;
  --slate: #46587A;
  --line: rgba(19, 41, 75, 0.12);
  --tint: rgba(19, 41, 75, 0.26);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: var(--navy); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

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

/* ---------- Motion: reveals ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

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

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--brass);
  z-index: 300;
  pointer-events: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100px;
  transition: height 0.35s var(--ease);
}

.site-header.scrolled { box-shadow: 0 6px 30px rgba(14, 31, 58, 0.10); }

.site-header.scrolled .header-inner { height: 74px; }

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.brand-badge {
  height: 60px;
  width: auto;
  transition: height 0.35s var(--ease);
}

.site-header.scrolled .brand-badge { height: 46px; }

.brand-wordmark { height: 22px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 36px; }

.site-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--navy);
  padding: 6px 0;
  position: relative;
  transition: color 0.25s var(--ease);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a.is-active:not(.nav-cta)::after { transform: scaleX(1); }

.site-nav a:not(.nav-cta):hover { color: var(--brass-dark); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 13px 26px !important;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav-cta:hover { background: var(--brass); color: var(--navy) !important; }

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brass-dark);
  font-size: 0.65rem;
  padding: 6px 2px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass);
  box-shadow: 0 20px 50px rgba(14, 31, 58, 0.14);
  min-width: 250px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 120;
}

.nav-item:hover .sub-menu,
.nav-item:focus-within .sub-menu,
.nav-item.open .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-menu a {
  display: block;
  padding: 10px 24px !important;
  font-size: 0.88rem;
  white-space: nowrap;
}

.sub-menu a::after { display: none !important; }

.sub-menu a:hover { background: rgba(201, 168, 76, 0.08); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 16px 38px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
}

.btn:hover { letter-spacing: 0.11em; }

.btn-brass {
  background: var(--brass);
  color: var(--navy);
  border: 1px solid var(--brass);
}

.btn-brass:hover { background: var(--brass-dark); border-color: var(--brass-dark); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover { border-color: var(--brass); color: var(--brass); background: rgba(255, 255, 255, 0.04); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}

.btn-navy:hover { background: var(--brass); border-color: var(--brass); color: var(--navy); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-media { position: absolute; inset: -12% 0 0 0; }

.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 31, 58, 0.94) 0%, rgba(19, 41, 75, 0.78) 55%, rgba(19, 41, 75, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 130px 0 120px;
  max-width: 780px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 28px;
}

.hero p {
  font-size: 1.18rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 42px;
  max-width: 600px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Section scaffolding ---------- */

.section { padding: 130px 0; }

.section-tight { padding: 100px 0; }

.section-mist { background: var(--mist); }

.section-navy {
  background: linear-gradient(160deg, #1A3560 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: var(--white);
}

.section-head { max-width: 720px; margin-bottom: 70px; }

.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-navy .section-head h2 { color: var(--white); }

.section-head p { color: var(--slate); font-size: 1.08rem; }

.section-navy .section-head p { color: rgba(255, 255, 255, 0.82); }

/* Split head: heading left, action right on the same baseline */
.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-head.split > div { max-width: 640px; }

.head-link {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--brass);
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.head-link:hover { color: var(--brass-dark); }

/* Signature double rule, drawn from legal document ruling */
.rule {
  width: 64px;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  height: 5px;
  margin-bottom: 28px;
}

.centered .rule { margin-left: auto; margin-right: auto; }

/* ---------- Who we act for (editorial split) ---------- */

.act-for {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 90px;
  align-items: start;
}

.act-intro { position: sticky; top: 130px; }

.act-intro h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.act-intro p { color: var(--slate); font-size: 1.06rem; margin-bottom: 30px; }

.act-list { list-style: none; }

.act-item {
  border-top: 1px solid var(--line);
  padding: 38px 0 38px 34px;
  position: relative;
  transition: transform 0.35s var(--ease);
}

.act-item:last-child { border-bottom: 1px solid var(--line); }

.act-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50px;
  width: 14px;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  height: 5px;
  transition: width 0.35s var(--ease);
}

.act-item:hover { transform: translateX(6px); }

.act-item:hover::before { width: 22px; }

.act-item h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.act-item p { font-size: 0.99rem; color: var(--slate); max-width: 520px; }

/* ---------- Feature rows (asymmetric editorial) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 90px;
  align-items: center;
}

.feature-row + .feature-row { margin-top: 110px; }

.feature-row.flip { grid-template-columns: 5fr 7fr; }

.feature-row.flip .feature-media { order: 2; }

.feature-media { position: relative; }

.feature-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(1.03);
}

/* Navy duotone wash over all imagery */
.feature-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tint);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.feature-media::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid var(--brass);
  z-index: -1;
}

.feature-copy h2,
.feature-copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.feature-copy p { color: var(--slate); margin-bottom: 16px; }

.feature-copy p:last-of-type { margin-bottom: 0; }

.feature-copy .text-link {
  display: inline-block;
  margin-top: 26px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--brass);
  padding-bottom: 4px;
  transition: color 0.25s var(--ease);
}

.feature-copy .text-link:hover { color: var(--brass-dark); }

/* ---------- Service cards (homepage) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(201, 168, 76, 0.55);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.svc-card:hover {
  box-shadow: 0 20px 50px rgba(19, 41, 75, 0.16);
  transform: translateY(-5px);
  border-color: rgba(201, 168, 76, 0.55);
  border-top-color: var(--brass);
}

.card-media { position: relative; overflow: hidden; }

.card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tint);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(1.03);
  transition: transform 0.6s var(--ease);
}

.svc-card:hover .card-media img { transform: scale(1.04); }

.svc-card-body { padding: 30px 30px 34px; }

.svc-card-body .svc-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-dark);
  display: block;
  margin-bottom: 12px;
}

.svc-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
}

.svc-card-body p { font-size: 0.94rem; color: var(--slate); }

/* ---------- Services hub cards ---------- */

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.hub-grid .svc-card:nth-child(4),
.hub-grid .svc-card:nth-child(5) { transform: none; }

.hub-count {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-top: 16px;
}

/* Lead service section on service group pages */
.lead-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 90px;
  align-items: start;
}

.lead-split h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.18;
}

.lead-split .lead-copy p { color: var(--slate); margin-bottom: 16px; }

.lead-split .lead-copy p:last-child { margin-bottom: 0; }

@media (max-width: 800px) {
  .lead-split { grid-template-columns: 1fr; gap: 28px; }
  .hub-grid { grid-template-columns: 1fr; }
}

@media (min-width: 801px) and (max-width: 1020px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Accordion ---------- */

.accordion { border-top: 1px solid var(--line); }

.acc-item { border-bottom: 1px solid var(--line); }

.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 26px;
  text-align: left;
  padding: 30px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--navy);
  transition: color 0.25s var(--ease);
}

.acc-trigger:hover { color: var(--brass-dark); }

.acc-trigger .acc-count {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

.acc-trigger .acc-mark {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brass);
  line-height: 1;
  transition: transform 0.35s var(--ease);
}

.acc-trigger[aria-expanded="true"] .acc-mark { transform: rotate(45deg); }

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.acc-panel-inner { padding: 4px 4px 34px; }

.acc-panel-inner p { color: var(--slate); font-size: 0.98rem; max-width: 680px; margin-bottom: 18px; }

.acc-links { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }

.acc-links a {
  display: inline-block;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 9px 18px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}

.acc-links a:hover { border-color: var(--brass); color: var(--brass-dark); background: rgba(201, 168, 76, 0.06); }

/* ---------- Stats + assurance (navy band) ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 80px;
  margin-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1;
  color: var(--white);
  display: block;
  margin-bottom: 14px;
}

.stat-num .stat-suffix { color: var(--brass); }

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.assure-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.assure-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.assure-item p { color: rgba(255, 255, 255, 0.8); font-size: 0.96rem; }

.assure-item .rule { margin-bottom: 22px; }

/* ---------- Testimonials ---------- */

.quotes { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }

.quotes::before {
  content: "\201C";
  position: absolute;
  top: -110px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 14rem;
  line-height: 1;
  color: rgba(201, 168, 76, 0.16);
  pointer-events: none;
}

.quote-track { position: relative; }

.quote-slide {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.quote-slide.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }

.quote-slide blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 28px;
}

.quote-slide cite {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

.quote-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 44px;
}

.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease);
}

.quote-dot.active, .quote-dot:hover { background: var(--brass); }

.quote-arrow {
  background: none;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 1rem;
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.quote-arrow:hover { border-color: var(--brass); color: var(--brass-dark); }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(150deg, #1A3560 0%, var(--navy) 60%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
  padding: 110px 24px;
  position: relative;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  border-top: 1px solid var(--brass);
}

.cta-band::after {
  content: "&";
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-52%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16rem, 30vw, 26rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  margin-bottom: 18px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: linear-gradient(150deg, #1A3560 0%, var(--navy) 60%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 110px 0 96px;
  position: relative;
  overflow: hidden;
}

/* Image page heroes */
.page-hero.has-media { padding: 150px 0 130px; }

.page-hero-media { position: absolute; inset: -14% 0 0 0; z-index: 0; }

.page-hero-media img {
  width: 100%;
  height: 114%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 31, 58, 0.93) 0%, rgba(19, 41, 75, 0.76) 55%, rgba(19, 41, 75, 0.48) 100%);
}

.page-hero .wrap { position: relative; z-index: 2; }

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 820px;
}

.page-hero p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
}

/* ---------- Services page ---------- */

.directory {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px;
}

.dir-col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.dir-col h3 a { text-decoration: none; color: inherit; transition: color 0.25s var(--ease); }

.dir-col h3 a:hover { color: var(--brass-dark); }

.dir-col .rule { width: 34px; margin-bottom: 20px; }

.dir-col ul { list-style: none; }

.dir-col li { margin-bottom: 11px; }

.dir-col a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease);
}

.dir-col a:hover { color: var(--brass-dark); }

@media (max-width: 1020px) {
  .directory { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 560px) {
  .directory { grid-template-columns: 1fr; }
}

/* Claim classes list (insurers page) */
.claim-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 56px;
  list-style: none;
  margin-top: 12px;
}

.claim-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 1rem;
  color: var(--slate);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.claim-list .claim-marker {
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  height: 5px;
  width: 14px;
  flex-shrink: 0;
  position: relative;
  top: -3px;
}

@media (max-width: 800px) {
  .claim-list { grid-template-columns: 1fr; gap: 0; }
}

.svc-index {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 48px 54px;
}

.svc-index h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 26px;
}

.svc-index ol { list-style: none; columns: 2; column-gap: 60px; }

.svc-index li { margin-bottom: 12px; break-inside: avoid; }

.svc-index a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.98rem;
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 4px 0;
}

.svc-index a:hover .idx-name { color: var(--brass-dark); }

.svc-index .idx-letter { font-family: var(--font-display); color: var(--brass); min-width: 22px; }

.group-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 60px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.group-head .group-letter {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--brass);
}

.group-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

.group-head .group-note {
  margin-left: auto;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.svc-detail { scroll-margin-top: 120px; }

.svc-detail h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

/* ---------- About page ---------- */

.value-list { list-style: none; margin-top: 8px; }

.value-list li {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
}

.value-list li:last-child { border-bottom: none; }

.value-list .v-marker {
  font-family: var(--font-display);
  color: var(--brass);
  font-size: 1.1rem;
  min-width: 28px;
}

.value-list strong { display: block; margin-bottom: 4px; font-size: 1.06rem; }

.value-list p { color: var(--slate); font-size: 0.97rem; }

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 90px;
  align-items: start;
}

.contact-aside h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 20px;
}

.contact-aside p { color: var(--slate); margin-bottom: 18px; }

.contact-points { list-style: none; margin-top: 32px; }

.contact-points li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--slate);
  display: flex;
  gap: 18px;
}

.contact-points .v-marker { font-family: var(--font-display); color: var(--brass); min-width: 22px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  padding: 52px;
  box-shadow: 0 24px 60px rgba(19, 41, 75, 0.07);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.form-field { display: flex; flex-direction: column; }

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  padding: 14px 16px;
  border: 1px solid rgba(19, 41, 75, 0.26);
  border-radius: 0;
  background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brass);
  outline: none;
  box-shadow: 0 0 0 1px var(--brass);
}

.form-field textarea { resize: vertical; min-height: 160px; }

.form-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--slate);
}

.form-consent input { margin-top: 5px; accent-color: var(--navy); }

.form-consent a { color: var(--navy); }

.form-submit { grid-column: 1 / -1; margin-top: 8px; }

.hidden-field { display: none; }

/* ---------- Legal pages ---------- */

.legal-body { max-width: 820px; }

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  margin: 46px 0 14px;
}

.legal-body h3 { font-size: 1.08rem; font-weight: 600; margin: 28px 0 10px; }

.legal-body p, .legal-body li { color: var(--slate); font-size: 0.98rem; }

.legal-body p { margin-bottom: 14px; }

.legal-body ul { margin: 0 0 16px 22px; }

.legal-body li { margin-bottom: 8px; }

.legal-updated {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 80px 0 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 60px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }

.footer-brand img.badge { height: 44px; }

.footer-brand img.wordmark { height: 15px; }

.footer-about p { font-size: 0.93rem; max-width: 360px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 12px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover { color: var(--brass); }

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-base a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.25s var(--ease); }

.footer-base a:hover { color: var(--brass); }

.footer-legal-links { display: flex; gap: 24px; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 400;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(201, 168, 76, 0.45);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 18px 50px rgba(14, 31, 58, 0.4);
}

.cookie-banner p { font-size: 0.88rem; line-height: 1.6; }

.cookie-banner a { color: var(--brass); }

.cookie-banner .btn { padding: 11px 24px; font-size: 0.82rem; flex-shrink: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .assure-strip { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .act-for { grid-template-columns: 1fr; gap: 48px; }
  .act-intro { position: static; }
}

@media (max-width: 800px) {
  .section { padding: 84px 0; }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    display: none;
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }

  .nav-item { flex-wrap: wrap; gap: 0; }

  .nav-item > a { flex: 1; }

  .sub-toggle { font-size: 0.8rem; padding: 14px 12px; }

  .nav-item.open .sub-toggle { transform: rotate(180deg); }

  .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: hidden;
    display: none;
    width: 100%;
    border: none;
    box-shadow: none;
    padding: 0 0 6px 18px;
    min-width: 0;
  }

  .nav-item:hover .sub-menu,
  .nav-item:focus-within .sub-menu { display: none; visibility: hidden; }

  .nav-item.open .sub-menu { display: block; visibility: visible; transform: none; opacity: 1; }

  .sub-menu a { white-space: normal; padding: 12px 0 !important; font-size: 0.94rem; }

  .site-nav a:not(.nav-cta)::after { display: none; }

  .nav-cta { text-align: center; margin-top: 16px; border-bottom: none !important; }

  .hero { min-height: 72vh; }

  .hero-content { padding: 90px 0 80px; }

  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 44px; }
  .feature-row.flip .feature-media { order: 0; }
  .feature-row + .feature-row { margin-top: 72px; }

  .section-head.split { flex-direction: column; align-items: flex-start; gap: 20px; }

  .svc-index { padding: 34px 28px; }
  .svc-index ol { columns: 1; }

  .group-head { flex-wrap: wrap; }
  .group-head .group-note { margin-left: 0; width: 100%; }

  .stat-row { grid-template-columns: 1fr; gap: 44px; padding-bottom: 60px; margin-bottom: 60px; }

  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 34px 26px; }

  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 16px; left: 16px; right: 16px; bottom: 16px; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-wordmark { height: 16px; }
  .brand-badge { height: 46px; }
  .site-header.scrolled .brand-badge { height: 40px; }
}
