/* ============================================================
   ALL AMERICAN LAWN & LANDSCAPE — Design System
   Bold-Energy | Red (#fd0100) + Navy (#162a54)
   Montserrat (headings) + Open Sans (body)
   ============================================================ */

:root {
  /* Brand Colors */
  --color-primary: #fd0100;
  --color-primary-dark: #c40100;
  --color-primary-light: #fff0f0;
  --color-secondary: #162a54;
  --color-secondary-dark: #0e1c3a;
  --color-secondary-light: #1e3a6e;
  --color-white: #ffffff;
  --color-black: #111111;

  /* Neutral Palette */
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6f8;
  --color-bg-dark: #162a54;
  --color-text: #1a1a1a;
  --color-text-light: #444444;
  --color-text-muted: #777777;
  --color-text-on-dark: #ffffff;
  --color-border: #d8dce3;
  --color-border-light: #eef0f3;

  /* Status */
  --color-success: #16a34a;
  --color-error: #dc2626;

  /* Typography */
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.4rem, 6vw, 4rem);
  --fs-h1: clamp(2rem, 4.5vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 2rem);
  --fs-h3: clamp(1.15rem, 2.5vw, 1.375rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;
  --lh-heading: 1.2;
  --lh-body: 1.65;

  /* Spacing */
  --section-padding: clamp(2.5rem, 5vw, 4rem);
  --container-max: 1200px;
  --gap: 1.5rem;

  /* Design Tokens — Bold-Energy: minimal radius, heavy shadows, sharp edges */
  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);
  --transition: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
a, button, input, select, textarea, [role="button"] { touch-action: manipulation; }

/* Skip Link */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--color-primary); color: #fff;
  padding: 0.75rem 1.5rem; z-index: 9999;
  font-weight: 700;
}
.skip-link:focus { top: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: var(--section-padding) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-bg-dark); color: var(--color-text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--color-white); }
.section-dark .color-muted { color: #bfc8d9; }
.section-dark a { color: var(--color-primary); }
.section-dark a:hover { color: #ff4444; }
.section-navy { background: var(--color-secondary); color: var(--color-text-on-dark); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--color-white); }

.story-panel-accent,
.portfolio-scope,
.service-area-coverage {
  border-left: 5px solid var(--color-primary);
  background: linear-gradient(135deg, #fff 0%, var(--color-bg-alt) 100%);
  box-shadow: var(--shadow-md);
}

.story-panel-accent {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.priority-list,
.service-area-coverage,
.portfolio-scope {
  display: grid;
  gap: 1.25rem;
}

.priority-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.priority-list > div,
.coverage-note {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.priority-list h3,
.coverage-note h3 {
  font-size: 1.05rem;
}

.service-area-coverage {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.portfolio-scope {
  grid-template-columns: minmax(0, 1fr) minmax(240px, .45fr);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.portfolio-scope-links {
  display: grid;
  gap: .75rem;
}

.portfolio-scope-links a {
  display: block;
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: .875rem 1rem;
  border-left: 4px solid var(--color-primary);
}

.portfolio-scope-links a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.service-depth-followup,
.service-depth-extra,
.localized-service-panel {
  position: relative;
  overflow: hidden;
}

.localized-service-panel .container,
.service-depth-followup .container,
.service-depth-extra .container {
  border-top: 4px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.localized-service-panel .container::before,
.service-depth-followup .container::before,
.service-depth-extra .container::before {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: var(--color-secondary);
  margin-bottom: 1rem;
}

.service-city-intro {
  background:
    linear-gradient(135deg, rgba(22, 42, 84, .04), rgba(253, 1, 0, .035)),
    var(--color-white);
}

.service-city-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: stretch;
}

.service-city-proof__copy {
  border-top: 5px solid var(--color-primary);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  padding: clamp(1.35rem, 4vw, 2.4rem);
}

.service-city-proof__media {
  min-height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-secondary);
}

.service-city-proof__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.service-city-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.25rem;
}

.service-city-checklist li {
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-alt);
  padding: .85rem 1rem;
  font-weight: 700;
}

.city-link-rail {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.city-link-rail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-secondary);
  padding: .6rem .85rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-small);
}

.city-link-rail a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: var(--lh-heading);
  color: var(--color-secondary);
}
h1 { font-size: var(--fs-h1); margin-bottom: 0.75rem; }
h2 { font-size: var(--fs-h2); margin-bottom: 0.5rem; }
h3 { font-size: var(--fs-h3); margin-bottom: 0.375rem; }
p { margin-bottom: 0.75rem; }
.lead { font-size: 1.125rem; color: var(--color-text-light); line-height: 1.7; }
.color-primary { color: var(--color-primary); }
.color-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-upper { text-transform: uppercase; letter-spacing: 0.05em; }
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

/* ============================================================
   TOP BAR (contact info strip)
   ============================================================ */
.top-bar {
  background: var(--color-secondary-dark);
  color: var(--color-text-on-dark);
  font-size: var(--fs-xs);
  padding: 0.5rem 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar a { color: var(--color-text-on-dark); }
.top-bar a:hover { color: var(--color-primary); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 1rem; }
.social-links { display: flex; gap: 0.5rem; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  min-width: 48px; min-height: 48px;
}
.top-bar .social-links a {
  min-width: 32px;
  min-height: 32px;
}
.social-links svg { width: 20px; height: 20px; fill: currentColor; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  background: var(--color-white);
  border-bottom: 3px solid var(--color-primary);
  position: relative;
  z-index: 1000;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.125rem; }
.nav a, .nav-dropdown > button {
  padding: 0.5rem 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-secondary);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  border: none; background: none;
  display: inline-flex; align-items: center; gap: 0.25rem;
  min-height: 48px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav a:hover, .nav a.active, .nav-dropdown > button:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.nav-dropdown > button.active {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  z-index: 100;
  padding: 0.5rem 0;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: 0;
  min-height: 44px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--color-secondary);
}
.nav-dropdown-menu a:hover { background: var(--color-primary-light); color: var(--color-primary); }
.dropdown-arrow { font-size: 0.65em; transition: transform var(--transition); }
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-hub {
  border-bottom: 1px solid var(--color-border);
  color: var(--color-primary) !important;
  font-weight: 800 !important;
}
.nav a:focus-visible,
.nav-dropdown > button:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* CTA in nav */
.nav-cta {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  font-weight: 700 !important;
  border-radius: var(--radius) !important;
  padding: 0.625rem 1.25rem !important;
  text-transform: uppercase !important;
}
.nav-cta:hover { background: var(--color-primary-dark) !important; }

/* Phone in header */
.header-phone {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary);
  font-size: var(--fs-body);
  white-space: nowrap;
}
.header-phone:hover { color: var(--color-primary); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-secondary);
  transition: var(--transition);
  position: relative;
  border-radius: 1px;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-secondary);
  position: absolute;
  transition: var(--transition);
  border-radius: 1px;
}
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; }
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   BUTTONS — Bold-Energy: thick, square-ish, strong contrast
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-body);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  min-height: 48px;
  text-align: center;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}
.btn-secondary:hover {
  background: var(--color-secondary-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-secondary);
}
.btn-outline-primary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-primary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-white {
  background: var(--color-white);
  color: var(--color-secondary);
}
.btn-white:hover {
  background: #f0f0f0;
  color: var(--color-primary);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: var(--fs-small); }
.btn-lg { padding: 1.125rem 2.75rem; font-size: 1.125rem; }
.btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ============================================================
   HERO — Full-width, bold imagery, strong overlay
   ============================================================ */
.hero {
  position: relative;
  background: var(--color-secondary-dark);
  color: var(--color-text-on-dark);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero .container { position: relative; z-index: 2; }
.hero-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero h1 {
  font-size: var(--fs-hero);
  color: var(--color-white);
  max-width: 740px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero .lead { color: #ccd3e0; max-width: 600px; margin-bottom: 1.5rem; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
}
.hero-stat .stat-label {
  font-size: var(--fs-xs);
  color: #99a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero Contact Bar */
.hero-contact-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.hero-contact-bar .social-links a { color: #99a3b8; }
.hero-contact-bar .social-links a:hover { color: var(--color-primary); }
.hero-contact-bar a { color: #99a3b8; }
.hero-contact-bar a:hover { color: var(--color-primary); }
.hero-contact-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: var(--fs-small);
  flex-wrap: wrap;
}
.hero-contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  white-space: nowrap;
}
.hero-contact-info svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.hero-contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  color: #99a3b8;
}

.hero-estimate-form {
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 16px 42px rgba(0,0,0,0.26);
}
.hero-estimate-form h2 {
  color: var(--color-secondary);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.hero-estimate-form p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.hero-estimate-form .form-group { margin-bottom: 0.65rem; }
.hero-estimate-form .form-label {
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}
.hero-estimate-form .form-input,
.hero-estimate-form .form-textarea {
  padding: 0.65rem 0.75rem;
  font-size: 0.92rem;
}
.hero-estimate-form .form-textarea {
  min-height: 76px;
}
.hero-estimate-form .btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

/* Inner page hero */
.hero--inner {
  padding: clamp(1.75rem, 4vw, 3rem) 0;
}
.hero--inner h1 { text-transform: none; letter-spacing: 0; }
.blog-article-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  max-width: 760px;
  text-wrap: balance;
}
.breadcrumbs {
  font-size: var(--fs-xs);
  color: #99a3b8;
  margin-bottom: 0.5rem;
}
.breadcrumbs a { color: #ccd3e0; }
.breadcrumbs a:hover { color: var(--color-primary); }

/* Service-page hero families: one brand language, distinct page roles */
.service-hero {
  min-height: 440px;
  display: flex;
  align-items: center;
  padding: 2.75rem 0;
}
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.service-hero .container {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-hero h1 {
  font-size: clamp(2.25rem, 3.8vw, 3.15rem);
  line-height: 1.08;
  max-width: 680px;
  text-wrap: balance;
}
.service-hero .lead {
  max-width: 620px;
  text-wrap: pretty;
}

/* Groundwork services retain a project-forward photograph with a compact copy rail. */
.service-hero--field .hero-bg {
  opacity: .68;
}
.service-hero--field::after {
  background: linear-gradient(90deg, rgba(14,28,58,.97) 0%, rgba(14,28,58,.9) 45%, rgba(14,28,58,.2) 82%, rgba(14,28,58,.08) 100%);
}
.service-hero--field h1,
.service-hero--field .lead {
  max-width: 640px;
}

/* Removal work uses a right-hand copy rail so the equipment and cleared site
   remain visible instead of repeating the standard left-rail field hero. */
.service-hero--removal .hero-bg {
  opacity: .76;
  object-position: center 62%;
}
.service-hero--removal::after {
  background: linear-gradient(270deg, rgba(14,28,58,.98) 0%, rgba(14,28,58,.92) 43%, rgba(14,28,58,.28) 76%, rgba(14,28,58,.08) 100%);
}
.service-hero--removal .container {
  align-items: flex-end;
}
.service-hero--removal .container > * {
  width: min(100%, 555px);
}
.service-hero--removal .btn-group {
  justify-content: flex-start;
}

/* Drainage is presented as a diagnostic split: real foundation work on one
   side, a quieter navy explanation panel on the other. */
.service-hero--diagnostic {
  background: var(--color-secondary-dark);
}
.service-hero--diagnostic .hero-bg {
  inset: 0 auto 0 0;
  width: 46%;
  opacity: 1;
  object-position: center 58%;
}
.service-hero--diagnostic::after {
  background: linear-gradient(270deg, var(--color-secondary-dark) 0%, var(--color-secondary-dark) 44%, rgba(14,28,58,.9) 55%, rgba(14,28,58,.12) 79%);
}
.service-hero--diagnostic .container {
  align-items: flex-end;
}
.service-hero--diagnostic .container > * {
  width: min(100%, 555px);
}
.service-hero--diagnostic .section-label {
  padding-left: .8rem;
  border-left: 4px solid var(--color-primary);
}

/* Landscape and enclosure work uses an editorial half-image composition. */
.service-hero--editorial {
  background: var(--color-secondary-dark);
}
.service-hero--editorial .hero-bg {
  inset: 0 0 0 auto;
  width: 55%;
  opacity: .94;
}
.service-hero--editorial::after {
  background: linear-gradient(90deg, var(--color-secondary-dark) 0%, var(--color-secondary-dark) 43%, rgba(14,28,58,.88) 54%, rgba(14,28,58,.08) 78%);
}
.service-hero--editorial h1,
.service-hero--editorial .lead {
  max-width: 560px;
}
.service-hero--editorial .section-label {
  padding-left: .8rem;
  border-left: 4px solid var(--color-primary);
}

/* Pressure washing gets a brighter, surface-focused treatment. */
.service-hero--clean {
  background: var(--color-bg-alt);
  color: var(--color-secondary);
}
.service-hero--clean .hero-bg {
  inset: 0 0 0 auto;
  width: 52%;
  opacity: 1;
}
.service-hero--clean::after {
  background: linear-gradient(90deg, var(--color-bg-alt) 0%, var(--color-bg-alt) 43%, rgba(245,246,248,.94) 52%, rgba(245,246,248,.05) 78%);
}
.service-hero--clean h1 {
  color: var(--color-secondary);
  max-width: 550px;
}
.service-hero--clean .lead {
  color: var(--color-text-light);
  max-width: 540px;
}
.service-hero--clean .breadcrumbs,
.service-hero--clean .breadcrumbs a {
  color: var(--color-text-muted);
}
.service-hero--clean .breadcrumbs .current {
  color: var(--color-secondary);
}
.service-hero--clean .btn-outline {
  border-color: var(--color-secondary) !important;
  color: var(--color-secondary) !important;
  background: rgba(255,255,255,.8);
}
.service-hero--clean .btn-outline:hover {
  background: var(--color-secondary);
  color: var(--color-white) !important;
}

/* Masonry and outdoor-living pages present the project image as a framed feature. */
.service-hero--showcase {
  background: var(--color-secondary);
}
.service-hero--showcase .hero-bg {
  inset: 1.5rem 0 auto auto;
  width: 47%;
  height: calc(100% - 3rem);
  opacity: 1;
  box-shadow: -18px 18px 0 rgba(253,1,0,.16);
}
.service-hero--showcase::after {
  inset: 10% auto 10% 51.5%;
  width: 5px;
  background: var(--color-primary);
}
.service-hero--showcase h1,
.service-hero--showcase .lead {
  max-width: 555px;
}

/* Showcase copy stays in normal flow on larger screens. Explicit block flow
   keeps the breadcrumb and heading below the header even when webfont metrics
   make the opening copy taller than the original centered hero track. */
@media (min-width: 769px) {
  .service-hero--showcase {
    display: block;
    min-height: 0;
    padding: clamp(3.5rem, 5vw, 4.5rem) 0 clamp(3.25rem, 4.5vw, 4rem);
  }

  .service-hero--showcase .container {
    display: block;
    min-height: 0;
  }

  .service-hero--hardscaping h1 {
    font-size: clamp(2.35rem, 3.4vw, 3.1rem);
    line-height: 1.08;
  }
}

.service-hero--editorial + .trust-bar,
.service-hero--clean + .trust-bar,
.service-hero--removal + .trust-bar {
  background: var(--color-white);
  color: var(--color-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.service-hero--editorial + .trust-bar .container,
.service-hero--clean + .trust-bar .container,
.service-hero--removal + .trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.service-hero--editorial + .trust-bar .trust-item,
.service-hero--clean + .trust-bar .trust-item,
.service-hero--removal + .trust-bar .trust-item {
  justify-content: center;
  min-height: 38px;
  padding: 0 .8rem;
  border-right: 1px solid var(--color-border);
}
.service-hero--editorial + .trust-bar .trust-item:last-child,
.service-hero--clean + .trust-bar .trust-item:last-child,
.service-hero--removal + .trust-bar .trust-item:last-child {
  border-right: 0;
}
.service-hero--editorial + .trust-bar .trust-item svg,
.service-hero--clean + .trust-bar .trust-item svg,
.service-hero--removal + .trust-bar .trust-item svg {
  color: var(--color-primary);
}
.service-hero--showcase + .trust-bar {
  background: var(--color-secondary-dark);
  border-top: 4px solid var(--color-primary);
}
.service-hero--diagnostic + .trust-bar {
  background: var(--color-secondary);
  border-top: 4px solid var(--color-primary);
}

/* ============================================================
   TRUST BAR — Bold red strip
   ============================================================ */
.trust-bar {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.875rem 0;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  text-align: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.trust-item svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-primary);
}
.card-body { padding: 1.25rem; }
.card-img {
  aspect-ratio: 16/10;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */
.blog-archive-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.blog-archive-item {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  align-items: stretch;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-left: 5px solid var(--color-primary);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.blog-archive-item:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 1, 0, .35);
  box-shadow: var(--shadow-md);
}
.blog-archive-media {
  min-height: 190px;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.blog-archive-media img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform var(--transition);
}
.blog-archive-item:hover .blog-archive-media img {
  transform: scale(1.035);
}
.blog-archive-body {
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  display: grid;
  align-content: center;
}
.blog-archive-body h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: .55rem;
}
.blog-archive-body p:not(.blog-meta) {
  max-width: 68ch;
  color: var(--color-text-light);
}

/* Local service pages use integrated image tiles so project-style media does not read as detached captions. */
.local-service-grid {
  align-items: stretch;
}
.local-service-grid .service-card {
  min-height: 360px;
  display: flex;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: var(--color-secondary-dark);
  box-shadow: var(--shadow-md);
}
.local-service-grid .service-card .card-img {
  position: absolute;
  inset: 0;
  height: 100%;
}
.local-service-grid .service-card .card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 28, 58, .1) 0%, rgba(14, 28, 58, .72) 62%, rgba(14, 28, 58, .92) 100%),
    linear-gradient(90deg, rgba(253, 1, 0, .28), rgba(253, 1, 0, 0) 45%);
}
.local-service-grid .service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.local-service-grid .service-card:hover .card-img img {
  transform: scale(1.045);
}
.local-service-grid .service-card .card-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.35rem;
  color: var(--color-white);
}
.local-service-grid .service-card h3,
.local-service-grid .service-card p,
.local-service-grid .service-card .card-link {
  color: var(--color-white);
}
.local-service-grid .service-card p {
  margin-bottom: .75rem;
  color: rgba(255,255,255,.88);
}
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
/* Service card images — enforce consistent aspect ratio regardless of source dimensions */
.service-card > img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.service-card .card-body h3 { margin-bottom: 0.375rem; }
.service-card .card-body p { color: var(--color-text-light); font-size: var(--fs-small); margin-bottom: 0.625rem; }
.service-card .card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.service-card .card-link:hover { gap: 0.6rem; }

/* ============================================================
   ICON CARDS (compact service list)
   ============================================================ */
.icon-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-left: 4px solid var(--color-primary);
}
.icon-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.icon-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-card-icon svg { width: 24px; height: 24px; fill: currentColor; }
.icon-card h3 { margin-bottom: 0.25rem; }
.icon-card p { color: var(--color-text-light); font-size: var(--fs-small); margin-bottom: 0; }

/* ============================================================
   TWO-COLUMN LAYOUTS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split-content { max-width: 560px; }
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.proof-panel {
  align-self: stretch;
  background: var(--color-secondary);
  color: var(--color-white);
  border-left: 5px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
}
.proof-panel h3 {
  color: var(--color-white);
}
.proof-panel p {
  color: #dce3ef;
  margin-bottom: 0;
}

/* Checklist style */
.check-list { margin: 0.75rem 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: var(--fs-body);
  color: var(--color-text);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-primary);
}
.testimonial-text { font-style: italic; color: var(--color-text-light); margin-bottom: 0.75rem; line-height: 1.7; }
.testimonial-author { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-small); color: var(--color-secondary); }
.testimonial-meta { font-size: var(--fs-xs); color: var(--color-text-muted); }
.reviews-grid { align-items: stretch; }
.reviews-intro {
  max-width: 760px;
  margin: 0.75rem auto 0;
  color: var(--color-text-light);
}
.reviews-grid {
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  border-top-width: 5px;
  overflow: hidden;
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: -0.4rem;
  right: 1rem;
  color: var(--color-primary-light);
  font-family: Georgia, serif;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.review-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
}
.review-card blockquote p {
  margin: 0;
  overflow-wrap: break-word;
}
.review-card figcaption {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--color-border-light);
}
.review-card cite,
.review-card .review-source { display: block; font-style: normal; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: left;
  cursor: pointer;
  min-height: 48px;
  gap: 1rem;
}
.faq-question:hover { color: var(--color-primary); }
.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  line-height: 1;
  color: var(--color-primary);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding-bottom: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================================
   FORMS — Bold-energy: thick borders, strong focus state
   ============================================================ */
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-small);
  margin-bottom: 0.375rem;
  color: var(--color-secondary);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: var(--fs-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
  background: var(--color-white);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(253, 1, 0, 0.12);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.contact-form {
  background: var(--color-bg-alt);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
}
.contact-form[id] {
  scroll-margin-top: 6rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-error {
  color: var(--color-error);
  font-size: var(--fs-xs);
  margin-top: 0.25rem;
  display: none;
}
.form-input.invalid, .form-textarea.invalid, .form-select.invalid {
  border-color: var(--color-error);
}
.form-input.invalid ~ .form-error,
.form-textarea.invalid ~ .form-error,
.form-select.invalid ~ .form-error { display: block; }

/* Thank you message */
.form-thank-you {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-thank-you.visible { display: block; }
.form-thank-you h3 { color: var(--color-success); }

/* ============================================================
   CTA SECTION — Bold red
   ============================================================ */
.cta-section {
  background: var(--color-primary);
  color: var(--color-white);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
}
.cta-section h2 { color: var(--color-white); }
.cta-section p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 1.25rem; }

/* CTA Navy variant */
.cta-navy {
  background: var(--color-secondary);
}

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
  counter-reset: step;
}
.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: var(--radius);
  border-bottom: 3px solid var(--color-primary);
}
.process-step h3 { margin-bottom: 0.375rem; }
.process-step p { color: var(--color-text-light); font-size: var(--fs-small); margin-bottom: 0; }

.story-panel {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 6px solid var(--color-primary);
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-white));
  box-shadow: var(--shadow);
}
.story-panel p:last-child { margin-bottom: 0; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.coverage-feature .split-img,
.portfolio-services .split-img {
  border: 6px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow-lg);
}
.coverage-feature .section-label { color: #fff; }
.coverage-feature .split-content p { color: #d9e1ef; }
.portfolio-intro + .portfolio-process { border-top: 1px solid var(--color-border-light); }

/* ============================================================
   AREA / LOCATION CARDS
   ============================================================ */
.area-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary);
  transition: all var(--transition);
  border-left: 4px solid var(--color-primary);
  min-width: 0;
  overflow: hidden;
}
.area-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}
.area-card svg { width: 20px; height: 20px; fill: var(--color-primary); flex-shrink: 0; }
.area-card .card-body { width: 100%; min-width: 0; }
.area-card h3,
.area-card .card-link {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-secondary-dark);
  color: #bfc8d9;
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-brand p { font-size: var(--fs-small); margin-bottom: 0.5rem; }
.footer-brand .logo img { height: 48px; margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0; }
.footer a {
  color: #bfc8d9;
  font-size: var(--fs-small);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer a:hover { color: var(--color-primary); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--color-primary); flex-shrink: 0; }
.footer .social-links a { color: #bfc8d9; }
.footer .social-links a:hover { color: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: #6b7a94;
}
.footer-bottom a { color: #6b7a94; }
.footer-bottom a:hover { color: var(--color-primary); }

/* ============================================================
   IMAGE FALLBACKS
   ============================================================ */
.card-img, .img-wrap, .split-img, .gallery-item { position: relative; overflow: hidden; }
.img-fallback {
  aspect-ratio: 16/9;
  background: #e2e5eb;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #9ca3af;
  border-radius: var(--radius);
}
.img-fallback span {
  color: #6b7280;
  font-size: var(--fs-xs);
  text-align: center;
  padding: 1rem;
}
.img-real {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity .3s;
}
.img-real.loaded {
  opacity: 1;
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-section .gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(14,28,58,0.55), rgba(14,28,58,0));
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-section .gallery-item:hover::after { opacity: 1; }

/* Gallery filter */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-secondary);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 48px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ============================================================
   TABLES
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}
.data-table th {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.data-table tr:hover { background: var(--color-bg-alt); }

/* ============================================================
   BLOG / ARTICLE
   ============================================================ */
.blog-card .card-body { padding: 1.25rem; }
.card-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: 0.375rem;
}
.blog-card .blog-meta,
.blog-archive-body .blog-meta {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: 0.375rem;
}
.blog-card h3 a,
.blog-archive-body h3 a { color: var(--color-secondary); }
.blog-card h3 a:hover,
.blog-archive-body h3 a:hover { color: var(--color-primary); }

.blog-index-grid.blog-archive-layout,
.blog-index-grid.blog-editorial-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 2rem);
}

.blog-resource-hub {
  --blog-rail-bg: var(--color-bg-alt);
}

.blog-archive-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: 1.25rem;
}

.blog-archive-intro p {
  max-width: 66ch;
  margin-bottom: 0;
}

.blog-topic-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
  max-width: 420px;
}

.blog-topic-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .45rem .75rem;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-featured-story {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--color-primary);
  overflow: hidden;
}

.blog-resource-hub .blog-featured-story h3 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.08;
  max-width: 12ch;
}

.blog-resource-hub .blog-featured-story p:not(.blog-meta) {
  font-size: var(--fs-lg);
  max-width: 48ch;
}

.blog-topic-rail {
  position: relative;
  background: var(--blog-rail-bg);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-primary);
  padding-top: .25rem;
}

.blog-topic-rail a {
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.blog-topic-rail a:hover {
  background: var(--color-white);
  transform: translateY(-2px);
}

.blog-directory-list {
  border-top: 1px solid var(--color-border);
}

.blog-rail-kicker {
  margin: 0;
  padding: clamp(.9rem, 2vw, 1.1rem) clamp(1rem, 2.5vw, 1.35rem) .25rem;
  color: var(--color-text-light);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.blog-featured-story .blog-archive-media {
  min-height: clamp(300px, 36vw, 430px);
}

.blog-featured-story .blog-archive-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-story .blog-archive-body {
  padding: clamp(1.5rem, 5vw, 3rem);
  justify-content: center;
}

.blog-featured-story .blog-meta,
.blog-featured-story p {
  color: rgba(255,255,255,.84);
}

.blog-featured-story h3 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  max-width: 13ch;
}

.blog-featured-story h3 a,
.blog-featured-story .card-link {
  color: var(--color-white);
}

.blog-featured-story .card-link:hover,
.blog-featured-story h3 a:hover {
  color: #ffd9d9;
}

.blog-archive-compact,
.blog-guide-library {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .85rem;
}

.blog-list-heading {
  padding: 0 0 .75rem;
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.blog-list-header {
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
  gap: 1rem;
  align-items: end;
  padding-bottom: 1rem;
}

.blog-list-header p {
  margin: 0;
  color: var(--color-text-light);
}

.blog-library-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: .85rem 0 .25rem;
  border-top: 1px solid var(--color-border-light);
}

.blog-library-section > h3 {
  margin: 0 0 .25rem;
  color: var(--color-secondary);
  font-size: clamp(1rem, 2vw, 1.16rem);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 4px solid var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #fff 0%, var(--color-bg-alt) 100%);
}

.blog-service-strip a {
  display: grid;
  gap: .35rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--color-text);
  border-right: 1px solid var(--color-border-light);
}

.blog-service-strip a:last-child {
  border-right: 0;
}

.blog-service-strip span {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary);
}

.blog-service-strip strong {
  font-size: .95rem;
  line-height: 1.45;
  color: var(--color-secondary);
}

.blog-service-strip a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.blog-service-strip a:hover span,
.blog-service-strip a:hover strong {
  color: var(--color-white);
}

.blog-archive-item,
.blog-archive-compact .blog-archive-row,
.blog-guide-library .blog-archive-row {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-left: 4px solid transparent;
  box-shadow: 0 1px 0 rgba(22,42,84,.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.blog-archive-item:hover,
.blog-archive-compact .blog-archive-row:hover,
.blog-guide-library .blog-archive-row:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow);
  border-left-color: var(--color-primary);
}

.blog-archive-media,
.blog-archive-compact .blog-archive-media,
.blog-guide-library .blog-archive-media {
  min-height: 128px;
  background: var(--color-secondary);
  overflow: hidden;
}

.blog-archive-media img,
.blog-archive-compact .blog-archive-media img,
.blog-guide-library .blog-archive-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-archive-body,
.blog-archive-compact .blog-archive-body,
.blog-guide-library .blog-archive-body {
  padding: .95rem 1rem .95rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-archive-body p:not(.blog-meta),
.blog-archive-compact .blog-archive-body p:not(.blog-meta),
.blog-guide-library .blog-archive-body p:not(.blog-meta) {
  max-width: 68ch;
  margin-bottom: .5rem;
  color: var(--color-text-light);
}

.blog-featured-story .blog-archive-body p:not(.blog-meta) {
  color: rgba(255,255,255,.84);
}

.blog-archive-item .blog-archive-body h3,
.blog-archive-row .blog-archive-body h3 {
  font-size: clamp(1rem, 2vw, 1.18rem);
  margin-bottom: .35rem;
}

.blog-archive-item .blog-archive-body p:not(.blog-meta),
.blog-archive-compact .blog-archive-row .blog-archive-body p:not(.blog-meta),
.blog-guide-library .blog-archive-row .blog-archive-body p:not(.blog-meta) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-archive-compact .card-link,
.blog-guide-library .card-link {
  font-size: var(--fs-xs);
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-reading-list {
  gap: 0;
  padding: clamp(1.1rem, 3vw, 1.75rem) clamp(1rem, 3vw, 1.5rem) .35rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(90deg, rgba(196, 30, 58, .08), rgba(196, 30, 58, 0) 26rem),
    var(--color-white);
}

.blog-reading-list .blog-list-heading {
  padding: 0;
}

.blog-reading-list .blog-archive-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: none;
  padding: .82rem 0;
}

.blog-reading-list .blog-archive-row:hover {
  transform: none;
  box-shadow: none;
  border-left-color: transparent;
}

.blog-reading-list .blog-archive-media {
  display: none;
}

.blog-reading-list .blog-archive-body {
  display: grid;
  grid-template-columns: minmax(7rem, .16fr) minmax(0, 1fr) auto;
  gap: clamp(.75rem, 2vw, 1.2rem);
  align-items: center;
  padding: 0;
}

.blog-reading-list .blog-meta {
  grid-column: 1;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-reading-list .blog-archive-body h3 {
  grid-column: 2;
  margin: 0;
  line-height: 1.25;
}

.blog-reading-list .blog-archive-body p:not(.blog-meta) {
  grid-column: 2;
  max-width: 58ch;
  margin: .18rem 0 0;
  color: var(--color-text-light);
  font-size: var(--fs-small);
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.blog-reading-list .card-link {
  grid-column: 3;
  white-space: nowrap;
  color: var(--color-secondary);
  padding: .4rem .7rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
}

.blog-reading-list .blog-archive-row:hover h3 a,
.blog-reading-list .blog-archive-row:hover .card-link {
  color: var(--color-primary);
}

.blog-magazine-index {
  display: block !important;
}

.blog-magazine-index > * + * {
  margin-top: clamp(1.15rem, 3vw, 1.75rem);
}

.blog-magazine-index .blog-featured-story {
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.blog-index-directory.blog-guide-library {
  display: block;
  padding: clamp(1.15rem, 3vw, 1.75rem) clamp(1rem, 3vw, 1.5rem);
  border-top: 4px solid var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(90deg, rgba(253,1,0,.08), rgba(253,1,0,0) 24rem),
    var(--color-white);
}

.blog-index-directory .blog-list-header {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--color-border-light);
}

.blog-index-directory .blog-library-section {
  display: block;
  padding: 1.05rem 0 .25rem;
  border-top: 0;
}

.blog-index-directory .blog-library-section + .blog-library-section {
  margin-top: .85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-light);
}

.blog-index-directory .blog-library-section > h3 {
  margin: 0 0 .35rem;
  padding-left: .85rem;
  border-left: 4px solid var(--color-primary);
}

.blog-index-directory .blog-archive-row {
  border-bottom: 1px solid var(--color-border-light);
}

.blog-index-directory .blog-archive-row:last-child {
  border-bottom: 0;
}

.blog-article-section .article-content > p:first-of-type {
  font-size: 1.08rem;
  color: var(--color-secondary);
  border-left: 5px solid var(--color-primary);
  padding-left: 1rem;
}

.blog-magazine-index .blog-archive-row {
  min-height: 128px;
}

.blog-magazine-index .blog-archive-body h3 {
  max-width: 58rem;
}

.blog-magazine-index .blog-archive-body .card-link {
  margin-top: auto;
  width: max-content;
}

.blog-magazine-index .blog-library-section {
  scroll-margin-top: 7rem;
}

.gallery-item figcaption,
.gallery-item .gallery-caption,
.gallery-item .project-caption,
.gallery-item p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 1.75rem 1rem 0.85rem;
  background: linear-gradient(0deg, rgba(14,28,58,0.88), rgba(14,28,58,0));
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .blog-index-grid.blog-archive-layout,
  .blog-index-grid.blog-editorial-index {
    gap: 1rem;
  }

  .blog-archive-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .blog-topic-pills {
    justify-content: flex-start;
    max-width: none;
  }

  .blog-service-strip {
    grid-template-columns: 1fr;
  }

  .blog-list-header {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .blog-service-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--color-border-light);
  }

  .blog-featured-story,
  .blog-archive-compact .blog-archive-row,
  .blog-guide-library .blog-archive-row {
    grid-template-columns: 1fr;
  }

  .blog-featured-story .blog-archive-media {
    min-height: 230px;
  }

  .blog-featured-story h3 {
    max-width: none;
  }

  .blog-archive-compact .blog-archive-row .blog-archive-media,
  .blog-guide-library .blog-archive-row .blog-archive-media {
    display: none;
  }

  .blog-archive-compact .blog-archive-body,
  .blog-guide-library .blog-archive-body {
    padding: 1rem;
  }

  .blog-reading-list .blog-archive-row {
    display: block;
    padding: .95rem 0;
  }

  .blog-reading-list .blog-archive-body {
    grid-template-columns: 1fr;
    gap: .35rem;
    padding: 0;
  }

  .blog-reading-list .blog-meta,
  .blog-reading-list .blog-archive-body h3,
  .blog-reading-list .blog-archive-body p:not(.blog-meta),
  .blog-reading-list .card-link {
    grid-column: 1;
  }

  .blog-reading-list .card-link {
    white-space: normal;
  }
}
.article-content { max-width: 740px; margin: 0 auto; }
.article-content h2 { margin-top: 2rem; }
.article-content h3 { margin-top: 1.5rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol {
  list-style-position: inside;
  margin: 0.5rem 0 1rem 1rem;
}
.article-content ul { list-style-type: disc; }
.article-content ol { list-style-type: decimal; }
.article-content li { margin-bottom: 0.25rem; }
.article-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.article-meta {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-1 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.75rem; }
.mt-3 { margin-top: 1.25rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.75rem; }
.mb-3 { margin-bottom: 1.25rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- SMS Consent (A2P Compliance) --- */
.sms-consent{display:grid;gap:12px;margin:16px 0}
.sms-consent__option{min-width:0;padding:12px;border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-white)}
.sms-consent__label{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;margin:0;font-size:12px;line-height:1.55;color:var(--color-text-muted);cursor:pointer}
.sms-consent__label span{min-width:0;overflow-wrap:normal;word-break:normal}
.sms-consent__label input[type="checkbox"]{margin:2px 0 0;flex-shrink:0;width:18px;height:18px;cursor:pointer;accent-color:var(--color-primary)}
.sms-consent__links{display:flex;flex-wrap:wrap;gap:6px 14px;margin:8px 0 0 28px;font-size:12px;line-height:1.4}
.sms-consent__links a{color:var(--color-primary);font-weight:600;text-decoration:underline;text-underline-offset:2px}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .header-phone-desktop { display: none; }
  .nav a,
  .nav-dropdown > button {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    font-size: 0.78rem;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .priority-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-img { order: -1; }
  .contact-conversion-section { padding-top: 1.75rem; }
  .contact-conversion-layout .contact-form-column { order: -1; }
  .form-row { grid-template-columns: 1fr; }
  .service-area-coverage,
  .portfolio-scope {
    grid-template-columns: 1fr;
  }
  .service-city-proof,
  .service-city-checklist {
    grid-template-columns: 1fr;
  }
  .service-city-proof__media img {
    min-height: 260px;
  }
  .story-panel-accent,
  .service-area-coverage,
  .portfolio-scope {
    padding: 1.25rem;
  }
  .blog-archive-item {
    grid-template-columns: 1fr;
  }
  .blog-archive-media,
  .blog-archive-media img {
    min-height: 210px;
  }
  .local-service-grid .service-card {
    min-height: 330px;
  }
  .local-service-grid .service-card .card-body {
    padding: 1.15rem;
  }

  /* Mobile nav */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 3px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a, .nav-dropdown > button {
    width: 100%;
    padding: 0.875rem 1rem;
    justify-content: flex-start;
    text-align: left;
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    padding-left: 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
  }
  .menu-toggle { display: flex; }
  .header-phone-desktop { display: none; }

  .hero {
    padding: 1rem 0 1.4rem;
  }
  .hero-conversion {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .hero h1 {
    font-size: clamp(1.55rem, 7.5vw, 2.1rem);
    margin-bottom: 0.45rem;
  }
  .hero .lead {
    font-size: 0.92rem;
    line-height: 1.42;
    margin-bottom: 0.65rem;
  }
  .service-hero {
    min-height: 0;
    padding: 1.35rem 0 1.6rem;
    background: var(--color-secondary-dark);
  }
  .service-hero .container {
    min-height: 0;
    align-items: stretch;
  }
  .service-hero .container > * { width: auto; }
  .service-hero .hero-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .34;
    box-shadow: none;
  }
  .service-hero::after {
    inset: 0;
    width: auto;
    background: linear-gradient(90deg, rgba(14,28,58,.9), rgba(14,28,58,.5));
  }
  .service-hero h1,
  .service-hero--clean h1 {
    color: var(--color-white);
    max-width: 100%;
  }
  .service-hero .lead,
  .service-hero--clean .lead {
    color: #dbe1ec;
    max-width: 100%;
  }
  .service-hero--clean .breadcrumbs,
  .service-hero--clean .breadcrumbs a,
  .service-hero--clean .breadcrumbs .current {
    color: #ccd3e0;
  }
  .service-hero--clean .btn-outline {
    border-color: var(--color-white) !important;
    color: var(--color-white) !important;
    background: transparent;
  }
  .service-hero--editorial + .trust-bar .container,
  .service-hero--clean + .trust-bar .container,
  .service-hero--removal + .trust-bar .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-hero--editorial + .trust-bar .trust-item,
  .service-hero--clean + .trust-bar .trust-item,
  .service-hero--removal + .trust-bar .trust-item {
    border-right: 0;
  }
  .hero-copy .btn-group { display: none; }
  .hero-estimate-form {
    padding: 0.85rem;
  }
  .hero-estimate-form h2 {
    font-size: 1rem;
  }
  .hero-estimate-form p {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 0.55rem;
  }
  .hero-estimate-form .form-group {
    margin-bottom: 0.48rem;
  }
  .hero-estimate-form .form-label {
    font-size: 0.7rem;
    margin-bottom: 0.1rem;
  }
  .hero-estimate-form .form-input,
  .hero-estimate-form .form-textarea {
    padding: 0.5rem 0.6rem;
    font-size: 0.86rem;
  }
  .hero-estimate-form .form-textarea {
    min-height: 56px;
  }
  .hero-estimate-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }
  .hero-estimate-form .btn {
    min-height: 44px;
    padding: 0.6rem 0.75rem;
  }
  .hero-stats { gap: 1.5rem; }
  .hero-stat .stat-value { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .contact-form { padding: 1rem; }
  .sms-consent__option { padding: 11px; }
  .sms-consent__label { font-size: 0.78rem; line-height: 1.5; }
  .sms-consent__links { margin-left: 28px; }
  .btn-group { flex-direction: column; width: 100%; }
  .btn-group .btn { width: 100%; }
  .top-bar-left { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats,
  .hero-contact { display: none !important; }
  .service-hero--editorial + .trust-bar .container,
  .service-hero--clean + .trust-bar .container,
  .service-hero--removal + .trust-bar .container {
    grid-template-columns: 1fr;
  }
  .service-hero--editorial + .trust-bar .trust-item,
  .service-hero--clean + .trust-bar .trust-item,
  .service-hero--removal + .trust-bar .trust-item {
    justify-content: flex-start;
    white-space: normal;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@page { margin: 0.5in; }
@media print {
  body { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .header, .footer, .top-bar, .cta-section, .trust-bar { display: none; }
  .hero { padding: 1rem 0; }
  .section { padding: 1rem 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #666; }
}

/* ============================================================
   MISSING CLASS FIXES (QA 2026-04-25)
   ============================================================ */

/* author-bio: blog post author box (inline styles exist, this adds the class hook) */
.author-bio { /* styled inline; class kept for selector consistency */ }

/* current: breadcrumb active page indicator */
.current { color: var(--color-text); font-weight: 700; }

/* current-year: footer copyright year span (JS-updated) */
.current-year { /* no visual styles needed; used as JS selector */ }

/* faq-list: wrapper for FAQ accordions */
.faq-list { max-width: 800px; }

/* grid: bare grid class (pages use "grid grid-2" with both) */
.grid { display: grid; gap: var(--gap); }

/* hero-contact: homepage hero contact bar (inline styles exist, this adds the class hook) */
.hero-contact {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* section-header: section intro block (inline styles exist, this adds the class hook) */
.section-header { margin-bottom: 2rem; }
.section-header.text-center, .section-header[style*="text-align:center"] { text-align: center; }

/* --- Address Autocomplete Dropdown --- */
.address-dropdown{position:absolute;top:100%;left:0;right:0;z-index:1000;background:#fff;border:1px solid #ddd;border-top:none;border-radius:0 0 8px 8px;box-shadow:0 4px 12px rgba(0,0,0,.1);list-style:none;margin:0;padding:0;max-height:240px;overflow-y:auto}
.address-dropdown__item{padding:10px 14px;cursor:pointer;font-size:14px;line-height:1.4;border-bottom:1px solid #f0f0f0;transition:background .15s}
.address-dropdown__item:last-child{border-bottom:none}
.address-dropdown__secondary{color:#888;font-size:13px}
.address-dropdown__item--active,.address-dropdown__item:hover{background:var(--color-primary-light,#f0f7ff)}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* Keep descriptions readable over the local service photo overlays. */
.local-service-grid .service-card .card-body p { color: #fff; }
/* Allow legacy split sections to shrink inside the mobile viewport. */
.split > *, .split-img, .split-content { min-width: 0; }
.split-img img { max-width: 100%; }
@media (max-width: 767px) { .split { grid-template-columns: minmax(0, 1fr); } }
/* Inline links remain part of the sentence rather than separate flex items. */
.check-list li { display: block; position: relative; padding-left: 30px; }
.check-list li::before { position: absolute; left: 0; top: .375rem; }

/* Deliberate text service cards where no verified project image is available. */
.service-card-text{min-height:0!important;background:#10253b}.service-card-text .card-body{position:static!important;padding:28px!important}.hero-compact h1{font-size:clamp(2rem,4.3vw,3.5rem);line-height:1.12}

/* Deliberate text cards for services without reviewed project photography. */
.service-card-text {display:flex;align-items:center;background:#122342;color:#fff;border-color:#122342;min-height:220px;}
.service-card-text .card-body {padding:2rem;}
.service-card-text h3,.service-card-text p {color:#fff;}
.service-card-text .card-link {color:#fff;text-decoration:underline;text-underline-offset:4px;}

.service-card.service-card-text p,.service-card.service-card-text .card-body p{color:#f6f8fc}.service-card.service-card-text:hover p,.service-card.service-card-text:focus-within p{color:#fff}

/* Ten hardscape options form five complete rows. */
.grid-3.hardscape-options{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:640px){.grid-3.hardscape-options{grid-template-columns:1fr}}

.patio-project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}@media(max-width:640px){.patio-project-gallery{grid-template-columns:1fr}}

/* Local services: four photographed installations, then a compact utility-service list. */
.local-service-grid.poughkeepsie-project-services{grid-template-columns:repeat(2,minmax(0,1fr))}.poughkeepsie-additional-services{margin-top:2.5rem;border-top:1px solid #d6dce5;padding-top:1.5rem}.poughkeepsie-additional-services>h3{font-size:1.25rem;margin-bottom:1.25rem}.poughkeepsie-additional-services>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}.poughkeepsie-additional-services a{display:block;color:#122342}.poughkeepsie-additional-services a h3{font-size:1.1rem}.poughkeepsie-additional-services a p{color:#46576b;margin:.5rem 0}.poughkeepsie-additional-services a span{font-weight:700;text-decoration:underline;text-underline-offset:3px}@media(max-width:640px){.local-service-grid.poughkeepsie-project-services,.poughkeepsie-additional-services>div{grid-template-columns:1fr}}

/* Keep active breadcrumb labels legible over photographic inner-page heroes. */
.hero--inner:not(.service-hero--clean) .breadcrumbs .current { color: #fff; }

/* Concrete: a compact text introduction followed by a clearly identified site-work photo. */
.concrete-intro { background: #122340; }
.concrete-intro::after { display: none; }
.concrete-intro .lead { max-width: 720px; }

/* Grouped service directory */
.service-directory-jumps{display:flex;flex-wrap:wrap;gap:.65rem 1.5rem;margin:0 0 2rem;padding:1rem 0;border-bottom:1px solid #dbe1e8}
.service-directory-jumps a{color:#173c61;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.service-directory-group{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2.4fr);gap:2rem;padding:2rem 0;border-bottom:1px solid #dbe1e8}
.service-directory-group header h3{font-size:1.45rem;line-height:1.25;scroll-margin-top:120px}
.service-directory-group header p{font-size:.95rem;color:#536171;margin-top:.65rem}
.service-directory-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.5rem;align-content:start}
.service-directory-list li{margin:0;padding:0;border-top:1px solid #e4e8ed}
.service-directory-list a{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;color:#10253b;text-decoration:none;height:100%}
.service-directory-list strong{display:block;font-family:var(--font-heading);font-size:1rem;line-height:1.4}
.service-directory-description{display:block;color:#536171;font-size:.9rem;line-height:1.55;margin-top:.3rem}
.service-directory-list a:hover strong,.service-directory-list a:focus-visible strong{text-decoration:underline;text-underline-offset:4px}
.service-directory-list a:focus-visible{outline:2px solid #173c61;outline-offset:4px}
@media(max-width:767px){.service-directory-group{grid-template-columns:1fr;gap:.6rem;padding:1.5rem 0}.service-directory-list{grid-template-columns:1fr}.service-directory-jumps{display:grid;gap:.8rem}.service-directory-group header h3{font-size:1.4rem}.service-directory-list a{padding:.85rem 0}.service-directory-description{font-size:.88rem}}

/* Residential excavation: concise scope and actual work-site photography. */
.excavation-service-page .excavation-intro{display:grid;grid-template-columns:1.15fr 1fr;gap:3rem;align-items:start}.excavation-service-page .excavation-scope{padding:1.8rem;border-left:4px solid #14264e;background:#f2f4f7}.excavation-service-page .excavation-scope ul{padding-left:1.2rem;margin-bottom:0}.excavation-service-page .excavation-scope li{margin:.75rem 0}.excavation-service-page .excavation-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}.excavation-service-page .excavation-options article{border-top:2px solid #d5dce7;padding-top:1.2rem}.excavation-service-page .excavation-options h3{font-size:1.35rem}.excavation-service-page .excavation-work{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.excavation-service-page figure{margin:0}.excavation-service-page figure img{display:block;width:100%;height:360px;object-fit:contain;background:#f2f4f7;border-radius:10px}.excavation-service-page figcaption{font-size:.95rem;padding:.7rem 0;color:#526078}@media(max-width:767px){.excavation-service-page .excavation-intro,.excavation-service-page .excavation-options,.excavation-service-page .excavation-work{grid-template-columns:1fr;gap:1.5rem}.excavation-service-page figure img{height:auto;max-height:420px}.excavation-service-page .excavation-scope{padding:1.25rem}}

/* Center the final pair of homepage services. */
@media(min-width:769px){.home-service-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.home-service-grid>.service-card{grid-column:span 2}.home-service-grid>.service-card:nth-child(10){grid-column:2/span 2}.home-service-grid>.service-card:nth-child(11){grid-column:4/span 2}}
