/* =============================================================
   ERE Website — styles.css
   Hand-rolled design system. No frameworks.
   Mobile-first. WCAG 2.1 AA target.
   ============================================================= */


/* -------------------------------------------------------------
   1. Design tokens (CSS custom properties)
   ------------------------------------------------------------- */

:root {
  /* Color — deep navy authority + warm earth credibility + green energy accent.
     Documented in DECISIONS.md (W-006). Contrast pairs verified at AA. */
  --c-navy-900: #0b2545;       /* primary brand, headings on light */
  --c-navy-800: #13315c;       /* nav, footer */
  --c-navy-700: #1d3f73;       /* hovers */
  --c-navy-50:  #eef2f8;       /* tinted surface */

  --c-earth-700: #6b4f2c;      /* warm accent (rare) */
  --c-earth-100: #f5efe6;      /* warm surface */

  --c-green-700: #1f7a3a;      /* energy / CTA — passes AA on white */
  --c-green-600: #258a44;
  --c-green-500: #2da14f;
  --c-green-50:  #e8f5ec;

  --c-ink:      #15202b;       /* body text */
  --c-ink-muted:#475569;       /* secondary text */
  --c-line:     #d6dee8;       /* borders, hairlines */
  --c-bg:       #ffffff;
  --c-bg-soft:  #f7f9fc;
  --c-warn:     #b45309;
  --c-danger:   #b91c1c;

  --c-focus:    #2563eb;       /* focus ring */

  /* Typography — system font stack, no web fonts in v1 (perf budget). */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Type scale — 1.25 modular ratio, base 1rem = 16px */
  --fs-xs:  0.8rem;     /* 12.8 */
  --fs-sm:  0.9rem;     /* 14.4 */
  --fs-base:1rem;       /* 16   */
  --fs-md:  1.125rem;   /* 18   */
  --fs-lg:  1.25rem;    /* 20   */
  --fs-xl:  1.563rem;   /* 25   */
  --fs-2xl: 1.953rem;   /* 31.2 */
  --fs-3xl: 2.441rem;   /* 39   */
  --fs-4xl: 3.052rem;   /* 48.8 */

  --lh-tight: 1.15;
  --lh-snug:  1.3;
  --lh-base:  1.55;
  --lh-loose: 1.7;

  /* Spacing — 4px base */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  3rem;
  --s-8:  4rem;
  --s-9:  6rem;
  --s-10: 8rem;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11,37,69,0.06), 0 1px 1px rgba(11,37,69,0.04);
  --shadow-md: 0 4px 12px rgba(11,37,69,0.08), 0 2px 4px rgba(11,37,69,0.04);
  --shadow-lg: 0 12px 32px rgba(11,37,69,0.12), 0 4px 8px rgba(11,37,69,0.06);

  /* Layout */
  --container: 72rem;       /* 1152px */
  --container-narrow: 56rem;/* 896px  */
  --header-h: 4rem;

  /* Motion */
  --t-fast: 120ms;
  --t-base: 200ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* -------------------------------------------------------------
   2. Reset / normalize (lean, modern)
   ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

a {
  color: var(--c-navy-800);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--c-green-700); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--s-4);
  line-height: var(--lh-tight);
  color: var(--c-navy-900);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-3xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p  { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: var(--s-5); }
li + li { margin-top: var(--s-1); }

/* Visible focus ring for keyboard users */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Skip-to-main link for keyboard / screen reader users */
.skip-link {
  position: absolute;
  left: var(--s-3);
  top: -40px;
  background: var(--c-navy-900);
  color: #fff;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-md);
  text-decoration: none;
  z-index: 100;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--s-3); color: #fff; }


/* -------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--s-4);
  padding-right: var(--s-4);
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-top: var(--s-7);
  padding-bottom: var(--s-7);
}
.section--alt { background: var(--c-bg-soft); }
.section--dark {
  background: var(--c-navy-900);
  color: #e6ecf5;
}
.section--dark h2,
.section--dark h3 { color: #fff; }


/* -------------------------------------------------------------
   4. Header / nav
   ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--s-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  color: var(--c-navy-900);
  text-decoration: none;
  font-size: var(--fs-md);
  letter-spacing: 0.01em;
}
.brand__mark {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  /* Defaults for text-mark fallback; overridden when used as <img>. */
  background: var(--c-navy-900);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
img.brand__mark {
  background: transparent;
  object-fit: contain;
}
.brand__name { color: var(--c-navy-900); }
.brand__sub  { color: var(--c-ink-muted); font-weight: 500; font-size: var(--fs-sm); margin-left: var(--s-1); }

.primary-nav { display: none; }
.primary-nav__list {
  display: flex;
  gap: var(--s-5);
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav__list a {
  color: var(--c-navy-800);
  text-decoration: none;
  font-weight: 500;
  padding: var(--s-2) 0;
}
.primary-nav__list a:hover { color: var(--c-green-700); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: #fff;
}
.nav-toggle:hover { background: var(--c-navy-50); }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--c-navy-900);
  border-radius: 2px;
  position: relative;
}
.nav-toggle__bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle__bars::after  { position: absolute; top:  6px; left: 0; }


/* -------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-md);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.1;
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-green-700);
  color: #fff;
}
.btn--primary:hover { background: var(--c-green-600); color: #fff; }

.btn--secondary {
  background: #fff;
  color: var(--c-navy-900);
  border-color: var(--c-line);
}
.btn--secondary:hover { border-color: var(--c-navy-700); color: var(--c-navy-900); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

.btn--lg { padding: var(--s-4) var(--s-6); font-size: var(--fs-md); }


/* -------------------------------------------------------------
   6. Hero
   (Critical above-the-fold styles are also inlined in <head>.)
   ------------------------------------------------------------- */

.hero {
  background: linear-gradient(180deg, var(--c-navy-900) 0%, var(--c-navy-800) 100%);
  color: #e6ecf5;
  padding: var(--s-8) 0 var(--s-9);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 80% 0%, rgba(45,161,79,0.18), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(255,255,255,0.05), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; }

.hero__eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-green-500);
  margin-bottom: var(--s-3);
}
.hero h1 {
  color: #fff;
  font-size: clamp(var(--fs-2xl), 4.5vw + 1rem, var(--fs-4xl));
  max-width: 22ch;
  margin-bottom: var(--s-4);
}
.hero p.lede {
  font-size: var(--fs-md);
  color: #c9d3e2;
  max-width: 56ch;
  margin-bottom: var(--s-6);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.hero__trust {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  max-width: 40rem;
}
.hero__trust div {
  border-left: 3px solid var(--c-green-500);
  padding-left: var(--s-3);
}
.hero__trust strong {
  display: block;
  font-size: var(--fs-lg);
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--s-1);
}
.hero__trust span {
  font-size: var(--fs-sm);
  color: #c9d3e2;
}


/* -------------------------------------------------------------
   7. Sections — services, why, testimonials, faq, cta, contact
   ------------------------------------------------------------- */

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto var(--s-7);
}
.section-head__eyebrow {
  display: inline-block;
  color: var(--c-green-700);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}

/* Services grid */
.services-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-navy-50);
}
.service-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-green-50);
  color: var(--c-green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: var(--s-4);
}
.service-card h3 { margin-bottom: var(--s-2); font-size: var(--fs-lg); }
.service-card p  { color: var(--c-ink-muted); margin-bottom: var(--s-4); }
.service-card a {
  font-weight: 600;
  text-decoration: none;
  color: var(--c-green-700);
}
.service-card a:hover { color: var(--c-green-600); }
.service-card a::after { content: " \2192"; }

/* Why ERE */
.why-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  margin-top: var(--s-6);
}
.why-card {
  padding: var(--s-5);
  border-left: 3px solid var(--c-green-500);
  background: var(--c-bg-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.why-card h3 { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.why-card p  { color: var(--c-ink-muted); margin: 0; }

/* Testimonials — single-card legacy (kept for inner pages) */
.testimonial {
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--s-6);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.testimonial blockquote {
  margin: 0 0 var(--s-4);
  font-size: var(--fs-md);
  color: var(--c-ink);
  font-style: italic;
}
.testimonial cite {
  font-style: normal;
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

/* Testimonials grid (homepage — multi-card with star ratings) */
.testimonials-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-6);
}
.testimonial-card {
  margin: 0;
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.testimonial-card blockquote {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-ink);
  font-style: italic;
}
.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  font-size: var(--fs-sm);
}
.testimonial-card figcaption strong {
  color: var(--c-navy-900);
  font-weight: 700;
}
.testimonial-card figcaption span {
  color: var(--c-ink-muted);
}
.testimonials-cta {
  text-align: center;
  margin: var(--s-3) 0 0;
}

/* Service card — small alt label after main name */
.service-card__alt {
  font-weight: 500;
  color: var(--c-ink-muted);
  font-size: 0.85em;
  letter-spacing: 0.01em;
}

/* Footer address & hours */
.footer-address {
  font-style: normal;
  line-height: 1.7;
  color: #c9d3e2;
}
.footer-address a { color: #c9d3e2; text-decoration: none; }
.footer-address a:hover { color: #fff; text-decoration: underline; }
.footer-hours {
  display: inline-block;
  margin-top: var(--s-2);
  color: #8d9bb0;
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.footer-soon {
  color: #8d9bb0;
  font-style: italic;
}

/* Process / "How it works" — numbered step list */
.process-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 60rem;
  display: grid;
  gap: var(--s-4);
}
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: start;
  padding: var(--s-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.process-step + .process-step { margin-top: 0; }
.process-step__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-pill);
  background: var(--c-navy-900);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: 1;
}
.process-step h3 {
  margin: 0 0 var(--s-1);
  font-size: var(--fs-md);
  color: var(--c-navy-900);
}
.process-step p {
  margin: 0;
  color: var(--c-ink-muted);
  line-height: 1.55;
}

/* FAQ */
.faq-list { max-width: 56rem; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--c-line);
  padding: var(--s-4) 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--c-line); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--c-navy-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--c-green-700);
  font-weight: 400;
  line-height: 1;
  transition: transform var(--t-base) var(--ease);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  margin-top: var(--s-3);
  color: var(--c-ink-muted);
}

/* Big CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--c-green-700), var(--c-green-600));
  color: #fff;
  padding: var(--s-8) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p  { color: #e8f5ec; margin-bottom: var(--s-5); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .btn--primary {
  background: #fff;
  color: var(--c-green-700);
}
.cta-band .btn--primary:hover { background: var(--c-green-50); color: var(--c-green-700); }


/* -------------------------------------------------------------
   7b. Inner-page hero / breadcrumb / contact form
   ------------------------------------------------------------- */

.page-hero {
  background: linear-gradient(180deg, var(--c-navy-900) 0%, var(--c-navy-800) 100%);
  color: #e6ecf5;
  padding: var(--s-7) 0 var(--s-6);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(var(--fs-2xl), 3.5vw + 1rem, var(--fs-3xl));
  max-width: 30ch;
  margin-bottom: var(--s-3);
}
.page-hero p.lede {
  font-size: var(--fs-md);
  color: #c9d3e2;
  max-width: 60ch;
  margin: 0;
}

.breadcrumb {
  font-size: var(--fs-sm);
  color: #c9d3e2;
  margin-bottom: var(--s-3);
}
.breadcrumb a {
  color: #c9d3e2;
  text-decoration: none;
}
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* Contact page layout */
.contact-grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
}
.contact-form-wrap h2,
.contact-sidebar h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-3);
}

/* Contact form */
.contact-form { margin-top: var(--s-4); }
.form-row {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-4);
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--s-4);
}
.form-row .form-field { margin-bottom: 0; }
.form-field label {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--c-navy-900);
  margin-bottom: var(--s-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: var(--s-3);
  font-size: var(--fs-base);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--c-ink);
  transition: border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.form-field textarea { resize: vertical; min-height: 7rem; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--c-green-700);
  box-shadow: 0 0 0 3px rgba(31, 122, 58, 0.15);
}
.form-field input:invalid:not(:placeholder-shown),
.form-field select:invalid:not(:focus),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--c-danger);
}

/* Honeypot — hidden from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin-top: var(--s-3);
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}

/* Service detail / About / Service-area page primitives */
.page-hero__alt {
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  color: #c9d3e2;
  letter-spacing: 0.01em;
  margin-top: var(--s-1);
}
.page-cta {
  margin-top: var(--s-7);
  text-align: center;
}
.included-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-3);
  margin: 0 0 var(--s-5);
}
.included-list li {
  position: relative;
  padding-left: var(--s-6);
  line-height: 1.55;
}
.included-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: var(--s-5);
  height: var(--s-5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-green-50);
  color: var(--c-green-700);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.85rem;
}
.included-list li + li { margin-top: 0; }

/* City grid for the service-area page */
.city-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2) var(--s-4);
  font-size: var(--fs-sm);
}
.city-grid li {
  padding: var(--s-2) var(--s-3);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  color: var(--c-ink);
}
.city-grid li + li { margin-top: 0; }
.area-count {
  font-size: 0.7em;
  font-weight: 500;
  color: var(--c-ink-muted);
  letter-spacing: 0.01em;
}

/* Legal pages (privacy, terms) */
.legal-banner {
  background: #fff7ed;
  border: 1px solid #fcd9b6;
  border-left: 4px solid var(--c-warn);
  color: #7c2d12;
  padding: var(--s-4);
  border-radius: var(--r-md);
  margin-bottom: var(--s-5);
  font-size: var(--fs-sm);
}
.legal-banner code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(0,0,0,0.05);
  padding: 0 4px;
  border-radius: 3px;
}
.legal-meta {
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-6);
}
.legal-meta strong { color: var(--c-ink); }
main h2 + p,
main h2 + ul,
main h2 + ol,
main h3 + p { margin-top: var(--s-3); }
.legal-contact {
  font-style: normal;
  line-height: 1.7;
  padding: var(--s-4);
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-navy-700);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--s-4) 0;
}
.legal-divider {
  margin: var(--s-7) 0;
  border: 0;
  border-top: 1px solid var(--c-line);
}

/* Contact sidebar cards */
.contact-sidebar { margin-top: var(--s-6); }
.contact-card {
  padding: var(--s-4);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  margin-bottom: var(--s-4);
}
.contact-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--s-2);
}
.contact-card p { margin-bottom: var(--s-1); }
.contact-card .muted {
  color: var(--c-ink-muted);
  font-size: var(--fs-sm);
}
.contact-link {
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--c-green-700);
  text-decoration: none;
}
.contact-link:hover { text-decoration: underline; }


/* -------------------------------------------------------------
   8. Footer
   ------------------------------------------------------------- */

.site-footer {
  background: var(--c-navy-900);
  color: #c9d3e2;
  padding: var(--s-7) 0 var(--s-5);
  font-size: var(--fs-sm);
}
.site-footer h3 {
  color: #fff;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-3);
}
.site-footer a {
  color: #c9d3e2;
  text-decoration: none;
}
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand,
.site-footer .brand .brand__name { color: #fff; }
.site-footer__tagline {
  margin-top: var(--s-4);
  color: #c9d3e2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: var(--s-2); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  align-items: flex-start;
  color: #8d9bb0;
}
.footer-bar p { margin: 0; }


/* -------------------------------------------------------------
   9. Utilities (use sparingly)
   ------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }


/* -------------------------------------------------------------
   10. Responsive — mobile-first breakpoints
   ------------------------------------------------------------- */

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero__trust   { grid-template-columns: repeat(4, 1fr); }
  .form-row      { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid     { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .primary-nav   { display: block; }
  .header-cta    { display: inline-flex; }
  .nav-toggle    { display: none; }
  .footer-bar    { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid      { grid-template-columns: repeat(4, 1fr); }
  .footer-grid   { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .section       { padding-top: var(--s-8); padding-bottom: var(--s-8); }
  .contact-grid  { grid-template-columns: 2fr 1fr; }
  .contact-sidebar { margin-top: 0; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .city-grid     { grid-template-columns: repeat(4, 1fr); }
}


/* -------------------------------------------------------------
   11. Reduced motion
   ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
