/* =====================================================================
   KENNEWICK GARAGE DOOR PROS — MAIN STYLESHEET
   ---------------------------------------------------------------------
   One shared stylesheet for every page on the site.
   Edit a value here once and it changes everywhere.

   HOW THIS FILE IS ORGANIZED (search for the number to jump there):
     01. Design tokens (colors, fonts, spacing) — change brand colors here
     02. Reset & base elements
     03. Typography (headings, paragraphs, links)
     04. Layout helpers (page width, sections, grids)
     05. Buttons
     06. Header — top phone bar
     07. Header — logo, navigation menu, call button
     08. Breadcrumbs
     09. Hero section (top of every page)
     10. Trust badges (licensed/insured, years, rating)
     11. Estimate / call-back form
     12. Service area strip
     13. Services grid (cards linking to service pages)
     14. Why choose us
     15. Testimonials / reviews
     16. Process / how it works (3 steps)
     17. Emergency / urgency banner
     18. FAQ accordion
     19. Final call-to-action band
     20. Footer
     21. Mobile sticky call bar
     22. Service page parts (sidebar, symptoms, pricing note, related links)
     23. Location page parts (zip codes, neighborhoods)
     24. About & contact page parts (team, map, hours)
     25. 404 page
     26. Content blocks (answer box, callouts, checklists, tables)
     27. Small utilities
     28. Print styles
   ===================================================================== */


/* =====================================================================
   01. DESIGN TOKENS
   Brand colors, fonts and spacing used across the whole site.
   To change a color everywhere, change it only here.
   ===================================================================== */
:root {
  /* Navy — main brand color (header text, hero, footer) */
  --navy-950: #07131f;   /* darkest: footer, mobile call bar */
  --navy-900: #0b1d30;   /* hero background, headings */
  --navy-800: #10283f;
  --navy-700: #173a5c;   /* hover states */
  --navy-100: #e6edf5;   /* light tint for pills and table heads */

  /* Amber — call-to-action color. Used ONLY for call/estimate buttons
     and small accents so the eye goes straight to the phone number. */
  --amber-400: #ffb020;
  --amber-300: #ffc757;  /* button hover */
  --amber-50:  #fff6e3;  /* light background for answer boxes/callouts */
  --amber-ink: #8a5200;  /* readable amber for small text on white */

  /* Text & surfaces */
  --blue-700: #0b4f95;   /* text links */
  --ink:      #16202c;   /* main body text */
  --muted:    #4a5667;   /* secondary text */
  --line:     #d6dee8;   /* borders and dividers */
  --field:    #7b8a9c;   /* form field borders */
  --bg-alt:   #f3f6f9;   /* alternate section background */
  --white:    #ffffff;
  --ok:       #156b3f;   /* success / checkmarks */
  --err:      #b42318;   /* errors / warnings */
  --star:     #f5a400;   /* review stars */

  /* Fonts — loaded from Google Fonts in each page's <head>.
     Headings: Plus Jakarta Sans. Body: Source Sans 3. */
  --font-head: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;

  /* Shape & spacing */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 29, 48, .06), 0 8px 24px rgba(11, 29, 48, .08);
  --wrap: 1180px;        /* maximum content width */
  --gutter: 20px;        /* side padding on small screens */
  --section-y: clamp(56px, 8vw, 96px);  /* vertical space between sections */
  --header-h: 112px;     /* used so anchor links don't hide under the header */
}


/* =====================================================================
   02. RESET & BASE ELEMENTS
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;     /* 18px — easy to read on phones */
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; }
img { display: block; }

/* Visible keyboard focus everywhere (accessibility) */
:focus-visible {
  outline: 3px solid var(--blue-700);
  outline-offset: 2px;
  border-radius: 4px;
}
/* On dark backgrounds use an amber focus ring so it stays visible */
.hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.mobile-call-bar :focus-visible,
.topbar :focus-visible,
.services-grid .card-feature :focus-visible {
  outline-color: var(--amber-400);
}

/* "Skip to main content" link for keyboard and screen-reader users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { left: 12px; }

/* Text only screen readers can hear */
.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;
}

/* Hidden icon library at the top of each page */
.sprite { display: none; }

/* Line icons (phone, check, arrows, service icons) */
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.18em;
}


/* =====================================================================
   03. TYPOGRAPHY
   ===================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  color: var(--navy-900);
  letter-spacing: -.018em;
  font-weight: 800;
}
h1 { font-size: clamp(2.05rem, 5.2vw, 3.3rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 .55em; }
h3 { font-size: 1.22rem; font-weight: 700; margin: 1.4em 0 .4em; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 700; margin: 1.2em 0 .35em; }

p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }

a {
  color: var(--blue-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--navy-900); text-decoration-thickness: 2px; }

/* Small uppercase label above headings */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin: 0 0 12px;
}

/* Larger intro paragraph */
.lede { font-size: 1.2rem; line-height: 1.6; }


/* =====================================================================
   04. LAYOUT HELPERS
   ===================================================================== */
/* Centers content and limits its width */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Standard section spacing — generous so the page "breathes" */
.section { padding: var(--section-y) 0; }
.section-tight { padding: calc(var(--section-y) * .6) 0; }
.section-alt { background: var(--bg-alt); }

/* Heading + intro block at the top of a section */
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.15rem; margin-bottom: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--amber-ink); font-size: .78rem; margin-bottom: 12px; }

/* Two columns on wide screens, stacked on phones */
.two-col { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
}

/* Readable text column */
.prose { max-width: 760px; }


/* =====================================================================
   05. BUTTONS
   .btn-call  = amber, used for every "Call" button
   .btn-ghost = outlined white, for secondary buttons on dark backgrounds
   .btn-navy  = solid navy, for secondary buttons on light backgrounds
   .btn-outline = outlined navy, on light backgrounds
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 52px;
  padding: .75em 1.35em;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-call { background: var(--amber-400); color: var(--navy-950); border-color: var(--amber-400); }
.btn-call:hover { background: var(--amber-300); border-color: var(--amber-300); color: var(--navy-950); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-navy { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn-navy:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.btn-outline { background: #fff; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-100); color: var(--navy-900); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* Group of buttons side by side */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Small reassurance text placed right under call buttons */
.cta-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  font-size: .95rem;
  font-weight: 600;
}
.cta-micro li { display: flex; align-items: center; gap: 6px; margin: 0; }
.cta-micro .icon { color: var(--ok); }


/* =====================================================================
   06. HEADER — TOP PHONE BAR
   Thin dark strip at the very top. Keeps the phone number visible
   in the header on every screen size, including small phones.
   ===================================================================== */
.topbar {
  background: var(--navy-950);
  color: #c9d6e4;
  font-size: .92rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
}
.topbar-note { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar-note .tb-long { display: none; }
@media (min-width: 760px) {
  .topbar-note .tb-long { display: inline; }
  .topbar-note .tb-short { display: none; }
}
/* Small green "open now" dot */
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #35c47a;
  box-shadow: 0 0 0 3px rgba(53, 196, 122, .22);
  flex: none;
}
.topbar-phone {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-phone:hover { color: var(--amber-300); text-decoration: underline; }
.topbar-phone .icon { color: var(--amber-400); }


/* =====================================================================
   07. HEADER — LOGO, NAVIGATION MENU, CALL BUTTON
   On large screens the header sticks to the top while scrolling.
   On phones the menu opens with the "Menu" button.
   ===================================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 50;
}
@media (min-width: 960px) {
  .site-header { position: sticky; top: 0; }
  html { scroll-padding-top: var(--header-h); }
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Logo + business name */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-900);
  margin-right: auto;
}
.brand:hover { color: var(--navy-900); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-top {
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.brand-name {
  font-family: var(--font-head);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.015em;
}

/* "Menu" button — only shown on phones/tablets */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy-900);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
}

/* Main navigation */
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a,
.nav summary {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .96rem;
  color: var(--navy-900);
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  list-style: none;
}
.nav summary::-webkit-details-marker { display: none; }
/* Small down-arrow next to "Services" and "Service Areas" */
.nav summary::after {
  content: "";
  display: inline-block;
  width: .42em; height: .42em;
  margin-left: .5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}
.nav details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.nav > a:hover, .nav summary:hover { background: var(--bg-alt); }
/* Current page highlight (set automatically by main.js) */
.nav > a[aria-current="page"],
.nav details.is-current > summary { color: var(--blue-700); }

.nav details { position: relative; }
.nav .menu { display: grid; gap: 2px; }
.nav .menu a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.nav .menu a:hover { background: var(--bg-alt); color: var(--navy-900); }
.nav .menu a[aria-current="page"] { background: var(--navy-100); color: var(--navy-900); font-weight: 700; }
.nav .menu .menu-all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 11px; color: var(--blue-700); font-weight: 700; }

.header-call { min-height: 48px; padding: .55em 1.05em; }

/* ---- Desktop menu (960px and wider) ---- */
@media (min-width: 960px) {
  .nav { order: 2; }
  .header-call { order: 3; margin-left: 6px; }
  .nav .menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 340px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
  }
  .nav .menu a { white-space: nowrap; }
  .nav .menu-services { grid-template-columns: 1fr 1fr; min-width: 600px; }
}

/* ---- Phone/tablet menu (below 960px) ---- */
@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .header-call { order: 2; }
  .nav {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 12px;
    border-top: 1px solid var(--line);
  }
  .nav > a, .nav summary { padding: 13px 6px; font-size: 1.02rem; }
  .nav .menu { padding: 0 0 8px 10px; }
  /* Menu is hidden until the "Menu" button is tapped (only when JS works) */
  .js .nav { display: none; }
  .js .nav-open .nav { display: flex; }
}

/* ---- Small phones ---- */
@media (max-width: 599px) {
  .header-call, .nav-toggle { width: 48px; min-width: 48px; padding: 0; justify-content: center; }
  .header-call .hc-label, .nav-toggle span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
  .header-call .icon, .nav-toggle .icon { width: 1.35em; height: 1.35em; margin: 0; }
}
@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .brand { gap: 7px; }
  .brand svg { width: 36px; height: 36px; }
  .brand-name { font-size: 1rem; }
  .brand-top { font-size: .6rem; }
  .header-inner { gap: 8px; }
  .header-call, .nav-toggle { width: 44px; min-width: 44px; min-height: 44px; }
  .topbar { font-size: .86rem; }
}


/* =====================================================================
   08. BREADCRUMBS
   "Home / Services / Spring Repair" trail at the top of inner pages.
   ===================================================================== */
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0 0 20px;
  font-size: .95rem;
  color: #b8c7d8;
}
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: #8aa0b8; }
.breadcrumbs a { color: #dbe6f2; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current="page"] { color: #fff; font-weight: 600; }


/* =====================================================================
   09. HERO SECTION
   Solid navy background — no background image, so the page loads fast.
   Left: headline + call buttons. Right: estimate form.
   ===================================================================== */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #dfe8f2;
  padding: 36px 0 56px;
}
@media (min-width: 960px) {
  .hero { padding: 56px 0 80px; }
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--amber-400); }
.hero .lede { color: #dfe8f2; }
.hero .lede strong { color: #fff; }
.hero a:not(.btn) { color: #fff; }
.hero .cta-micro { color: #dfe8f2; }
.hero .cta-micro .icon { color: #5fd69a; }

.hero-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: 56px; }
}
/* Hero without a form (used on some inner pages) */
.hero-solo .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-solo .hero-copy { max-width: 860px; }

.hero-cta { margin: 26px 0 0; }
@media (max-width: 479px) {
  .hero .btn-row .btn, .cta-band .btn-row .btn, .steps-cta .btn { flex: 1 1 100%; }
}


/* =====================================================================
   10. TRUST BADGES
   Row of proof points: licensed & insured, years in business, rating.
   ===================================================================== */
.trust-badges {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
@media (min-width: 340px) {
  .trust-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .trust-badges li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .trust-badges .badge-icon { width: 34px; height: 34px; }
  .trust-badges strong { font-size: .92rem; }
}
.trust-badges li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  line-height: 1.25;
}
.trust-badges .badge-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  background: rgba(255, 176, 32, .14);
  color: var(--amber-400);
}
.trust-badges .badge-icon .icon { width: 22px; height: 22px; }
.trust-badges strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: .98rem;
}
.trust-badges span.badge-sub { display: block; font-size: .86rem; color: #b8c7d8; overflow-wrap: anywhere; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }

/* Light version of trust badges (for white backgrounds) */
.trust-badges.on-light li { border-color: var(--line); background: #fff; }
.trust-badges.on-light strong { color: var(--navy-900); }
.trust-badges.on-light span.badge-sub { color: var(--muted); }
.trust-badges.on-light .badge-icon { background: var(--amber-50); color: var(--amber-ink); }


/* =====================================================================
   11. ESTIMATE / CALL-BACK FORM
   The white card with the form. Form needs to be connected to a
   service (Formspree / Cloudflare Worker) — see note in the HTML.
   ===================================================================== */
.lead-card {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}
@media (min-width: 600px) { .lead-card { padding: 28px 28px; } }
.lead-card h2 { font-size: 1.45rem; margin: 0 0 .25em; }
.lead-card .form-intro { font-size: 1rem; color: var(--muted); margin: 0 0 18px; }
.lead-card a { color: var(--blue-700); }
.hero .lead-card a:not(.btn) { color: var(--blue-700); }

.field { display: grid; gap: 5px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .98rem; color: var(--navy-900); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1.05rem;   /* 16px+ prevents iPhone zooming in on tap */
  width: 100%;
  padding: 10px 12px;
  min-height: 50px;
  border: 1.5px solid var(--field);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 0; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-700);
  outline: 3px solid rgba(11, 79, 149, .25);
  outline-offset: 0;
}
.form-row { display: grid; gap: 0 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 480px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Hidden spam trap — real visitors never see or fill this */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-consent { font-size: .82rem; line-height: 1.45; color: var(--muted); margin: 12px 0 0; }
.form-call-alt { text-align: center; font-size: .95rem; color: var(--muted); margin: 14px 0 0; }
.form-call-alt a { font-weight: 700; }
.form-status { margin-top: 12px; font-weight: 600; font-size: 1rem; line-height: 1.45; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); background: #eaf6ef; border: 1px solid #b7dcc6; padding: 10px 12px; border-radius: 10px; }
.form-status.err { color: var(--err); background: #fdeeec; border: 1px solid #f1c0ba; padding: 10px 12px; border-radius: 10px; }


/* =====================================================================
   12. SERVICE AREA STRIP
   Band listing the cities served, right under the hero.
   ===================================================================== */
.service-area-strip {
  background: var(--navy-100);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.area-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  text-align: center;
}
.area-strip-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy-900);
  font-size: .98rem;
}
.area-strip-label .icon { color: var(--amber-ink); }
.area-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.area-links li { margin: 0; }
.area-links a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy-900);
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
}
.area-links a:hover { border-color: var(--navy-900); }
.area-links span { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--navy-900); color: #fff; font-weight: 700; font-size: .98rem; }
.area-strip-note { flex-basis: 100%; margin: 0; font-size: .95rem; color: var(--muted); }


/* =====================================================================
   13. SERVICES GRID
   Cards linking to each service page. The first card ("feature") is
   the main Garage Door Repair page and is styled larger and navy.
   ===================================================================== */
.service-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: #b5c3d3; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 .4em; font-size: 1.15rem; }
.card h3 a { color: var(--navy-900); text-decoration: none; }
/* Makes the whole card clickable through the heading link */
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card h3 a:hover { text-decoration: underline; }
.card p { color: var(--muted); font-size: 1rem; margin-bottom: .9em; }
.card .more {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-900);
  margin-bottom: 14px;
}
.card-icon .icon { width: 26px; height: 26px; stroke-width: 1.8; }

/* Featured card (main Garage Door Repair page) */
.card-feature {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #dfe8f2;
}
.card-feature:hover { border-color: var(--navy-700); }
.card-feature h3 { font-size: 1.4rem; }
.card-feature h3 a { color: #fff; }
.card-feature p { color: #c9d6e4; font-size: 1.05rem; }
.card-feature .more { color: var(--amber-400); }
.card-feature .card-icon { background: rgba(255, 176, 32, .14); color: var(--amber-400); }
@media (min-width: 640px) { .card-feature { grid-column: span 2; } }
/* Phones: compact cards (icon beside text) so 11 services don't make the page too long */
@media (max-width: 639px) {
  .service-cards { gap: 10px; }
  .service-cards .card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .service-cards .card-icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .service-cards .card h3 { font-size: 1.06rem; margin-bottom: .25em; }
  .service-cards .card p { font-size: .95rem; margin: 0; }
  .service-cards .card .more { display: none; }
  .service-cards .card-feature h3 { font-size: 1.15rem; }
}


/* =====================================================================
   14. WHY CHOOSE US
   Specific reasons with real detail — not a generic icon row.
   ===================================================================== */
.why-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) {
  .why-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; }
  .why-intro { position: sticky; top: calc(var(--header-h) + 24px); }
}
.why-list { list-style: none; padding: 0; margin: 0; counter-reset: why; }
.why-list li {
  counter-increment: why;
  position: relative;
  padding: 0 0 26px 64px;
  margin: 0 0 26px;
  border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.why-list li::before {
  content: counter(why, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--amber-ink);
}
.why-list h3 { margin: 0 0 .35em; font-size: 1.25rem; }
.why-list p { margin: 0; color: var(--muted); }

/* Key numbers (response time, warranty, etc.) */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
}
.stat span { font-size: .95rem; color: var(--muted); }

/* SVG illustration box (stands in until real photos are added) */
.illustration {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-100);
  border: 1px solid var(--line);
}
.illustration svg { display: block; width: 100%; height: auto; }


/* =====================================================================
   15. TESTIMONIALS / REVIEWS
   ===================================================================== */
.review-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.review {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.review .stars { margin-bottom: 12px; }
.review .stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 18px; font-size: 1.05rem; }
.review blockquote p { margin: 0; }
.review figcaption {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  color: var(--muted);
}
.review figcaption strong { display: block; color: var(--navy-900); font-size: 1rem; }
/* Promise cards (shown in place of reviews until real Google reviews exist) */
/* "Sample review" label for staging-only example reviews (remove when real reviews are added) */
.sample-tag { align-self: flex-start; margin-bottom: 10px; padding: 2px 10px; border-radius: 999px; background: var(--amber-50); border: 1px solid var(--amber-400); color: var(--amber-ink); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sample-note { font-size: .95rem !important; color: var(--amber-ink) !important; font-weight: 600; }
.promise .card-icon { margin-bottom: 14px; }
.promise h3 { margin: 0 0 .4em; font-size: 1.15rem; }
.promise p { margin: 0; color: var(--muted); font-size: 1rem; }
.review-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--navy-100);
  color: var(--navy-900);
  font-size: .82rem;
  font-weight: 700;
}
.reviews-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}
.rating-summary { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 600; }
.rating-summary .big {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
}


/* =====================================================================
   16. PROCESS / HOW IT WORKS (3 steps)
   ===================================================================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 860px) {
  .steps-horizontal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--amber-400);
  color: var(--navy-950);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
}
.steps h3 { margin: 0 0 .35em; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); }
.steps-cta { margin-top: 32px; justify-content: flex-end; }
/* Compact version (side-by-side number and text) for service pages */
.steps-compact li { padding: 18px 20px 18px 74px; }
.steps-compact li::before { position: absolute; left: 18px; top: 18px; margin: 0; }


/* =====================================================================
   17. EMERGENCY / URGENCY BANNER
   Amber band announcing 24/7 availability.
   ===================================================================== */
.urgency-banner {
  background: var(--amber-400);
  color: var(--navy-950);
  padding: 36px 0;
}
.urgency-inner {
  display: grid;
  gap: 18px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 860px) { .urgency-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; } }
.urgency-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--amber-400);
}
.urgency-icon .icon { width: 32px; height: 32px; }
.urgency-banner h2 { color: var(--navy-950); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 .2em; }
.urgency-banner p { margin: 0; font-size: 1.08rem; }
.urgency-banner .btn-navy { white-space: nowrap; }
.urgency-banner a:not(.btn) { color: inherit; font-weight: 700; }


/* =====================================================================
   18. FAQ ACCORDION
   Questions open/close on click. Works without JavaScript.
   ===================================================================== */
.faq-layout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.faq-aside .section-head { margin-bottom: 20px; }
.faq-ask {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg-alt);
}
.faq-ask h3 { margin: 0 0 .3em; font-size: 1.1rem; }
.faq-ask p { color: var(--muted); font-size: 1rem; margin-bottom: 14px; }
.faq-list { max-width: 860px; }
.faq {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0 0 10px;
  background: #fff;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-700);
  line-height: 1;
}
.faq[open] summary::after { content: "\2212"; }
.faq summary h3 { display: inline; margin: 0; font-size: 1.1rem; line-height: 1.4; }
.faq-a { padding: 0 20px 18px; }
.faq-a > :last-child { margin-bottom: 0; }
.faq-more { margin-top: 20px; color: var(--muted); }


/* =====================================================================
   19. FINAL CALL-TO-ACTION BAND
   Last navy band before the footer. Solid color, no background lines.
   ===================================================================== */
.cta-band {
  background: var(--navy-900);
  color: #dbe6f2;
  padding: clamp(48px, 7vw, 80px) 0;
}
.cta-inner {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) { .cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.12rem; }
.cta-band a:not(.btn) { color: #fff; }
.cta-band .cta-micro { color: #dbe6f2; }
.cta-band .cta-micro .icon { color: #5fd69a; }


/* =====================================================================
   20. FOOTER
   ===================================================================== */
.site-footer {
  background: var(--navy-950);
  color: #c3d0de;
  padding: 56px 0 0;
  font-size: 1rem;
}
.site-footer a { color: #e8eff7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1.3fr .9fr .8fr; } }
.footer-h {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .02em;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-top { color: var(--amber-400); }
.footer-brand p { margin-bottom: 14px; }
.footer-nap { font-style: normal; line-height: 1.7; margin-bottom: 12px; }
.footer-nap strong { color: #fff; }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff !important;
}
.footer-phone .icon { color: var(--amber-400); }
.footer-hours { font-size: .95rem; }

/* Social media icons */
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links li { margin: 0; }
.social-links a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #e8eff7;
}
.social-links a:hover { border-color: var(--amber-400); color: var(--amber-400); }
.social-links .icon { width: 20px; height: 20px; }
/* Brand-colored social icons (each network's own color, white logo) */
.social-links .icon-brand { fill: #fff; stroke: none; }
.social-links a[class^="social-"] { border: 0; color: #fff; transition: transform .15s ease, filter .15s ease; }
.social-links a[class^="social-"]:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }
.social-facebook { background: #0866ff; }
.social-instagram { background: #ff0069; }
.social-linkedin { background: #0a66c2; }
.social-pinterest { background: #bd081c; }
.social-x { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }

/* Footer map (every page). Hidden on the Contact page, which already shows a large map. */
.footer-map { margin-top: 40px; }
.footer-map .map-embed { aspect-ratio: auto; height: 260px; border-color: rgba(255, 255, 255, .14); background: var(--navy-800); }
body:has(.map-section) .footer-map { display: none; }

.footer-legal {
  margin-top: 44px;
  padding-bottom: 30px;
  font-size: .9rem;
  color: #a9b8c9;
}
.footer-legal::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, .12);
  margin-bottom: 22px;
}
.footer-legal p { margin: 0 0 10px; }
.footer-legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }


/* =====================================================================
   21. MOBILE STICKY CALL BAR
   Fixed tap-to-call button at the bottom of the screen on phones and
   tablets. Hidden on desktop (the header already shows the number).
   ===================================================================== */
.mobile-call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(7, 19, 31, .97);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .22);
  transition: transform .2s ease;
}
.mobile-call-bar .btn {
  width: 100%;
  min-height: 54px;
  font-size: 1.08rem;
  flex-direction: column;
  gap: 0;
  line-height: 1.15;
}
.mobile-call-bar .bar-main { display: inline-flex; align-items: center; gap: 8px; }
.mobile-call-bar .bar-sub { font-family: var(--font-body); font-weight: 600; font-size: .8rem; }
/* Slides away while someone is typing in a form (set by main.js) */
.mobile-call-bar.is-hidden { transform: translateY(110%); }
@media (max-width: 959px) { body { padding-bottom: 84px; } }
@media (min-width: 960px) { .mobile-call-bar { display: none; } }


/* =====================================================================
   22. SERVICE PAGE PARTS
   Main column + sidebar layout, symptom cards, pricing note,
   related-services links.
   ===================================================================== */
.page-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
@media (min-width: 1024px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
}
.article > section { margin-bottom: 3.2em; }
.article > section:last-child { margin-bottom: 0; }

/* Sidebar */
.sidebar { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1024px) { .sidebar-sticky { position: sticky; top: calc(var(--header-h) + 16px); } }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.side-card h2 { font-size: 1.12rem; margin: 0 0 .6em; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { margin: 0; border-top: 1px solid var(--line); }
.side-card li:first-child { border-top: 0; }
.side-card li a { display: block; padding: 9px 2px; text-decoration: none; font-weight: 600; font-size: 1rem; }
.side-card li a[aria-current="page"] { color: var(--navy-900); font-weight: 800; }
.side-call { background: var(--navy-900); color: #dbe6f2; border-color: var(--navy-900); }
.side-call h2 { color: #fff; }
.side-call p { font-size: 1rem; }
.side-call .small { font-size: .88rem; color: #b8c7d8; margin: 12px 0 0; }

/* "Signs you need this service" symptom cards */
.symptom-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 8px;
  margin-bottom: 24px;
}
.symptom {
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber-400);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  background: #fff;
}
.symptom h3 { margin: 0 0 .3em; font-size: 1.1rem; }
.symptom p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Pricing transparency note */
.pricing-note {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-alt);
}
@media (min-width: 700px) { .pricing-note { grid-template-columns: auto minmax(0, 1fr); gap: 20px; } }
.article > .pricing-note { margin-bottom: 24px; }
/* Phones/tablets: keep only the call box from the sidebar (the footer already lists every page) */
@media (max-width: 1023px) { .sidebar nav.side-card { display: none; } }
.pricing-note .pn-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--navy-900); color: var(--amber-400);
}
.pricing-note .pn-icon .icon { width: 26px; height: 26px; }
.pricing-note h2, .pricing-note h3 { margin: 0 0 .35em; font-size: 1.3rem; }
.pricing-note p:last-child { margin-bottom: 0; }

/* Related services & locations links */
.related-links .link-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-links .link-grid li { margin: 0; }
.related-links .link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
}
.related-links .link-grid a:hover { border-color: var(--navy-900); }
.related-links .link-grid .icon { color: var(--blue-700); }

/* "We serve Kennewick + nearby cities" line */
.location-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--navy-100);
  font-weight: 600;
  color: var(--navy-900);
}
.location-line .icon { color: var(--amber-ink); margin-top: .25em; }


/* =====================================================================
   23. LOCATION PAGE PARTS
   ===================================================================== */
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; }
.pill-list li {
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--navy-100);
  color: var(--navy-900);
  font-weight: 600;
  font-size: .98rem;
}
.zip-list li { font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; }
/* Links inside pill lists ("Also available in ...") */
.pill-links li { padding: 0; background: #fff; border: 1px solid var(--line); }
.pill-links a { display: block; padding: 6px 14px; color: var(--navy-900); text-decoration: none; }
.pill-links a:hover { text-decoration: underline; }
.also-label { margin: 28px 0 10px; font-weight: 700; color: var(--navy-900); }
/* "At a glance" fact table on location pages */
.glance { background: #fff; }
.glance caption { caption-side: top; text-align: left; font-family: var(--font-head); font-weight: 800; color: var(--navy-900); font-size: 1.1rem; padding: 16px 14px 6px; }
.glance tbody th { width: 38%; white-space: normal; }
/* City area map on location pages */
.area-map { aspect-ratio: 16 / 10; margin-bottom: 8px; background: #fff; }
/* Single-column link list (nearby cities) */
.related-links .link-grid-stack { grid-template-columns: minmax(0, 1fr); }
.why-intro .btn-row { margin-top: 20px; }
.area-card h3 a { text-decoration: none; color: var(--navy-900); }


/* =====================================================================
   24. ABOUT & CONTACT PAGE PARTS
   ===================================================================== */
.team-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.team-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.team-photo { aspect-ratio: 4 / 3; background: var(--navy-100); display: grid; place-items: center; color: var(--navy-700); }
.team-photo .icon { width: 48px; height: 48px; stroke-width: 1.4; }
.team-card .team-body { padding: 16px 18px; }
.team-card h3 { margin: 0 0 .15em; font-size: 1.1rem; }
.team-card p { margin: 0; color: var(--muted); font-size: .98rem; }

.nap-block { font-style: normal; line-height: 1.75; }
.nap-block strong { color: var(--navy-900); }

.map-embed {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-100);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hours-table th { width: 50%; }
.contact-grid { align-items: start; }
.contact-details { display: grid; gap: 20px; }
.contact-details .table-wrap { margin: 0; }
.contact-call { margin-top: 14px; }
.contact-section .lead-card { box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wide { aspect-ratio: 16 / 7; }
@media (max-width: 699px) { .map-wide { aspect-ratio: 4 / 3; } }
.cred-badges { margin-top: 0; }
@media (min-width: 960px) { .cred-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team-section .team-grid { grid-template-columns: minmax(0, 360px); }
/* Short hero (privacy policy) */
.hero-compact { padding: 36px 0 44px; }
.hero-compact .lede { margin-bottom: 0; }


/* =====================================================================
   25. 404 PAGE
   ===================================================================== */
.error-page { text-align: center; }
.error-code {
  font-family: var(--font-head);
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--amber-400);
  margin: 0 0 .1em;
}
.error-page .btn-row { justify-content: center; }
.error-hero .lede { max-width: 640px; margin-left: auto; margin-right: auto; }
.error-hero h1 { color: #fff; }


/* =====================================================================
   26. CONTENT BLOCKS
   Reusable pieces inside text: answer box, callout, checklist, table.
   ===================================================================== */
/* Answer-first box — short direct answer at the start of a section */
.lead-answer {
  font-size: 1.15rem;
  border-left: 4px solid var(--amber-400);
  background: var(--amber-50);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  color: var(--ink);
}

/* Callout box for safety notes or important info */
.callout {
  border-left: 4px solid var(--amber-400);
  background: var(--amber-50);
  padding: 18px 20px;
  border-radius: 0 10px 10px 0;
  margin: 0 0 1.2em;
}
.callout.warn { border-left-color: var(--err); background: #fdf1ef; }
.callout h3 { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }

/* Green-check list */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.9em; margin-bottom: .6em; }
.checklist li::before {
  content: "";
  position: absolute;
  left: .2em; top: .5em;
  width: .95em; height: .5em;
  border-left: 3px solid var(--ok);
  border-bottom: 3px solid var(--ok);
  transform: rotate(-45deg);
}

/* Tables (scroll sideways on phones) */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.2em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
table { border-collapse: collapse; width: 100%; font-size: 1rem; margin: 0; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy-100); color: var(--navy-900); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--navy-900); }


/* =====================================================================
   27. SMALL UTILITIES
   ===================================================================== */
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }


/* =====================================================================
   28. PRINT STYLES
   ===================================================================== */
@media print {
  .topbar, .site-header nav, .nav-toggle, .mobile-call-bar, .lead-card, .cta-band, .urgency-banner, .site-footer .social-links { display: none !important; }
  .hero, .cta-band { background: none; color: #000; }
  .hero h1 { color: #000; }
  body { padding: 0; }
}
