/* ==========================================================================
   ThermalGuard Emergency Network - Final Production Master Stylesheet
   Palette from ThermalGuard Logo:
   - Primary Brand Cyan / Teal: #24A3BC (Darker: #1B8296, Ice Tint: #F0F9FB)
   - Emergency Thermal Orange: #F15A24 (Darker: #D94510, Warm Tint: #FFF2EC)
   - Slate Navy Typography: #1E293B (Headings: #0F172A, Body: #334155)
   - Neutral Backgrounds: #FFFFFF, #F8FAFC, #E2E8F0
   ========================================================================== */

:root {
  --brand-cyan: #24A3BC;
  --brand-cyan-dark: #1B8296;
  --brand-cyan-ice: #F0F9FB;
  --brand-orange: #F15A24;
  --brand-orange-dark: #D94510;
  --brand-orange-tint: #FFF2EC;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-orange: 0 8px 24px rgba(241, 90, 36, 0.35);
}

html {
  box-sizing: border-box;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

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

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

/* ==========================================================================
   TOP EMERGENCY BAR
   ========================================================================== */
.top-dispatch-bar {
  background: var(--slate-900);
  color: var(--white);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 2px solid var(--brand-orange);
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.4);
}

.top-phone-link {
  color: var(--white);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-orange);
  padding: 5px 14px;
  border-radius: 20px;
  transition: background 0.2s ease;
}

.top-phone-link:hover {
  background: var(--brand-orange-dark);
  color: var(--white);
}

/* ==========================================================================
   SITE HEADER & NAVIGATION WITH DROPDOWN
   ========================================================================== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--slate-200);
  width: 100%;
}

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

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

.brand-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

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

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--slate-900);
  line-height: 1.1;
}

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

.brand-tagline {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-orange);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--slate-800);
  font-weight: 600;
  font-size: 13.5px;
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

/* Dropdown Menu for Services */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--slate-800);
  font-family: inherit;
  font-weight: 600;
  font-size: 13.5px;
  padding: 6px 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-toggle:hover {
  color: var(--brand-cyan);
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

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

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 310px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  color: var(--slate-800);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--brand-cyan-ice);
  color: var(--brand-cyan-dark);
}

.header-cta-btn {
  background: var(--brand-orange);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: var(--brand-orange-dark);
  color: var(--white);
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 8px 6px;
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: all 0.2s ease;
  z-index: 1002;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--slate-200);
  outline: none;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--slate-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-active .bar-1 {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.is-active .bar-2 {
  opacity: 0;
}

.mobile-menu-toggle.is-active .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.phone-text-desktop {
  display: inline;
}

.phone-text-mobile {
  display: none;
}

.mobile-nav-footer {
  display: none;
}

/* ==========================================================================
   HERO SECTION (BACKGROUND IMAGE WITH GRADIENT OVERLAY ONLY)
   ========================================================================== */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 80px 20px 90px;
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(27, 130, 150, 0.85) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(241, 90, 36, 0.2);
  border: 1px solid rgba(241, 90, 36, 0.6);
  color: #FFA07A;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin-bottom: 22px;
  color: var(--white);
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-title .highlight {
  color: #38BDF8;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #E2E8F0;
  max-width: 820px;
  margin: 0 auto 36px;
}

/* Hero CTA Card Above the Fold */
.hero-cta-card {
  background: var(--white);
  color: var(--slate-800);
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  max-width: 720px;
  margin: 0 auto;
  border-top: 4px solid var(--brand-orange);
}

.cta-urgency-heading {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-orange);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.cta-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-orange);
  color: var(--white);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.3px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: var(--shadow-orange);
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.cta-main-btn:hover {
  background: var(--brand-orange-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Exactly 2 rows of 2 points (4 points total) */
.hero-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-200);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  font-size: 13.5px;
  color: var(--slate-700);
  line-height: 1.35;
}

.trust-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: #10B981;
  color: #FFFFFF;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

.trust-tick svg {
  width: 11px;
  height: 11px;
  stroke: #FFFFFF;
}

.trust-badge-text {
  display: inline;
}

.trust-badge-item strong {
  color: var(--slate-900);
  font-weight: 700;
}

/* ==========================================================================
   BREADCRUMB HIERARCHY NAVIGATION (SEO & ACCESSIBILITY)
   ========================================================================== */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 12px 0;
  font-size: 13.5px;
}

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

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--slate-600);
}

.breadcrumb-item a {
  color: var(--slate-600);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.breadcrumb-separator {
  color: var(--slate-400);
  font-size: 11px;
  user-select: none;
  margin: 0 2px;
}

.breadcrumb-current {
  color: var(--brand-cyan-dark);
  font-weight: 700;
}

/* ==========================================================================
   ALTERNATING SECTION BACKGROUND COLORS (ZERO PICTURES IN CONTENT)
   ========================================================================== */
.section {
  padding: 70px 20px;
}

/* Background Color 1: Pure White */
.section-white {
  background: var(--white);
}

/* Background Color 2: Cool Soft Slate */
.section-slate {
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

/* Background Color 3: Brand Ice Teal Tint */
.section-ice {
  background: #E6F4F7;
  border-top: 1px solid #C8E8EE;
  border-bottom: 1px solid #C8E8EE;
}

/* Background Color 4: Rich Dark Slate (for Diagnostic Matrix / Technical Authority) */
.section-dark {
  background: var(--slate-900);
  color: #E2E8F0;
  border-top: 1px solid var(--slate-800);
  border-bottom: 1px solid var(--slate-800);
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
  color: var(--white) !important;
}

.section-dark p,
.section-dark li {
  color: #CBD5E1;
}

.section-dark strong {
  color: #FFFFFF;
}

.section-dark .section-desc {
  color: #94A3B8;
}

.section-dark .service-card {
  background: var(--slate-800);
  border-color: var(--slate-700);
  color: #E2E8F0;
}

.section-dark .service-title {
  color: var(--white);
}

.section-dark .service-text {
  color: #CBD5E1;
}

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

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
}

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

.section-tag {
  color: var(--brand-cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-dark .section-tag {
  color: #38BDF8;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   CARDS & NUMBERED BADGES (THEME COLORS)
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 36px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-cyan);
  transition: background 0.2s ease;
}

.service-card:hover::before {
  background: var(--brand-orange);
}

/* Theme-Matching Number Badges */
.number-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}

.number-badge.teal {
  background: var(--brand-cyan-ice);
  color: var(--brand-cyan-dark);
  border: 1px solid #B8E4ED;
}

.number-badge.orange {
  background: var(--brand-orange-tint);
  color: var(--brand-orange);
  border: 1px solid #FFD5C2;
}

.number-badge.slate {
  background: var(--slate-800);
  color: var(--white);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-text {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-cyan-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* ==========================================================================
   TABLES & DIAGNOSTICS (RESPONSIVE & CLEAN)
   ========================================================================== */
.table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 30px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.data-table th {
  background: var(--slate-800);
  color: var(--white);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
  vertical-align: top;
}

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

.data-table tr:hover td {
  background: var(--slate-50);
}

.badge-risk {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-risk.critical {
  background: #FEE2E2;
  color: #B91C1C;
}

.badge-risk.serviceable {
  background: #FEF3C7;
  color: #B45309;
}

.badge-risk.prevention {
  background: var(--brand-cyan-ice);
  color: var(--brand-cyan-dark);
}

/* ==========================================================================
   CALL-TO-ACTION (CTA) SECTION (BACKGROUND IMAGE WITH GRADIENT ONLY)
   ========================================================================== */
.cta-banner-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(241, 90, 36, 0.90) 0%, rgba(27, 130, 150, 0.90) 100%);
  z-index: 1;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--white);
}

.cta-banner-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #FFF2EC;
  margin-bottom: 30px;
}

.cta-btn-white {
  background: var(--white);
  color: var(--brand-orange);
  font-size: 19px;
  font-weight: 900;
  padding: 16px 34px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.cta-btn-white:hover {
  background: var(--slate-900);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDIONS (SINGLE-OPEN DROPDOWNS)
   ========================================================================== */
.faq-accordion-wrapper {
  margin: 30px 0;
}

.faq-header {
  margin-bottom: 24px;
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--brand-cyan);
  box-shadow: 0 4px 12px rgba(36, 163, 188, 0.1);
}

.faq-item[open] {
  border-color: var(--brand-cyan);
  box-shadow: 0 6px 18px rgba(36, 163, 188, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  user-select: none;
}

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

.faq-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.35;
}

.faq-num {
  color: var(--brand-orange);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

.faq-chevron {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--slate-600);
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.faq-chevron::after {
  content: '▼';
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: var(--brand-cyan);
  color: var(--white);
}

.faq-answer {
  padding: 0 22px 20px 22px;
  color: var(--slate-700);
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid var(--slate-100);
  margin-top: 6px;
  padding-top: 14px;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   3-CARD EMERGENCY STEPS GRID
   ========================================================================== */
.steps-wrapper {
  margin: 36px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.steps-header-bar {
  background: var(--slate-900);
  color: var(--white);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--brand-orange);
}

.steps-grid {
  background: var(--white);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-cyan);
  background: var(--white);
}

.step-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.step-badge.teal {
  background: var(--brand-cyan-ice);
  color: var(--brand-cyan-dark);
  border: 1px solid #B8E4ED;
}

.step-badge.orange {
  background: var(--brand-orange-tint);
  color: var(--brand-orange);
  border: 1px solid #FFD5C2;
}

.step-badge.slate {
  background: var(--slate-800);
  color: var(--white);
}

.step-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-card-desc {
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.6;
}

/* ==========================================================================
   STYLED RESPONSIVE DATA TABLES
   ========================================================================== */
.table-responsive-wrapper {
  margin: 28px 0;
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  background: var(--white);
}

.table-title-bar {
  background: var(--slate-900);
  color: var(--white);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--brand-cyan);
}

.styled-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.styled-data-table th {
  background: var(--slate-100);
  color: var(--slate-800);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  border-bottom: 2px solid var(--slate-200);
}

.styled-data-table td,
.section-dark .styled-data-table td,
.section-slate .styled-data-table td,
.section-white .styled-data-table td,
.section-ice .styled-data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-200);
  color: #334155 !important;
  vertical-align: middle;
}

.styled-data-table td strong,
.section-dark .styled-data-table td strong,
.section-slate .styled-data-table td strong,
.section-white .styled-data-table td strong,
.section-ice .styled-data-table td strong {
  color: #0F172A !important;
  font-weight: 700;
}

.styled-data-table th,
.section-dark .styled-data-table th {
  background: var(--slate-100) !important;
  color: var(--slate-800) !important;
  font-weight: 700;
}

.styled-data-table tbody tr {
  background-color: var(--white);
}

.styled-data-table tbody tr:nth-child(even) {
  background-color: #F8FAFC;
}

.styled-data-table tbody tr:hover {
  background-color: var(--brand-cyan-ice);
}

.styled-data-table .col-symptom {
  width: 32%;
  font-weight: 700;
  color: var(--slate-900);
}

.styled-data-table .col-cause {
  width: 38%;
}

.styled-data-table .col-action {
  width: 30%;
}

.table-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.table-badge small {
  display: block;
  font-weight: 500;
  opacity: 0.85;
}

.badge-emergency {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.badge-warning {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.badge-info {
  background: #F0F9FB;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}

.badge-success {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.table-key-value .key-col {
  width: 35%;
  font-weight: 700;
  color: var(--slate-900);
  background: var(--slate-50);
  border-right: 1px solid var(--slate-200);
}

/* ==========================================================================
   MID-PAGE CALL-TO-ACTION SECTION
   ========================================================================== */
.mid-page-cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 44px 0;
  padding: 55px 24px;
  border-radius: var(--radius-lg);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.mid-page-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.90) 100%);
  z-index: 1;
}

.mid-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.cta-urgency-pill {
  display: inline-block;
  background: var(--brand-orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.mid-cta-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.mid-cta-subtitle {
  font-size: 16px;
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 26px;
}

.cta-main-btn {
  background: var(--brand-orange);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(241, 90, 36, 0.4);
  text-decoration: none;
}

.cta-main-btn:hover {
  background: var(--brand-orange-dark);
  transform: translateY(-2px);
  color: var(--white);
}

.mid-cta-trust {
  margin-top: 18px;
  font-size: 13px;
  color: #94A3B8;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   50-STATE DIRECTORY GRID & CARDS
   ========================================================================== */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.state-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.state-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-cyan);
}

.state-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.state-abbr-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-cyan-ice);
  color: var(--brand-cyan-dark);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #B8E4ED;
}

.state-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
}

.state-corridor {
  font-size: 12px;
  color: var(--slate-600);
  margin-bottom: 12px;
}

.state-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #059669;
  margin-bottom: 16px;
}

.state-card-btn {
  display: block;
  text-align: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  background: var(--slate-100);
  color: var(--slate-800);
  transition: all 0.2s ease;
  text-decoration: none;
}

.state-card-btn:hover {
  background: var(--brand-cyan);
  color: var(--white);
}

.state-card-btn.highlight {
  background: var(--brand-orange);
  color: var(--white);
}

.state-card-btn.highlight:hover {
  background: var(--brand-orange-dark);
}

/* ==========================================================================
   HOMEPAGE SERVICES GRID & CARDS
   ========================================================================== */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.home-service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.home-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-cyan);
  transition: background 0.2s ease;
}

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

.home-service-card:hover::before {
  background: var(--brand-orange);
}

.home-service-btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-cyan);
  text-decoration: none;
  transition: color 0.15s ease;
}

.home-service-btn:hover {
  color: var(--brand-cyan-dark);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-100);
  padding: 60px 20px 30px;
  border-top: 4px solid var(--brand-cyan);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
}

.footer-col-title {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--slate-800);
  text-align: center;
  font-size: 13px;
  color: #64748B;
}


/* ==========================================================================
   4-STAGE EMERGENCY WORKFLOW COMPONENT
   ========================================================================== */
.stages-wrapper {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin: 32px 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stages-header-bar {
  background: var(--slate-800);
  color: var(--white);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--brand-orange);
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--slate-200);
}

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

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

.stage-card {
  background: var(--white);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.stage-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stage-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.stage-badge.teal {
  background: #E0F2FE;
  color: #0369A1;
}

.stage-badge.orange {
  background: var(--brand-orange-tint);
  color: var(--brand-orange-dark);
}

.stage-badge.cyan {
  background: var(--brand-cyan-ice);
  color: var(--brand-cyan-dark);
}

.stage-badge.slate {
  background: var(--slate-100);
  color: var(--slate-800);
}

.stage-time-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-600);
  background: var(--slate-100);
  padding: 3px 8px;
  border-radius: 12px;
}

.stage-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 12px;
  line-height: 1.35;
}

.stage-card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.5;
}

.stage-card-bullets li {
  position: relative;
  padding-left: 14px;
}

.stage-card-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand-cyan);
  font-weight: bold;
}

/* ==========================================================================
   COUNTY CITY DIRECTORY GRID & CARDS
   ========================================================================== */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.city-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--slate-800);
}

.city-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-md);
}

.city-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.city-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--slate-900);
}

.city-status-pill {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 2px 7px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.city-card-sub {
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 10px;
}

.city-card-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.city-card:hover .city-card-btn {
  color: var(--brand-orange);
}

/* ==========================================================================
   TEXAS MASTER COUNTY GRID & CARDS
   ========================================================================== */
.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.county-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--slate-800);
}

.county-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-md);
}

.county-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.county-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--slate-900);
}

.county-status-pill {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 2px 6px;
  border-radius: 10px;
}

.county-card-meta {
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.county-card-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.county-card:hover .county-card-btn {
  color: var(--brand-orange);
}

/* ==========================================================================
   SAFETY WARNING CALLOUT BANNER
   ========================================================================== */
.safety-warning-banner {
  background: #FFFBEB;
  border: 2px solid #F59E0B;
  border-left: 6px solid #D97706;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
}

.safety-warning-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.warning-badge {
  background: #D97706;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.safety-warning-title {
  font-size: 16px;
  font-weight: 800;
  color: #92400E;
  margin: 0;
}

.safety-warning-body p {
  color: #78350F;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   TWO-COLUMN SPLIT CONTENT WITH PICTURE
   ========================================================================== */
.split-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 850px) {
  .split-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.split-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.split-image-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.split-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.92) 0%, transparent 100%);
  padding: 24px 20px 16px;
  color: var(--white);
}

.split-image-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--brand-orange);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.split-image-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

/* ==========================================================================
   DYNAMIC BACKGROUND PICTURE SECTIONS
   ========================================================================== */
.section-bg-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 70px 20px;
}

.section-bg-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
  z-index: 1;
}

.section-bg-banner > .container {
  position: relative;
  z-index: 2;
}

.section-bg-banner .section-title,
.section-bg-banner h2,
.section-bg-banner h3 {
  color: var(--white) !important;
}

.section-bg-banner p,
.section-bg-banner li {
  color: #E2E8F0;
}

.section-bg-banner strong {
  color: #FFFFFF;
}

/* ==========================================================================
   REGIONAL & MUNICIPAL DIRECTORY CARDS GRID
   ========================================================================== */
.directory-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.directory-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.directory-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-cyan);
  transition: background 0.2s ease;
}

.directory-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-md);
}

.directory-card:hover::before {
  background: var(--brand-orange);
}

.directory-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}

.directory-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
}

.directory-status-pill {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
}

.directory-card-desc {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ==========================================================================
   UNIVERSAL CARD ACTION BUTTON (THEME COLORED WITH HOVER EFFECT)
   ========================================================================== */
.card-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  background: var(--brand-orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(241, 90, 36, 0.25);
  box-sizing: border-box;
}

.card-action-btn:hover {
  background: var(--brand-orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(241, 90, 36, 0.4);
}

.card-action-btn.cyan-btn {
  background: var(--brand-cyan);
  box-shadow: 0 2px 6px rgba(36, 163, 188, 0.25);
}

.card-action-btn.cyan-btn:hover {
  background: var(--brand-cyan-dark);
  box-shadow: 0 4px 14px rgba(36, 163, 188, 0.4);
}

/* ==========================================================================
   MASTER RESPONSIVE SYSTEM (MOBILE, TABLET, DESKTOP)
   Ensures:
   1. Zero horizontal overflow across all screens
   2. Ultra-compact, sticky mobile header with hamburger drawer
   3. Scaled-down, properly proportioned buttons on mobile & tablet
   4. Instant content visibility without dominating screen height
   ========================================================================== */

/* --------------------------------------------------------------------------
   TABLET & COMPACT LAPTOP BREAKPOINT (<= 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  /* Prevent horizontal screen movement without breaking sticky header */
  html, body {
    overflow-x: clip !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Compact Top Dispatch Bar */
  .top-dispatch-bar {
    padding: 6px 12px;
    font-size: 11px;
    text-align: center;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .top-bar-phone-wrap {
    display: none; /* Hidden on mobile/tablet; sticky header provides direct phone button */
  }

  /* Compact Sticky Header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-container {
    padding: 8px 14px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

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

  .brand-title {
    font-size: 16.5px;
    letter-spacing: -0.4px;
  }

  .brand-tagline {
    font-size: 9.5px;
    letter-spacing: 0.5px;
  }

  .header-right-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-cta-btn {
    padding: 7px 11px;
    font-size: 12px;
    gap: 5px;
    border-radius: 4px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Slide-Down Mobile Drawer */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 22px;
    gap: 0;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    border-top: 1px solid var(--slate-200);
    border-bottom: 3px solid var(--brand-orange);
    z-index: 999;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.nav-open {
    display: flex;
    animation: navDrawerIn 0.22s ease-out forwards;
  }

  @keyframes navDrawerIn {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-link {
    padding: 12px 6px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--slate-100);
    display: block;
    width: 100%;
    color: var(--slate-800);
  }

  .nav-dropdown {
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--slate-100);
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 6px;
    font-size: 15px;
    color: var(--slate-800);
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--slate-50);
    padding: 4px 0 8px 12px;
    min-width: 100%;
    width: 100%;
  }

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

  .dropdown-item {
    padding: 10px 12px;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }

  .mobile-nav-footer {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--slate-100);
  }

  .mobile-menu-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    background: var(--brand-orange);
    color: var(--white);
    font-weight: 800;
    font-size: 14.5px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(241, 90, 36, 0.35);
  }

  .mobile-menu-hours {
    font-size: 11.5px;
    color: var(--slate-600);
    text-align: center;
    margin-top: 8px;
  }

  .hero-title {
    font-size: 44px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.8px !important;
    margin-bottom: 16px !important;
  }

  /* Grid Adjustments for Tablet */
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* --------------------------------------------------------------------------
   STANDARD MOBILE & PHONES BREAKPOINT (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Hero Section: Compact & Clean */
  .hero-section {
    padding: 32px 14px 40px !important;
  }

  .hero-pill {
    font-size: 11px !important;
    padding: 4px 12px !important;
    margin-bottom: 12px !important;
  }

  /* INCREASED H1 (1.65x of original size for commanding authority) */
  .hero-title {
    font-size: 38px !important;
    letter-spacing: -0.5px !important;
    line-height: 1.18 !important;
    margin-bottom: 14px !important;
  }

  .hero-subtitle {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
  }

  .hero-cta-card {
    padding: 18px 14px !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .cta-urgency-heading {
    font-size: 11.5px !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 10px !important;
  }

  /* BUTTON SIZE SCALING (User requirement: make buttons smaller so they don't cover the whole screen) */
  .cta-main-btn {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    padding: 11px 18px !important;
    max-width: 320px !important;
    width: 100% !important;
    margin: 0 auto !important;
    border-radius: var(--radius-sm) !important;
    gap: 6px !important;
    box-shadow: 0 4px 12px rgba(241, 90, 36, 0.3) !important;
  }

  .cta-btn-white {
    font-size: 14px !important;
    font-weight: 800 !important;
    padding: 11px 18px !important;
    max-width: 290px !important;
    width: auto !important;
    display: inline-flex !important;
    margin: 0 auto !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  }

  .mid-page-cta-box .cta-main-btn {
    max-width: 300px !important;
    margin: 0 auto !important;
  }

  .card-action-btn {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }

  /* EXACTLY 2 ROWS: 2 POINTS ON ROW 1, 2 POINTS ON ROW 2 */
  .hero-trust-badges {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 16px !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
  }

  .trust-badge-item {
    font-size: 12.5px !important;
    gap: 7px !important;
    line-height: 1.3 !important;
  }

  .trust-tick {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
  }

  .trust-tick svg {
    width: 10px !important;
    height: 10px !important;
  }

  /* Sections & Spacing */
  .section,
  .content-section,
  .section-white,
  .section-slate,
  .section-ice,
  .section-dark {
    padding: 34px 14px !important;
  }

  .section-title {
    font-size: 21px !important;
    margin-bottom: 12px !important;
    line-height: 1.25 !important;
  }

  .section-desc,
  .section-lead {
    font-size: 14px !important;
    margin-bottom: 18px !important;
    line-height: 1.55 !important;
  }

  .section-header {
    margin-bottom: 22px !important;
  }

  p, li {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }

  /* CTA Banner Section */
  .cta-banner-section {
    padding: 36px 14px !important;
  }

  .cta-banner-title {
    font-size: 22px !important;
    margin-bottom: 10px !important;
  }

  .cta-banner-desc {
    font-size: 13.5px !important;
    margin-bottom: 20px !important;
  }

  /* Mid-Page Emergency Section */
  .mid-page-cta-box {
    padding: 22px 14px !important;
    margin: 22px 0 !important;
  }

  .mid-cta-title {
    font-size: 19px !important;
    margin-bottom: 8px !important;
  }

  .mid-cta-subtitle {
    font-size: 13.5px !important;
    margin-bottom: 16px !important;
  }

  /* Grids & Cards: Collapse to Single Column to prevent overflow */
  .grid-2,
  .grid-3,
  .grid-4,
  .steps-grid,
  .home-services-grid,
  .stages-grid,
  .split-container,
  .directory-cards-grid,
  .county-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .state-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    gap: 8px !important;
  }

  .city-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)) !important;
    gap: 6px !important;
  }

  .directory-card,
  .service-card,
  .stage-card,
  .county-card {
    padding: 16px 14px !important;
  }

  /* Responsive Table Container */
  .table-responsive-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 18px 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .styled-data-table {
    min-width: 480px !important;
    font-size: 12.5px !important;
  }

  .styled-data-table th,
  .styled-data-table td {
    padding: 9px 8px !important;
  }

  /* Breadcrumbs on Mobile */
  .breadcrumb-bar {
    padding: 7px 12px !important;
    font-size: 11px !important;
  }

  .breadcrumb-list {
    gap: 4px !important;
    flex-wrap: wrap !important;
  }

  /* Footer on Mobile */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .site-footer {
    padding: 34px 14px 18px !important;
  }

  .footer-bottom {
    font-size: 11.5px !important;
    padding-top: 18px !important;
  }
}

/* --------------------------------------------------------------------------
   STANDARD SMARTPHONES BREAKPOINT (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  /* Ultra-Compact Sticky Header */
  .header-container {
    padding: 6px 10px !important;
    gap: 6px !important;
  }

  .brand-logo-img {
    height: 32px !important;
  }

  .brand-title {
    font-size: 14.5px !important;
    letter-spacing: -0.3px !important;
  }

  .brand-tagline {
    display: none !important; /* Hide tagline on phone to keep header very short and clean */
  }

  .phone-text-desktop {
    display: none !important;
  }

  .phone-text-mobile {
    display: inline !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }

  .header-cta-btn {
    padding: 5px 8px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
    gap: 3px !important;
  }

  .header-btn-icon {
    font-size: 12px !important;
  }

  .mobile-menu-toggle {
    width: 34px !important;
    height: 34px !important;
    padding: 7px 5px !important;
  }

  .mobile-menu-toggle .bar {
    width: 18px !important;
  }

  .mobile-menu-toggle.is-active .bar-1 {
    transform: translateY(5px) rotate(45deg) !important;
  }

  .mobile-menu-toggle.is-active .bar-3 {
    transform: translateY(-5px) rotate(-45deg) !important;
  }

  /* INCREASED H1 FOR PHONES (1.5x increase for bold impact) */
  .hero-title {
    font-size: 34px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.4px !important;
    margin-bottom: 12px !important;
  }

  /* Compact Button Sizes */
  .cta-main-btn {
    font-size: 13.5px !important;
    padding: 10px 14px !important;
    max-width: 270px !important;
  }

  .cta-btn-white {
    font-size: 13px !important;
    padding: 10px 15px !important;
    max-width: 250px !important;
  }

  /* STRICTLY 2 ROWS: 2 POINTS ROW 1, 2 POINTS ROW 2 */
  .hero-trust-badges {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 10px !important;
    margin-top: 12px !important;
    padding-top: 10px !important;
  }

  .trust-badge-item {
    font-size: 11px !important;
    gap: 5px !important;
    line-height: 1.25 !important;
  }

  .trust-tick {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
  }

  .trust-tick svg {
    width: 9px !important;
    height: 9px !important;
  }
}

/* --------------------------------------------------------------------------
   ULTRA-COMPACT SMARTPHONES BREAKPOINT (<= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .hero-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .brand-title {
    font-size: 13px !important;
  }

  .header-cta-btn {
    padding: 5px 6px !important;
    font-size: 10.5px !important;
  }

  .phone-text-mobile {
    font-size: 10px !important;
  }

  .cta-main-btn {
    font-size: 12.5px !important;
    padding: 9px 12px !important;
  }

  .cta-btn-white {
    font-size: 12px !important;
    padding: 9px 12px !important;
  }

  .hero-trust-badges {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px 6px !important;
  }

  .trust-badge-item {
    font-size: 10px !important;
    gap: 4px !important;
  }

  .trust-tick {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
  }

  .trust-tick svg {
    width: 8px !important;
    height: 8px !important;
  }
}

/* ==========================================================================
   FLOATING 24/7 CALL NOW BUTTON (BOTTOM RIGHT CORNER - ALL PAGES)
   Optimized independently for Laptop and Mobile screens:
   - Laptop: Elegant pill widget with circular emblem, glowing radar pulse, 
     and phone number label.
   - Mobile: Ergonomic circular floating action button with phone icon,
     "CALL" badge, and radiant pulse wave.
   ========================================================================== */
.floating-call-btn {
  position: fixed;
  bottom: 26px;
  right: 28px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 6px;
  background: linear-gradient(135deg, #F15A24 0%, #D94510 100%);
  color: var(--white);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(241, 90, 36, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.floating-call-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(241, 90, 36, 0.6), 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.floating-call-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--white);
  color: var(--brand-orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

.floating-call-btn:hover .floating-call-circle {
  transform: rotate(-12deg) scale(1.05);
}

.floating-call-svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand-orange);
  fill: var(--brand-orange);
}

.floating-call-badge {
  display: none;
}

.floating-call-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.floating-call-eyebrow {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.1;
}

.floating-call-main {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--white);
  line-height: 1.2;
}

/* Pulsing radar ring */
.floating-call-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  border: 2px solid var(--brand-orange);
  animation: floatingPulseRing 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes floatingPulseRing {
  0% {
    transform: scale(0.96);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 0;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

/* Responsive Floating Call Button for Tablet and Mobile */
@media (max-width: 768px) {
  .floating-call-btn {
    bottom: 20px !important;
    right: 18px !important;
    padding: 0 !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    border-radius: 50% !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(241, 90, 36, 0.55), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  }

  .floating-call-content {
    display: none !important;
  }

  .floating-call-circle {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--white) !important;
  }

  .floating-call-svg {
    width: 22px !important;
    height: 22px !important;
    stroke: var(--white) !important;
    fill: var(--white) !important;
  }

  .floating-call-badge {
    display: block !important;
    color: var(--white) !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    margin-top: 1px !important;
  }

  .floating-call-pulse {
    border-radius: 50% !important;
  }
}

@media (max-width: 480px) {
  .floating-call-btn {
    bottom: 16px !important;
    right: 14px !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }

  .floating-call-circle {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }

  .floating-call-svg {
    width: 19px !important;
    height: 19px !important;
  }

  .floating-call-badge {
    font-size: 8.5px !important;
  }
}



