/* ==========================================================================
   PIPE BREAKS ALLEN - MASTER PRODUCTION STYLESHEET
   Reference Design System: rodentcontrolodessa.com (Pestech 2.0)
   Colors: Deep Navy (#0B3E74), Dark Navy (#072A52), Sky Blue (#3387C6), Action Green (#2CC05A)
   Typography: Alata (Headings), Titillium Web (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alata&family=Titillium+Web:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Brand Color Palette */
  --color-primary: #0B3E74;          /* Signature Deep Navy */
  --color-primary-dark: #072A52;     /* Dark Navy for Header Top & Footer */
  --color-primary-light: #16569B;    /* Medium Navy */
  --color-accent-blue: #3387C6;      /* Sky Blue Accent */
  --color-accent-blue-hover: #2E76AC;/* Blue Hover */
  --color-accent-blue-light: #E8F3FA;/* Light Blue Tint */
  --color-accent-green: #2CC05A;     /* Vibrant Action Green */
  --color-accent-green-hover: #249E4A; /* Darker Green Hover */
  --color-accent-green-light: #EBF9F0; /* Soft Green Tint */
  --color-accent-gold: #3387C6;
  --color-accent-gold-light: #E8F3FA;
  --color-bg-page: #F5F6F2;          /* Warm Neutral Page Background */
  --color-bg-surface: #FFFFFF;       /* Pure White Cards */
  --color-text-main: #2D3748;        /* Highly Legible Dark Slate Body */
  --color-text-headings: #0B3E74;    /* Navy Headings */
  --color-text-muted: #556070;       /* Refined Muted Text */
  --color-border: #CECECE;           /* Clean Gray Border */
  --color-border-subtle: #E8ECEF;
  --shadow-sm: 0 1px 3px 0 rgb(11 62 116 / 0.08);
  --shadow-md: 0 4px 8px -1px rgb(11 62 116 / 0.12), 0 2px 4px -2px rgb(11 62 116 / 0.08);
  --shadow-lg: 0 10px 20px -3px rgb(11 62 116 / 0.15), 0 4px 6px -4px rgb(11 62 116 / 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 40px;               /* Signature Pill Buttons */
  --container-max: 1240px;
  --header-height: 76px;
  --header-height-mobile: 64px;

  /* Typography */
  --font-heading: 'Alata', sans-serif;
  --font-body: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-main: var(--font-body);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  line-height: 1.7;
  font-size: 1.0625rem;
  padding-bottom: 70px;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: var(--color-accent-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

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

/* Contextual In-Body Internal Links */
.in-body-link, article p a, .editorial-content p a {
  color: var(--color-accent-blue);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.in-body-link:hover, article p a:hover, .editorial-content p a:hover {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-headings);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-top: 2rem;
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  margin-top: 1.5rem;
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1.25rem;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.container, .ast-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.editorial-container {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* =========================================
   TOP UTILITY BAR
   ========================================= */
.top-bar {
  background-color: var(--color-primary-dark);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(44, 192, 90, 0.18);
  color: #2CC05A;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(44, 192, 90, 0.35);
}

.top-bar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.top-bar a:hover {
  color: #2CC05A;
}

.emergency-status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

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

/* =========================================
   MAIN HEADER & NAVIGATION
   ========================================= */
.site-header {
  background-color: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-primary);
  flex-shrink: 0;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-title span {
  color: var(--color-accent-blue);
}

.brand-subtitle {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-green);
  font-weight: 400;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  color: var(--color-text-headings);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--color-accent-blue);
  background-color: var(--color-accent-blue-light);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 500px;
  padding: 0.75rem 0.6rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1050;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 0.5rem;
}

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

.nav-dropdown-link {
  display: block;
  padding: 0.55rem 0.9rem;
  color: var(--color-text-main);
  font-size: 0.91rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  background-color: var(--color-accent-blue-light);
  color: var(--color-primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.phone-quick-link {
  display: none;
  flex-direction: column;
  text-align: right;
  text-decoration: none;
}

@media (min-width: 1200px) {
  .phone-quick-link {
    display: flex;
  }
}

.phone-quick-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--color-accent-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-quick-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.2;
}

/* Call Now Pill Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 400;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--color-accent-green);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(44, 192, 90, 0.35);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--color-accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(44, 192, 90, 0.45);
}

.btn-secondary {
  background-color: var(--color-accent-blue);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(51, 135, 198, 0.35);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--color-accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(51, 135, 198, 0.45);
}

.btn-large {
  padding: 0.85rem 2.25rem;
  font-size: 1.05rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-primary);
}

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

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 42, 82, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
}

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

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  background-color: var(--color-bg-surface);
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

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

.mobile-nav-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-main);
  padding: 0.5rem;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.75rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-border-subtle);
  text-align: left;
  cursor: pointer;
}

.mobile-submenu {
  list-style: none;
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 0;
  background: var(--color-bg-page);
  border-radius: var(--radius-sm);
}

.mobile-submenu a {
  display: block;
  padding: 0.5rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
  text-decoration: none;
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* =========================================
   BREADCRUMBS
   ========================================= */
.breadcrumb-nav {
  padding: 0.45rem 0;
  font-size: 0.85rem;
  background-color: var(--color-bg-page);
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
}

.breadcrumb-item a {
  color: var(--color-accent-blue);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #94a3b8;
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 400;
}

/* =========================================
   HIGH-CONVERTING HERO SECTION (Split Layout)
   ========================================= */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-page) 100%);
  padding: 2rem 0 2.25rem 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 2.5rem;
  }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--color-accent-green-light);
  color: #166534;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-family: var(--font-heading);
  font-weight: 400;
  border: 1px solid #bbf7d0;
  margin-bottom: 0.65rem;
}

.badge-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-green);
  border-radius: 50%;
  animation: pulse-green 2s infinite ease-in-out;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(44, 192, 90, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(44, 192, 90, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(44, 192, 90, 0); }
}

.hero-title {
  margin-bottom: 0.65rem;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.22;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.hero-intro {
  font-size: 1.02rem;
  color: var(--color-text-main);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.hero-intro p {
  margin-bottom: 0.85rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text-main);
}

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

.hero-intro a {
  color: var(--color-accent-blue);
  text-decoration: underline;
  font-weight: 600;
}

.hero-intro a:hover {
  color: var(--color-accent-blue-hover);
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 500px) {
  .hero-cta-wrapper {
    width: auto;
  }
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2.25rem;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 400;
  border-radius: var(--radius-pill);
  background: var(--color-accent-green);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(44, 192, 90, 0.4);
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-hero-cta:hover, .btn-hero-cta:focus-visible {
  background: var(--color-accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(44, 192, 90, 0.5);
}

.hero-urgency-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 0.35rem;
}

.live-status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-accent-green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--color-accent-green);
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-headings);
  box-shadow: var(--shadow-sm);
}

.hero-image-col {
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(11, 62, 116, 0.18), 0 0 0 1px rgba(11, 62, 116, 0.08);
  background-color: #ffffff;
  height: 100%;
  min-height: 380px;
  display: flex;
}

.hero-floating-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(7, 42, 82, 0.92);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.02);
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 42, 82, 0.94) 100%);
  color: #ffffff;
  padding: 1.25rem 1rem 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.4;
}

.caption-check {
  color: var(--color-accent-green);
  font-weight: 900;
  font-size: 0.95rem;
}

/* =========================================
   KEY VALUE TRUST BAR
   ========================================= */
.trust-bar {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.trust-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-green);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
}

.trust-card-text h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  font-weight: 400;
}

.trust-card-text p {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* =========================================
   CONTENT SECTIONS & LAYOUT (EXACT RODENTCONTROLODESSA.COM SYSTEM)
   ========================================= */
.content-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.editorial-container {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.content-layout {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.content-main, .article-main {
  width: 100%;
  min-width: 0;
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* Centered Section Headings with Green Accent Underline */
.article-main h2, .content-main h2 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  color: var(--color-primary);
  margin-top: 3.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.article-main h2:first-of-type, .content-main h2:first-of-type {
  margin-top: 0;
}

.article-main h2::after, .content-main h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3.5px;
  background-color: var(--color-accent-green);
  margin: 0.75rem auto 0 auto;
  border-radius: 2px;
}

/* Centered Lead Intro Paragraph Immediately Under H2 */
.article-main h2 + p, .content-main h2 + p {
  font-size: 1.12rem;
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
  color: var(--color-text-main);
  line-height: 1.75;
}

/* Subheadings */
.article-main h3, .content-main h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-primary);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  text-align: left;
}

.article-main h4, .content-main h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

/* Body Paragraphs, Lists & Text Formatting */
.article-main p, .content-main p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
  text-align: left;
}

.article-main ul, .content-main ul, .article-main ol, .content-main ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-main li, .content-main li {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.article-main li strong, .content-main li strong {
  color: var(--color-text-headings);
  font-weight: 700;
}

hr {
  border: 0;
  height: 1px;
  background-color: var(--color-border);
  margin: 3.5rem 0;
}

.article-featured-img-wrap {
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.article-featured-img-wrap img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

.article-img-caption {
  background-color: var(--color-bg-page);
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-subtle);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.widget-emergency {
  border-top: 4px solid var(--color-accent-green);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.sidebar-trust-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--color-text-main);
  margin: 0;
}

.sidebar-trust-list svg {
  color: var(--color-accent-green);
  flex-shrink: 0;
}

/* Protocol Timeline Grid */
.protocol-timeline-container {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.protocol-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.protocol-step-box {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  transition: transform 0.2s ease;
}

.protocol-step-box:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent-blue);
}

.protocol-step-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-blue);
  background-color: var(--color-accent-blue-light);
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.protocol-step-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-primary);
}

/* Contractor Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.contractor-table th, th {
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 400;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.contractor-table td, td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-main);
}

.contractor-table tr:nth-child(even) td, tr:nth-child(even) td {
  background-color: #f8fafc;
}

.contractor-table tr:last-child td, tr:last-child td {
  border-bottom: none;
}

/* FAQ Accordion */
.faq-accordion-item {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.faq-accordion-item[open] {
  border-color: var(--color-accent-blue);
}

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

.faq-accordion-title {
  display: inline-block;
  flex: 1;
  text-align: left;
}

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

.faq-accordion-summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent-blue);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-accordion-item[open] .faq-accordion-summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-accordion-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--color-text-main);
  line-height: 1.7;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1rem;
}

/* Services Hub Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.service-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  color: var(--color-accent-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.service-card-title {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

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

.service-card-title a:hover {
  color: var(--color-accent-blue);
}

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

.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-accent-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Location & Contact Sections */
.section-location {
  padding: 3.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.location-meta-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.meta-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent-blue-light);
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-text-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
}

.meta-text-val {
  font-size: 15px;
  color: var(--color-text-main);
  font-weight: 600;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: 360px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-accent-blue-light);
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.contact-card-title {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.contact-card-text {
  font-size: 14px;
  color: var(--color-text-main);
  margin: 0;
}

/* =========================================
   FINAL CONVERSION CTA BANNER
   ========================================= */
.section-emergency-callout, .cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--color-accent-green);
}

.callout-title, .cta-banner h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 1rem;
}

.callout-text, .cta-banner p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 1.75rem auto;
}

.callout-btn-wrap {
  display: flex;
  justify-content: center;
}

/* =========================================
   MASTER FOOTER
   ========================================= */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #cbd5e1;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

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

.footer-brand h3, .footer-brand-title {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-brand-title span {
  color: var(--color-accent-blue);
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-col h4, .footer-col-title {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after, .footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-accent-green);
}

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

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

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

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #cbd5e1;
  margin: 0;
}

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

.footer-contact-item a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

/* =========================================
   STICKY MOBILE CALL BAR (< 769px)
   ========================================= */
.sticky-mobile-bar, .mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-accent-green);
  color: #ffffff;
  z-index: 9999;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  padding: 0.9rem 1rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.sticky-mobile-bar:hover, .mobile-sticky-bar:hover {
  background-color: var(--color-accent-green-hover);
}

@media (min-width: 769px) {
  .sticky-mobile-bar, .mobile-sticky-bar {
    display: none !important;
  }
}

.sticky-mobile-bar svg, .mobile-sticky-bar svg {
  width: 20px;
  height: 20px;
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */
@media screen and (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    margin-top: 30px;
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SOCIAL PROFILES (FOOTER, ABOUT, & CONTACT PAGES)
   ========================================================================== */
.footer-social-strip {
  margin-top: 2.75rem;
  margin-bottom: 2rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.footer-social-strip:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.footer-social-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.footer-social-badge-icon {
  width: 17px;
  height: 17px;
  fill: var(--color-accent-blue);
  flex-shrink: 0;
}

.footer-social-heading {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.2;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  outline: none;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.footer-social-btn:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 3px;
}

.footer-social-btn:hover {
  background: var(--color-accent-blue);
  color: #ffffff;
  border-color: #5ba3d9;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(51, 135, 198, 0.5);
}

.footer-social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.footer-social-btn:hover svg {
  transform: scale(1.12);
}

/* Page Social Grid & Cards (About Us & Contact Pages) */
.social-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
  margin-top: 1.25rem;
}

.social-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.social-profile-pill:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.social-profile-pill svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.contact-social-card {
  margin-top: 24px;
  padding: 1.75rem 2rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-social-title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.about-social-card {
  margin-top: 36px;
  padding: 2rem;
  background: var(--color-accent-blue-light);
  border: 1px solid #d0e3f2;
  border-radius: var(--radius-md);
}

.about-social-title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

@media screen and (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .hero-section {
    padding: 1.5rem 0 1.75rem 0;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}
