/* ==========================================================================
   Top Plumber Commerce City - Primary Design System & Core Stylesheet
   Target Market: Commerce City, Reunion, Adams County, CO
   ========================================================================== */

:root {
  --color-primary: #0284c7;
  --color-primary-dark: #0369a1;
  --color-primary-deep: #0c4a6e;
  --color-secondary: #f97316;
  --color-secondary-dark: #ea580c;
  --color-accent: #38bdf8;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;
  --color-dark: #0f172a;
  --color-danger: #ef4444;
  --color-success: #10b981;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for floating mobile bar */
}

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

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

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

a:hover {
  color: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   Layout & Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--color-dark);
  color: #f1f5f9;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

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

.brand-logo img {
  height: 52px;
  width: auto;
}

.main-nav {
  display: none;
  gap: 0.25rem;
  align-items: center;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.95rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text-main);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-bg-light);
}

.dropdown-caret {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-main);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
  padding-left: 1.1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-secondary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  transition: var(--transition);
}

.btn-header-call:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   Mobile Drawer Navigation
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 1300;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-link {
  padding: 0.7rem 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-main);
  border-bottom: 1px solid #f1f5f9;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 50%, #0369a1 100%);
  color: #ffffff;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  max-width: 900px;
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 3rem;
  }
}

.page-hero-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 760px;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Modern Showcase Hero (Inspired by Reference Layout)
   -------------------------------------------------------------------------- */
.page-hero.home-hero {
  background: #f0f7ff;
  color: var(--color-text-main);
  padding: 3.5rem 0 3.5rem;
  position: relative;
  overflow: visible;
}

.page-hero.home-hero::after {
  display: none;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .home-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

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

.home-hero-badge,
h1.home-hero-badge {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin: 0 0 1.25rem 0;
  max-width: 100%;
}

@media (max-width: 768px) {
  .home-hero-badge,
  h1.home-hero-badge {
    font-size: 0.8125rem;
    padding: 0.4rem 0.9rem;
    white-space: normal;
  }
}

.page-hero.home-hero .page-hero-title {
  color: #0f172a;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 680px;
}

@media (min-width: 768px) {
  .page-hero.home-hero .page-hero-title {
    font-size: 2.85rem;
  }
}

@media (min-width: 1200px) {
  .page-hero.home-hero .page-hero-title {
    font-size: 3.25rem;
  }
}

.page-hero.home-hero .page-hero-title a {
  text-decoration: none;
}

.hero-title-dark {
  color: #0f172a;
  transition: color 0.2s ease;
}

.hero-title-divider {
  color: #0f172a;
  margin: 0 0.2rem;
  font-weight: 700;
}

.hero-title-blue {
  color: #0284c7;
  transition: color 0.2s ease;
}

.page-hero.home-hero .page-hero-title a:hover .hero-title-dark {
  color: #0284c7;
}

.page-hero.home-hero .page-hero-title a:hover .hero-title-blue {
  color: #0369a1;
}

.page-hero.home-hero .page-hero-sub {
  color: #475569;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2rem;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
}

.btn-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
  color: #ffffff !important;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 0.95rem 2rem;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.5);
  background: linear-gradient(135deg, #172554 0%, #0369a1 100%);
}

.hero-google-reviews {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  user-select: none;
}

.google-badge-top {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.g-blue { color: #4285F4; }
.g-red { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green { color: #34A853; }

.google-text {
  color: #0f172a;
  margin-left: 0.35rem;
  font-weight: 700;
}

.google-badge-bottom {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.google-score {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #0f172a;
}

.google-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

/* Hero Visual Showcase */
.home-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.hero-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 10px 25px rgba(15, 23, 42, 0.06));
}

.hero-floating-pill {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: #0ea5e9;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.7rem 1.6rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px -4px rgba(14, 165, 233, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 10;
  transition: transform 0.25s ease;
  white-space: nowrap;
}

.hero-floating-pill:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-floating-pill {
    left: 10px;
    bottom: 15px;
    font-size: 0.8125rem;
    padding: 0.5rem 1.1rem;
  }
}

/* Full-Width Scrolling Ticker Ribbon */
.hero-ticker-ribbon {
  background: #0284c7;
  color: #ffffff;
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.25);
  user-select: none;
}

.hero-ticker-track {
  display: flex;
  width: max-content;
  animation: heroMarquee 35s linear infinite;
}

.hero-ticker-ribbon:hover .hero-ticker-track {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-right: 1.5rem;
}

.ticker-dot {
  color: #7dd3fc;
  font-size: 1.25rem;
  line-height: 0;
}

@keyframes heroMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-secondary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.trust-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Sections & Cards
   -------------------------------------------------------------------------- */
.section {
  padding: 4.5rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.1);
  color: var(--color-primary-dark);
  font-size: 0.78125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

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

/* Card Grids */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

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

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

.service-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.service-icon-box {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(2, 132, 199, 0.04) 100%);
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-icon-box svg {
  display: block;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(2, 132, 199, 0.35);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.service-title a:hover,
.service-card:hover .service-title a {
  color: var(--color-primary);
}

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

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

.service-card:hover .service-link {
  color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   Technical Moat Box (Colorado Soil & SACWSD Water)
   -------------------------------------------------------------------------- */
.moat-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin: 3.5rem 0;
}

.moat-header {
  background: var(--color-primary-deep);
  color: #ffffff;
  padding: 1.75rem 2rem;
}

.moat-body {
  padding: 2rem;
}

.moat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.moat-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--color-primary);
}

/* --------------------------------------------------------------------------
   FAQ Accordions
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  user-select: none;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-answer {
  margin-top: 0.85rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-dark);
  color: #f1f5f9;
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

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

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

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

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--color-secondary);
  padding-left: 0.65rem;
}

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 0.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

.footer-bottom-links a {
  color: #94a3b8;
}

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

/* --------------------------------------------------------------------------
   Mobile Floating Call Bar
   -------------------------------------------------------------------------- */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .mobile-call-bar {
    display: none;
  }
}

.btn-mobile-call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-secondary);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

/* Linked Headings Hover Effects */
.page-hero-title a,
.section-title a,
.moat-card h3 a,
.neighborhood-card h3 a,
.footer-col-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.page-hero-title a:hover,
.section-title a:hover,
.moat-card h3 a:hover,
.moat-card:hover h3 a,
.neighborhood-card h3 a:hover,
.neighborhood-card:hover h3 a,
.footer-col-title a:hover {
  color: var(--color-primary);
}
