/* ==========================================================================
   Lancaster Rapid Plumbing — Modern Responsive Design System
   Color Palette, Typography, Components & Responsive Layouts
   ========================================================================== */

/* --- Custom Properties / Design Tokens --- */
:root {
  /* Brand Colors */
  --color-primary-navy: #102B40;
  --color-dark-navy: #0B2030;
  --color-cta-orange: #F5A623;
  --color-cta-orange-hover: #D98E16;
  --color-cta-orange-active: #C17B0E;
  --color-cta-orange-rgb: 245, 166, 35;
  --color-light-bg: #F5F7FA;
  --color-white: #FFFFFF;
  --color-main-text: #243746;
  --color-muted-text: #64748B;
  --color-border: #E2E8F0;
  --color-border-dark: #1E3A52;
  --color-accent-tint: #EEF4F8;
  --color-emergency-red: #DC2626;

  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-h1: clamp(2.125rem, 4vw + 1rem, 3.5rem);       /* 34px - 56px */
  --font-size-h2: clamp(1.7rem, 2.5vw + 0.8rem, 2.5rem);    /* 27px - 40px */
  --font-size-h3: clamp(1.25rem, 1.2vw + 0.75rem, 1.45rem);  /* 20px - 23px */
  --font-size-body: clamp(1rem, 0.4vw + 0.85rem, 1.125rem);  /* 16px - 18px */
  --font-size-sm: 0.875rem;                                  /* 14px */
  --font-size-xs: 0.75rem;                                   /* 12px */

  /* Spacing */
  --container-max-width: 1200px;
  --container-padding: clamp(1rem, 3.5vw, 2rem);
  --section-spacing-desktop: clamp(4.5rem, 7vw, 6.25rem);    /* 72px - 100px */
  --section-spacing-mobile: clamp(3rem, 5vw, 4rem);          /* 48px - 64px */
  --card-radius: 14px;
  --btn-radius: 10px;
  --pill-radius: 9999px;

  /* Shadows */
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 32, 48, 0.07), 0 2px 4px -2px rgba(11, 32, 48, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(11, 32, 48, 0.08), 0 4px 6px -4px rgba(11, 32, 48, 0.04);
  --shadow-cta: 0 8px 20px -4px rgba(245, 166, 35, 0.45);
  --shadow-cta-hover: 0 12px 24px -4px rgba(245, 166, 35, 0.55);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Mobile Sticky Bar Height */
  --mobile-sticky-height: 72px;
}

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

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

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--color-main-text);
  /* Reserve space on mobile for sticky call button */
  padding-bottom: 0;
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(var(--mobile-sticky-height) + env(safe-area-inset-bottom, 0px));
  }
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--color-cta-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: 1.15;
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

p {
  font-size: var(--font-size-body);
  color: var(--color-main-text);
  line-height: 1.65;
}

.text-muted {
  color: var(--color-muted-text);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cta-orange);
  margin-bottom: 0.75rem;
}

.section-eyebrow--dark {
  color: var(--color-cta-orange);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}

.section-header p {
  margin-top: 0.75rem;
  color: var(--color-muted-text);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.15rem);
}

/* Container */
.container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
  box-sizing: border-box;
}

/* Section Spacing */
.section {
  padding-top: var(--section-spacing-desktop);
  padding-bottom: var(--section-spacing-desktop);
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--section-spacing-mobile);
    padding-bottom: var(--section-spacing-mobile);
  }
}

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

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

.bg-navy {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy p {
  color: var(--color-white);
}

.bg-dark-navy {
  background-color: var(--color-dark-navy);
  color: var(--color-white);
}

.bg-dark-navy h2, .bg-dark-navy h3, .bg-dark-navy p {
  color: var(--color-white);
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  padding: 0.85rem 1.75rem;
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-orange {
  background-color: var(--color-cta-orange);
  color: var(--color-dark-navy);
  box-shadow: var(--shadow-cta);
}

.btn-orange:hover {
  background-color: var(--color-cta-orange-hover);
  color: var(--color-dark-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

.btn-orange:active {
  background-color: var(--color-cta-orange-active);
  transform: translateY(0);
}

.btn-orange svg {
  fill: currentColor;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn-orange:hover svg {
  transform: scale(1.08);
}

.btn-large {
  padding: 1.05rem 2.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 12px;
  min-height: 56px;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* ==========================================================================
   SECTION 01 — TOP INFORMATION BAR
   ========================================================================== */
.top-bar {
  background-color: var(--color-dark-navy);
  color: #CBD5E1;
  font-size: 0.8125rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  color: var(--color-cta-orange);
  flex-shrink: 0;
}

.top-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.top-bar-phone:hover {
  color: var(--color-cta-orange);
}

@media (max-width: 640px) {
  .top-bar {
    display: none;
  }
}

/* ==========================================================================
   SECTION 02 — STICKY HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(11, 32, 48, 0.04);
  z-index: 100;
  transition: box-shadow var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary-navy), #1D4566);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cta-orange);
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(16, 43, 64, 0.15);
}

.brand-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text .title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  letter-spacing: -0.01em;
}

.brand-text .tagline {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cta-orange);
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-main-text);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-cta-orange);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--color-primary-navy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu Styles (Task 2 & 3) */
.nav-item-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.dropdown-chevron {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

/* Dropdown Container */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 12px 30px -4px rgba(11, 32, 48, 0.16), 0 4px 6px -2px rgba(11, 32, 48, 0.05);
  min-width: 275px;
  max-height: min(420px, 70vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem 0;
  list-style: none;
  z-index: 1000;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

/* Seamless mouse movement bridge */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.dropdown-menu::-webkit-scrollbar {
  width: 5px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background-color: #CBD5E1;
  border-radius: 4px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-main-text);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
  border-left: 3px solid transparent;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background-color: var(--color-light-bg);
  color: var(--color-primary-navy);
  border-left-color: var(--color-cta-orange);
  padding-left: 1.45rem;
  outline: none;
}

.dropdown-all-item {
  border-top: 1px solid var(--color-border);
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}

.dropdown-item-all {
  color: var(--color-cta-orange-hover);
  font-weight: 700;
}

.dropdown-item-all:hover {
  color: var(--color-cta-orange);
}

/* Desktop Hover & Focus Behavior */
@media (min-width: 961px) {
  .nav-item-dropdown:hover .dropdown-menu,
  .nav-item-dropdown:focus-within .dropdown-menu,
  .nav-item-dropdown.is-open .dropdown-menu {
    display: block;
    animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-item-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
  }
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary-navy);
  transition: background var(--transition-fast);
}

.nav-toggle-btn:hover {
  background-color: var(--color-light-bg);
}

.nav-toggle-btn svg {
  width: 24px;
  height: 24px;
}

.hamburger-close {
  display: none;
}

/* Mobile Nav Overlay & Drawer */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 32, 48, 0.4);
  backdrop-filter: blur(2px);
  z-index: 98;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

@media (max-width: 960px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 2rem;
    gap: 0.25rem;
    border-bottom: 2px solid var(--color-border);
    box-shadow: 0 12px 24px rgba(11, 32, 48, 0.12);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    z-index: 99;
  }

  .nav-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-backdrop.is-active {
    display: block;
    opacity: 1;
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--color-border);
    min-height: 44px;
    text-align: left;
  }

  .nav-link::after {
    display: none;
  }

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

  /* Mobile Dropdown Submenu */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 8px;
    border-left: 3px solid var(--color-cta-orange);
    margin: 0.35rem 0 0.5rem 0.5rem;
    padding: 0.25rem 0;
    background-color: var(--color-light-bg);
    max-height: 260px;
    width: calc(100% - 0.5rem);
  }

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

  .dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    min-height: 44px;
  }

  .nav-toggle-btn {
    display: inline-flex;
  }

  .header-actions .btn-header-cta {
    display: none;
  }
}

/* ==========================================================================
   SECTION 03 — HERO SECTION
   ========================================================================== */
.hero {
  background-color: var(--color-white);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.05), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  margin-bottom: 1.25rem;
  color: var(--color-primary-navy);
}

.hero-description {
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.2rem);
  line-height: 1.6;
  color: #334E68;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  max-width: 480px;
}

.hero-cta-btn {
  width: 100%;
  justify-content: center;
  font-size: 1.125rem;
  padding: 1.15rem 1.75rem;
  letter-spacing: 0.01em;
}

.hero-cta-subtext {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted-text);
  padding-left: 0.25rem;
}

.hero-cta-subtext svg {
  color: #10B981;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hero Trust Indicators */
.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.hero-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.hero-trust-icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary-navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-trust-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-navy);
  line-height: 1.3;
}

/* Hero Media Column */
.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 35px -10px rgba(11, 32, 48, 0.2), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background-color: var(--color-light-bg);
}

.hero-image {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-media-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(11, 32, 48, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--color-cta-orange);
  color: var(--color-dark-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon svg {
  width: 20px;
  height: 20px;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFFFFF;
}

.badge-text span {
  font-size: 0.75rem;
  color: #CBD5E1;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-media {
    order: 2;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ==========================================================================
   SECTION 04 — TRUST & SERVICE HIGHLIGHTS
   ========================================================================== */
.highlights-strip {
  background-color: var(--color-light-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: clamp(2rem, 3.5vw, 3rem) 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  position: relative;
}

.highlight-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--color-border);
}

.highlight-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-navy);
  flex-shrink: 0;
  box-shadow: var(--shadow-subtle);
}

.highlight-icon-box svg {
  width: 22px;
  height: 22px;
}

.highlight-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-primary-navy);
}

.highlight-content p {
  font-size: 0.875rem;
  color: var(--color-muted-text);
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .highlight-card:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .highlight-card::after {
    display: none !important;
  }
}

/* ==========================================================================
   SECTION 05 — PLUMBING SERVICES GRID
   ========================================================================== */
.services-section {
  background-color: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--color-accent-tint);
  color: var(--color-primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background-color: var(--color-primary-navy);
  color: var(--color-cta-orange);
}

.service-icon-box svg {
  width: 26px;
  height: 26px;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-navy);
}

.service-text {
  font-size: 0.95rem;
  color: var(--color-muted-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-link:hover {
  color: var(--color-cta-orange-hover);
}

.service-link svg {
  width: 14px;
  height: 14px;
}

.service-call-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-cta-orange-hover);
  background-color: rgba(245, 166, 35, 0.1);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.service-call-cta:hover {
  background-color: var(--color-cta-orange);
  color: var(--color-dark-navy);
}

.service-call-cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECTION 06 — EMERGENCY PLUMBING CALL BANNER
   ========================================================================== */
.emergency-banner {
  background: linear-gradient(135deg, var(--color-dark-navy) 0%, var(--color-primary-navy) 100%);
  color: var(--color-white);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--color-cta-orange);
}

.emergency-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.emergency-content {
  max-width: 720px;
}

.emergency-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #FCA5A5;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.emergency-tag svg {
  width: 14px;
  height: 14px;
  color: #EF4444;
}

.emergency-heading {
  font-size: var(--font-size-h2);
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.emergency-text {
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.125rem);
  color: #CBD5E1;
  line-height: 1.6;
}

.emergency-action {
  flex-shrink: 0;
}

.btn-emergency {
  font-size: 1.15rem;
  padding: 1.1rem 2.25rem;
}

@media (max-width: 860px) {
  .emergency-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.75rem;
  }

  .emergency-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .emergency-action {
    width: 100%;
  }

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

/* ==========================================================================
   SECTION 07 — WHY CHOOSE LANCASTER RAPID PLUMBING
   ========================================================================== */
.why-choose-section {
  background-color: var(--color-white);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.why-choose-media {
  position: relative;
}

.why-choose-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  max-height: 520px;
  width: 100%;
  object-fit: cover;
}

.why-choose-floating-card {
  position: absolute;
  top: 1.5rem;
  right: -1.25rem;
  background: var(--color-white);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(11, 32, 48, 0.12);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 260px;
}

.why-choose-floating-card svg {
  color: #10B981;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.why-choose-floating-card span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  line-height: 1.3;
}

.why-choose-content h2 {
  margin-bottom: 2rem;
}

.benefit-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.benefit-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-number {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--color-accent-tint);
  color: var(--color-primary-navy);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.benefit-text h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary-navy);
}

.benefit-text p {
  font-size: 0.95rem;
  color: var(--color-muted-text);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-choose-floating-card {
    right: 1rem;
    top: 1rem;
  }
}

/* ==========================================================================
   SECTION 08 — HOW IT WORKS
   ========================================================================== */
.how-it-works-section {
  background-color: var(--color-light-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  margin-bottom: 3rem;
}

.step-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 2.25rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-navy);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 32px;
  height: 32px;
  color: var(--color-cta-orange);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-navy);
}

.step-text {
  font-size: 0.95rem;
  color: var(--color-muted-text);
  line-height: 1.55;
}

.how-it-works-cta-box {
  text-align: center;
}

@media (max-width: 860px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   SECTION 09 — SERVICE AREAS
   ========================================================================== */
.service-areas-section {
  background-color: var(--color-white);
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.areas-content h2 {
  margin-bottom: 1rem;
}

.areas-intro {
  font-size: 1.05rem;
  color: var(--color-muted-text);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.locations-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-navy);
}

.location-item.primary-location {
  background-color: var(--color-accent-tint);
  border-color: #CBD5E1;
  font-weight: 700;
}

.location-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-cta-orange);
  flex-shrink: 0;
}

.location-note {
  font-size: 0.8125rem;
  color: var(--color-muted-text);
  margin-bottom: 1.75rem;
  font-style: italic;
}

.areas-media {
  position: relative;
}

.areas-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  max-height: 480px;
  width: 100%;
  object-fit: cover;
}

.areas-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(11, 32, 48, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.areas-badge svg {
  width: 28px;
  height: 28px;
  color: var(--color-cta-orange);
  flex-shrink: 0;
}

.areas-badge span {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #E2E8F0;
}

@media (max-width: 860px) {
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .locations-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECTION 10 — FREQUENTLY ASKED QUESTIONS
   ========================================================================== */
.faq-section {
  background-color: var(--color-light-bg);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

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

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-subtle);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  list-style: none;
  gap: 1rem;
  user-select: none;
}

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

.faq-icon-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-light-bg);
  color: var(--color-primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.faq-item[open] .faq-icon-toggle {
  transform: rotate(45deg);
  background-color: var(--color-primary-navy);
  color: var(--color-white);
}

.faq-icon-toggle svg {
  width: 14px;
  height: 14px;
}

.faq-content {
  padding: 0 1.5rem 1.35rem 1.5rem;
  border-top: 1px solid transparent;
}

.faq-content p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

.faq-cta-box {
  margin-top: 2.5rem;
  text-align: center;
  padding: 1.75rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.faq-cta-box p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-navy);
  margin-bottom: 1rem;
}

/* ==========================================================================
   SECTION 11 — FINAL CALL-TO-ACTION
   ========================================================================== */
.final-cta-section {
  background: radial-gradient(circle at 50% 20%, #153852 0%, var(--color-dark-navy) 100%);
  color: var(--color-white);
  text-align: center;
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.final-cta-heading {
  font-size: var(--font-size-h2);
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.final-cta-text {
  font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.25rem);
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.final-cta-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.btn-final-cta {
  font-size: 1.25rem;
  padding: 1.2rem 2.75rem;
}

.final-cta-phone-display {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-top: 0.5rem;
}

.final-cta-phone-display:hover {
  color: var(--color-cta-orange);
}

.final-cta-phone-display svg {
  width: 18px;
  height: 18px;
  color: var(--color-cta-orange);
}

/* ==========================================================================
   SECTION 12 — FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-dark-navy);
  color: #CBD5E1;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2rem;
  border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-cta-orange);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-disclosure {
  font-size: 0.75rem;
  color: #64748B;
  line-height: 1.5;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #CBD5E1;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-cta-orange);
  padding-left: 4px;
}

.footer-contact-box {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  transition: color var(--transition-fast);
}

.footer-phone-link:hover {
  color: var(--color-cta-orange);
}

.footer-phone-link svg {
  width: 20px;
  height: 20px;
  color: var(--color-cta-orange);
  flex-shrink: 0;
}

.footer-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #94A3B8;
}

.footer-location-tag svg {
  width: 14px;
  height: 14px;
  color: var(--color-cta-orange);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #64748B;
}

.footer-bottom a {
  color: #94A3B8;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #FFFFFF;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   SECTION 13 — MOBILE STICKY CALL BUTTON
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark-navy);
  border-top: 1px solid var(--color-border-dark);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

.mobile-sticky-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: var(--color-cta-orange);
  color: var(--color-dark-navy);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  min-height: 48px;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
  text-decoration: none;
}

.mobile-sticky-btn:active {
  background-color: var(--color-cta-orange-active);
  transform: scale(0.98);
}

.mobile-sticky-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

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

/* Skip to main content link for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background-color: var(--color-cta-orange);
  color: var(--color-dark-navy);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: 6px;
  transition: top 0.2s ease;
}

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

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

/* ==========================================================================
   SERVICE PAGES SHARED COMPONENTS & ALIGNMENT FIXES (Task 4)
   ========================================================================== */
.breadcrumbs-bar {
  background-color: var(--color-light-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

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

.breadcrumb-item a {
  color: var(--color-muted-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--color-cta-orange-hover);
}

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

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

/* Service Hero Highlights */
.hero-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-primary-navy);
}

.hero-highlight-item svg {
  width: 18px;
  height: 18px;
  color: #10B981;
  flex-shrink: 0;
}

/* Section 04: Problem Cards Grid */
.problems-section {
  background-color: var(--color-light-bg);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: stretch;
}

.problem-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.problem-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--color-accent-tint);
  color: var(--color-primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  flex-shrink: 0;
}

.problem-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.problem-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  color: var(--color-primary-navy);
}

.problem-card p {
  font-size: 0.925rem;
  color: var(--color-muted-text);
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

.problems-cta-box {
  text-align: center;
  margin-top: 2.75rem;
}

/* Section 05: Solution Details */
.solution-section {
  background-color: var(--color-white);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.solution-content h2 {
  margin-bottom: 1.25rem;
}

.solution-content p {
  margin-bottom: 1rem;
  color: var(--color-main-text);
  font-size: 1rem;
  line-height: 1.65;
}

.solution-factors-box {
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.solution-factors-box h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--color-primary-navy);
}

.solution-factors-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.solution-factors-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--color-main-text);
  line-height: 1.5;
}

.solution-factors-list li svg {
  width: 18px;
  height: 18px;
  color: #10B981;
  flex-shrink: 0;
  margin-top: 2px;
}

.solution-media {
  position: relative;
}

.solution-image {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: block;
}

/* Section 06: Warning Signs */
.warning-signs-section {
  background-color: var(--color-light-bg);
}

.warning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.warning-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-subtle);
}

.warning-icon {
  width: 22px;
  height: 22px;
  color: var(--color-cta-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.warning-text h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--color-primary-navy);
}

.warning-text p {
  font-size: 0.875rem;
  color: var(--color-muted-text);
  margin: 0;
  line-height: 1.5;
}

.warning-cta-row {
  text-align: center;
  margin-top: 2.5rem;
}

/* Section 11: Related Services */
.related-services-section {
  background-color: var(--color-white);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: stretch;
}

.related-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.related-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--color-accent-tint);
  color: var(--color-primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.related-card-icon svg {
  width: 24px;
  height: 24px;
}

.related-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--color-primary-navy);
}

.related-card p {
  font-size: 0.925rem;
  color: var(--color-muted-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-top: auto;
  transition: color var(--transition-fast), gap var(--transition-fast);
  text-decoration: none;
}

.link-arrow:hover {
  color: var(--color-cta-orange-hover);
  gap: 0.55rem;
}

/* Service Page Responsive Grids */
@media (max-width: 960px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .warning-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .problems-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}
