/* ==========================================================================
   MASSACHUSETTS PLUMBING CO. - MODERN 2026 STYLESHEET
   Accurately mirrors Mockup Aesthetic & 2026 Design Specs:
   - Deep Emerald / Forest Green structural theme (#08211B, #0E352B)
   - Vivid Emerald Accent Call Buttons & Badges (#10B981, #059669)
   - Crisp White & Light Cream Canvas (#F8FAFC, #FFFFFF)
   - High-contrast typography: Strong Editorial & Clean Modern Sans
   - Floating Pill CTA with downwards shadow: 0 10px 25px rgba(16, 185, 129, 0.42)
   - Facebook-style Left Sliding Drawer Mobile Menu
   - 100% Mobile Optimized, Zero Horizontal Overflow, Accessible Focus Rings
   ========================================================================== */

:root {
  --color-primary: #0A261F;
  --color-primary-dark: #051813;
  --color-primary-light: #123C32;
  --color-accent: #10B981;
  --color-accent-hover: #059669;
  --color-accent-soft: #ECFDF5;
  --color-accent-border: #A7F3D0;
  --color-gold: #D97706;
  --color-gold-light: #FEF3C7;
  --color-canvas: #F8FAFC;
  --color-card-bg: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-subtle: #F1F5F9;
  --color-dark: #0F172A;
  --color-slate: #475569;
  --color-muted: #64748B;
  --color-white: #FFFFFF;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --line-height-base: 1.65;

  /* Floating Pill CTA Shadows */
  --shadow-pill: 0 10px 25px rgba(16, 185, 129, 0.42), 0 3px 6px rgba(0, 0, 0, 0.12);
  --shadow-pill-hover: 0 14px 30px rgba(16, 185, 129, 0.55), 0 5px 10px rgba(0, 0, 0, 0.16);
  --shadow-card: 0 4px 16px rgba(10, 38, 31, 0.06), 0 1px 3px rgba(10, 38, 31, 0.04);
  --shadow-card-hover: 0 12px 30px rgba(10, 38, 31, 0.12), 0 4px 8px rgba(10, 38, 31, 0.06);
  --shadow-lg: 0 20px 40px rgba(5, 24, 19, 0.16), 0 4px 10px rgba(5, 24, 19, 0.08);
  --shadow-sexy-box: 0 12px 32px rgba(10, 38, 31, 0.08), 0 2px 6px rgba(10, 38, 31, 0.04);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --max-width: 1240px;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-dark);
  background-color: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  line-height: var(--line-height-base);
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   TOP ANNOUNCEMENT BAR (Matches Mockup Reference)
   ========================================================================== */
.top-bar {
  background-color: var(--color-primary-dark);
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-left svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

.top-bar-left span {
  font-weight: 500;
  color: #CBD5E1;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right a {
  color: #94A3B8;
  font-size: 0.82rem;
  text-decoration: none;
}

.top-bar-right a:hover {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }
  .top-bar-left {
    justify-content: center;
    width: 100%;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   STICKY HEADER & DESKTOP NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--color-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-wrapper {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
}

.brand-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
}

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

.brand-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #E2E8F0;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-item:hover .nav-link svg,
.nav-item:focus-within .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-primary-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  min-width: 260px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

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

.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  color: #CBD5E1;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus-visible {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--color-white);
  padding-left: 22px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Header Call Button */
.header-call-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pill);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pill-hover);
  color: var(--color-white);
}

.header-call-btn svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
  flex-shrink: 0;
}

.header-call-btn-text {
  display: flex;
  flex-direction: column;
}

.header-call-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  line-height: 1;
}

.header-call-number {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Hamburger Toggle Button */
.btn-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.btn-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-mobile-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  .btn-mobile-toggle {
    display: flex;
  }
  .header-call-btn-text .header-call-sub {
    display: none;
  }
  .header-call-btn {
    padding: 8px 14px;
  }
}

@media (max-width: 480px) {
  .header-call-number {
    font-size: 0.88rem;
  }
  .brand-title {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   FACEBOOK-STYLE SLIDING LEFT DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: var(--color-primary-dark);
  z-index: 1999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-header .brand-logo {
  gap: 10px;
}

.drawer-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.drawer-close:hover {
  background: var(--color-accent);
}

.drawer-close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.drawer-cta-box p {
  font-size: 0.84rem;
  color: #CBD5E1;
  margin-bottom: 10px;
}

.drawer-cta-box .btn-floating-pill {
  width: 100%;
  justify-content: center;
}

.drawer-nav-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-nav-list li a, .drawer-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  color: #E2E8F0;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.drawer-nav-list li a:hover, .drawer-accordion-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-accent);
}

.drawer-accordion-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.drawer-accordion-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.drawer-accordion-content {
  display: none;
  padding-left: 14px;
  border-left: 2px solid rgba(16, 185, 129, 0.3);
  margin-left: 10px;
  margin-top: 4px;
  margin-bottom: 6px;
}

.drawer-accordion-content.open {
  display: block;
}

.drawer-accordion-content a {
  display: block;
  padding: 8px 10px;
  font-size: 0.88rem;
  color: #94A3B8;
  text-decoration: none;
}

.drawer-accordion-content a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   FLOATING PILL CTA BUTTONS (Downwards Shadow Design)
   ========================================================================== */
.btn-floating-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pill);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-floating-pill:hover, .btn-floating-pill:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pill-hover);
  background: linear-gradient(135deg, #34D399 0%, var(--color-accent) 100%);
  color: var(--color-white);
}

.btn-floating-pill svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
  flex-shrink: 0;
}

.btn-floating-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-floating-pill-outline:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-floating-pill-outline svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   EDITORIAL HERO SECTION (Matches Mockup Reference)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #061914;
  color: var(--color-white);
  padding: 64px 0 76px 0;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #061914 0%, rgba(6, 25, 20, 0.98) 42%, rgba(6, 25, 20, 0.82) 70%, rgba(6, 25, 20, 0.55) 100%);
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.28;
  filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: #34D399;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.hero-title span.highlight {
  color: #34D399;
}

.hero-subtag {
  font-size: 1.25rem;
  font-weight: 700;
  color: #A7F3D0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-subtag::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 3px;
  background-color: var(--color-accent);
}

.hero-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.6;
  max-width: 580px;
}

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

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-media-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-media-card:hover img {
  transform: scale(1.02);
}

.hero-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 24, 19, 0.92) 100%);
  padding: 20px 24px 16px;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-media-caption span {
  font-weight: 700;
  font-size: 0.9rem;
  color: #A7F3D0;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-media-card img {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 40px 0 50px 0;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn-floating-pill,
  .hero-ctas .btn-floating-pill-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   DARK TRUST STRIP (Matches Mockup Reference)
   ========================================================================== */
.trust-strip {
  background-color: var(--color-primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.trust-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
  fill: #34D399;
}

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

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

.trust-sub {
  font-size: 0.8rem;
  color: #94A3B8;
}

@media (max-width: 992px) {
  .trust-container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 576px) {
  .trust-container {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
  }
  .trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ==========================================================================
   MAIN CONTENT SECTIONS & EDITORIAL LAYOUT
   ========================================================================== */
.section-py {
  padding: 60px 0;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

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

/* 2-Column Content + Sidebar Layout for Service Pages */
.page-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .page-layout-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.article-body {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 12px;
}

.article-body p {
  margin: 0;
}

.article-body ul {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-body li strong {
  color: var(--color-dark);
}

/* Relevant 2-Image Grid within Content */
.article-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 16px 0;
}

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

.article-media-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.article-media-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.article-media-card figcaption {
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--color-slate);
  background: #F8FAFC;
  border-top: 1px solid var(--color-border-subtle);
  line-height: 1.4;
}

/* Callout Box inside content */
.info-callout {
  background-color: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 12px 0;
}

.info-callout-title {
  font-weight: 700;
  color: var(--color-primary-light);
  font-size: 1rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-callout p {
  font-size: 0.92rem;
  color: #1E293B;
  line-height: 1.55;
}

/* ==========================================================================
   CONVINCING SIDEBAR CONVERSION PANEL (Matches Mockup Reference)
   ========================================================================== */
.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.urgent-contact-panel {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  color: var(--color-white);
  box-shadow: var(--shadow-sexy-box);
  text-align: center;
  position: sticky;
  top: 90px;
}

.urgent-panel-icon {
  width: 52px;
  height: 52px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.urgent-panel-icon svg {
  width: 28px;
  height: 28px;
  fill: #34D399;
}

.urgent-panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--color-white);
}

.urgent-panel-sub {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 20px;
}

.urgent-panel-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pill);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
}

.urgent-panel-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pill-hover);
  color: var(--color-white);
}

.urgent-panel-call-btn svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}

.urgent-panel-details {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.panel-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #A7F3D0;
}

.panel-detail-item svg {
  width: 15px;
  height: 15px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

/* Sibling Services Widget */
.sidebar-widget {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.sidebar-widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent-soft);
}

.sidebar-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-service-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.sidebar-service-list li a:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
  padding-left: 16px;
}

.sidebar-service-list li a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   STRUCTURED SERVICE GRID & CITY CARDS
   ========================================================================== */
.service-grid-section {
  background: var(--color-canvas);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.service-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}

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

.service-card-icon {
  width: 50px;
  height: 50px;
  background: var(--color-accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--color-accent-hover);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--color-slate);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent-hover);
}

.service-card-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   DARK STATEWIDE SERVICE AREA SECTION (Matches Mockup Reference)
   ========================================================================== */
.statewide-areas-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.statewide-areas-section .section-title {
  color: var(--color-white);
}

.statewide-areas-section .section-subtitle {
  color: #CBD5E1;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

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

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

.city-pill-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-pill-card:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.city-pill-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.city-pill-name svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent-hover);
  transition: transform 0.2s ease;
}

.city-pill-card:hover .city-pill-name svg {
  transform: translateX(4px);
}

.city-pill-meta {
  font-size: 0.86rem;
  color: var(--color-slate);
  line-height: 1.45;
}

/* In Dark Statewide Section */
.statewide-areas-section .city-pill-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.statewide-areas-section .city-pill-card:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: var(--color-accent);
}

.statewide-areas-section .city-pill-name {
  color: var(--color-white);
}

.statewide-areas-section .city-pill-name svg {
  fill: #34D399;
}

.statewide-areas-section .city-pill-meta {
  color: #94A3B8;
}

/* ==========================================================================
   CONVINCING FAQ ACCORDIONS
   ========================================================================== */
.faq-section {
  background-color: var(--color-white);
  padding: 60px 0;
}

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

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-canvas);
  transition: border-color 0.2s ease;
}

.faq-item:focus-within, .faq-item:hover {
  border-color: var(--color-accent);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  gap: 16px;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent-hover);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px 20px;
  font-size: 0.95rem;
  color: var(--color-slate);
  line-height: 1.65;
}

.faq-answer.open {
  display: block;
}

/* ==========================================================================
   FINAL CONVERSION SECTION
   ========================================================================== */
.final-cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.final-cta-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
}

.final-cta-desc {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER (Clean, Organized Columns)
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #94A3B8;
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

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

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

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-about p {
  line-height: 1.6;
  margin-bottom: 16px;
  color: #94A3B8;
}

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

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

.footer-links-list li a:hover {
  color: #34D399;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--color-white);
  font-weight: 700;
}

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

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ==========================================================================
   MOBILE STICKY FLOATING PILL CTA BAR
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 33, 27, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(16, 185, 129, 0.3);
  padding: 12px 18px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.mobile-sticky-bar .btn-floating-pill {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 12px 20px;
}

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

