/* ==========================================================================
   Drain Cleaning Downers Grove — Design System & Layout Stylesheet
   Palette: Deep DuPage Slate (#0F1E2E), Warm Alabaster (#F8F7F4),
            Clay-Tile Copper (#B84A1B), Municipal Water Teal (#145966)
   ========================================================================== */

:root {
  /* Color Roles */
  --bg-paper: #F8F7F4;
  --bg-white: #FFFFFF;
  --bg-stone: #EEF1F4;
  --bg-copper-tint: #FDF5F1;
  --bg-teal-tint: #EFF6F7;
  --bg-slate: #0F1E2E;
  --bg-slate-elevated: #172B40;

  --ink-primary: #111C28;
  --ink-body: #2D3846;
  --ink-muted: #4A5666;
  --ink-inverse: #F8F9FA;
  --ink-inverse-muted: #C6D0DC;

  --accent-copper: #B84A1B;
  --accent-copper-hover: #963A12;
  --accent-teal: #145966;
  --accent-teal-hover: #0E434D;

  --border-subtle: #DCE1E7;
  --border-strong: #C3CCD6;
  --border-dark: rgba(255, 255, 255, 0.14);

  /* Typography */
  --font-display: 'Outfit', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Type Scale */
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.03125rem;
  --text-lg: 1.15625rem;
  --text-h3: clamp(1.125rem, 1.05rem + 0.35vw, 1.28rem);
  --text-h2: clamp(1.5rem, 1.22rem + 1.15vw, 2.05rem);
  --text-h1: clamp(1.95rem, 1.45rem + 2.1vw, 3.05rem);

  /* Layout & Spacing */
  --container-max: 1200px;
  --measure: 68ch;
  --header-h: 74px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(15, 30, 46, 0.05);
  --shadow-sm: 0 4px 16px rgba(15, 30, 46, 0.06);
  --shadow-md: 0 14px 34px rgba(15, 30, 46, 0.11);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.68;
  color: var(--ink-body);
  background-color: var(--bg-paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.28; }

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent-teal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

a:hover {
  color: var(--accent-teal-hover);
}

.phone-inline {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(184, 74, 27, 0.55);
  text-underline-offset: 3px;
  white-space: nowrap;
}

.phone-inline:hover {
  color: var(--accent-copper);
  text-decoration-color: var(--accent-copper);
}

.hero--hub .phone-inline,
.final-cta .phone-inline {
  color: #FFFFFF;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.hero--hub .phone-inline:hover,
.final-cta .phone-inline:hover {
  color: #F6B292;
  text-decoration-color: #F6B292;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.15rem;
  background: var(--bg-slate);
  color: var(--ink-inverse);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.2vw, 2rem);
}

.prose-measure {
  max-width: var(--measure);
}

.icon-inline {
  display: inline-block;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  vertical-align: -2px;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background: var(--bg-slate);
  color: var(--ink-inverse-muted);
  font-size: var(--text-xs);
  border-bottom: 1px solid var(--border-dark);
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
  min-height: 38px;
  padding-block: 0.35rem;
}

.top-bar__areas {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar__areas svg {
  width: 14px;
  height: 14px;
  color: #E8895E;
  flex-shrink: 0;
}

.top-bar__call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.top-bar__call:hover {
  color: #F6B292;
  text-decoration: underline;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 100%;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  min-height: 44px;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  background: var(--bg-stone);
  color: var(--accent-copper);
}

.nav-link[aria-current="page"] {
  color: var(--accent-copper);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.nav-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* Mega Dropdowns */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
  z-index: 300;
  display: none;
}

/* Invisible hover bridge so moving cursor from nav trigger to dropdown never closes menu */
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 14px;
}

.nav-dropdown.is-open {
  display: block;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .nav-item:hover > .nav-dropdown,
  .nav-item:focus-within > .nav-dropdown {
    display: block;
  }

  .nav-item:hover > .nav-trigger,
  .nav-item:focus-within > .nav-trigger {
    background: var(--bg-stone);
    color: var(--accent-copper);
  }

  .nav-item:hover > .nav-trigger .nav-chevron,
  .nav-item:focus-within > .nav-trigger .nav-chevron {
    transform: rotate(180deg);
  }
}

.nav-dropdown--services {
  width: min(840px, calc(100vw - 2rem));
}

.nav-dropdown--areas {
  width: min(580px, calc(100vw - 2rem));
}

.dropdown-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dropdown-top-bar a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent-copper);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-top-bar a:hover {
  text-decoration: underline;
}

.dropdown-grid {
  display: grid;
  gap: 1.25rem;
}

.dropdown-grid--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dropdown-grid--areas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dropdown-group-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-primary);
  text-decoration: none;
  padding-bottom: 0.4rem;
  margin-bottom: 0.45rem;
  border-bottom: 1.5px solid var(--border-subtle);
}

a.dropdown-group-title:hover {
  color: var(--accent-copper);
  border-bottom-color: var(--accent-copper);
}

.dropdown-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.dropdown-links a {
  display: block;
  padding: 0.3rem 0.45rem;
  margin-inline: -0.45rem;
  font-size: 0.875rem;
  color: var(--ink-body);
  text-decoration: none;
  border-radius: 4px;
}

.dropdown-links a:hover {
  background: var(--bg-paper);
  color: var(--accent-copper);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.header-call-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  background: var(--accent-copper);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.header-call-mini:hover {
  background: var(--accent-copper-hover);
  color: #FFFFFF;
}

/* Mobile Menu Button */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--ink-primary);
  cursor: pointer;
}

.menu-toggle:hover {
  border-color: var(--ink-primary);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-white);
  z-index: 250;
  overflow-y: auto;
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem clamp(1rem, 4vw, 1.5rem) 5.5rem;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-group {
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  min-height: 48px;
}

.mobile-group summary::-webkit-details-marker {
  display: none;
}

.mobile-group-body {
  padding: 0.25rem 0 1rem 0.5rem;
  display: grid;
  gap: 0.85rem;
}

.mobile-subhead {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-teal);
  margin: 0 0 0.35rem;
}

.mobile-sublinks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.mobile-sublinks a {
  display: block;
  padding: 0.38rem 0.25rem;
  color: var(--ink-body);
  text-decoration: none;
  font-size: var(--text-sm);
}

.mobile-sublinks a:hover {
  color: var(--accent-copper);
}

.mobile-drawer-cta {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent-copper);
  color: #FFFFFF;
  border-color: var(--accent-copper);
}

.btn--primary:hover {
  background: var(--accent-copper-hover);
  border-color: var(--accent-copper-hover);
  color: #FFFFFF;
}

.btn--secondary {
  background: var(--bg-white);
  color: var(--ink-primary);
  border-color: var(--ink-primary);
}

.btn--secondary:hover {
  background: var(--bg-slate);
  color: #FFFFFF;
  border-color: var(--bg-slate);
}

.btn--inverse {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.48);
}

.btn--inverse:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn--sm {
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb-bar {
  padding-bottom: 1rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-list li + li::before {
  content: "/";
  opacity: 0.55;
}

.breadcrumb-list a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
  color: var(--accent-copper);
}

.hero--hub .breadcrumb-list {
  color: var(--ink-inverse-muted);
}

.hero--hub .breadcrumb-list a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Hero Variants — High-Contrast Architectural First Screen
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5.2vw, 4.5rem);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.25vw, 3.2rem);
  line-height: 1.11;
  letter-spacing: -0.028em;
}

.hero-content::before {
  content: "";
  display: block;
  width: 52px;
  height: 3.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-copper) 0%, #E07A4B 100%);
  margin-bottom: 1.15rem;
}

.hero .btn-group {
  margin-top: 1.75rem;
  gap: 0.85rem;
}

.hero .btn {
  min-height: 52px;
  padding: 0.82rem 1.6rem;
  font-size: 0.98rem;
  border-radius: 8px;
}

.hero .btn--primary {
  box-shadow: 0 10px 24px rgba(184, 74, 27, 0.32);
}

.hero .btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(184, 74, 27, 0.42);
}

/* Flagship Dark Slate Hero — Homepage & Service Hubs */
.hero--home,
.hero--hub {
  background:
    radial-gradient(circle at 84% 16%, rgba(184, 74, 27, 0.24) 0%, transparent 46%),
    radial-gradient(circle at 10% 88%, rgba(20, 89, 102, 0.28) 0%, transparent 48%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(155deg, #0D1B2A 0%, #13283D 55%, #0F1E2E 100%);
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
  color: var(--ink-inverse);
  border-bottom: 0;
}

.hero--home::after,
.hero--hub::after,
.hero--location::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-copper) 0%, #E07A4B 42%, var(--accent-teal) 100%);
}

/* Rich Municipal Teal-Slate Hero — Location & Neighborhood Pages */
.hero--location {
  background:
    radial-gradient(circle at 86% 18%, rgba(184, 74, 27, 0.22) 0%, transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(28, 122, 138, 0.3) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(150deg, #0E232C 0%, #143642 56%, #0F202D 100%);
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
  color: var(--ink-inverse);
  border-bottom: 0;
}

.hero--home h1,
.hero--hub h1,
.hero--location h1 {
  color: #FFFFFF;
}

.hero--home .hero-lead,
.hero--hub .hero-lead,
.hero--location .hero-lead {
  color: #D2DCE6;
}

.hero--home .breadcrumb-list,
.hero--hub .breadcrumb-list,
.hero--location .breadcrumb-list {
  color: #B6C5D4;
}

.hero--home .breadcrumb-list a:hover,
.hero--hub .breadcrumb-list a:hover,
.hero--location .breadcrumb-list a:hover {
  color: #FFFFFF;
}

.hero--home .phone-inline,
.hero--hub .phone-inline,
.hero--location .phone-inline {
  color: #FFFFFF;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.hero--home .phone-inline:hover,
.hero--hub .phone-inline:hover,
.hero--location .phone-inline:hover {
  color: #F6B292;
  text-decoration-color: #F6B292;
}

/* Secondary buttons on dark heroes stay crisp & legible */
.hero--home .btn--secondary,
.hero--hub .btn--secondary,
.hero--location .btn--secondary,
.hero--home .btn--inverse,
.hero--hub .btn--inverse,
.hero--location .btn--inverse {
  background: rgba(255, 255, 255, 0.07);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(6px);
}

.hero--home .btn--secondary:hover,
.hero--hub .btn--secondary:hover,
.hero--location .btn--secondary:hover,
.hero--home .btn--inverse:hover,
.hero--hub .btn--inverse:hover,
.hero--location .btn--inverse:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* Architectural Light Hero — Sub-Services, About & Contact */
.hero--service {
  background:
    radial-gradient(circle at 86% 18%, rgba(20, 89, 102, 0.09) 0%, transparent 48%),
    radial-gradient(circle at 8% 92%, rgba(184, 74, 27, 0.07) 0%, transparent 44%),
    linear-gradient(rgba(15, 30, 46, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 30, 46, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-paper) 100%);
  background-size: auto, auto, 36px 36px, 36px 36px, auto;
  border-top: 3px solid var(--accent-copper);
}

.hero--core {
  background:
    radial-gradient(circle at 88% 16%, rgba(184, 74, 27, 0.07) 0%, transparent 46%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-paper) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-lead {
  margin-top: 1.2rem;
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-body);
  max-width: 56ch;
}

/* Framed Elevated Hero Photo Stage */
.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 14px -12px -12px 14px;
  border-radius: 16px;
  border: 1.5px solid rgba(184, 74, 27, 0.38);
  pointer-events: none;
  z-index: 0;
}

.hero--home .hero-media::before,
.hero--hub .hero-media::before,
.hero--location .hero-media::before {
  border-color: rgba(224, 122, 75, 0.45);
  background: linear-gradient(135deg, rgba(184, 74, 27, 0.14) 0%, rgba(20, 89, 102, 0.18) 100%);
}

.hero-media .media-placeholder {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(10, 21, 33, 0.18);
  border: 1px solid rgba(15, 30, 46, 0.1);
}

.hero--home .hero-media .media-placeholder,
.hero--hub .hero-media .media-placeholder,
.hero--location .hero-media .media-placeholder {
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Modern Destination & Area Showcase Grids (Zero Pills!)
   ========================================================================== */
.area-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.area-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-teal);
}

.area-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.area-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-teal-tint);
  color: var(--accent-teal);
  flex-shrink: 0;
}

.area-card__index {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.area-card__body {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--ink-body);
  flex: 1;
  margin: 0 0 1.15rem;
}

.area-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-primary);
  text-decoration: none;
}

.area-card__cta span:first-child::first-letter {
  text-transform: uppercase;
}

.area-card__cta .link-arrow {
  color: var(--accent-copper);
  transition: transform 160ms ease;
}

.area-card:hover .area-card__cta {
  color: var(--accent-copper);
}

.area-card:hover .area-card__cta .link-arrow {
  transform: translateX(4px);
}

/* Dark Slate Regional Corridor Panel (Nearby Towns on Homepage) */
.towns-panel {
  margin-top: 2rem;
  background:
    radial-gradient(circle at 92% 10%, rgba(184, 74, 27, 0.18) 0%, transparent 45%),
    var(--bg-slate);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--ink-inverse);
}

.towns-panel__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F3A27E;
  margin: 0 0 1.25rem;
}

.towns-corridor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.corridor-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.corridor-card__desc {
  font-size: var(--text-sm);
  line-height: 1.58;
  color: var(--ink-inverse-muted);
  margin: 0;
  flex: 1;
}

.corridor-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.corridor-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  min-height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.corridor-links a span:first-child::first-letter {
  text-transform: uppercase;
}

.corridor-links a:hover {
  background: var(--accent-copper);
  border-color: var(--accent-copper);
  color: #FFFFFF;
  transform: translateX(2px);
}

/* Modern Rectangular Link Cards (Replaces ALL Pill Chips Site-Wide!) */
.related-links-block {
  margin-top: 2rem;
}

.related-links-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-teal);
  margin: 0 0 0.9rem;
}

.link-card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr));
  gap: 0.85rem;
}

.link-card-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  min-height: 54px;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-teal);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-primary);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.section--white .link-card-grid a {
  background: var(--bg-paper);
}

.link-card-grid a span:first-child::first-letter {
  text-transform: uppercase;
}

.link-card-grid a .link-arrow {
  color: var(--accent-copper);
  flex-shrink: 0;
  transition: transform 150ms ease;
}

.link-card-grid a:hover {
  transform: translateY(-2px);
  border-left-color: var(--accent-copper);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  color: var(--accent-copper);
}

.link-card-grid a:hover .link-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Image Placeholders (Clean Architectural Frame, Easy <img> Drop-In)
   ========================================================================== */
.media-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background-color: #E5EBF0;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-placeholder--wide {
  aspect-ratio: 16 / 10;
}

.hero--hub .media-placeholder {
  background-color: var(--bg-slate-elevated);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(184, 74, 27, 0.12) 0%, transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(20, 89, 102, 0.1) 100%);
  border-color: var(--border-dark);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.04);
}

/* Real responsive <img> inside .media-placeholder covers the frame cleanly */
.media-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* ==========================================================================
   Section System & Surface Alternation
   ========================================================================== */
.page-section {
  padding-block: clamp(2.5rem, 5vw, 4.25rem);
  border-bottom: 1px solid var(--border-subtle);
}

.page-section:last-of-type {
  border-bottom: 0;
}

.section--paper { background: var(--bg-paper); }
.section--white { background: var(--bg-white); }
.section--stone { background: var(--bg-stone); }

.section-header {
  max-width: 72ch;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: var(--text-base);
  color: var(--ink-body);
}

/* Editorial Asymmetric Layout */
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.editorial-split__heading {
  position: relative;
  padding-top: 0.9rem;
}

.editorial-split__heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--accent-copper);
  border-radius: 2px;
}

.editorial-split__body {
  max-width: var(--measure);
}

/* First-Section Split Feature (Photo Left, Heading + Copy Right on Desktop; Copy -> Photo on Mobile) */
.editorial-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.75rem, 4vw, 3.75rem);
  align-items: center;
}

.editorial-feature__content {
  min-width: 0;
  max-width: var(--measure);
}

.editorial-feature__content::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--accent-copper);
  border-radius: 2px;
  margin-bottom: 0.95rem;
}

.editorial-feature__content h2 {
  margin-bottom: 1rem;
}

.editorial-feature__media {
  order: -1;
  min-width: 0;
}

.editorial-feature__media .project-detail-photo {
  max-width: none;
  margin: 0;
}

.editorial-feature__media .project-detail-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Service Directory Grid — Zero Orphan Layout for 7 Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-grid--seven .service-card:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 2rem;
  align-items: start;
  padding: 1.5rem 1.75rem 1.5rem 0;
  border-top-width: 1px;
  border-left: 4px solid var(--accent-copper);
  background: var(--bg-white);
  overflow: hidden;
}

.service-grid--seven .service-card:last-child .card-thumb-link {
  grid-column: 1;
  grid-row: 1 / -1;
  margin: -1.5rem 0 -1.5rem 0;
  height: calc(100% + 3rem);
  aspect-ratio: auto;
  border-radius: 0;
}

.service-grid--seven .service-card:last-child .service-card__num {
  grid-column: 2;
  margin-bottom: 0.4rem;
}

.service-grid--seven .service-card:last-child .service-card__content {
  grid-column: 2;
  min-width: 0;
}

.service-grid--seven .service-card:last-child .service-card__link {
  grid-column: 2;
  margin-top: 0.9rem;
  white-space: nowrap;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover {
  border-top-color: var(--accent-copper);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.service-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.55rem;
}

.service-card h3 {
  margin-bottom: 0.65rem;
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover {
  color: var(--accent-copper);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--ink-body);
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-copper);
  text-decoration: none;
}

.service-card__link span::first-letter {
  text-transform: uppercase;
}

.service-card__link:hover {
  color: var(--accent-copper-hover);
  text-decoration: underline;
}

/* Multi-Card Grid (2, 3, 4 H3+p items) */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.45rem 1.5rem;
  box-shadow: var(--shadow-xs);
}

.section--white .info-card {
  background: var(--bg-paper);
}

.info-card h3 {
  margin-bottom: 0.6rem;
}

.info-card p {
  font-size: var(--text-sm);
}

/* Comparison Split (Two H3 + Lists side by side) */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.compare-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-xs);
}

.compare-panel:nth-child(even) {
  border-top-color: var(--accent-copper);
}

.compare-panel h3 {
  margin-bottom: 1rem;
}

/* Numbered Process Timeline (Editorial 2-Column — Zero Orphan Cards!) */
.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.process-intro h2 {
  margin-bottom: 0.85rem;
}

.process-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}

.process-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-xs);
}

.section--white .process-step {
  background: var(--bg-paper);
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-slate);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.process-step p {
  font-size: var(--text-sm);
  margin: 0;
}

.process-step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink-primary);
  margin-bottom: 0.25rem;
}

/* Structured Checklists (Balanced Even & Odd Item Counts!) */
.checklist-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}

.checklist-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow-xs);
}

.section--white .checklist-panel {
  background: var(--bg-paper);
}

.checklist-panel h3 {
  margin-bottom: 1.1rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem 1.75rem;
}

.check-list--two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list--odd li:last-child {
  grid-column: 1 / -1;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  font-size: var(--text-sm);
  line-height: 1.58;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 11px;
  height: 6px;
  border-left: 2.2px solid var(--accent-teal);
  border-bottom: 2.2px solid var(--accent-teal);
  transform: rotate(-45deg);
}

.check-list li strong {
  color: var(--ink-primary);
}

/* Recent Work Media Grid */
.work-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
}

.media-grid {
  display: grid;
  gap: 1.25rem;
}

.media-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Testimonial Reserved Slots — Clean & Unobtrusive Until Real Reviews Are Added */
.review-section-band {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-xs);
}

.section--white .review-section-band {
  background: var(--bg-paper);
}

.review-section-band h2 {
  margin-bottom: 0.75rem;
}

/* Responsive Data Tables */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  box-shadow: var(--shadow-xs);
  margin-block: 1.25rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: var(--text-sm);
}

.data-table th,
.data-table td {
  padding: 0.9rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table thead th {
  background: var(--bg-slate);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.data-table tbody tr:nth-child(even) {
  background: var(--bg-paper);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Mid-Page Pre-CTA Callout */
.pre-cta-box {
  background: var(--bg-copper-tint);
  border: 1px solid rgba(184, 74, 27, 0.25);
  border-left: 4px solid var(--accent-copper);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1.5rem 2.25rem;
  align-items: center;
}

.pre-cta-box h2 {
  margin-bottom: 0.65rem;
}

.team-link-line {
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.team-link-line a {
  font-weight: 600;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.team-link-line a span::first-letter {
  text-transform: uppercase;
}

/* ==========================================================================
   Distinct Directory Hub Cards (.svc-card & .loc-card) + E-E-A-T Review Card
   ========================================================================== */
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent-copper);
}

.svc-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.svc-card__badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-teal);
  background: var(--bg-teal-tint);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.svc-card h3 {
  margin-bottom: 0.6rem;
}

.svc-card h3 a {
  color: inherit;
  text-decoration: none;
}

.svc-card h3 a:hover {
  color: var(--accent-copper);
}

.svc-card-desc {
  font-size: var(--text-sm);
  color: var(--ink-body);
  flex: 1;
}

/* Visually Distinct Location / Service Area Card (.loc-card) */
.loc-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-copper);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.loc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent-teal);
}

.loc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.loc-card__region {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-copper);
  background: var(--bg-copper-tint);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.loc-card__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-stone);
  color: var(--accent-teal);
}

.loc-card h3 {
  margin-bottom: 0.55rem;
}

.loc-card h3 a {
  color: inherit;
  text-decoration: none;
}

.loc-card h3 a:hover {
  color: var(--accent-copper);
}

.loc-card-desc {
  font-size: var(--text-sm);
  color: var(--ink-body);
  flex: 1;
  margin-bottom: 1rem;
}

.loc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.loc-card__tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* E-E-A-T Local Crew Specialist Review Card */
.eeat-band {
  background: var(--bg-white);
  padding-block: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.eeat-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.eeat-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--bg-slate);
  color: #FFFFFF;
}

.eeat-card__label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-teal);
  margin: 0 0 0.25rem;
}

.eeat-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0 0 0.2rem;
}

.eeat-card__meta {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin: 0;
}

.form-status--success {
  background: #ECFDF5;
  border: 1px solid #059669;
  color: #065F46;
}

/* ==========================================================================
   Local Google Map Embed Section (maps.google.com)
   ========================================================================== */
.map-section {
  background: var(--bg-stone);
}

.map-section__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.map-section__meta h2 {
  margin: 0;
}

.map-section__address {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-body);
}

.map-section__address svg {
  width: 17px;
  height: 17px;
  color: var(--accent-copper);
  flex-shrink: 0;
}

.map-frame-wrapper {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #DCE3EA;
  box-shadow: var(--shadow-sm);
}

.map-frame-wrapper--compact {
  height: 320px;
  margin-top: 1.5rem;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.faq-intro h2 {
  margin-bottom: 0.75rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 150ms ease;
}

.faq-item[open] {
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-xs);
}

.faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  min-height: 52px;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary h3 {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  font-weight: 600;
  margin: 0;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent-teal);
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, opacity 160ms ease;
}

.faq-icon::before {
  width: 10px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 10px;
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--ink-body);
}

/* ==========================================================================
   Final Conversion Band (Framed Architectural 2-Column Showcase Card)
   ========================================================================== */
.final-cta {
  background: var(--bg-paper);
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
  border-top: 1px solid var(--border-subtle);
}

.final-cta__card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(184, 74, 27, 0.28) 0%, transparent 46%),
    radial-gradient(circle at 8% 92%, rgba(20, 89, 102, 0.28) 0%, transparent 48%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--bg-slate);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 48px rgba(10, 21, 33, 0.2);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--ink-inverse);
}

.final-cta__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-copper) 0%, #E07A4B 48%, var(--accent-teal) 100%);
}

.final-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.78fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.final-cta__copy {
  position: relative;
}

.final-cta__accent {
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-copper);
  margin-bottom: 1.1rem;
}

.final-cta h2 {
  color: #FFFFFF;
  font-size: clamp(1.65rem, 1.3rem + 1.4vw, 2.35rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.final-cta p {
  color: var(--ink-inverse-muted);
  font-size: clamp(1.02rem, 0.98rem + 0.22vw, 1.14rem);
  line-height: 1.65;
  max-width: 54ch;
}

.final-cta__panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: clamp(1.35rem, 2.6vw, 1.85rem);
  backdrop-filter: blur(8px);
}

.final-cta__panel .btn-group {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.final-cta__panel .btn {
  width: 100%;
  min-height: 52px;
  font-size: 0.98rem;
  border-radius: 8px;
}

.final-cta__panel .btn--primary {
  box-shadow: 0 8px 20px rgba(184, 74, 27, 0.35);
}

.final-cta__panel .btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(184, 74, 27, 0.45);
}

.final-cta__panel .btn--inverse {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.32);
}

.final-cta__panel .btn--inverse:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #FFFFFF;
}

.final-cta__location {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-xs);
  color: var(--ink-inverse-muted);
}

.final-cta__location svg {
  width: 15px;
  height: 15px;
  color: #E8895E;
  flex-shrink: 0;
}

/* ==========================================================================
   Contact Page Split & Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.45rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  margin-bottom: 0.75rem;
}

.contact-nap-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 0.65rem;
}

.contact-nap-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--text-sm);
}

.contact-nap-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent-copper);
  margin-top: 3px;
  flex-shrink: 0;
}

.quote-form {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-primary);
}

.form-input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ink-primary);
  background: var(--bg-paper);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.form-input:focus {
  background: var(--bg-white);
  border-color: var(--accent-teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(20, 89, 102, 0.14);
}

.form-input[aria-invalid="true"] {
  border-color: var(--accent-copper);
}

.file-dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-paper);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.file-dropzone:hover {
  border-color: var(--accent-teal);
  background: var(--bg-teal-tint);
}

.file-dropzone input[type="file"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--ink-body);
}

.form-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.form-fieldset legend {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 0.45rem;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.05rem;
  min-height: 44px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-paper);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.radio-option:has(input:checked) {
  border-color: var(--accent-teal);
  background: var(--bg-teal-tint);
  color: var(--ink-primary);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--accent-copper-hover);
  font-weight: 600;
  min-height: 1.1em;
}

.form-status {
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  line-height: 1.55;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--notice {
  background: var(--bg-copper-tint);
  border: 1px solid rgba(184, 74, 27, 0.35);
  color: var(--ink-primary);
}

.form-status--error {
  background: #FDF2F2;
  border: 1px solid #DC2626;
  color: #7F1D1D;
}

/* Visual Canvas CAPTCHA Widget */
.captcha-box {
  padding: 0.9rem 1rem;
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 0.65rem;
}

.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.captcha-canvas {
  width: 168px;
  height: 48px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
}

.captcha-refresh {
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
}

.captcha-refresh:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0A1521;
  color: var(--ink-inverse-muted);
  padding-block: 3.5rem 2.25rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.25rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.footer-nap {
  font-style: normal;
  font-size: var(--text-sm);
  display: grid;
  gap: 0.5rem;
}

.footer-nap a {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
}

.footer-nap a:hover {
  color: #F3A27E;
  text-decoration: underline;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.85rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.footer-links a {
  color: var(--ink-inverse-muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-size: var(--text-xs);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.footer-bottom-links a {
  color: var(--ink-inverse-muted);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ==========================================================================
   Sticky Mobile Action Bar
   ========================================================================== */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  background: var(--bg-slate);
  border-top: 1px solid var(--border-dark);
  padding: 0.5rem 0.75rem;
  gap: 0.6rem;
  box-shadow: 0 -4px 16px rgba(10, 21, 33, 0.28);
}

.mobile-call-bar .btn {
  flex: 1;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   Responsive Breakpoints (1024px, 768px, 390px, 360px)
   ========================================================================== */
@media (max-width: 1024px) {
  .primary-nav,
  .header-cta {
    display: none;
  }

  .header-mobile-actions {
    display: inline-flex;
  }

  .hero-grid,
  .editorial-split,
  .editorial-feature,
  .work-split,
  .faq-layout,
  .process-layout,
  .checklist-split,
  .contact-grid,
  .final-cta__grid,
  .related-links-grid {
    grid-template-columns: 1fr;
  }

  .faq-intro,
  .process-intro {
    position: static;
  }

  .editorial-feature__media {
    order: 0;
  }

  .service-grid,
  .area-showcase-grid,
  .card-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .towns-corridor-grid {
    grid-template-columns: 1fr;
  }

  .service-grid--seven .service-card:last-child {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
  }

  .service-grid--seven .service-card:last-child .card-thumb-link {
    margin: -1.5rem -1.5rem 1.15rem;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: calc(var(--radius-md) - 2px) calc(var(--radius-md) - 2px) 0 0;
  }

  .service-grid--seven .service-card:last-child .service-card__link {
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-media::before {
    inset: 10px -6px -8px 10px;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }

  html {
    scroll-padding-bottom: 84px;
  }

  .mobile-call-bar {
    display: flex;
  }

  .service-grid,
  .area-showcase-grid,
  .card-grid--2,
  .card-grid--3,
  .card-grid--4,
  .compare-grid,
  .media-grid--2,
  .media-grid--3,
  .check-list--two-col,
  .form-row--two,
  .pre-cta-box {
    grid-template-columns: 1fr;
  }

  .eeat-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .map-frame-wrapper {
    height: 320px;
  }

  .top-bar__areas span {
    font-size: 0.78rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .header-inner {
    gap: 0.5rem;
  }

  .brand-logo-img {
    height: 38px;
  }

  .header-call-mini {
    padding: 0.45rem 0.6rem;
  }

  .header-call-mini span {
    display: none;
  }
}

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

/* Page-specific project photographs & before/after framing */
.project-detail-photo {
  max-width: 780px;
  margin: 1.75rem auto 0;
}

.project-detail-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.project-detail-photo--before-after {
  max-width: 980px;
}

.project-detail-photo--before-after img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #0F1E2E;
}

.project-detail-photo figcaption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  text-align: center;
}

.hero .project-detail-photo {
  max-width: 720px;
  margin-top: 2rem;
}

/* Panoramic Before/After & Square framing inside .media-placeholder */
.media-grid--3:has(.media-placeholder--panorama) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-placeholder--panorama {
  grid-column: 1 / -1;
  aspect-ratio: 1100 / 413;
}

.media-placeholder--panorama img {
  object-fit: contain;
  background: #0F1E2E;
}

.media-placeholder--square {
  aspect-ratio: 4 / 3;
}

.media-placeholder--square img {
  object-position: center 22%;
}

/* Directory & Page Card Thumbnails (.service-card, .area-card, .svc-card, .loc-card) */
.card-thumb-link {
  display: block;
  margin: -1.5rem -1.5rem 1.15rem;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 2px) calc(var(--radius-md) - 2px) 0 0;
  background: var(--bg-stone);
  aspect-ratio: 16 / 10;
}

.area-card .card-thumb-link {
  margin: -1.45rem -1.5rem 1.1rem;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}

.loc-card .card-thumb-link {
  border-radius: 0 calc(var(--radius-lg) - 2px) 0 0;
}

.card-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.service-card:hover .card-thumb-link img,
.area-card:hover .card-thumb-link img,
.svc-card:hover .card-thumb-link img,
.loc-card:hover .card-thumb-link img {
  transform: scale(1.03);
}

/* Single Stretched-Link Card Pattern (Full-Card Click Target, Single Canonical SEO Anchor) */
.service-card,
.area-card,
.svc-card,
.loc-card {
  position: relative;
}

.service-card__link::after,
.area-card__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card:hover h3,
.svc-card:hover h3,
.loc-card:hover h3 {
  color: var(--accent-copper);
}

.service-card:has(.service-card__link:focus-visible),
.svc-card:has(.service-card__link:focus-visible),
.loc-card:has(.service-card__link:focus-visible),
.area-card:has(.area-card__cta:focus-visible) {
  outline: 2px solid var(--accent-copper);
  outline-offset: 2px;
}
