/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  /* Colors */
  --primary: hsl(207, 95%, 43%);        /* Deep Water Blue */
  --primary-hover: hsl(207, 95%, 35%);
  --primary-light: hsl(207, 90%, 96%);
  --secondary: #e65c00;                 /* Safety Orange / Fire Alert */
  --secondary-hover: #cc5200;
  --secondary-light: #fff2e6;
  --dark: hsl(220, 30%, 11%);           /* Navy Charcoal */
  --dark-accent: hsl(220, 25%, 16%);
  --text-dark: hsl(220, 25%, 18%);
  --text-light: hsl(220, 15%, 45%);
  --light: hsl(210, 30%, 98%);
  --white: #ffffff;
  --success: #2b8a3e;
  --danger: #e03131;
  --gold: #fcc419;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --border-radius: 12px;
  --border-radius-sm: 6px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
  --glass: rgba(255, 255, 255, 0.85);
}

/* --- RESET & GLOBAL STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(230, 92, 0, 0.3);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 92, 0, 0.4);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-phone {
  background: linear-gradient(135deg, #e65c00, #ff8533);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(230, 92, 0, 0.4);
  animation: pulse-button 2s infinite;
}

.btn-phone:hover {
  transform: scale(1.05);
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 92, 0, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(230, 92, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 92, 0, 0);
  }
}

/* --- EMERGENCY BANNER --- */
.emergency-banner {
  background-color: var(--dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pulse-icon {
  color: var(--secondary);
  font-size: 0.7rem;
  margin-right: 5px;
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.banner-phone {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.95rem;
}

.banner-phone:hover {
  color: var(--white);
}

/* --- HEADER & NAVIGATION --- */
.main-header {
  background-color: var(--glass);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.droplet-logo {
  font-size: 2.2rem;
  color: var(--primary);
  filter: drop-shadow(0 2px 5px rgba(26, 115, 232, 0.3));
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.logo-title .highlight {
  color: var(--primary);
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
}

.logo-light .logo-title {
  color: var(--white);
}

.logo-light .logo-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}



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

.nav-list {
  display: flex;
  gap: 25px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

/* Dropdown Menu styling */
.dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.75rem;
  margin-left: 3px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.dropdown-menu a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Mega Menu styling (Desktop) */
.mega-dropdown-li {
  position: relative;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--white);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 820px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 999;
}
.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 30px;
  text-align: left;
}
.mega-menu-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 6px;
  margin-bottom: 12px;
}
.mega-menu-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-menu-col li {
  margin-bottom: 6px;
}
.mega-menu-col a {
  font-size: 0.88rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: block;
}
.mega-menu-col a:hover {
  color: var(--primary);
  padding-left: 3px;
}
.mega-menu-col .view-all-link {
  margin-top: 12px;
  border-top: 1px dashed var(--grey-200);
  padding-top: 8px;
}
.mega-menu-col .view-all-link a {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Mobile responsive for Mega Menu */
@media (max-width: 991px) {
  .mega-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 5px 0 5px 15px !important;
    background: transparent !important;
    width: auto !important;
  }
  .mega-menu-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    padding: 10px 0 !important;
  }
  .mega-menu-col h4 {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    padding-bottom: 3px !important;
  }
  .mega-menu-col li {
    margin-bottom: 4px !important;
  }
  .mega-menu-col a {
    font-size: 0.85rem !important;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(135deg, hsl(207, 95%, 15%), hsl(220, 30%, 8%)), url('/images/hero-clean.webp');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(26, 115, 232, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(230, 92, 0, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(230, 92, 0, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge i {
  animation: pulse-red 1.2s infinite;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--primary);
  background: linear-gradient(120deg, #3399ff, #66b3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-feature-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* Quick Dispatch Form on Hero */
.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 15px 12px 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group i {
  position: absolute;
  left: 15px;
  top: 15px;
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(26, 115, 232, 0.3);
}

.form-group select option {
  background-color: var(--dark);
  color: var(--white);
}

/* --- STATS BAR --- */
.stats-bar {
  background: var(--light);
  padding: 40px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  color: var(--primary);
  font-family: var(--font-heading);
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--text-light);
  font-weight: 500;
}

/* --- SERVICES OVERVIEW SECTION --- */
.services-section {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  color: inherit;
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(26, 115, 232, 0.1);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-badge.fire {
  background-color: var(--secondary);
}

.service-content {
  padding: 30px;
}

.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-icon-box.fire {
  background-color: var(--secondary-light);
  color: var(--secondary);
}

.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-heading);
}

.read-more i {
  font-size: 0.8rem;
  transition: var(--transition);
}

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

.service-card:hover .read-more i {
  transform: translateX(5px);
}

/* --- BEFORE & AFTER SLIDER SECTION --- */
.slider-section {
  background-color: var(--light);
}

.slider-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.slider-info h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.slider-info p {
  color: var(--text-light);
  margin-bottom: 25px;
}

.slider-list {
  margin-bottom: 30px;
}

.slider-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}

.slider-list li i {
  color: var(--success);
  font-size: 1.2rem;
}

/* Actual Comparison Slider Container */
.slider-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16/10;
  width: 100%;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  user-select: none;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.slider-before {
  z-index: 2;
  /* Initial crop to 50% width */
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-after {
  z-index: 1;
}

.slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;
  pointer-events: none;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 4;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease-out, border-color 0.15s;
}

.slider-container.dragging .slider-handle {
  transform: translate(-50%, -50%) scale(1.1);
  border-color: var(--secondary);
  color: var(--secondary);
}

.slider-handle::before, .slider-handle::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary);
  left: 50%;
  transform: translateX(-50%);
  height: 9999px;
  z-index: -1;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.slider-handle::before {
  bottom: 100%;
  margin-bottom: 4px;
}

.slider-handle::after {
  top: 100%;
  margin-top: 4px;
}

.slider-label {
  position: absolute;
  bottom: 20px;
  padding: 5px 12px;
  background-color: rgba(0, 0, 0, 0.75);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  z-index: 3;
  pointer-events: none;
}

.label-before {
  left: 20px;
}

.label-after {
  right: 20px;
}

/* --- COST ESTIMATOR SECTION --- */
.estimator-section {
  background-color: var(--white);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.estimator-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-hover);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.estimator-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.estimator-card p.subtitle {
  color: var(--text-light);
  margin-bottom: 30px;
}

.estimator-form .form-group {
  margin-bottom: 25px;
}

.estimator-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.estimator-form select, .estimator-form input[type="range"] {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--grey-400);
  border-radius: var(--border-radius-sm);
  background-color: var(--light);
  color: var(--text-dark);
  font-size: 1rem;
  font-family: var(--font-body);
}

/* Range input customization */
.range-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.range-val-bubble {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* Radio button severity selectors */
.severity-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.severity-option {
  position: relative;
}

.severity-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.severity-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 2px solid var(--grey-200);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  font-size: 0.9rem;
}

.severity-label i {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.severity-option input[type="radio"]:checked + .severity-label {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.severity-option input[type="radio"]:checked + .severity-label i {
  color: var(--primary);
}

.severity-option input[type="radio"]:checked + .severity-label.severe {
  border-color: var(--danger);
  background-color: #fff5f5;
}

.severity-option input[type="radio"]:checked + .severity-label.severe i {
  color: var(--danger);
}

/* Calculator Results */
.est-results-card {
  background: linear-gradient(135deg, hsl(207, 95%, 15%), hsl(220, 30%, 8%));
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--box-shadow-hover);
  transition: opacity 0.5s ease;
}

.est-results-card.hidden {
  display: none;
  opacity: 0;
}

.est-results-card h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.est-results-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.est-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.val-box {
  text-align: center;
}

.val-box span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.val-box .amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-heading);
}

.val-divider {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

.est-disclaimer {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  line-height: 1.4;
  margin-top: 20px;
}

/* --- REVIEWS / TESTIMONIALS SECTION --- */
.reviews-section {
  background-color: var(--light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.review-card {
  background-color: var(--white);
  padding: 35px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.stars {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.review-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 25px;
  position: relative;
}

.review-text::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0;
  position: absolute;
  top: 15px;
  left: -20px;
  color: rgba(26, 115, 232, 0.1);
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-details h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.reviewer-details p {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* --- FAQ SECTION --- */
.faq-section {
  background-color: var(--white);
}

.faq-layout {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--grey-200);
  padding: 15px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--grey-200);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 15px 0;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.faq-item.active .faq-question h3 {
  color: var(--primary);
}

.faq-item.active .faq-icon-box {
  background-color: var(--secondary);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* arbitrary height to slide down */
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-light);
}

/* --- CONTACT PAGE / CONTACT SECTIONS --- */
.contact-section-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info-card {
  background: var(--primary-light);
  border-radius: var(--border-radius);
  padding: 40px;
}

.contact-info-card h3 {
  margin-bottom: 25px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-list li i {
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 4px;
}

.contact-info-list h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-info-list p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-hover);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.contact-form-card h3 {
  margin-bottom: 25px;
}

.contact-form-card label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-form-card .form-group input, 
.contact-form-card .form-group select, 
.contact-form-card .form-group textarea {
  background-color: var(--light);
  border: 1px solid var(--grey-400);
  color: var(--text-dark);
}

.contact-form-card .form-group input:focus, 
.contact-form-card .form-group select:focus, 
.contact-form-card .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(26, 115, 232, 0.2);
}

/* --- SUBPAGES COMMON (ABOUT, SERVICES, LOCATIONS, BLOG) --- */
.page-header {
  background: linear-gradient(135deg, hsl(207, 95%, 15%), hsl(220, 30%, 8%));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.page-header-desc {
  max-width: 750px;
  margin: 12px auto 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.6;
}

.page-header-cta {
  display: inline-block;
}

/* --- LOCATIONS HERO OVERRIDES --- */
.locations-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d2137 50%, #1a0a05 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.locations-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(224, 86, 36, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.locations-hero-eyebrow {
  display: block;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 2.5px;
  color: #e05624;
  font-weight: 700;
  margin-bottom: 14px;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e05624;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 38px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(224, 86, 36, 0.45);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-cta:hover {
  background: #c94b1e;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224, 86, 36, 0.5);
  color: #ffffff;
}

.page-content {
  padding: 80px 0;
}


/* --- ABOUT PAGE STYLES --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feat-item {
  background-color: var(--light);
  padding: 20px;
  border-radius: var(--border-radius-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-feat-item i {
  color: var(--primary);
  font-size: 1.8rem;
}

.about-feat-item h4 {
  font-size: 1.1rem;
}

.about-feat-item p {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* --- SERVICE DETAIL PAGE STYLES --- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
}

.service-rich-text h2 {
  font-size: 2rem;
  margin: 35px 0 20px;
}

.service-rich-text h3 {
  font-size: 1.4rem;
  margin: 25px 0 15px;
}

.service-rich-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.service-rich-text ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.service-rich-text li {
  list-style-type: disc;
  color: var(--text-light);
  margin-bottom: 10px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.process-step {
  display: flex;
  gap: 20px;
  background-color: var(--light);
  padding: 25px;
  border-radius: var(--border-radius);
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.step-content h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.sidebar-card {
  background-color: var(--light);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
}

.sidebar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.sidebar-services-list li {
  margin-bottom: 12px;
}

.sidebar-services-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background-color: var(--white);
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-services-list a:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* --- LOCATION PAGES STYLES --- */
.location-hero-info {
  background: var(--light);
  padding: 30px;
  border-radius: var(--border-radius);
  border-left: 5px solid var(--primary);
  margin-bottom: 40px;
}

.location-map-placeholder {
  height: 350px;
  background-color: var(--grey-200);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.location-map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.map-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--white);
  padding: 20px;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: 300px;
}

/* --- BLOG PAGE STYLES --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
}

.blog-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* --- FOOTER SECTIONS --- */
.main-footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0 0;
  border-top: 5px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-links i {
  font-size: 0.7rem;
  margin-right: 8px;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(230, 92, 0, 0.1);
  border: 1px solid rgba(230, 92, 0, 0.2);
  color: var(--secondary);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-phone {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.footer-phone:hover {
  color: var(--white);
}

.footer-address {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-address i {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.bottom-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.bottom-content .disclaimer {
  line-height: 1.4;
  font-size: 0.75rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .hero-grid { gap: 30px; }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .section-header h2 { font-size: 2rem; }

  /* Nav Mobile Toggle */
  .nav-toggle { display: block; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    flex-direction: column;
    align-items: stretch;
    display: flex;
    z-index: 2000;
    border-top: 3px solid #e05624;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Prevent any element from causing horizontal scroll */
  .btn, button, input, select, textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  p, a, span, h1, h2, h3, h4, h5, h6, li, td {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }

  .nav-menu.active {
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--grey-200);
    padding: 12px 20px;
  }

  .nav-list > li:last-child {
    border-bottom: none;
  }

  .nav-list .nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
  }
  
  /* Services dropdown stays inline */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: block;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 8px 0 0 16px;
    background: transparent;
    min-width: unset;
  }

  .dropdown-menu li {
    padding: 6px 0;
  }

  .dropdown-menu li a {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
  }
  
  /* Mega-menu flattens to a list on mobile */
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: block;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 8px 0 0 16px;
    background: transparent;
    width: 100%;
    min-width: unset;
    border-radius: 0;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mega-menu-col {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--grey-200);
    padding: 8px 0;
  }

  .mega-menu-col:last-child {
    border-bottom: none;
  }

  .mega-menu-col h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 6px;
    padding: 0;
    background: none;
  }

  .mega-menu-col ul li a {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    padding: 4px 0;
    display: block;
  }

  .view-all-link a {
    color: var(--primary) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
  }
  
  .header-cta { display: none; }
  
  /* Hero Grid Column layout */
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .slider-layout, .estimator-grid, .about-grid, .service-detail-grid, .contact-section-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .slider-layout {
    display: flex;
    flex-direction: column-reverse;
  }
  .page-header {
    padding: 40px 0;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .page-header-desc {
    font-size: 0.95rem;
    margin: 10px auto 18px;
    padding: 0 15px;
  }

  /* --- MOBILE NAV: show flat links, hide full desktop nav-list --- */
  .mobile-nav-flat {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background-color: #ffffff;
  }

  .mobile-nav-link {
    display: block !important;
    width: 100% !important;
    padding: 18px 24px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--dark) !important;
    text-decoration: none !important;
    border-bottom: 1px solid var(--grey-200) !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  .mobile-nav-link:last-child {
    border-bottom: none !important;
  }

  .mobile-nav-link:active,
  .mobile-nav-link.active {
    color: var(--primary) !important;
    background-color: var(--primary-light) !important;
  }

  .desktop-nav-list {
    display: none !important;
  }

  /* Push page content up so fixed call bar doesn't overlap footer links */
  body {
    padding-bottom: 64px !important;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 1.3rem;
  }
  .logo-subtitle {
    font-size: 0.6rem;
  }
  .container {
    width: 92%;
  }
  .contact-form-card, .contact-info-card, .estimator-card {
    padding: 20px;
  }
  .hero h1 { font-size: 2rem; }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .severity-options {
    grid-template-columns: 1fr;
  }
  .est-values {
    flex-direction: column;
    gap: 10px;
  }
  .val-divider { display: none; }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   MOBILE FLAT NAV (hidden on desktop)
   ============================================= */
.mobile-nav-flat {
  display: none;           /* hidden on desktop — shown via media query */
  flex-direction: column;
  width: 100%;
}

.mobile-nav-link {
  display: block;
  padding: 15px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--grey-200);
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:active,
.mobile-nav-link.active {
  color: var(--primary);
  background: rgba(224, 86, 36, 0.04);
}

/* =============================================
   FIXED MOBILE CALL BAR (hidden on desktop)
   ============================================= */
.mobile-call-bar {
  display: none;   /* hidden on desktop — shown via media query */
}

@media (max-width: 768px) {
  .mobile-call-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    padding: 0;
  }

  .mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    background: #e05624;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 -3px 16px rgba(224, 86, 36, 0.35);
  }

  .mobile-call-btn i {
    font-size: 1.2rem;
    animation: ring 2s ease-in-out infinite;
  }

  @keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%       { transform: rotate(-15deg); }
    20%       { transform: rotate(15deg); }
    30%       { transform: rotate(-10deg); }
    40%       { transform: rotate(10deg); }
    50%       { transform: rotate(0deg); }
  }
}

/* --- TABLE SYSTEM STYLES --- */
.cost-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--grey-200);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

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

.cost-table th, .cost-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--grey-200);
}

.cost-table th {
  background-color: var(--light);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
}

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

.cost-table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.01);
}

.cost-disclaimer {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 30px;
  font-style: italic;
  display: block;
}

/* --- COLLAPSIBLE DIRECTORY STYLES --- */
.directory-accordion-container {
  max-width: 950px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dir-details {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
  overflow: hidden;
  transition: all 0.2s ease;
}
.dir-details[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border-color: var(--primary);
}
.dir-summary {
  padding: 16px 25px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}
.dir-summary::-webkit-details-marker {
  display: none;
}
.dir-summary-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dir-summary-count {
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--light);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.dir-summary-icon {
  transition: transform 0.2s ease;
  color: var(--primary);
  font-size: 1rem;
}
.dir-details[open] .dir-summary-icon {
  transform: rotate(180deg);
}
.dir-content {
  padding: 25px;
  border-top: 1px solid var(--grey-200);
  background: var(--light);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.dir-content li {
  list-style: none;
}
.dir-content a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 4px 0;
}
.dir-content a:hover {
  color: var(--primary);
  text-decoration: underline;
}

