/* ==========================================================================
   407 GTA TOWING - HIGH-CONVERSION LIGHT THEME DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette - Modern Light Theme */
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-surface: #ffffff;
  
  --primary-gold: #d97706;
  --primary-orange: #ea580c;
  --emergency-red: #dc2626;
  --neon-cyan: #0284c7;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dark: #0f172a;

  --border-light: rgba(15, 23, 42, 0.12);
  --border-gold: rgba(217, 119, 6, 0.35);
  --border-red: rgba(220, 38, 38, 0.35);

  --shadow-glow: 0 10px 25px rgba(234, 88, 12, 0.2);
  --shadow-red-glow: 0 10px 25px rgba(220, 38, 38, 0.25);
  --shadow-glass: 0 10px 30px rgba(15, 23, 42, 0.08);

  --font-main: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center { text-align: center; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Text Gradients & Badges */
.text-gradient {
  background: linear-gradient(135deg, #d97706, #c2410c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  color: var(--primary-orange);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: #ff5e00;
}

.section-desc {
  font-size: 1.1rem;
  color: rgb(171, 170, 170);
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

/* Glassmorphism Panel (Light Mode) */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-emergency {
  background: linear-gradient(135deg, var(--emergency-red), #b91c1c);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-glow);
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.05);
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid var(--primary-orange);
  color: var(--primary-orange);
}

.btn-outline-gold:hover {
  background: var(--primary-orange);
  color: #ffffff;
}

.btn-outline-light {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline-light:hover {
  background: #f1f5f9;
}

.btn-large { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn-xl { padding: 1.25rem 2.5rem; font-size: 1.15rem; border-radius: 14px; }

/* Pulsing Animations */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.pulse-btn {
  animation: pulseGlow 2s infinite;
}



/* ==========================================================================
   HEADER & TOP ANNOUNCEMENT (PREMIUM LIGHT THEME REFINEMENT)
   ========================================================================== */

/* Top Announcement Banner */
.top-banner {
  background: #035b23;
  color: #f8fafc;
  padding: 0.4rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.2px;
  border-bottom: 1px solid rgba(255, 191, 0, 0.2);
}

.banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.banner-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: blink 1.5s infinite;
  flex-shrink: 0;
}

.banner-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.eta-pill {
  color: #94a3b8;
  font-size: 0.775rem;
}

.eta-pill strong {
  color: #f8fafc;
}

.banner-phone-link {
  color: #fbbf24;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.banner-phone-link:hover {
  color: #f59e0b;
}

.banner-phone-link i {
  width: 14px;
  height: 14px;
}

/* Site Header Main Container */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px; /* min-height instead of fixed, so the logo can never overflow it */
  padding: 0.5rem 0;
  gap: 1.5rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-img {
  height: 52px; /* was 120px — overflowed the 72px header on every screen size */
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* footer logo sits on a dark background, so give it a touch more room if needed */
.footer-col.brand-col .logo-img {
  height: 48px;
}

.logo-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.5px;
  line-height: 1;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem; /* Reduced gap to eliminate wrap */
  white-space: nowrap;
}

.nav-link {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.nav-link:hover, 
.nav-link.active {
  color: #ea580c;
  background: rgba(234, 88, 12, 0.06);
}

/* Header Buttons / Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Compact Buttons strictly tailored for header space */
.btn-nav-sm {
  padding: 0.55rem 1rem !important;
  font-size: 0.825rem !important;
  border-radius: 8px !important;
  letter-spacing: 0.3px;
}

.btn-nav-sm i {
  width: 15px;
  height: 15px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Responsive adjustments for mid-screen desktop viewports */
@media (max-width: 1140px) {
  .header-container {
    gap: 0.8rem;
  }
  
  .nav-menu {
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.25rem 0.4rem;
  }

  .btn-nav-sm span {
    font-size: 0.8rem;
  }
}

:root {
  --primary-orange: #ff5e00;
  --primary-orange-hover: #e05300;
  --text-white: #ffffff;
  --text-muted: #d0d5dd;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background-color: #0f1419;
}

/* Background image with dark overlay filter */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Link your background image here using a relative path */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(15, 20, 25, 0.95) 100%),
              url('/images/wallpaperflare.com_wallpaper.jpg') center/cover no-repeat;
  z-index: 1;
}

/* Hero Content */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.text-orange {
  color: var(--primary-orange);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.5;
  font-weight: 400;
}

/* Button Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-orange);
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 94, 0, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 0, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  color: var(--primary-orange);
  transform: translateY(-2px);
}

/* Tow Trucks Layout */
.hero-trucks-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 2rem 2rem 0 2rem;
  margin-top: auto;
}

.truck-img {
  width: 48%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8));
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-trucks-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .truck-img {
    width: 90%;
    max-width: 400px;
  }
}
/* ==========================================================================
   DISPATCH & RECOVERY SECTION (FIXED NO-PARALLAX)
   ========================================================================== */

.dispatch-section {
  position: relative;
  width: 100%;
  padding: 5rem 1.5rem;
  background-color: #0f1419;
  overflow: hidden;
  color: #ffffff;
}

/* Background image with stable position (No JavaScript jitter) */
.dispatch-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.dispatch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 20, 25, 0.92) 0%,
    rgba(15, 20, 25, 0.96) 100%
  );
  z-index: 2;
}

/* Glow Background Highlights */
.ambient-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 2;
  pointer-events: none;
}

.glow-1 { top: 5%; left: -5%; background: rgba(255, 94, 0, 0.15); }
.glow-2 { bottom: 5%; right: -5%; background: rgba(220, 38, 38, 0.15); }

.dispatch-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

/* Text Column */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 94, 0, 0.15);
  border: 1px solid rgba(255, 94, 0, 0.4);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff5e00;
  margin-bottom: 1.25rem;
}

.dispatch-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.text-orange {
  color: #ff5e00;
}

.dispatch-subtitle {
  font-size: 1.05rem;
  color: #d0d5dd;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.dispatch-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* CTA Call Button */
.btn-dispatch-call {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  transition: all 0.25s ease;
}

.btn-dispatch-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.btn-icon-pulse {
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
}

.btn-small-label {
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  opacity: 0.9;
  font-weight: 800;
}

.btn-main-label {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
}

.btn-dispatch-request {
  background: linear-gradient(135deg, #ff5e00, #e05300);
  color: #ffffff;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
  transition: all 0.25s ease;
}

.btn-dispatch-request:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 0, 0.5);
}

/* Address Hub Badges */
.dispatch-hubs-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-pill i { color: #ff5e00; }

/* Stats Bar */
.dispatch-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
  border-radius: 12px;
  text-align: center;
}

.stat-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ff5e00;
}

.stat-val small { font-size: 0.8rem; margin-left: 2px; }
.stat-lbl { font-size: 0.75rem; color: #94a3b8; margin-top: 0.2rem; }

/* Glassmorphism Right Form */
.glass-form-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  color: #0f172a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-card-header { margin-bottom: 1.25rem; }

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #16a34a;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.ping-circle {
  width: 8px;
  height: 8px;
  background-color: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 8px #16a34a;
}

.form-card-header h3 { font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.form-card-header p { font-size: 0.85rem; color: #64748b; }

.quick-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-group label i { color: #ff5e00; }

.quick-form select,
.quick-form input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.quick-form select:focus,
.quick-form input:focus {
  border-color: #ff5e00;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.15);
}

.btn-form-submit {
  background: linear-gradient(135deg, #ff5e00, #e05300);
  color: #ffffff;
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  box-shadow: 0 4px 12px rgba(255, 94, 0, 0.3);
  transition: all 0.2s ease;
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 94, 0, 0.4);
}

.form-footer-note {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .dispatch-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Gallery Layout Replacing Form Column */
.dispatch-gallery-col {
  position: relative;
  z-index: 3;
}

.gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

/* Featured Main Image Card */
.card-main {
  height: 260px;
}

.gallery-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 20, 25, 0.85);
  border: 1px solid rgba(255, 94, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  color: #ff5e00;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Secondary Sub Grid Images */
.gallery-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.card-sub {
  height: 140px;
}

.sub-label {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

@media (max-width: 992px) {
  .card-main { height: 220px; }
  .card-sub { height: 120px; }
}
/* ==========================================================================
   FLEET LIVE STATUS BAR (MARQUEE TICKER — BACK & FORTH)
   ========================================================================== */

.fleet-status-bar {
  position: relative;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  /* alternate = plays forward, then reverses back, on loop */
  animation: marquee-bounce 10s ease-in-out infinite alternate;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-bounce {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-100% + 100vw - 20rem)); }
}

.fleet-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
}

.fleet-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.fleet-status-badge.active {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.fleet-status-badge.busy {
  background: rgba(234, 88, 12, 0.12);
  color: var(--primary-orange);
  border: 1px solid var(--border-gold);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 6px #16a34a;
  animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.fleet-info {
  display: flex;
  flex-direction: column;
}

.fleet-info strong {
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.2;
}

.fleet-info span {
  font-size: 0.75rem;
  color: black;
}

.fleet-call-action {
  padding: 0 1.5rem;
  z-index: 2;
  background: #ffffff;
  box-shadow: -10px 0 15px rgba(255, 255, 255, 0.9);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-orange);
  border: 1px solid var(--primary-orange);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-outline-gold:hover {
  background: var(--primary-orange);
  color: #ffffff;
}

@media (max-width: 768px) {
  .fleet-call-action {
    display: none;
  }
}
/* ==========================================================================
   ESTIMATOR SECTION
   NOTE: every selector below is either unique to this card (est-*, price-*,
   res-*, control-*, slider, estimator-*) or explicitly prefixed with
   #estimator. Do NOT restyle .glass-panel, .btn, or .btn-gold to change
   this section — those classes are shared across 16+ other cards and 30+
   buttons site-wide. If you need a one-off tweak to the Lock Rate button,
   use the .estimator-lock-btn hook below instead.
   ========================================================================== */

/* Background image lives on the SECTION (main container) so the card
   floats on top of it with visible photo showing around the edges */
.estimator-section {
  position: relative;
  background-image: url('images/11.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay so the header text (sub-badge, title, desc) stays
   readable over the photo */
.estimator-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(15, 23, 42, 0.55) 100%
  );
  z-index: 0;
}

/* Keeps the header + card above the overlay */
.estimator-section .container {
  position: relative;
  z-index: 1;
}

/* Card is a normal opaque floating card again — NOT the image layer */
.estimator-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-glass);
  background: #ffffff;
}

.estimator-controls {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.control-label {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main); /* card is opaque now, so this needs dark text */
}

.control-label i { color: var(--primary-orange); }

.service-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.est-pill {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: black;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.est-pill:hover, .est-pill.active {
  background: #ffffff;
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.est-pill i { color: var(--primary-gold); }

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-orange);
}

.custom-select {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.custom-select:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-orange);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.4);
}

.estimator-result {
  position: relative;
  z-index: 2;
  background: #f8fafc;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.res-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 0.6rem;
  font-size: 0.9rem;
}

.res-item span { color: black }
.res-item strong { color: var(--text-main); }

.highlight-eta {
  color: #16a34a !important;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.result-price-box {
  text-align: center;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(234, 88, 12, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.price-lbl {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-orange);
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  margin: 0.3rem 0;
}

.price-amount small {
  font-size: 1rem;
  color: black;
}

.price-note {
  display: block;
  font-size: 0.75rem;
  color: black;
  margin-bottom: 1.25rem;
}

.estimator-lock-btn {
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}

/* ==========================================================================
   HIGHWAY ACCIDENT RECOVERY SHOWCASE
   All selectors prefixed hwrec- to avoid colliding with site-wide
   .container / .item / .content / .name / .des / .button classes.
   ========================================================================== */

.hwrec-container {
  position: relative;
  max-width: 900px;
  height: 450px;
  margin: 0 auto;
  background: #f5f5f5;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  overflow: hidden;
}

.hwrec-slide {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.hwrec-item {
  width: 220px;
  height: 280px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.671);
  background-position: 50% 50%;
  background-size: cover;
  transition: all 0.5s;
}

.hwrec-slide .hwrec-item:nth-child(1),
.hwrec-slide .hwrec-item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

/* Light grey scrim over the main visible slide(s) so the caption text
   stands out against the photo. Only z-index 1, sits below .hwrec-content. */
.hwrec-slide .hwrec-item:nth-child(1)::before,
.hwrec-slide .hwrec-item:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.342) 3%,
    rgba(226, 232, 240, 0.232) 65%,
    rgba(115, 115, 116, 0.1) 85%
  );
  border-radius: 20px;
  z-index: 1;
}

.hwrec-slide .hwrec-item:nth-child(3) { left: 50%; }
.hwrec-slide .hwrec-item:nth-child(4) { left: calc(50% + 240px); }
.hwrec-slide .hwrec-item:nth-child(5) { left: calc(50% + 480px); }
.hwrec-slide .hwrec-item:nth-child(n + 6) {
  left: calc(50% + 720px);
  opacity: 0;
}

.hwrec-item .hwrec-content {
  position: absolute;
  top: 50%;
  left: 60px;
  width: 320px;
  max-width: calc(100% - 100px);
  text-align: left;
  color: #0f172a; /* was #eee — flipped dark to work against the new light grey overlay */
  transform: translate(0, -50%);
  z-index: 2; /* sits above the ::before scrim */
  display: none;
}

.hwrec-slide .hwrec-item:nth-child(2) .hwrec-content {
  display: block;
}

.hwrec-content .hwrec-name {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0;
  animation: hwrec-animate 1s ease-in-out 1 forwards;
}

.hwrec-content .hwrec-des {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #334155; /* dark muted, was inheriting light #eee */
  opacity: 0;
  animation: hwrec-animate 1s ease-in-out 0.3s 1 forwards;
}

.hwrec-content button {
  padding: 0.7rem 1.4rem;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 700;
  background-color: var(--primary-orange, #ea580c);
  color: #fff;
  opacity: 0;
  transition: all 0.3s;
  animation: hwrec-animate 1s ease-in-out 0.6s 1 forwards;
}

.hwrec-content button:hover {
  background-color: #c2410c;
}

@keyframes hwrec-animate {
  from {
    opacity: 0;
    transform: translate(0, 40px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

.hwrec-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hwrec-nav button {
  width: 40px;
  height: 35px;
  border-radius: 8px;
  border: 2px solid rgba(0, 0, 0, 0.5);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
}

.hwrec-nav button:hover {
  border-color: var(--primary-orange, #ea580c);
  transform: scale(1.1);
}

.hwrec-nav button:active {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hwrec-container { height: 360px; max-width: 100%; }

  /* The 3rd+ items are the "peeking" side cards from the desktop slider —
     on mobile there's no room for them and they were overlapping/clipping
     the caption text on the active slide. Hide them and just show the
     full-bleed active slide (nth-child 1 & 2 stay, already 100%x100%). */
  .hwrec-slide .hwrec-item:nth-child(n + 3) { display: none; }

  .hwrec-content { left: 24px; width: calc(100% - 60px); }
  .hwrec-content .hwrec-name { font-size: 1.35rem; }
  .hwrec-content .hwrec-des { font-size: 0.875rem; }
}

@media (max-width: 480px) {
  .hwrec-container { height: 320px; }
  .hwrec-content { left: 18px; width: calc(100% - 44px); }
  .hwrec-content .hwrec-name { font-size: 1.15rem; }
  .hwrec-nav button { width: 36px; height: 32px; }
}
/* ==========================================================================
   SERVICES GRID & PARALLAX CARDS
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: var(--border-gold);
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-gold);
  color: var(--primary-orange);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(234, 88, 12, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.card-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.service-list li {
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li i {
  color: #16a34a;
  width: 16px;
}

.card-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ==========================================================================
   PARALLAX FEATURE BANNER
   ========================================================================== */

.parallax-feature-banner {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: #f1f5f9;
}

.parallax-banner-bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  filter: brightness(0.9) contrast(1.05);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(114, 114, 114, 0.625);
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
}

.banner-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--emergency-red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.banner-heading {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 3.5rem;
  text-align: center;
  color: #020617;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: var(--transition-smooth);
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.feat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem auto;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.feature-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.feature-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   DUAL DISPATCH HUBS & COVERAGE
   ========================================================================== */

.hubs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.hub-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-orange);
  background: rgba(234, 88, 12, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.hub-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.hub-postal {
  font-size: 0.9rem;
  color: var(--primary-orange);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hub-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hub-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #334155;
}

.hub-detail i {
  color: var(--primary-orange);
  margin-top: 2px;
}

.hub-footer {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Coverage Lookup Box */
.coverage-lookup-box {
  padding: 2.25rem;
  background: #ffffff;
  border: 1px solid var(--border-gold);
}

.lookup-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lookup-header i {
  width: 44px;
  height: 44px;
  background: rgba(234, 88, 12, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
}

.lookup-header h3 {
  color: #0f172a;
}

.lookup-form {
  display: flex;
  gap: 1rem;
}

.lookup-input {
  flex-grow: 1;
}

.coverage-result-message {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
}

.coverage-result-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #16a34a;
  color: #15803d;
}

/* ==========================================================================
   REVIEWS CAROUSEL
   ========================================================================== */

.reviews-carousel-wrapper {
  position: relative;
}

.reviews-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem 0;
  scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 calc(33.333% - 1.35rem);
  scroll-snap-align: start;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--emergency-red), var(--primary-orange));
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.review-author strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}

.review-author span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: #0f172a;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.carousel-btn:hover {
  background: var(--primary-orange);
  color: #ffffff;
}

/* ==========================================================================
   FINAL CTA & FOOTER
   ========================================================================== */

.final-cta-section {
  padding: 4rem 0 6rem 0;
}

.cta-inner-card {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(234, 88, 12, 0.08));
  border: 1px solid var(--border-gold);
}

.cta-heading {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: #020617;
}

.cta-sub {
  font-size: 1.15rem;
  color: #334155;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.cta-btn-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #f8fafc;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 1.25rem 0;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.f-badge {
  font-size: 0.8rem;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-address {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.footer-address strong {
  color: #fb923c;
  display: block;
}

.footer-address p {
  color: #94a3b8;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list li {
  font-size: 0.875rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links-list a:hover {
  color: #fbbf24;
}

.footer-links-list i {
  color: #fb923c;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.825rem;
  color: #94a3b8;
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-links {
  display: flex;
  gap: 1.5rem;
}

.bottom-links a {
  color: #94a3b8;
  text-decoration: none;
}

.bottom-links a:hover {
  color: #ffffff;
}

/* Mobile Sticky Bottom CTA Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold);
  padding: 0.6rem 1rem;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.sticky-call {
  background: linear-gradient(135deg, var(--emergency-red), #b91c1c);
  color: #fff;
}

.sticky-dispatch {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
}

/* ==========================================================================
   MODAL / DRAWER SYSTEM
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  border: 1px solid var(--border-gold);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  color: #0f172a;
  font-size: 1.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-icon {
  width: 48px;
  height: 48px;
  background: rgba(234, 88, 12, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
}

.modal-title-wrap h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

.modal-title-wrap p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.modal-footer-call {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-phone-btn {
  color: var(--primary-orange);
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Success Screen inside Modal */
.modal-success-screen {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(34, 197, 94, 0.12);
  border-radius: 50%;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.modal-success-screen h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.modal-success-screen p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.success-info-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.75rem;
  text-align: left;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #0f172a;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .estimator-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .top-banner { display: none; }

  .header-actions .btn { display: none; }
  .mobile-toggle { display: block; }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    transform: translateY(-150%);
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .services-grid, .hubs-grid, .features-grid {
    grid-template-columns: 1fr;
  }

  .service-pills {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lookup-form {
    flex-direction: column;
  }

  .review-card {
    flex: 0 0 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .bottom-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  body {
    padding-bottom: 60px;
  }

  /* Estimator ("Select Service") card was overflowing on mobile because
     the two-column grid never collapsed — fixed above at 1024px, these
     just tighten the spacing once it's stacked. */
  .estimator-card {
    padding: 1.5rem;
    gap: 1.75rem;
  }

  .estimator-result {
    padding: 1.5rem;
  }

  .price-amount {
    font-size: 2.5rem;
  }

  /* Gallery / dispatch images */
  .dispatch-gallery-col .gallery-sub-grid {
    gap: 0.75rem;
  }

  .card-main { height: 200px; }
  .card-sub { height: 110px; }

  .dispatch-stats-grid {
    gap: 0.6rem;
  }

  .stat-card {
    padding: 0.6rem;
  }

  .stat-val {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   EXTRA-SMALL PHONES (≤480px)
   ========================================================================== */

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .logo-img {
    height: 40px;
  }

  .logo-sub {
    display: none; /* saves a line of vertical space in a tight header */
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .dispatch-title, .banner-heading, .cta-heading {
    font-size: 1.9rem;
  }

  .dispatch-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .stat-val {
    font-size: 1rem;
  }

  .stat-lbl {
    font-size: 0.65rem;
  }

  .card-main { height: 170px; }
  .card-sub { height: 90px; }

  .estimator-card {
    padding: 1.25rem;
  }

  .price-amount {
    font-size: 2.1rem;
  }

  .service-pills {
    gap: 0.6rem;
  }

  .est-pill {
    padding: 0.65rem 0.8rem;
    font-size: 0.8rem;
  }

  .modal-card {
    padding: 1.5rem;
  }

  .cta-inner-card {
    padding: 2.5rem 1.25rem;
  }
}
/* ==========================================================================
   10-YEAR ACCIDENT GALLERY MARQUEE (INCREASED IMAGE SIZE)
   ========================================================================== */
.accident-gallery-section {
  background-color: var(--bg-dark);
  overflow: hidden;
  padding-bottom: 4rem;
}

.accident-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  /* Smooth edge fade */
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.accident-marquee-track {
  display: flex;
  gap: 1.5rem; /* Slightly larger gap between big images */
  width: max-content;
  /* Slowed down to 45s so larger images scroll smoothly */
  animation: marquee-infinite 45s linear infinite; 
}

/* Pause marquee animation on hover */
.accident-marquee-wrapper:hover .accident-marquee-track {
  animation-play-state: paused;
}

.acc-img-card {
  width: 380px;  /* Increased width from 280px */
  height: 260px; /* Increased height from 200px */
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: #000;
}

.acc-img-card:hover {
  transform: scale(1.04);
  border-color: var(--primary-orange);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.25);
  cursor: pointer;
}

.acc-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Infinite Keyframe Animation */
@keyframes marquee-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile & Tablet Responsive Adjustments */
@media (max-width: 992px) {
  .acc-img-card {
    width: 300px;
    height: 210px;
  }
}

@media (max-width: 576px) {
  .acc-img-card {
    width: 240px;
    height: 170px;
  }
}