/* ==========================================================================
   Northampton Dumpster Rental — static site styles
   Modern, professional, mobile-first. No frameworks.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand: #0e4d75;
  --brand-dark: #0a3958;
  --brand-darker: #072a41;
  --brand-tint: #e8f1f7;
  --accent: #f2870d;
  --accent-dark: #d4740a;
  --accent-tint: #fff4e6;

  /* Neutrals */
  --ink: #16232e;
  --body: #41525f;
  --muted: #6b7c8a;
  --line: #e0e7ed;
  --line-soft: #eef2f6;
  --surface: #ffffff;
  --surface-soft: #f6f9fb;
  --surface-alt: #eff4f8;

  /* Status */
  --success: #12805c;
  --success-tint: #e6f5f0;
  --danger: #c0392b;
  --danger-tint: #fdeceb;

  /* Typography */
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Spacing scale */
  --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;

  /* Radii & shadows */
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 50, 0.06), 0 1px 3px rgba(16, 35, 50, 0.08);
  --shadow: 0 4px 12px rgba(16, 35, 50, 0.07), 0 2px 4px rgba(16, 35, 50, 0.05);
  --shadow-lg: 0 12px 32px rgba(16, 35, 50, 0.1), 0 4px 10px rgba(16, 35, 50, 0.05);

  /* Layout */
  --container: 1180px;
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

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

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--s-4);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.9rem, 1.25rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.125rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
li { margin-bottom: var(--s-2); }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-4);
}

.section { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--soft { background: var(--surface-soft); }
.section--alt { background: var(--surface-alt); }
.section--tight { padding-block: clamp(2rem, 1.2rem + 3vw, 3rem); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(1.75rem, 1rem + 2.5vw, 2.75rem);
  text-align: center;
}
.section-head p { color: var(--muted); font-size: 1.075rem; margin-bottom: 0; }
.section-head > h2, .section-head > h3 { margin-bottom: var(--s-3); }

.eyebrow {
  display: inline-block;
  margin-bottom: var(--s-3);
  color: var(--accent-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: var(--s-3) var(--s-5);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.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;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.875rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--r);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease,
    transform .12s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; width: 1.15em; height: 1.15em; }

.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; box-shadow: var(--shadow); }

.btn--brand { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; box-shadow: var(--shadow); }

.btn--outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }

.btn--ghost-light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--brand-dark); }

.btn--lg { padding: 1.0625rem 1.875rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand-darker);
  color: #cddce7;
  font-size: 0.875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 40px;
  padding-block: var(--s-2);
}
.topbar__list { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: 0; padding: 0; list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: var(--s-2); margin: 0; }
.topbar__list svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--accent); text-decoration: underline; }

/* No backdrop-filter here: it would make the header a containing block for the
   position:fixed mobile drawer, clipping the drawer to the header's height. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: var(--header-h);
  padding-block: var(--s-2);
}

.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { width: 200px; height: 50px; object-fit: contain; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: var(--s-1); margin: 0; padding: 0; list-style: none; }
.nav__list > li { margin: 0; position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav__link:hover { background: var(--brand-tint); color: var(--brand-dark); }
.nav__link[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }
.nav__link svg { width: 12px; height: 12px; transition: transform .18s ease; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Dropdown */
.nav__submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  min-width: 230px;
  margin: 0;
  padding: var(--s-2);
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  display: none;
}
.nav__submenu.is-open { display: block; }
.nav__submenu li { margin: 0; }
.nav__submenu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.nav__submenu a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.nav__submenu a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }

.header-cta { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.0625rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.header-phone:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: var(--brand);
  border: 0;
  border-radius: var(--r-sm);
  color: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--brand-darker), var(--brand-dark));
  color: #dce9f2;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
}
.hero__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
.hero--split .hero__grid { grid-template-columns: 1fr; }

.hero h1 { color: #fff; margin-bottom: var(--s-4); }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: #bcd3e3; max-width: 62ch; }
.hero__lead strong { color: #fff; }
.hero .eyebrow { color: var(--accent); }

.hero__cta { margin-top: var(--s-6); }

.hero__points { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.hero__points li { display: flex; align-items: flex-start; gap: var(--s-3); margin: 0; color: #cfe0ec; }
.hero__points svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }

.hero__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* Price flag */
.price-flag {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  margin-top: var(--s-5);
  padding: 0.6rem 1.1rem;
  background: rgba(242, 135, 13, .16);
  border: 1px solid rgba(242, 135, 13, .45);
  border-radius: 999px;
  color: #ffdcb0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.price-flag b { color: #fff; font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   7. Trust bar
   -------------------------------------------------------------------------- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--s-3) var(--s-5);
  margin: 0;
  padding: var(--s-5) 0;
  list-style: none;
}
.trustbar__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
}
.trustbar__list svg { flex: none; width: 20px; height: 20px; color: var(--success); }

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { border-color: #c9d8e4; box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 3 / 2; background: var(--surface-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.card__body > h3 { margin-bottom: var(--s-2); }
.card__body > p { color: var(--body); font-size: 0.9875rem; }
.card__link {
  margin-top: auto;
  padding-top: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
}
.card__link:hover { gap: 0.85rem; color: var(--accent-dark); }
.card__link svg { width: 15px; height: 15px; transition: transform .18s ease; }

/* Icon feature card */
.feature {
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--s-4);
  background: var(--brand-tint);
  border-radius: var(--r);
  color: var(--brand);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.feature p { font-size: 0.9875rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   9. Split media/text rows
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3rem); align-items: center; }
.split + .split { margin-top: clamp(2.5rem, 1.5rem + 4vw, 4rem); }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; }
.split__body > h2, .split__body > h3 { margin-bottom: var(--s-4); }
.split__body > p:first-of-type { font-size: 1.075rem; color: var(--ink); }

/* --------------------------------------------------------------------------
   10. Steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.steps li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: var(--s-5) var(--s-5) var(--s-5) 4.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-weight: 600;
  color: var(--ink);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: var(--s-5);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   11. Dumpster size cards
   -------------------------------------------------------------------------- */
.sizes { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.size-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--r-lg);
  transition: box-shadow .18s ease, transform .18s ease;
}
.size-card:hover { box-shadow: var(--shadow); }
.size-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  margin-bottom: var(--s-3);
  background: var(--accent-tint);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.size-card__yards {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: var(--s-2);
  color: var(--ink);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.size-card__yards span { font-size: 0.9375rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.size-card h3 { font-size: 1.0625rem; margin-bottom: var(--s-3); }
.size-card p { font-size: 0.9375rem; margin-bottom: var(--s-4); }
.size-card .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   12. FAQ (native details/summary — no JS)
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: var(--s-3); }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.faq details[open] { border-color: #c9d8e4; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.0125rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface-soft); }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq__answer { padding: 0 var(--s-5) var(--s-5); color: var(--body); }
.faq__answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.testimonials { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonial {
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.testimonial__stars { display: flex; gap: 2px; margin-bottom: var(--s-3); color: var(--accent); }
.testimonial__stars svg { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 var(--s-5); color: var(--body); font-size: 0.9875rem; }
.testimonial__person { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; }
.testimonial__person img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--surface-alt);
}
.testimonial__name { color: var(--ink); font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.testimonial__role { color: var(--muted); font-size: 0.8125rem; }

/* --------------------------------------------------------------------------
   14. Locations
   -------------------------------------------------------------------------- */
.locations { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.location-card {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.location-card:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); box-shadow: var(--shadow-sm); }
.location-card svg { flex: none; width: 20px; height: 20px; color: var(--accent); }
.location-card span { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.location-card:hover span { color: var(--brand); }

/* --------------------------------------------------------------------------
   15. Quote form
   -------------------------------------------------------------------------- */
.quote-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.quote-panel__head {
  padding: var(--s-5);
  background: var(--brand);
  color: #fff;
  text-align: center;
}
.quote-panel__head h2, .quote-panel__head h3 { color: #fff; margin-bottom: var(--s-2); font-size: 1.375rem; }
.quote-panel__head p { margin: 0; color: #cfe2ee; font-size: 0.9375rem; }
.quote-panel__body { padding: var(--s-5); }


/* The quote form itself is a third-party embed (Eagle Dumpster Rental) that
   renders inside a shadow root, so it carries its own styles and cannot be
   themed from here. Only the surrounding panel is styled below. Set the form's
   colours in the EDR Forms dashboard to match --brand / --accent. */
.edr-form { min-height: 230px; }

/* Shown only when JavaScript is unavailable and the embed cannot load. */
.form-status {
  margin-top: var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 600;
}
.form-status[data-state="error"] { background: var(--danger-tint); color: var(--danger); }
.form-status[data-state="success"] { background: var(--success-tint); color: var(--success); }

.form-alt-cta {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-soft);
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}
.form-alt-cta a { font-weight: 700; white-space: nowrap; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: #cfe2ee; max-width: 60ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--s-6); }
.cta-band__phone {
  display: block;
  margin: var(--s-4) 0 0;
  color: #fff;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.cta-band__phone:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   17. Prose (legal / about pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--s-7); font-size: clamp(1.3rem, 1.15rem + .7vw, 1.625rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-6); font-size: 1.1875rem; }
.prose ul { padding-left: 1.25rem; }
.prose .lead { font-size: 1.125rem; color: var(--ink); }

.page-hero {
  padding-block: clamp(2rem, 1.25rem + 3.5vw, 3.5rem);
  background: linear-gradient(180deg, var(--brand-darker), var(--brand-dark));
  color: #cfe2ee;
}
.page-hero h1 { color: #fff; margin-bottom: var(--s-3); }
.page-hero p { color: #bcd3e3; max-width: 65ch; margin-bottom: 0; }

.breadcrumb { margin-bottom: var(--s-4); font-size: 0.875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 0.4rem; margin: 0; color: #9fbdd2; }
.breadcrumb li + li::before { content: "/"; color: #6a8fab; }
.breadcrumb a { color: #cfe2ee; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* Contact details list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.contact-list li { display: flex; gap: var(--s-4); margin: 0; }
.contact-list__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--brand-tint);
  border-radius: var(--r);
  color: var(--brand);
}
.contact-list__icon svg { width: 21px; height: 21px; }
.contact-list dt { color: var(--ink); font-weight: 700; font-size: 0.9375rem; }
.contact-list dd { margin: 0; color: var(--body); }
.contact-list a { font-weight: 600; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--brand-darker); color: #a8c3d6; font-size: 0.9375rem; }
.site-footer__grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
}
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--s-4); }
.site-footer a { color: #cfe2ee; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s-2); }
.site-footer__logo { width: 150px; height: auto; margin-bottom: var(--s-4); }
.site-footer__about p { color: #a8c3d6; }

.footer-contact { display: grid; gap: var(--s-3); }
.footer-contact div { display: flex; gap: var(--s-3); }
.footer-contact svg { flex: none; width: 17px; height: 17px; margin-top: 4px; color: var(--accent); }
.footer-contact strong { display: block; color: #fff; font-weight: 700; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-5);
  padding-block: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 0.875rem;
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.site-footer__bottom li { margin: 0; }

/* --------------------------------------------------------------------------
   19. Mobile sticky call bar
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(16, 35, 50, .12);
}
.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.9rem 0.5rem;
  font-size: 0.9375rem;
  font-weight: 800;
  text-decoration: none;
}
.mobile-cta svg { width: 18px; height: 18px; }
.mobile-cta__call { background: var(--accent); color: #fff; }
.mobile-cta__quote { background: var(--brand); color: #fff; }

/* --------------------------------------------------------------------------
   20. 404
   -------------------------------------------------------------------------- */
.error-page { text-align: center; padding-block: clamp(3rem, 2rem + 6vw, 6rem); }
.error-page__code {
  font-size: clamp(4rem, 2rem + 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brand-tint);
  margin-bottom: var(--s-2);
}
.error-page .btn-row { justify-content: center; margin-top: var(--s-6); }
.error-page .locations { margin-top: var(--s-8); text-align: left; }

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 720px) {
  /* Two columns on tablet — three would squeeze the middle column to nothing. */
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__points { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero--split .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1.7fr 1fr 1.5fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 4.25rem var(--s-5) var(--s-5); }
  .steps li::before { top: var(--s-5); left: var(--s-5); transform: none; }
}

/* Tablet & mobile nav */
@media (max-width: 1023px) {
  .brand img { width: 168px; height: 42px; }

  /* Full-height drawer. Anchored to the viewport, not the header, so it can
     never be clipped by the header box. */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 120;
    display: flex;
    flex-direction: column;
    width: min(340px, 86vw);
    margin: 0;
    padding: 0 var(--s-4) var(--s-8);
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -8px 0 28px rgba(16, 35, 50, .14);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }

  .nav__head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    min-height: var(--header-h);
    margin-inline: calc(var(--s-4) * -1);
    padding: var(--s-3) var(--s-4);
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav__head span { color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .nav__close {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    padding: 0;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink);
    cursor: pointer;
  }
  .nav__close svg { width: 20px; height: 20px; }
  .nav__close:hover { background: var(--brand-tint); color: var(--brand-dark); }

  .nav__list { margin-top: var(--s-4); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { justify-content: space-between; padding: 0.8rem 0.75rem; font-size: 1rem; width: 100%; }

  .nav__submenu {
    position: static;
    display: none;
    min-width: 0;
    margin: 2px 0 var(--s-2) var(--s-3);
    padding: var(--s-1) 0 var(--s-1) var(--s-3);
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
  .nav__submenu.is-open { display: block; }

  .nav__cta { display: grid; gap: var(--s-3); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }

  .nav-toggle { display: inline-flex; order: 3; }
  .header-cta { display: none; }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(11, 30, 45, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }
}

@media (min-width: 1024px) {
  .nav__head { display: none; }
  .nav__cta { display: none; }
  .nav-scrim { display: none; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; padding-bottom: 58px; }
  .mobile-cta { display: flex; }
  .topbar__inner { justify-content: center; }
  .topbar__hours { display: none; }
  .site-footer__bottom { justify-content: center; text-align: center; }
  .site-footer__bottom ul { justify-content: center; }
}

@media (max-width: 420px) {
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   22. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .topbar, .mobile-cta, .nav, .cta-band, .quote-panel { display: none !important; }
  body { color: #000; padding: 0; }
}
