/* ============================================================
   acrepair.nyc — Brand v2 overrides (2026-08-17)
   Loaded AFTER tokens.css/base.css/styles.css.
   Rebrand: navy #0F1B3D + yellow #F4C42B, Archivo Black + Inter.

   This file overrides selected components (header, footer, hero,
   service-grid, area-grid, process, team, faq, cta-band, mobile-cta)
   to match the new brand-book without breaking existing subpages.
   ============================================================ */

/* ---- Global type ---- */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
}
h1, h2, h3, h4, .site-header__logo span,
.section__title, .hero h1, .card__title {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] h4 { color: var(--color-text); }

/* ---- Section utility ---- */
.section { padding: var(--space-9) 0; }
@media (min-width: 768px) { .section { padding: var(--space-10) 0; } }
.section--surface { background: var(--color-surface-alt); }
.section--navy { background: var(--brand-navy); color: rgba(255,255,255,0.85); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.75); }

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-yellow-600);
  padding: var(--space-1) var(--space-3);
  background: var(--brand-yellow-100);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}
.section--navy .section__eyebrow {
  background: rgba(244,196,43,0.15);
  color: var(--brand-yellow);
}

/* ============================================================
   HEADER (v2)
   ============================================================ */
.site-header {
  background: var(--brand-navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: none;
}
.site-header a { color: #fff; }

.site-header__top {
  background: var(--brand-navy-800);
  padding: var(--space-2) 0;
  font-size: var(--text-xs);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.7);
  gap: var(--space-4);
  flex-wrap: wrap;
}
.site-header__top a { color: var(--brand-yellow); font-weight: 600; text-decoration: none; }
@media (min-width: 768px) { .site-header__top { font-size: var(--text-sm); } }

.site-header__main {
  padding: var(--space-3) 0;
}
.site-header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
@media (min-width: 768px) { .site-header__main { padding: var(--space-4) 0; } }

.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}
.site-header__logo img {
  height: 44px;
  width: auto;
  display: block;
}
@media (min-width: 768px) { .site-header__logo img { height: 52px; } }

/* Desktop nav */
.site-header__nav { display: none; }
@media (min-width: 1024px) {
  .site-header__nav { display: block; }
  .site-header__nav ul {
    display: flex; align-items: center; gap: var(--space-5);
    list-style: none; margin: 0; padding: 0;
  }
  .site-header__nav a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: var(--space-2) 0;
    border-bottom: 2px solid transparent;
    transition: border-color var(--dur), color var(--dur);
  }
  .site-header__nav a:hover,
  .site-header__nav a:focus-visible { color: var(--brand-yellow); border-bottom-color: var(--brand-yellow); }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.site-header__cta {
  background: var(--brand-yellow);
  color: var(--brand-navy) !important;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: background var(--dur);
  white-space: nowrap;
  border: none;
}
.site-header__cta:hover,
.site-header__cta:focus-visible { background: var(--brand-yellow-600); }
.site-header__cta svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 520px) {
  .site-header__cta { padding: var(--space-2) var(--space-3); }
  .site-header__cta-number { display: none; }
}

.nav-toggle {
  display: inline-flex;
  padding: var(--space-2);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: #fff;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255,255,255,0.05); }
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile drawer nav (overrides legacy styles.css .site-nav) */
.site-nav {
  display: none !important;
  background: var(--brand-navy-800) !important;
  padding: var(--space-4) 0 !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.site-nav[data-open="true"] { display: block !important; }
.site-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  gap: 0 !important;
}
.site-nav li {
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  margin: 0 !important;
}
.site-nav a {
  display: block !important;
  padding: var(--space-3) var(--space-4) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: var(--text-base) !important;
  border-bottom: 0 !important;
}
.site-nav a:hover, .site-nav a:focus-visible { background: var(--brand-navy-700) !important; color: var(--brand-yellow) !important; }
@media (min-width: 1024px) {
  .site-nav { display: none !important; }
  .site-nav[data-open="true"] { display: none !important; }
}

/* ============================================================
   HERO (v2)
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-800) 100%);
  color: #fff;
  padding: var(--space-9) 0 var(--space-10);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--brand-yellow) 0%, transparent 70%);
  opacity: 0.06;
  pointer-events: none;
}
@media (min-width: 768px) { .hero { padding: var(--space-10) 0; } }

.hero .container { position: relative; }
.hero__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: var(--space-10); }
}

.hero__badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.badge {
  background: rgba(244,196,43,0.14);
  color: var(--brand-yellow);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
}

.hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 1.1;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.015em;
}
.hero h1 .accent { color: var(--brand-yellow); }

.hero__passage,
.hero__lede {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  max-width: 560px;
  margin: 0 0 var(--space-6);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .hero__passage, .hero__lede { font-size: 1.2rem; }
}

.hero .btn-row,
.hero__ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.hero__meta,
.hero__trust {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
  margin: 0;
}
.hero__trust ul {
  display: flex; gap: var(--space-4);
  flex-wrap: wrap; padding: 0; margin: 0;
  list-style: none;
}
.hero__trust li::before { content: "✓ "; color: var(--brand-yellow); font-weight: 900; }
.hero__meta span::before { content: "✓ "; color: var(--brand-yellow); font-weight: 900; }

.hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__media picture, .hero__media img { display: block; width: 100%; height: auto; }

/* ============================================================
   BUTTONS (v2)
   ============================================================ */
.btn, .btn--primary, .btn--outline, .btn--call, .btn--dark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  text-decoration: none !important;
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.02em;
  transition: all var(--dur);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
.btn--primary,
.btn--call {
  background: var(--brand-yellow);
  color: var(--brand-navy) !important;
  border-color: var(--brand-yellow);
}
.btn--primary:hover, .btn--call:hover,
.btn--primary:focus-visible, .btn--call:focus-visible {
  background: var(--brand-yellow-600);
  border-color: var(--brand-yellow-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.3);
}
.btn--outline:hover, .btn--outline:focus-visible {
  border-color: var(--brand-yellow);
  color: var(--brand-yellow) !important;
}
.btn--dark {
  background: var(--brand-navy);
  color: var(--brand-yellow) !important;
  border-color: var(--brand-navy);
}
.btn--dark:hover, .btn--dark:focus-visible {
  background: var(--brand-navy-800);
  border-color: var(--brand-navy-800);
}
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   GUIDE BYLINE (v2)
   Legacy .byline had max-width:68ch + margin:0 → stuck to the
   left edge because HTML doesn't wrap it in .container.
   Center it and apply brand v2 look.
   ============================================================ */
.byline {
  max-width: var(--container-narrow) !important;   /* 780px, matches quick-answer */
  margin: var(--space-6) auto !important;
  padding: var(--space-4) var(--space-5) !important;
  border-left: 4px solid var(--brand-yellow) !important;
  background: var(--color-surface-alt) !important;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0 !important;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.55;
  /* honor .container padding on narrow viewports so the strip
     never touches the viewport edge on mobile */
  box-sizing: border-box;
}
.byline p { margin: 0; }
.byline__author {
  font-weight: 700;
  color: var(--brand-navy) !important;
}
.byline__author a {
  color: var(--brand-navy) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(15,27,61,0.35);
}
.byline__author a:hover,
.byline__author a:focus-visible {
  color: var(--brand-navy) !important;
  text-decoration-color: var(--brand-yellow);
}
.byline__creds,
.byline__dates {
  color: var(--color-text-muted) !important;
  margin-top: 4px !important;
}
.byline__dates { font-size: 0.8125rem; }
@media (max-width: 768px) {
  .byline {
    margin-left: var(--space-4) !important;
    margin-right: var(--space-4) !important;
  }
}

/* ============================================================
   BREADCRUMBS (v2)
   Merged into the navy header-to-hero band.
   ============================================================ */
.breadcrumbs {
  /* full-width navy strip that bridges header and hero */
  background: var(--brand-navy-800);
  color: rgba(255,255,255,0.72) !important;
  font-family: var(--font-body);
  font-size: 0.8125rem;        /* 13px — small but readable */
  line-height: 1.4;
  padding: 0 !important;       /* neutralize legacy padding-block */
  margin: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* .breadcrumbs is a <nav class="breadcrumbs container">, so it IS the container.
   Restore container padding + centering that the strip needs. */
.breadcrumbs.container {
  max-width: none;             /* strip is full-width */
  padding: 0 !important;
}
.breadcrumbs > ol {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.625rem var(--space-4) !important;   /* 10px vertical, aligned with .container */
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 !important;
}
@media (min-width: 768px) {
  .breadcrumbs > ol { padding: 0.75rem var(--space-6) !important; }
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; }
.breadcrumbs li a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-weight: 500;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.breadcrumbs li a:hover,
.breadcrumbs li a:focus-visible {
  color: var(--brand-yellow);
  border-bottom-color: var(--brand-yellow);
  outline: none;
}
.breadcrumbs li[aria-current="page"] {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  /* prevent long page names breaking the row */
  max-width: 60vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Custom chevron separator (›) between items */
.breadcrumbs li + li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0.625rem;
  border-right: 1.5px solid rgba(255,255,255,0.35);
  border-top: 1.5px solid rgba(255,255,255,0.35);
  transform: rotate(45deg);
  vertical-align: middle;
  color: transparent;          /* override legacy content:"/" color */
}
/* Small house icon before "Home" link */
.breadcrumbs li:first-child a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.375rem;
  vertical-align: -2px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5'/><path d='M5 9.5V20a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1V9.5'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5'/><path d='M5 9.5V20a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1V9.5'/></svg>") no-repeat center / contain;
}
/* Remove hero top-radius/gap so breadcrumb strip sits flush against hero */
.breadcrumbs + .hero { padding-top: var(--space-8); }

@media (max-width: 480px) {
  .breadcrumbs > ol { padding: 0.5rem var(--space-4) !important; }
  .breadcrumbs { font-size: 0.75rem; }
  /* hide middle crumbs on very small screens, keep first + current */
  .breadcrumbs li:not(:first-child):not([aria-current="page"]) { display: none; }
  .breadcrumbs li[aria-current="page"]::before {
    /* keep separator before current when middle items are hidden */
    content: "";
  }
}

/* ============================================================
   QUICK ANSWER (v2)
   Reset legacy .quick-answer sizing: the <section> is full-width;
   the yellow accent + card look go on the inner .container-narrow.
   ============================================================ */
.quick-answer {
  /* neutralize legacy styles.css: max-width:780px, border-left, background, padding, radius */
  background: transparent !important;
  border-left: 0 !important;
  padding: var(--space-8) 0 !important;
  border-radius: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}
.quick-answer > .container,
.quick-answer > .container-narrow {
  background: var(--color-surface-alt);
  border-left: 4px solid var(--brand-yellow);
  padding: var(--space-6) var(--space-5);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.quick-answer__q {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--brand-navy);
  margin: 0 0 var(--space-3);
}
.quick-answer__a, .quick-answer__a p {
  font-size: var(--text-base);
  color: var(--color-text);
  margin: 0;
}
.quick-answer__a p + p { margin-top: var(--space-3); }

/* ============================================================
   TRUST BADGES ROW (v2 — 4 icon cards)
   ============================================================ */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (min-width: 640px) { .trust-badges { grid-template-columns: repeat(4, 1fr); } }

.trust-badges li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.trust-badges li svg {
  width: 40px; height: 40px;
  padding: 8px;
  background: var(--brand-yellow-100);
  color: var(--brand-navy);
  border-radius: 50%;
  box-sizing: border-box;
}
.trust-badges li span {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--brand-navy);
  line-height: 1.3;
}
:root[data-theme="dark"] .trust-badges li span { color: var(--color-text); }

.pricing-note {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: center;
}

/* ============================================================
   SERVICES GRID (v2)
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .service-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .service-grid:not(.service-grid--4) { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: all var(--dur);
}
.service-card:hover {
  border-color: var(--brand-yellow);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card__icon {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center; justify-content: center;
  background: var(--brand-navy);
  color: var(--brand-yellow);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin: 0 0 var(--space-2);
  color: var(--brand-navy);
}
.service-card h3 a { text-decoration: none; color: inherit; }
.service-card h3 a:hover { color: var(--brand-navy-700); }
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-navy);
  text-decoration: none;
  border-bottom: 2px solid var(--brand-yellow);
  padding-bottom: 2px;
}
.card__link::after { content: "→"; transition: transform var(--dur); }
.card__link:hover::after { transform: translateX(3px); }
:root[data-theme="dark"] .card__link { color: var(--brand-yellow); }

/* ============================================================
   AREA CARDS (v2)
   ============================================================ */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 768px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }

.area-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur);
}
.area-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.area-card__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}
.area-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.area-card:hover .area-card__media img { transform: scale(1.05); }
.area-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,27,61,0.4), transparent 50%);
  pointer-events: none;
}
.area-card__body { padding: var(--space-5); }
.area-card h3 { font-size: var(--text-xl); margin: 0 0 var(--space-2); font-family: var(--font-display); }
.area-card h3 a { text-decoration: none; color: var(--brand-navy); }
:root[data-theme="dark"] .area-card h3 a { color: var(--color-text); }
.area-card p { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-3); }

/* ============================================================
   PROCESS (v2)
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) { .process { grid-template-columns: repeat(4, 1fr); } }

.process__step { position: relative; padding-top: var(--space-3); }
.process__num {
  display: inline-flex;
  width: 48px; height: 48px;
  background: var(--brand-yellow);
  color: var(--brand-navy);
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  border-radius: 50%;
  margin-bottom: var(--space-3);
  box-shadow: 0 0 0 6px rgba(244,196,43,0.15);
}
.process__step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #fff;
  margin: 0 0 var(--space-2);
}
.process__step p { color: rgba(255,255,255,0.75); font-size: var(--text-sm); margin: 0; }

/* ============================================================
   TEAM (v2)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}
.team-card__photo {
  width: 96px; height: 96px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--brand-yellow);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: var(--text-lg); margin: 0 0 var(--space-1); font-family: var(--font-display); color: var(--brand-navy); }
:root[data-theme="dark"] .team-card h3 { color: var(--color-text); }
.team-card__role { color: var(--color-text-muted); font-size: var(--text-sm); margin: 0 0 var(--space-2); }
.team-card__certs {
  display: flex; gap: var(--space-1); justify-content: center; flex-wrap: wrap;
  font-family: var(--font-display); font-size: var(--text-xs);
  letter-spacing: 0.08em; color: var(--brand-yellow-600);
  margin-top: var(--space-2);
}
.team-card__certs span { background: var(--brand-yellow-100); padding: 2px 8px; border-radius: 4px; }

/* ============================================================
   FAQ (v2)
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-3);
  background: var(--color-surface);
}
.faq__item summary {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--brand-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}
:root[data-theme="dark"] .faq__item summary { color: var(--color-text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: var(--text-2xl);
  color: var(--brand-yellow-600);
  font-weight: 900;
  transition: transform var(--dur);
  line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: var(--space-3) 0 0; color: var(--color-text); font-size: var(--text-base); line-height: 1.6; }

/* ============================================================
   CTA BAND (v2)
   ============================================================ */
.cta-band {
  background: var(--brand-yellow);
  color: var(--brand-navy);
  padding: var(--space-8) 0;
}
.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--brand-navy);
  margin: 0 0 var(--space-2);
}
.cta-band p { color: rgba(15,27,61,0.75); margin: 0; font-weight: 600; }
@media (min-width: 768px) { .cta-band h2 { font-size: var(--text-3xl); } }

/* ============================================================
   FOOTER (v2)
   ============================================================ */
.site-footer {
  background: var(--brand-navy);
  color: rgba(255,255,255,0.7);
}
.site-footer__main { padding: var(--space-9) 0 var(--space-6); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.site-footer__logo { display: inline-block; margin-bottom: var(--space-4); }
.site-footer__logo img { height: 44px; width: auto; display: block; }
.site-footer__desc {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
}
.site-footer__nap {
  font-size: var(--text-sm);
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
}
.site-footer__nap strong { color: #fff; font-weight: 700; }
.site-footer__nap a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer__nap a:hover, .site-footer__nap a:focus-visible { color: var(--brand-yellow); }
.site-footer__emergency { color: var(--brand-yellow); }

.site-footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}
.site-footer__h4--spaced { margin-top: var(--space-5) !important; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: var(--space-2); }
.site-footer ul a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--dur);
}
.site-footer ul a:hover, .site-footer ul a:focus-visible { color: var(--brand-yellow); }

.site-footer__credentials {
  display: flex; gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.cred-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--brand-yellow);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: var(--space-3);
}
.site-footer__bottom-links { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.site-footer__bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.site-footer__bottom a:hover, .site-footer__bottom a:focus-visible { color: var(--brand-yellow); }

/* ============================================================
   MOBILE CTA (v2)
   ============================================================ */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--mobile-cta-height);
  display: flex;
  z-index: 40;
  box-shadow: 0 -4px 12px rgba(15,27,61,0.15);
}
@media (min-width: 768px) { .mobile-cta { display: none; } }
.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--text-sm);
}
.mobile-cta__call {
  background: var(--brand-yellow);
  color: var(--brand-navy);
}
.mobile-cta__quote {
  background: var(--brand-navy);
  color: var(--brand-yellow);
}

/* Add matching space so mobile CTA doesn't cover content */
@media (max-width: 767px) {
  body { padding-bottom: var(--mobile-cta-height); }
}

/* ============================================================
   Utilities
   ============================================================ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-4); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 768px) {
  .container, .container-narrow { padding: 0 var(--space-6); }
}

/* ============================================================
   Skip link
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: var(--brand-navy);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ============================================================
   DARK MODE (OS preference) — override navy-on-navy text
   Mirrors [data-theme="dark"] rules above so users on macOS/iOS
   "Auto" theme also see readable text on dark surfaces.
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) h1,
  :root:not([data-theme="light"]) h2,
  :root:not([data-theme="light"]) h3,
  :root:not([data-theme="light"]) h4 { color: var(--color-text); }

  :root:not([data-theme="light"]) .section__title,
  :root:not([data-theme="light"]) .card__title,
  :root:not([data-theme="light"]) .card h3,
  :root:not([data-theme="light"]) .card h3 a,
  :root:not([data-theme="light"]) .service-card h3,
  :root:not([data-theme="light"]) .service-card h3 a,
  :root:not([data-theme="light"]) .area-card h3,
  :root:not([data-theme="light"]) .area-card h3 a,
  :root:not([data-theme="light"]) .team-card h3,
  :root:not([data-theme="light"]) .faq__item summary,
  :root:not([data-theme="light"]) .neighborhood__title,
  :root:not([data-theme="light"]) .quick-answer__q,
  :root:not([data-theme="light"]) .zip-groups__label { color: var(--color-text); }

  :root:not([data-theme="light"]) .card__link { color: var(--brand-yellow); }
  :root:not([data-theme="light"]) .trust-badges li span { color: var(--color-text); }
  :root:not([data-theme="light"]) .byline__author,
  :root:not([data-theme="light"]) .byline__author a { color: var(--color-text) !important; }
  :root:not([data-theme="light"]) .byline__author a { text-decoration-color: rgba(243,245,250,0.35); }

  /* Section eyebrows: dim the yellow-100 chip on dark surfaces */
  :root:not([data-theme="light"]) .section__eyebrow {
    background: rgba(244,196,43,0.15);
    color: var(--brand-yellow);
  }

  /* Surface-alt cards: keep contrast on dark surface */
  :root:not([data-theme="light"]) .card,
  :root:not([data-theme="light"]) .service-card,
  :root:not([data-theme="light"]) .area-card,
  :root:not([data-theme="light"]) .team-card {
    background: var(--color-surface);
    border-color: var(--color-border);
  }

  /* Byline strip readability on dark */
  :root:not([data-theme="light"]) .byline {
    background: var(--color-surface-alt);
  }

  /* Blocks that keep a light/yellow background across both themes
     (emergency-banner, cta-band, section eyebrow chips, team-card cert
     chips, service-tag): lock inner text to navy so it stays readable
     in dark mode. Without this, the generic h1-h4 override above turns
     the text light on a light background. */
  :root:not([data-theme="light"]) .emergency-banner,
  :root:not([data-theme="light"]) .emergency-banner h2,
  :root:not([data-theme="light"]) .emergency-banner h3,
  :root:not([data-theme="light"]) .emergency-banner p,
  :root:not([data-theme="light"]) .emergency-banner li,
  :root:not([data-theme="light"]) .emergency-banner strong,
  :root:not([data-theme="light"]) .cta-band h2,
  :root:not([data-theme="light"]) .cta-band h3,
  :root:not([data-theme="light"]) .cta-band p,
  :root:not([data-theme="light"]) .cta-band strong,
  :root:not([data-theme="light"]) .team-card__certs span,
  :root:not([data-theme="light"]) .service-tag {
    color: var(--brand-navy) !important;
  }

  /* Body copy link color: switch from navy to yellow so links contrast
     against dark backgrounds. Excludes header/footer/nav/buttons that
     have their own explicit color rules. */
  :root:not([data-theme="light"]) main a:not(.btn):not(.card__link):not([class]),
  :root:not([data-theme="light"]) .checklist a,
  :root:not([data-theme="light"]) .contact-block a,
  :root:not([data-theme="light"]) .neighborhood a,
  :root:not([data-theme="light"]) p a:not(.btn):not([class]) {
    color: var(--brand-yellow);
    text-decoration-color: rgba(244,196,43,0.35);
  }
  :root:not([data-theme="light"]) main a:not(.btn):not(.card__link):not([class]):hover,
  :root:not([data-theme="light"]) p a:not(.btn):not([class]):hover {
    color: var(--brand-yellow-600);
  }
}
