/* ==========================================================================
   AirCool Miami Services Inc. - Homestead Master HQ Landing Page Stylesheet
   Tailored for Homestead, Redland & Florida Keys Gateway
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-navy: #001F3F;
  --secondary-navy: #003366;
  --accent-cyan: #00D1FF;
  --accent-cyan-dark: #0099cc;
  --homestead-red: #D22B2B;
  --homestead-red-hover: #b81e1e;
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1ebd57;
  --emerald-trust: #10B981;
  
  --bg-slate-dark: #000E1C;
  --bg-slate-navy: #00152A;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #F1F5F9;
  
  --border-light: #E2E8F0;
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-red-glow: rgba(210, 43, 43, 0.35);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 31, 63, 0.12);
  --shadow-glow: 0 0 25px rgba(210, 43, 43, 0.25);
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================================
   Utility Classes & Layout
   ========================================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-cyan { color: var(--accent-cyan); }
.text-red { color: var(--homestead-red); }
.text-emerald { color: var(--emerald-trust); }
.text-navy { color: var(--secondary-navy); }
.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: inherit;
  opacity: 0.6;
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-notice-bar {
  background: var(--bg-slate-dark);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border-bottom: 1px solid var(--border-glass);
  padding: 8px 0;
  letter-spacing: 0.05em;
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.top-notice-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Header & Navigation (Ultra-Professional Luxury Design) - Homestead HQ
   ========================================================================== */
.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  min-height: 72px;
}

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

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.03);
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--secondary-navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--homestead-red);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Modern Pill Navigation Bar */
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(241, 245, 249, 0.75);
  padding: 4px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: #334155;
  padding: 8px 16px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.nav-link:hover {
  color: #0F172A;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-link.active {
  background: #FFFFFF;
  color: var(--homestead-red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-call {
  background: var(--homestead-red);
  color: #fff;
  padding: 9px 18px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(210, 43, 43, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.btn-header-call:hover {
  background: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(210, 43, 43, 0.4);
}

.btn-header-housecall {
  background: linear-gradient(135deg, #0056D2 0%, #003E99 100%);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(0, 86, 210, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-header-housecall:hover {
  background: linear-gradient(135deg, #0044A8 0%, #002D70 100%);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 22px rgba(0, 86, 210, 0.7);
}

.btn-header-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1ea952 100%);
  color: #fff;
  padding: 9px 16px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.btn-header-whatsapp:hover {
  background: #1eb855;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.mobile-menu-btn {
  display: none;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--secondary-navy);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
  transform: scale(1.04);
}

.mobile-menu-btn:active {
  transform: scale(0.96);
}

/* ==========================================================================
   Mobile Navigation Drawer (Ultra-Modern Off-Canvas) - Homestead
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 2500;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s ease;
}

.mobile-nav-drawer.active {
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 15, 30, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-drawer.active .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background: #FFFFFF;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px 20px;
  z-index: 2;
}

.mobile-nav-drawer.active .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #E2E8F0;
}

.mobile-nav-close-btn {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-nav-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

.mobile-nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--homestead-red);
  margin: 18px 0;
  letter-spacing: 0.04em;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  color: #1E293B;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.mobile-nav-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #FEE2E2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--homestead-red);
  transition: all 0.2s;
  flex-shrink: 0;
}

.mobile-nav-link:hover {
  background: #FEF2F2;
  color: var(--homestead-red);
  transform: translateX(4px);
}

.mobile-nav-link:hover .mobile-nav-link-icon {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(210, 43, 43, 0.15);
  color: var(--homestead-red);
}

.mobile-nav-chevron {
  color: #94A3B8;
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform 0.2s;
}

.mobile-nav-link:hover .mobile-nav-chevron {
  transform: translateX(3px);
  color: var(--homestead-red);
}

.mobile-nav-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
}

.mobile-nav-call-btn {
  background: var(--homestead-red);
  color: #FFF !important;
  padding: 14px 18px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(210, 43, 43, 0.3);
  text-decoration: none;
  transition: transform 0.2s;
}

.mobile-nav-call-btn:hover {
  transform: translateY(-1px);
}

.mobile-nav-wa-btn {
  background: linear-gradient(135deg, #25D366 0%, #1ea952 100%);
  color: #FFF !important;
  padding: 14px 18px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.2s;
}

.mobile-nav-wa-btn:hover {
  transform: translateY(-1px);
}

.mobile-nav-switch-btn {
  color: #64748B;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: #F8FAFC;
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-nav-switch-btn:hover {
  background: #F1F5F9;
  color: var(--secondary-navy);
}

.mobile-nav-book-btn {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  color: var(--primary-navy);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.mobile-nav-switch-btn {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-align: center;
  padding: 6px;
  transition: color 0.2s;
}

.mobile-nav-switch-btn:hover {
  color: var(--homestead-red);
}

/* ==========================================================================
   Hero Section with Dynamic Form
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-slate-dark) 0%, #150608 40%, #00152A 100%);
  color: #fff;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -120px;
  left: -80px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(210, 43, 43, 0.18) 0%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  right: -50px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.location-tag {
  background: rgba(210, 43, 43, 0.12);
  border: 1px solid var(--border-red-glow);
  color: #FF6B6B;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero-title span.highlight {
  color: var(--accent-cyan);
}

.hero-title span.emergency {
  color: var(--homestead-red);
  text-shadow: 0 0 20px rgba(210, 43, 43, 0.4);
}

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

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.hero-stat-card {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary-glow {
  background: linear-gradient(135deg, var(--homestead-red) 0%, #b81e1e 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(210, 43, 43, 0.45);
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(210, 43, 43, 0.65);
}

.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   HouseCall Pro Highlighted Booking Styles
   ========================================================================== */
.btn-housecall-pro-highlight {
  background: linear-gradient(135deg, #0066FF 0%, #0047CC 100%);
  color: #FFFFFF !important;
  border: 1.5px solid #93C5FD;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 25px rgba(0, 102, 255, 0.55), 0 8px 20px rgba(0, 71, 204, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: housecallPulse 3s infinite ease-in-out;
}

@keyframes housecallPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.45), 0 8px 20px rgba(0, 71, 204, 0.35);
    border-color: #93C5FD;
  }
  50% {
    box-shadow: 0 0 32px rgba(0, 102, 255, 0.85), 0 10px 28px rgba(0, 71, 204, 0.6);
    border-color: #DBEAFE;
    transform: translateY(-1px);
  }
}

.btn-housecall-pro-highlight:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #1A75FF 0%, #0052E0 100%);
  box-shadow: 0 0 35px rgba(0, 102, 255, 0.9), 0 12px 30px rgba(0, 71, 204, 0.6);
  border-color: #FFFFFF;
}

.btn-housecall-pro-highlight svg {
  color: #BFDBFE;
  filter: drop-shadow(0 0 6px rgba(191, 219, 254, 0.8));
  flex-shrink: 0;
}

.btn-header-housecall {
  background: linear-gradient(135deg, #0066FF 0%, #0047CC 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #60A5FA;
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.45);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.btn-header-housecall:hover {
  background: #0052E0;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.75);
}

.lead-card-hcp-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead-card-hcp-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #2563EB;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-hcp-card {
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
  font-size: 0.88rem;
}

.financing-ribbon {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  max-width: 580px;
}

.financing-ribbon a {
  color: var(--accent-cyan);
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

/* ==========================================================================
   WhatsApp Lead Generation Card (The Core UX Conversion Engine)
   ========================================================================== */
.lead-card-wrapper {
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 5;
}

.lead-card-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.lead-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: #FEF2F2;
  color: var(--homestead-red);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.lead-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
}

.lead-card-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label span.req {
  color: var(--homestead-red);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-main);
  background: #FAFAFA;
  transition: all 0.2s;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--homestead-red);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(210, 43, 43, 0.12);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-textarea {
  resize: vertical;
  min-height: 65px;
}

.timing-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.timing-radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7px 4px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  background: #F8FAFC;
  transition: all 0.2s;
}

.timing-radio-label input {
  display: none;
}

.timing-radio-label.active {
  border-color: var(--homestead-red);
  background: #FEF2F2;
  color: var(--homestead-red);
  font-weight: 700;
}

.btn-whatsapp-submit {
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, #1da851 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s;
  margin-top: 6px;
}

.btn-whatsapp-submit:hover {
  background: linear-gradient(135deg, #1ebd57 0%, #158b42 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.45);
}

.form-security-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.form-security-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   Trust Bar & Emergency Triage Box
   ========================================================================== */
.trust-bar-section {
  background: #FFF;
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #FEF2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--homestead-red);
  flex-shrink: 0;
}

.trust-badge-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
}

.trust-badge-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Emergency Triage Section */
.triage-section {
  padding: 70px 0;
  background: #F8FAFC;
}

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

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--homestead-red);
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.triage-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.triage-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.triage-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.triage-card.critical {
  border-top: 4px solid var(--homestead-red);
}

.triage-card.warning {
  border-top: 4px solid #F59E0B;
}

.triage-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.triage-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.triage-card.critical .triage-icon-box {
  background: #FEE2E2;
  color: var(--homestead-red);
}

.triage-card.warning .triage-icon-box {
  background: #FEF3C7;
  color: #D97706;
}

.triage-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.triage-steps-list {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.triage-step-item {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  color: #334155;
}

.step-num {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--homestead-red);
  background: #FEF2F2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.triage-action-box {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Services Grid Section
   ========================================================================== */
.services-section {
  padding: 80px 0;
  background: #FFFFFF;
}

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

.service-card {
  background: #FAFAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  background: #FFF;
  border-color: #FECACA;
  box-shadow: 0 16px 32px rgba(210, 43, 43, 0.08);
  transform: translateY(-5px);
}

.service-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: #E2E8F0;
  color: #475569;
  text-transform: uppercase;
}

.service-badge.featured {
  background: #FEF2F2;
  color: var(--homestead-red);
  border: 1px solid #FECACA;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: #FEF2F2;
  color: var(--homestead-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card:hover .service-icon-wrap {
  background: var(--homestead-red);
  color: #FFF;
  transform: scale(1.05);
  transition: all 0.25s;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: #334155;
  margin-bottom: 22px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li svg {
  color: var(--emerald-trust);
  flex-shrink: 0;
}

.service-card-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.service-btn-book {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--homestead-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: gap 0.2s;
}

.service-btn-book:hover {
  gap: 10px;
  color: var(--secondary-navy);
}

/* ==========================================================================
   Homestead & Redland Neighborhoods Coverage Section
   ========================================================================== */
.coverage-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFF5F5 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.coverage-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.neighborhood-pill {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-navy);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: all 0.2s;
}

.neighborhood-pill:hover {
  border-color: var(--homestead-red);
  transform: translateX(3px);
}

.dispatch-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--emerald-trust);
  font-weight: 800;
}

.coverage-card-box {
  background: var(--bg-slate-dark);
  color: #FFF;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.coverage-box-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(210, 43, 43, 0.25) 0%, transparent 70%);
  filter: blur(50px);
}

.coverage-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dispatch-stats-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px 0;
}

.dispatch-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ==========================================================================
   Reviews & Testimonials
   ========================================================================== */
.reviews-section {
  padding: 80px 0;
  background: #FFF;
}

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

.review-card {
  background: #FAFAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  color: #F59E0B;
  display: flex;
  gap: 4px;
}

.review-text {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
}

.review-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--homestead-red);
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.author-info h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.author-info p {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background: #F8FAFC;
}

.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item.active {
  border-color: var(--homestead-red);
  box-shadow: var(--shadow-sm);
}

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

.faq-icon-arrow {
  transition: transform 0.25s ease;
  color: var(--homestead-red);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer-pane {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer-pane {
  display: block;
}

/* ==========================================================================
   Bottom Conversion Banner & Footer
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, #8B0000 0%, var(--primary-navy) 100%);
  color: #FFF;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.footer-main {
  background: var(--bg-slate-dark);
  color: #94A3B8;
  padding: 60px 0 30px;
  font-size: 0.85rem;
  border-top: 1px solid var(--border-glass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

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

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

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-copyright {
  color: #CBD5E1;
  font-weight: 500;
}

.footer-license-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(210, 43, 43, 0.12);
  border: 1px solid rgba(210, 43, 43, 0.35);
  color: #FF8A8A;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94A3B8;
  font-size: 0.72rem;
  flex-wrap: wrap;
}

.footer-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34D399;
  font-weight: 600;
}

.footer-divider-dot {
  opacity: 0.4;
}

.footer-coverage-text {
  color: #94A3B8;
}

/* ==========================================================================
   Floating WhatsApp Button & Mobile Action Bar
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--whatsapp-green);
  color: #FFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.25s;
  cursor: pointer;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  background: var(--whatsapp-hover);
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--primary-navy);
  color: #FFF;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s;
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: #FFF;
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-bar-call {
  background: var(--homestead-red);
  color: #FFF;
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
}

.mobile-bar-whatsapp {
  background: var(--whatsapp-green);
  color: #FFF;
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
}

/* ==========================================================================
   Success Modal (WhatsApp Submission Feedback)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 15, 30, 0.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #FFF;
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.modal-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-modal-reopen {
  background: var(--whatsapp-green);
  color: #FFF;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-modal-close {
  background: #F1F5F9;
  color: #475569;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.84rem;
}

/* ==========================================================================
   Responsive Breakpoints
   Fluid safety rules + a header ladder for desktop, then tablet -> phone.
   Breakpoints: 1700 / 1440 / 1300 / 1200 / 1024 / 900 / 768 / 560 / 440 / 360
   ========================================================================== */

/* --- Fluid safety rules (apply at every viewport) --------------------- */
.top-notice-bar {
  font-size: 0.66rem;
  letter-spacing: 0.03em;
}

.top-notice-inner,
.top-notice-left,
.top-notice-right {
  flex-wrap: wrap;
  row-gap: 4px;
}

.top-notice-left,
.top-notice-right { gap: 12px; }

.brand-text { min-width: 0; }
.brand-title,
.brand-subtitle { white-space: nowrap; }
.brand-subtitle {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.header-nav { flex-shrink: 0; }
.nav-link { white-space: nowrap; }

.badge-pill { max-width: 100%; }
.hero-copy .location-tag {
  align-self: flex-start;
  line-height: 1.35;
}

.hero-stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-number { overflow-wrap: anywhere; }

.hero-cta-group .btn-primary-glow,
.hero-cta-group .btn-housecall-pro-highlight,
.cta-banner-content .btn-primary-glow,
.cta-banner-content .btn-housecall-pro-highlight,
.cta-banner-content .btn-header-whatsapp,
.btn-hcp-card {
  text-align: center;
  justify-content: center;
  max-width: 100%;
}

.form-security-footer {
  flex-wrap: wrap;
  row-gap: 6px;
}

.service-card-cta,
.triage-action-box {
  flex-wrap: wrap;
  gap: 10px 14px;
}

.dispatch-stat-row {
  flex-wrap: wrap;
  gap: 2px 12px;
}

.dispatch-stat-row strong {
  overflow-wrap: anywhere;
  text-align: right;
}

.neighborhood-pill span:first-child { min-width: 0; }
.neighborhood-pill .dispatch-badge {
  flex-shrink: 0;
  margin-left: 8px;
}

.footer-links-list li,
.footer-col p { overflow-wrap: anywhere; }

.faq-question-btn { gap: 12px; }
.faq-question-btn span { min-width: 0; }

.modal-box {
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

/* --- Desktop header ladder -------------------------------------------- */
/* The header holds brand + 5-link nav + up to 3 CTAs. That only fits in a
   wide container, so the header/top bar get a wider container on large
   screens and shed the least-critical items as the viewport narrows. */
@media (min-width: 1701px) {
  .header-main .container,
  .top-notice-bar .container { max-width: 1500px; }
}

@media (min-width: 1441px) and (max-width: 1700px) {
  .header-main .container,
  .top-notice-bar .container { max-width: 1400px; }
}

@media (max-width: 1700px) {
  .btn-header-housecall { display: none !important; }
}

@media (min-width: 769px) and (max-width: 1440px) {
  .brand-subtitle { display: none; }
  .header-nav { gap: 2px; }
  .nav-link {
    padding: 8px 10px;
    font-size: 0.76rem;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 1300px) {
  .top-notice-inner {
    justify-content: center;
    text-align: center;
    gap: 6px 16px;
  }
  .top-notice-left,
  .top-notice-right { justify-content: center; }
}

/* --- <=1200px: collapse main nav into the drawer ---------------------- */
@media (max-width: 1200px) {
  .header-nav { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  /* With the nav gone, keep the CTAs beside the hamburger, not centred */
  .header-actions {
    margin-left: auto;
    margin-right: 12px;
  }
}

/* --- <=1024px: tablets ------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .lead-card-wrapper {
    order: -1;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
  }

  .hero-copy { order: 1; }

  .hero-desc,
  .financing-ribbon { max-width: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .coverage-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- <=900px: trim top bar, stack reviews, 2-up trust badges ---------- */
@media (max-width: 900px) {
  .top-notice-right { display: none; }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  .trust-badges-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- <=768px: phones (landscape) and small tablets -------------------- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* Header */
  .top-notice-bar { display: none !important; }
  .header-nav,
  .btn-header-housecall,
  .btn-header-whatsapp { display: none !important; }
  .header-inner {
    min-height: 64px;
    gap: 10px;
  }
  .header-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }
  .btn-header-call {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .brand-wrapper {
    gap: 10px;
    min-width: 0;
    flex-shrink: 1;
  }
  .brand-logo-img { height: 34px; }
  .brand-title { font-size: 1rem; }
  .brand-subtitle {
    display: block;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }
  .mobile-menu-btn {
    display: flex !important;
    width: 42px;
    height: 42px;
  }

  /* iOS Safari zooms into any input smaller than 16px */
  .form-input,
  .form-select,
  .form-textarea { font-size: 16px; }

  /* Hero */
  .hero-section { padding: 24px 0 50px; }
  .hero-copy { gap: 18px; }
  .lead-card-wrapper {
    padding: 22px 18px;
    border-radius: var(--radius-lg);
  }
  .lead-card-title { font-size: 1.3rem; }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn-primary-glow,
  .hero-cta-group .btn-housecall-pro-highlight { width: 100%; }

  .financing-ribbon {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Section rhythm */
  .triage-section,
  .services-section,
  .coverage-section,
  .reviews-section,
  .faq-section { padding: 56px 0; }
  .cta-banner-section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .section-subtitle { font-size: 0.92rem; }

  /* Trust bar */
  .trust-bar-section { padding: 18px 0; }
  .trust-badges-grid { gap: 14px; }
  .trust-badge-item { gap: 10px; }
  .trust-badge-icon {
    width: 38px;
    height: 38px;
  }
  .trust-badge-title { font-size: 0.82rem; }
  .trust-badge-desc { font-size: 0.7rem; }

  /* Triage */
  .triage-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .triage-card { padding: 22px 18px; }
  .triage-title { font-size: 1.12rem; }
  .triage-action-box {
    flex-direction: column;
    align-items: stretch;
  }
  .triage-action-box .btn-primary-glow {
    width: 100%;
    justify-content: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-card { padding: 22px 18px; }
  .service-card-title { font-size: 1.12rem; }
  .service-btn-book { padding: 6px 0; }

  /* Coverage */
  .neighborhoods-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .coverage-card-box { padding: 24px 18px; }
  .dispatch-stat-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .dispatch-stat-row strong { text-align: left; }

  /* Reviews */
  .reviews-grid { gap: 16px; }
  .review-card { padding: 20px 18px; }

  /* FAQ */
  .faq-question-btn {
    padding: 16px;
    font-size: 0.98rem;
  }
  .faq-answer-pane {
    padding: 0 16px 16px;
    font-size: 0.88rem;
  }

  /* Bottom CTA banner */
  .cta-banner-content > div {
    flex-direction: column;
    width: 100%;
  }
  .cta-banner-content .btn-primary-glow,
  .cta-banner-content .btn-housecall-pro-highlight,
  .cta-banner-content .btn-header-whatsapp { width: 100%; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-main { padding: 45px 0 calc(95px + env(safe-area-inset-bottom, 0px)); }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding-top: 20px;
  }
  .footer-bottom-left {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
  .footer-copyright {
    font-size: 0.76rem;
    line-height: 1.5;
    color: #E2E8F0;
  }
  .footer-bottom-right {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
  .footer-divider-dot { display: none; }

  /* Sticky mobile bar, floating WhatsApp, drawer, modal */
  .mobile-bottom-bar {
    display: grid;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .floating-whatsapp-btn {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .floating-whatsapp-tooltip { display: none; }
  .mobile-nav-panel { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .modal-box { padding: 24px 20px; }
}

/* --- <=560px: compact phones ------------------------------------------ */
@media (max-width: 560px) {
  .brand-subtitle { display: none; }

  .hero-copy .location-tag {
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    padding: 6px 12px;
  }
  .hero-title { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .hero-desc { font-size: 0.96rem; }
  .hero-stats-row {
    gap: 10px;
    padding: 16px 0;
  }
  .stat-number { font-size: 1.45rem; }
  .stat-label {
    font-size: 0.64rem;
    letter-spacing: 0.04em;
  }
  .hero-cta-group .btn-primary-glow,
  .hero-cta-group .btn-housecall-pro-highlight {
    font-size: 0.86rem;
    padding: 14px 18px;
  }

  .lead-card-subtitle { font-size: 0.8rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .timing-options { grid-template-columns: 1fr 1fr; }
  .timing-options .timing-radio-label:first-child { grid-column: 1 / -1; }
  .btn-whatsapp-submit { font-size: 0.9rem; }
  .btn-hcp-card {
    font-size: 0.8rem;
    padding: 12px 14px;
  }
  .form-security-footer {
    flex-direction: column;
    gap: 6px;
  }

  .section-title { font-size: clamp(1.55rem, 6.4vw, 1.9rem); }
  .coverage-card-box h3 { font-size: 1.35rem !important; }

  .cta-banner-content h2 { font-size: 1.7rem !important; }
  .cta-banner-content .btn-primary-glow,
  .cta-banner-content .btn-housecall-pro-highlight,
  .cta-banner-content .btn-header-whatsapp {
    font-size: 0.9rem !important;
    padding: 14px 18px !important;
  }
}

/* --- <=440px: narrow phones ------------------------------------------- */
@media (max-width: 440px) {
  .container { padding: 0 16px; }

  .brand-title { font-size: 0.92rem; }
  .brand-logo-img { height: 30px; }
  .btn-header-call span { display: none; }
  .btn-header-call {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
  }
  .btn-header-call svg {
    width: 18px;
    height: 18px;
  }

  .lead-card-wrapper { padding: 20px 14px; }
  .triage-card,
  .service-card,
  .review-card { padding: 20px 14px; }
  .coverage-card-box { padding: 22px 14px; }
  .trust-badges-grid { gap: 12px 10px; }

  .mobile-bar-call,
  .mobile-bar-whatsapp {
    font-size: 0.78rem;
    padding: 11px 8px;
  }
  .footer-col h3 { font-size: 0.92rem; }
}

/* --- <=360px: very small phones (iPhone SE, Galaxy A-series) --------- */
@media (max-width: 360px) {
  .hero-stats-row { grid-template-columns: 1fr 1fr; }
  .hero-stats-row .hero-stat-card:last-child { grid-column: 1 / -1; }
  .trust-badges-grid { grid-template-columns: 1fr; }
  .timing-options { grid-template-columns: 1fr; }
  .timing-options .timing-radio-label:first-child { grid-column: auto; }
}

/* --- Short landscape phones ------------------------------------------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section { padding: 20px 0 40px; }
  .mobile-nav-panel { padding-top: 14px; }
  .mobile-nav-status { margin: 10px 0; }
  .mobile-nav-links { gap: 2px; }
  .mobile-nav-link { padding: 8px 12px; }
  .mobile-nav-actions { padding-top: 12px; }
}

/* --- Touch devices: comfortable tap targets, no hover-only UI --------- */
@media (hover: none) and (pointer: coarse) {
  .service-btn-book { padding: 8px 0; }
  .footer-links-list a {
    display: inline-block;
    padding: 4px 0;
  }
  .financing-ribbon a { padding: 4px 0; }
  .floating-whatsapp-tooltip { display: none; }
}

/* --- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
