/* ==========================================================================
   Gas Line Repair in Hanford - Master Stylesheet
   Original Design System: Light Blue, White, and Orange
   Palette:
     - Page Background: #F5FBFF
     - White Surfaces: #FFFFFF
     - Pale Blue Alternating Sections: #EAF6FD
     - Soft Blue Accent: #D9EFFA
     - Heading Text: #111C30 (Manrope, bold)
     - Body Text: #334155 (Inter)
     - Secondary Text: #526477
     - Borders: #D5E6F0
     - Orange Accent & Outline Icons: #F47B16
     - Primary Call Button: #C65102 (hover: #A94300)
     - Deep Navy Footer: #112338
   ========================================================================== */

:root {
  /* Centralized Color Tokens */
  --color-bg: #F5FBFF;
  --color-surface: #FFFFFF;
  --color-section-alt: #EAF6FD;
  --color-accent-soft: #D9EFFA;
  --color-heading: #111C30;
  --color-text-main: #334155;
  --color-text-muted: #526477;
  --color-border: #D5E6F0;
  --color-orange: #F47B16;
  --color-btn: #C65102;
  --color-btn-hover: #A94300;
  --color-footer-bg: #112338;

  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Sizing, Radius & Shadows */
  --container-max: 1200px;
  --radius-btn: 8px;
  --radius-card: 12px;
  --shadow-subtle: 0 1px 3px rgba(17, 28, 48, 0.04);
  --shadow-card: 0 4px 16px rgba(17, 28, 48, 0.05);
  --shadow-hover: 0 8px 24px rgba(17, 28, 48, 0.08);

  --sticky-bar-height: 60px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  padding-bottom: calc(var(--sticky-bar-height) + 16px);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Accessible Skip to Content Link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  z-index: 99999;
  padding: 0.75rem 1.25rem;
  background-color: var(--color-btn);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-btn);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  outline: 3px solid var(--color-heading);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--color-btn);
  outline-offset: 2px;
}

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

a {
  color: var(--color-btn);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-btn-hover);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-main);
}

.prose-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-main);
  max-width: 75ch;
}

/* Shared Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Standardized Content Reading Containers (Left-Aligned within outer container) */
.container.container-narrow,
.container.container-reading,
.container.text-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.container.container-narrow > *,
.container.container-reading > *,
.container.text-container > *,
.intro-prose-block,
.intro-prose-block > * {
  max-width: 78ch;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

/* Standalone reading classes when not on .container */
.text-container:not(.container),
.container-narrow:not(.container),
.container-reading:not(.container) {
  max-width: 78ch;
  margin-left: 0;
  margin-right: auto;
}

.prose-text,
.answer-first-lead {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--color-text-main);
  max-width: 75ch;
  text-align: left;
}

p {
  margin-top: 0;
  margin-bottom: 0.9rem; /* ~14px (12-16px target) */
  color: var(--color-text-main);
  text-align: left;
}

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

/* ==========================================================================
   Controlled Section Spacing System
   Consistent 56-80px desktop, 40-56px tablet, 32-48px mobile total gaps
   ========================================================================== */
.section,
.content-section {
  padding-top: 36px;
  padding-bottom: 36px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .section,
  .content-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (max-width: 639px) {
  .section,
  .content-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.section-white {
  background-color: var(--color-surface);
}

.section-alt,
.section-light,
.bg-light {
  background-color: var(--color-section-alt);
}

/* Adjacent sections sharing the same background use one controlled spacing boundary */
.section-alt + .section-alt,
.section-light + .section-light,
.bg-light + .bg-light,
.section-white + .section-white {
  padding-top: 28px;
}

@media (max-width: 1023px) {
  .section-alt + .section-alt,
  .section-light + .section-light,
  .bg-light + .bg-light,
  .section-white + .section-white {
    padding-top: 20px;
  }
}

@media (max-width: 639px) {
  .section-alt + .section-alt,
  .section-light + .section-light,
  .bg-light + .bg-light,
  .section-white + .section-white {
    padding-top: 16px;
  }
}

/* Scoped margin resets to prevent boundary gap blowout */
.section > .container > :first-child,
.section > .container-narrow > :first-child,
.content-section > .container > :first-child,
.content-section > .container-narrow > :first-child {
  margin-top: 0;
}

.section > .container > :last-child,
.section > .container-narrow > :last-child,
.content-section > .container > :last-child,
.content-section > .container-narrow > :last-child {
  margin-bottom: 0;
}

/* Component-level last-child overrides */
.intro-grid:last-child {
  margin-bottom: 0;
}

.safety-notice-box:last-child {
  margin-bottom: 0;
}

.table-wrapper:last-child {
  margin-bottom: 0;
}

.card-grid:last-child,
.cluster-grid-2:last-child,
.cluster-grid-3:last-child,
.cluster-grid-4:last-child,
.services-cards-grid:last-child,
.process-step-grid:last-child,
.service-features-grid-2col:last-child,
.location-group-section:last-child {
  margin-bottom: 0;
}

/* Internal Section Spacings:
   - Heading to description: 12-16px
   - Description to cards/table/content: 20-28px */
.section-header,
.section-title-wrap,
.section-heading {
  margin-top: 0;
  margin-bottom: 1.5rem; /* 24px */
  max-width: 820px;
}

.section-header h2,
.section-title-wrap h2,
.section-heading h2 {
  margin-top: 0;
  margin-bottom: 0.85rem; /* ~14px */
}

.section-subtitle,
.section-subheading {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 0;
}

/* Buttons & Call Controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-btn);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-btn);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(198, 81, 2, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-btn-hover);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(198, 81, 2, 0.35);
}

.btn-outline {
  background-color: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-heading) !important;
  box-shadow: var(--shadow-subtle);
}

.btn-outline:hover {
  border-color: var(--color-btn);
  color: var(--color-btn) !important;
  background-color: var(--color-accent-soft);
}

/* ==========================================================================
   Header: Clean Full-Width White Header with Centered Container (~80px Height)
   ========================================================================== */

.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  box-shadow: 0 1px 4px rgba(17, 28, 48, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-desktop {
  width: 260px;
  height: 42px;
}

.logo-mobile {
  display: none;
}

/* Desktop Navigation Links (24-28px gap) */
.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px; /* strictly around 24-28px */
}

.nav-item {
  position: relative;
}

.nav-link-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading);
  text-decoration: none;
  padding: 0.5rem 0.15rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-btn);
}

.dropdown-caret-btn {
  background: transparent;
  border: none;
  color: var(--color-heading);
  cursor: pointer;
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.dropdown-caret-btn:hover,
.dropdown-caret-btn:focus-visible {
  color: var(--color-btn);
}

.dropdown-caret-btn svg {
  transition: transform 0.2s ease;
}

.dropdown.is-open .dropdown-caret-btn svg,
.dropdown:hover .dropdown-caret-btn svg {
  transform: rotate(180deg);
}

/* Header Right Action: One Clear Orange Call Button at Far Right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-call-btn {
  background-color: var(--color-btn);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  height: 46px;
  padding: 0 1.35rem;
  border-radius: var(--radius-btn);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(198, 81, 2, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-call-btn:hover {
  background-color: var(--color-btn-hover);
  transform: translateY(-1px);
}

.call-btn-mobile {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-heading);
  cursor: pointer;
  padding: 0.35rem;
}

/* Desktop Dropdowns: Multi-Column Mega Menus */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(17, 28, 48, 0.12);
  z-index: 1010;
}

.dropdown:hover .dropdown-menu,
.dropdown.is-open .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: grid;
}

.dropdown-menu-services {
  width: 780px;
  max-width: 90vw;
  padding: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dropdown-menu-areas {
  width: 520px;
  max-width: 90vw;
  padding: 1.5rem;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
}

.dropdown-col {
  display: flex;
  flex-direction: column;
}

.dropdown-hub-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-heading);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  background-color: var(--color-section-alt);
  margin-bottom: 0.4rem;
  transition: all 0.15s ease;
}

.dropdown-hub-title:hover {
  color: var(--color-btn);
  background-color: var(--color-accent-soft);
}

.dropdown-group-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--color-border);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  font-size: 0.88rem;
  color: var(--color-heading);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-link:hover {
  background-color: var(--color-section-alt);
  color: var(--color-btn);
}

.nested-submenu {
  list-style: none;
  padding-left: 0.25rem;
  margin: 0;
}

.nested-submenu li {
  margin-bottom: 2px;
}

.dropdown-tag-active {
  font-size: 0.72rem;
  font-weight: 700;
  background-color: var(--color-accent-soft);
  color: var(--color-heading);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* Switch to mobile menu at <= 1040px where navigation no longer fits */
@media (max-width: 1040px) {
  .site-header {
    height: 70px;
  }

  .header-inner {
    height: 70px;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    width: 155px;
    height: 34px;
  }

  .header-call-btn {
    height: 40px;
    padding: 0 0.85rem;
    font-size: 0.85rem;
  }

  .call-btn-desktop {
    display: none;
  }

  .call-btn-mobile {
    display: inline;
  }
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem 2rem;
  box-shadow: 0 12px 24px rgba(17, 28, 48, 0.08);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

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

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 0;
}

.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  text-decoration: none;
  padding: 0.4rem 0;
}

.mobile-sub-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  color: var(--color-heading);
}

.mobile-submenu {
  display: none;
  list-style: none;
  padding: 0.5rem 0 0.5rem 0.75rem;
  border-left: 2px solid var(--color-border);
  margin: 0.5rem 0 0.25rem 0.25rem;
}

.mobile-submenu.is-expanded {
  display: block;
}

.mobile-sub-link {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--color-heading);
  text-decoration: none;
}

.mobile-sub-child-link {
  display: block;
  padding: 0.25rem 0 0.25rem 0.75rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-decoration: none;
}

.mobile-drawer-cta {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Hero Section: Continuous Pale Blue Composition with Subtle Gradient Transition
   ========================================================================== */

.hero-section {
  background-color: var(--color-bg); /* Consistent pale-blue base #F5FBFF */
  position: relative;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .hero-section {
    display: block;
    min-height: 520px;
  }
}

/* On Desktop: Position image layer behind the right portion extending to top, bottom, and right edges */
.hero-bg-media {
  position: relative;
  width: 100%;
  order: 2; /* Mobile: appears after text in normal flow */
}

@media (min-width: 992px) {
  .hero-bg-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
  }
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
  display: block;
}

@media (max-width: 991px) {
  .hero-bg-img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-position: center 20%;
  }
}

/* Horizontal gradient overlay: starts fully opaque pale-blue on left, becomes transparent across image left edge */
.hero-bg-overlay {
  display: none;
}

@media (min-width: 992px) {
  .hero-bg-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to right, #F5FBFF 0%, rgba(245, 251, 255, 0.95) 8%, rgba(245, 251, 255, 0.5) 20%, rgba(245, 251, 255, 0) 36%);
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  order: 1; /* Mobile: appears first */
}

.hero-content {
  padding: 44px 0 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-content {
    max-width: 540px;
    padding: 72px 0;
    min-height: 520px;
  }
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.18;
  color: var(--color-heading);
  font-weight: 800;
  margin-bottom: 1.25rem;
  max-width: 22ch;
  text-wrap: balance;
}

.hero-intro-text {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text-main);
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-ctas .btn {
  height: 48px;
  min-height: 48px;
  padding: 0 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
}

/* ==========================================================================
   Introduction Section: Balanced 2-Column Layout with Service Photo
   ========================================================================== */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start; /* align top with the beginning of the text block */
  margin-bottom: 2.5rem;
}

@media (min-width: 880px) {
  .intro-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.intro-grid > * {
  min-width: 0;
}

.intro-text-col {
  display: flex;
  flex-direction: column;
}

.intro-media-col {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px; /* restrained rounding, no excessive radius */
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(17, 28, 48, 0.04); /* removed heavy shadow */
  margin-top: 0.35rem; /* micro-align top with the text block heading */
}

.intro-photo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 7px;
}

/* ==========================================================================
   Restrained Safety Alert Box
   ========================================================================== */

.safety-notice-box {
  background-color: #FFFDF5;
  border: 1px solid #E2D9C8;
  border-left: 4px solid #D97706;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.safety-notice-header {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #92400E;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.safety-notice-intro {
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.safety-steps-list {
  padding-left: 1.35rem;
  margin-bottom: 1.25rem;
}

.safety-steps-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.safety-contacts-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background-color: #FFFFFF;
  border: 1px solid #E2D9C8;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

@media (min-width: 640px) {
  .safety-contacts-split {
    grid-template-columns: 1fr 1fr;
  }
}

.safety-contact-col strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.safety-contact-tel {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: underline;
}

.safety-contact-tel.utility {
  color: #DC2626;
}

.safety-contact-tel.business {
  color: var(--color-btn);
}

/* ==========================================================================
   Restyled Section 3: Photographic Service Cards (3 Top Row, 2 Centered Bottom)
   ========================================================================== */

.services-photogrid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-photo-card {
  position: relative;
  flex: 0 0 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(17, 28, 48, 0.09);
  border: 1px solid rgba(17, 28, 48, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: #111C30;
  min-height: 420px;
}

@media (prefers-reduced-motion: reduce) {
  .service-photo-card {
    transition: none;
  }
}

.service-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(17, 28, 48, 0.22);
}

.service-photo-card:focus-within {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

@media (min-width: 641px) and (max-width: 1040px) {
  .services-photogrid {
    gap: 24px;
  }
  .service-photo-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
  .service-photo-card:nth-child(5) {
    flex: 0 0 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .services-photogrid {
    gap: 20px;
  }
  .service-photo-card {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 380px;
  }
}

.service-card-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark Navy Gradient Overlay: Lighter over top photo, darker behind text */
.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17, 28, 48, 0.45) 0%, rgba(17, 28, 48, 0.86) 45%, rgba(17, 28, 48, 0.98) 100%);
  z-index: 2;
  pointer-events: none;
}

.service-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 28px 24px 24px;
}

.service-card-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.15rem;
}

.service-card-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(244, 123, 22, 0.22);
  border: 1px solid rgba(244, 123, 22, 0.55);
  color: #FFA44D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.service-card-desc {
  font-size: 0.96rem;
  line-height: 1.62;
  color: #E2ECF5;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  flex-grow: 1;
}

.service-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFA44D;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.service-card-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.service-card-call-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #C65102;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.service-card-call-link:hover {
  background-color: #A33F00;
  color: #FFFFFF;
}

/* ==========================================================================
   Restyled Section 4: Numbered 6-Step Workflow Process (3 Columns on Desktop)
   ========================================================================== */

.process-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

@media (min-width: 680px) and (max-width: 1040px) {
  .process-steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1041px) {
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.step-item-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-subtle);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .step-item-card {
    transition: none;
  }
}

.step-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.step-badge-number {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  background-color: #FEEFE6;
  color: var(--color-orange);
  border: 1px solid rgba(244, 123, 22, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.step-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(13, 92, 145, 0.08);
  border: 1px solid rgba(13, 92, 145, 0.14);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 0.55rem;
  line-height: 1.32;
}

.step-item-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.62;
  margin-bottom: 0;
}

/* ==========================================================================
   Restyled Section 5: Why Choose Us (Clean 2-Column Desktop Grid)
   ========================================================================== */

.features-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid-2col {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .feature-item {
    transition: none;
  }
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background-color: rgba(13, 92, 145, 0.08);
  border: 1px solid rgba(13, 92, 145, 0.16);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   Lists & Informational Panels
   ========================================================================== */

.bullet-bold-list {
  list-style: none;
  padding-left: 0;
}

.bullet-bold-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.85rem;
  line-height: 1.65;
}

.bullet-bold-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-orange);
}

.bullet-bold-label {
  font-weight: 800;
  color: var(--color-heading);
}

.lead-in-box {
  background-color: var(--color-section-alt);
  border-left: 4px solid var(--color-btn);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.content-media-panel {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.content-media-panel img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Tables (Readable Padding, Clear Headers, Smooth Responsive Scroll)
   ========================================================================== */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-subtle);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

thead th {
  background-color: var(--color-section-alt);
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 1.1rem 1.35rem;
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

tbody td {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background-color: var(--color-bg);
}

/* ==========================================================================
   Areas We Serve in Hanford and Kings County (Balanced 58/42 Layout)
   ========================================================================== */

.areas-serve-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .areas-serve-layout {
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    gap: 2.25rem;
  }
}

.areas-locations-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location-group-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.location-group-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.location-tiles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 580px) {
  .location-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
}

.location-tile {
  background-color: var(--color-surface);
  border: 1px solid rgba(213, 230, 240, 0.95);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  box-shadow: 0 1px 3px rgba(17, 28, 48, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.location-tile:hover {
  border-color: rgba(13, 92, 145, 0.35);
  box-shadow: 0 4px 12px rgba(17, 28, 48, 0.06);
  transform: translateY(-1px);
}

.location-tile-header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.location-pin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-tile-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.location-tile-link {
  color: var(--color-heading);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.location-tile-link:hover {
  color: var(--color-btn);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-tile-link:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

.location-tile-desc {
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--color-text-main);
  margin: 0;
}

/* Right Column: Clean White Map & Contact Card */
.areas-map-col {
  width: 100%;
}

.dispatch-contact-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .dispatch-contact-card {
    position: sticky;
    top: 96px;
  }
}

.dispatch-map-frame {
  width: 100%;
  height: 350px;
  background-color: var(--color-section-alt);
  position: relative;
}

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

.dispatch-details-body {
  padding: 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--color-surface);
}

.dispatch-details-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-heading);
  margin: 0;
  letter-spacing: -0.01em;
}

.dispatch-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dispatch-field-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dispatch-field-val {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.45;
}

.dispatch-phone-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.01em;
}

.dispatch-call-action {
  margin-top: 0.25rem;
}

.dispatch-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, var(--color-btn) 0%, #E65C00 100%);
  border-radius: var(--radius-btn);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(198, 81, 2, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.dispatch-phone-btn:hover {
  background: linear-gradient(135deg, var(--color-btn-hover) 0%, #CF5000 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 81, 2, 0.35);
  color: #FFFFFF !important;
}

.dispatch-phone-btn:focus-visible {
  outline: 3px solid var(--color-heading);
  outline-offset: 2px;
}

.dispatch-clarification-note {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   FAQ Accordions (<details> / <summary>)
   ========================================================================== */

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-details-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-details-item[open] {
  border-color: var(--color-orange);
}

.faq-summary-head {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-summary-head h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 0;
}

.faq-summary-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-orange);
  transition: transform 0.2s ease;
}

.faq-details-item[open] .faq-summary-icon {
  transform: rotate(180deg);
}

.faq-details-item:not([open]) .faq-answer-body {
  display: none !important;
}

.faq-answer-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-main);
  line-height: 1.65;
}

/* Closing Call-Focused CTA Card */
.closing-cta-card {
  background-color: var(--color-section-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-card);
}

.closing-cta-card h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 0.85rem;
}

.closing-cta-card p {
  max-width: 650px;
  margin: 0 auto 1.75rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Mobile Sticky Call Bar (Orange #C65102)
   ========================================================================== */

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--color-btn);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px rgba(17, 28, 48, 0.15);
  text-align: center;
}

@media (max-width: 767px) {
  .mobile-sticky-bar {
    display: block;
  }
}

.mobile-sticky-bar a {
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

/* ==========================================================================
   Footer (Restrained Deep Navy #112338)
   ========================================================================== */

.site-footer {
  background-color: var(--color-footer-bg);
  color: #FFFFFF;
  padding: 60px 0 24px;
  border-top: 1px solid rgba(213, 230, 240, 0.1);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.5rem;
}

.footer-links-list a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: var(--color-orange);
}

.footer-disclosure-pane {
  border-top: 1px solid rgba(213, 230, 240, 0.15);
  padding-top: 1.75rem;
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.6;
}

.footer-bottom-row {
  border-top: 1px solid rgba(213, 230, 240, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

@media (min-width: 640px) {
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   Restyled Warnings Table & Risk Factors List
   ========================================================================== */

.signs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  min-width: 620px;
}

.signs-table thead th {
  background-color: #111C30 !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1.1rem 1.25rem;
  letter-spacing: 0.02em;
  border: none;
}

.signs-table tbody tr:nth-child(even) {
  background-color: #F8FBFE;
}

.signs-table tbody tr:nth-child(odd) {
  background-color: #FFFFFF;
}

.signs-table tbody tr:hover {
  background-color: #EDF5FD;
}

.signs-table tbody td {
  padding: 1.1rem 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
  line-height: 1.55;
}

.sign-label-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sign-icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(13, 92, 145, 0.08);
  border: 1px solid rgba(13, 92, 145, 0.15);
  color: var(--color-navy);
  flex-shrink: 0;
}

.warning-risk-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .warning-risk-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.warning-risk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  line-height: 1.55;
  box-shadow: var(--shadow-subtle);
}

.warning-risk-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: rgba(244, 123, 22, 0.12);
  border: 1px solid rgba(244, 123, 22, 0.25);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.warning-risk-text {
  font-size: 0.94rem;
  color: var(--color-text-main);
}

.warning-risk-label {
  font-weight: 800;
  color: var(--color-heading);
  display: block;
  margin-bottom: 2px;
}

/* ==========================================================================
   Unified Pressure Testing Protocol Card
   ========================================================================== */

.pressure-protocol-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-width: 820px;
  margin: 2.25rem auto 0;
}

.pressure-protocol-media {
  padding: 1.75rem 1.75rem 1rem 1.75rem;
  background-color: var(--color-surface);
  display: flex;
  justify-content: center;
}

.pressure-protocol-media img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.pressure-protocol-info {
  background-color: #F8FBFE;
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 1.75rem;
}

.pressure-protocol-info-title {
  margin: 0 0 0.5rem 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pressure-protocol-info-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--color-text-main);
}

/* ==========================================================================
   Redesigned Section 6: Local Hanford Context & Vulnerability Matrix
   ========================================================================== */

.vulnerability-matrix-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  margin: 1.5rem 0;
}

.vulnerability-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: #F8FBFE;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
}

.vulnerability-header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.matrix-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #FFF7ED;
  border: 1px solid #FFEDD5;
  border-radius: 8px;
}

.matrix-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background-color: #EAF6FD;
  border: 1px solid #BAE6FD;
  border-radius: 999px;
}

.local-factors-wrapper {
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.local-factors-table {
  width: 100%;
  border-collapse: collapse;
}

.local-factors-table thead th {
  background-color: #F0F6FA;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.35rem;
  border-bottom: 2px solid var(--color-border);
}

.local-factors-table tbody tr {
  border-bottom: 1px solid #EDF2F7;
  transition: background-color 0.15s ease;
}

.local-factors-table tbody tr:nth-child(even) {
  background-color: #FCFEFF;
}

.local-factors-table tbody tr:hover {
  background-color: #F1F8FD;
}

.local-factors-table tbody tr:last-child {
  border-bottom: none;
}

.local-factors-table td {
  padding: 1.15rem 1.35rem;
  vertical-align: middle;
}

.factor-cell-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.factor-icon-chip {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.soil-chip {
  background-color: #FFF7ED;
  border: 1px solid #FFEDD5;
}

.heat-chip {
  background-color: #FEF2F2;
  border: 1px solid #FEE2E2;
}

.historic-chip {
  background-color: #F0F9FF;
  border: 1px solid #E0F2FE;
}

.suburban-chip {
  background-color: #EFF6FF;
  border: 1px solid #DBEAFE;
}

.propane-chip {
  background-color: #FFFBEB;
  border: 1px solid #FEF3C7;
}

.factor-name strong {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--color-heading);
  line-height: 1.35;
}

.impact-text {
  font-size: 0.92rem;
  color: var(--color-text-main);
  line-height: 1.55;
}

.failure-points-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background-color: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 8px;
  color: #9A3412;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}

.failure-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Thermal Spotlight Card */
.thermal-spotlight-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.25rem;
  align-items: center;
  margin: 2.5rem 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
}

.thermal-card-image-col {
  position: relative;
  border-radius: calc(var(--radius-card) - 4px);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.thermal-card-img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: calc(var(--radius-card) - 4px);
  transition: transform 0.3s ease;
}

.thermal-card-image-col:hover .thermal-card-img {
  transform: scale(1.02);
}

.thermal-img-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  background: rgba(17, 28, 48, 0.88);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.thermal-card-content-col {
  display: flex;
  flex-direction: column;
}

.thermal-card-meta {
  margin-bottom: 0.75rem;
}

.thermal-card-title {
  font-size: 1.35rem;
  color: var(--color-heading);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.thermal-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-border);
}

.thermal-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background-color: #F8FBFE;
  border: 1px solid #E1EDF7;
  border-radius: 6px;
}

/* Materials Comparison Component (Full-Width Responsive HTML) */
.materials-comparison-card {
  width: 100%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  margin: 2.5rem 0 1.5rem 0;
  box-shadow: var(--shadow-card);
  box-sizing: border-box;
}

.materials-card-topbar {
  margin-bottom: 1.5rem;
}

.materials-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin: 0.65rem 0 0.35rem 0;
  line-height: 1.3;
}

.materials-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin: 1.5rem 0;
}

.material-column-card {
  background-color: #F8FBFE;
  border: 1px solid #E2EDF5;
  border-radius: 12px;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.material-column-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(17, 28, 48, 0.05);
}

.material-col-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #E6F0F7;
}

.material-col-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #FFFFFF;
  border: 1px solid #E2EDF5;
  flex-shrink: 0;
}

.material-col-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.material-role-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.pill-steel {
  background-color: #E2E8F0;
  color: #334155;
}

.pill-csst {
  background-color: #FEF3C7;
  color: #92400E;
}

.pill-pe {
  background-color: #E0F2FE;
  color: #0369A1;
}

.material-col-points {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-main);
}

.material-col-points strong {
  color: var(--color-navy-dark);
}

.materials-shared-note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
  background-color: #F8FBFE;
  border: 1px solid #E2EDF5;
  border-radius: 10px;
  margin-top: 0.5rem;
  box-sizing: border-box;
}

.materials-note-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.materials-note-text {
  margin: 0 !important;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-main);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .materials-columns-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 880px) {
  .thermal-spotlight-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .thermal-card-img {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .materials-comparison-card {
    padding: 1.5rem 1.15rem;
    margin: 2rem 0 1rem 0;
  }
  .materials-card-topbar {
    margin-bottom: 1.15rem;
  }
  .materials-shared-note {
    flex-direction: row;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
  }
  .local-factors-table thead {
    display: none;
  }
  .local-factors-table,
  .local-factors-table tbody,
  .local-factors-table tr,
  .local-factors-table td {
    display: block;
    width: 100%;
  }
  .local-factors-table tbody tr {
    padding: 1.25rem 1.15rem;
    border-bottom: 1px solid var(--color-border);
  }
  .local-factors-table td {
    padding: 0.45rem 0;
    border: none !important;
  }
  .factor-cell-content {
    margin-bottom: 0.35rem;
  }
  .failure-points-badge {
    width: 100%;
    margin-top: 0.35rem;
  }
  .vulnerability-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .materials-trust-bar {
    padding: 1rem 1.15rem;
  }
}

/* ==========================================================================
   Dedicated Service Area Section & Footer Location Map Band
   ========================================================================== */

/* 1. Dedicated Service Area Section */
.location-group-section {
  width: 100%;
}

.location-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #E2EDF5;
  gap: 1rem;
}

.location-group-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-heading);
  margin: 0;
}

.location-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  background-color: #EAF6FD;
  border: 1px solid #BAE6FD;
  border-radius: 999px;
}

.location-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.location-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(17, 28, 48, 0.04);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.location-card:hover {
  transform: translateY(-3px);
  border-color: #93C5FD;
  box-shadow: 0 8px 20px rgba(17, 28, 48, 0.08);
}

.location-card:focus-within {
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.location-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.location-pin-chip {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 8px;
  color: #C65102;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.location-card:hover .location-pin-chip {
  background-color: #C65102;
  color: #FFFFFF;
}

.location-card-arrow {
  color: #94A3B8;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.location-card:hover .location-card-arrow {
  transform: translateX(3px);
  color: #C65102;
}

.location-card-title {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.35;
}

.location-card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  text-decoration: none;
  transition: color 0.15s ease;
}

.location-card-link:hover,
.location-card-link:focus {
  color: #C65102;
  text-decoration: underline;
}

.location-card-link:focus-visible {
  outline: 2px solid #0284C7;
  outline-offset: 3px;
  border-radius: 2px;
}

.location-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* 2. Dedicated Footer Location Band */
.footer-location-band {
  background-color: #0C1424;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
  color: #FFFFFF;
}

.footer-location-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: center;
}

.footer-location-info {
  display: flex;
  flex-direction: column;
}

.footer-location-meta {
  margin-bottom: 0.75rem;
}

.footer-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #BAE6FD;
}

.footer-location-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 1.25rem 0;
  line-height: 1.25;
}

.footer-location-item {
  margin-bottom: 1rem;
}

.footer-location-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  margin-bottom: 0.25rem;
}

.footer-location-value {
  color: #F1F5F9;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-map-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #38BDF8;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.footer-map-ext-link:hover {
  color: #7DD3FC;
}

.footer-phone-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #F47B16;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-phone-link:hover {
  color: #FB923C;
  text-decoration: underline;
}

.footer-location-action {
  margin: 1.25rem 0;
}

.footer-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(198, 81, 2, 0.4);
}

.footer-call-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.footer-location-clarification {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #94A3B8;
  margin: 0;
  max-width: 520px;
}

.footer-location-map {
  width: 100%;
}

.footer-map-wrapper {
  background-color: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  height: 330px;
}

.footer-map-iframe {
  width: 100%;
  height: 330px;
  border: 0;
  display: block;
}

/* Responsive Rules for Service Area & Footer Map */
@media (max-width: 1100px) {
  .location-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .footer-location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-map-wrapper {
    height: 300px;
  }
  .footer-map-iframe {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .location-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-location-band {
    padding: 2.25rem 0;
  }
  .footer-call-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Hero Content Refinement: Service Points List & Safety Callout
   ========================================================================== */

.hero-service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-service-point-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-heading);
}

.hero-point-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EAF6FD;
  border: 1px solid #BAE6FD;
  border-radius: 8px;
  color: #0284C7;
  flex-shrink: 0;
}

.hero-safety-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  margin-top: 1.75rem;
  max-width: 520px;
}

.hero-safety-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-safety-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #991B1B;
  margin: 0;
}

.hero-utility-link {
  color: #DC2626;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.hero-utility-link:hover {
  color: #991B1B;
}

@media (max-width: 640px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }
  .hero-safety-callout {
    width: 100%;
  }
}

/* ==========================================================================
   Service Cluster & Detail Page Styles
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb-nav {
  background-color: #EEF7FC;
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  font-size: 0.88rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: #0369A1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumb-item a:hover {
  color: var(--color-heading);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--color-text-muted);
  font-weight: 600;
}

.breadcrumb-separator {
  color: #94A3B8;
  user-select: none;
}

/* Service Detail Hero */
.service-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .service-hero-layout {
    grid-template-columns: 1.22fr 1fr; /* approx 55% text / 45% image */
    gap: 2.25rem; /* ~36px */
    align-items: center; /* Vertically center photograph against main text group */
    padding-top: 3rem;
    padding-bottom: 1.75rem;
  }
}

.service-hero-copy {
  min-width: 0;
}

.service-hero-visual,
.service-hero-media {
  min-width: 0;
  align-self: center;
}

.service-hero-copy h1 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.18;
  margin-bottom: 1.15rem;
  color: var(--color-heading);
}

.service-hero-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

.service-hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.service-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: calc(var(--radius-card) - 1px);
}

.service-hero-media-caption {
  padding: 0.75rem 1rem;
  background-color: #FFFFFF;
  border-top: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Answer-First Intro Container */
.intro-lead-box {
  background-color: #FFFFFF;
  border-left: 4px solid var(--color-btn);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-subtle);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.intro-lead-box p {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.intro-lead-box p:last-child {
  margin-bottom: 0;
}

/* Structured Content Data Tables */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0 2rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background-color: #FFFFFF;
  box-shadow: var(--shadow-subtle);
}

.service-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.service-data-table th {
  background-color: #EEF7FC;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.service-data-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
  vertical-align: top;
}

.service-data-table tr:last-child td {
  border-bottom: none;
}

.service-data-table tr:nth-child(even) td {
  background-color: #F8FBFE;
}

/* Numbered Process Grid */
.process-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0 2rem 0;
}

@media (min-width: 640px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step-item {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  background-color: #FEEFE6;
  color: var(--color-btn);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(198, 81, 2, 0.2);
}

.process-step-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-main);
  margin: 0;
}

/* Feature & Diagnostic List Grid */
.feature-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem 0;
}

@media (min-width: 768px) {
  .feature-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-point-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-subtle);
}

.feature-point-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature-point-card p {
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--color-text-main);
  margin: 0;
}

/* Service Cluster Links Grid (Related Services) */
.cluster-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem 0;
}

@media (min-width: 640px) {
  .cluster-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cluster-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cluster-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cluster-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-btn);
  box-shadow: var(--shadow-card);
}

.cluster-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cluster-card-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-main);
  margin: 0 0 0.85rem 0;
}

.cluster-card-action {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-btn);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Local Service Area Mini-Grid */
.local-area-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
}

@media (min-width: 640px) {
  .local-area-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .local-area-mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.local-area-tile {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.local-area-tile:hover {
  border-color: #BAE6FD;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
  transform: translateY(-2px);
}

.local-area-tile-name {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-heading);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.local-area-tile-name svg {
  color: #EA580C;
  flex-shrink: 0;
}

.local-area-tile-desc {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--color-text-main);
  margin: 0;
}

/* Author & Reviewer Verification Block */
.author-verification-box {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0 2rem 0;
}

.author-verification-box:first-child,
.section > .container > .author-verification-box:first-child {
  margin-top: 0;

  box-shadow: var(--shadow-subtle);
}

.author-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-avatar-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #EEF7FC;
  border: 2px solid #BAE6FD;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284C7;
  flex-shrink: 0;
}

.author-meta-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-heading);
  margin: 0;
}

.author-meta-sub {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin: 0;
}

.author-body-text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--color-text-main);
  margin: 0 0 1rem 0;
}

.author-credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.author-cred-tag {
  background-color: #F8FBFE;
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-main);
}

/* ==========================================================================
   Standardized FAQ Accordion & Static FAQ Items
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-subtle);
}

.faq-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.faq-item p {
  color: var(--color-text-main);
  line-height: 1.65;
  margin-bottom: 0;
  font-size: 0.975rem;
}

/* Dedicated Hero Technical Card Styling */
.hero-technical-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-subtle);
}

/* ==========================================================================
   Hero Safety Strip (Dedicated Full-Width Strip Below Main Hero Row)
   ========================================================================== */
.hero-safety-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-card);
  padding: 0.9rem 1.35rem;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-subtle);
}

.hero-safety-strip .hero-safety-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.hero-safety-strip .hero-safety-text {
  margin-bottom: 0;
  font-size: 0.925rem;
  line-height: 1.55;
  color: #7F1D1D;
  text-align: left;
}

.hero-safety-strip .hero-utility-link {
  color: #DC2626;
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   Intro Section Left-Edge Alignment
   ========================================================================== */
.intro-prose-block {
  max-width: 78ch;
  margin-left: 0;
  margin-right: auto;
}

.intro-prose-block p,
.intro-prose-block .answer-lead-p {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--color-text-main);
  text-align: left;
  margin-bottom: 1.25rem;
}

.intro-prose-block p:last-child,
.intro-prose-block .answer-lead-p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Multi-Column Grids (Service Features, Related Services & Problem Lists)
   ========================================================================== */
.service-features-grid-2col,
.card-grid,
.card-grid-2,
.card-grid-3,
.card-grid-4,
.cluster-grid-2,
.cluster-grid-3,
.cluster-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .card-grid,
  .card-grid-4,
  .cluster-grid-4,
  .cluster-grid-3,
  .cluster-grid-2,
  .card-grid-2,
  .service-features-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .service-features-grid-2col,
  .cluster-grid-2,
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.75rem;
  }

  .cluster-grid-3,
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .cluster-grid-4,
  .card-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }
}

/* Service Feature & Problem List Cards */
.service-feature-card {
  background-color: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E2E8F0);
  border-radius: var(--radius-card, 8px);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.service-feature-card:hover {
  border-color: #BAE6FD;
  box-shadow: 0 4px 12px rgba(17, 28, 48, 0.06);
  transform: translateY(-2px);
}

.service-feature-card .feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.service-feature-card .feature-card-header h3 {
  margin: 0;
}

.feature-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: #FFF7ED;
  color: var(--color-orange, #EA580C);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.feature-card-content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.service-feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.service-feature-card p {
  font-size: 0.94rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Feature Cards (City, Neighborhood, and Commercial pages) */
.feature-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border, #E2E8F0);
  border-radius: var(--radius-card, 8px);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: #BAE6FD;
  box-shadow: 0 4px 12px rgba(17, 28, 48, 0.06);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--color-text-main);
  margin: 0;
}

/* Service Card Tiles (Related Services) */
.service-card-tile {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border, #E2E8F0);
  border-radius: var(--radius-card, 8px);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card-tile:hover {
  transform: translateY(-2px);
  border-color: #BAE6FD;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.service-card-tile .tile-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #FFF7ED;
  color: var(--color-orange, #EA580C);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-card-tile:hover .tile-icon-wrap {
  background-color: #FFEDD5;
}

.service-card-tile .tile-icon-wrap svg {
  width: 22px;
  height: 22px;
  display: block;
}

.service-card-tile h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

.service-card-tile .tile-link {
  color: #0369A1;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card-tile .tile-link:hover {
  color: #0284C7;
  text-decoration: underline;
}

.service-card-tile p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-main);
  margin: 0;
}

.section-title-wrap {
  margin-bottom: 2rem;
  max-width: 820px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
  margin-bottom: 0;
}


/* ==========================================================================
   Process Step Grid Component (Shared 2-Col Desktop / 1-Col Mobile)
   ========================================================================== */
.process-step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 1.5rem; /* 20px vertical, 24px horizontal */
  width: 100%;
  max-width: 100%;
  margin-top: 1.75rem;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .process-step-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem; /* 20px - 24px */
  }

  /* When 5 steps are present (or odd count with span-last), the final step spans both columns */
  .process-step-grid.steps-5 > .process-step-card:last-child,
  .process-step-grid.steps-5 > .process-step-row:last-child,
  .process-step-grid.has-span-last > .process-step-card:last-child,
  .process-step-grid.has-span-last > .process-step-row:last-child {
    grid-column: 1 / -1;
  }
}

.process-step-card,
.process-step-row {
  background: var(--color-white, #FFFFFF);
  border: 1px solid var(--color-border, #E2E8F0);
  border-radius: var(--radius-card, 8px);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.process-step-card:hover,
.process-step-row:hover {
  border-color: #BAE6FD;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.06);
}

.process-step-card .process-num-badge,
.process-step-row .process-num-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0284C7;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.process-step-card .process-step-content,
.process-step-row .process-step-content {
  flex: 1;
  min-width: 0;
}

.process-step-card .process-step-content h3,
.process-step-row .process-step-content h3 {
  margin: 0 0 0.4rem 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading, #0F172A);
  line-height: 1.35;
}

.process-step-card .process-step-content p,
.process-step-row .process-step-content p {
  margin: 0;
  color: var(--color-text-main, #334155);
  font-size: 0.95rem;
  line-height: 1.55;
}


/* ==========================================================================
   Service Navigation Cards & Card Links
   ========================================================================== */
.services-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }
}

.service-nav-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border, #E2E8F0);
  border-radius: var(--radius-card, 8px);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-nav-card:hover {
  transform: translateY(-2px);
  border-color: #BAE6FD;
  box-shadow: var(--shadow-card);
}

.service-nav-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.service-nav-card p {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--color-text-main);
  margin: 0;
}

.card-link {
  color: #0284C7;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  transition: color 0.15s ease;
}

.card-link:hover {
  color: #0369A1;
  text-decoration: underline;
}
