/* ==========================================================================
   NORTHHAVEN CLIMATE WORKS - DESIGN SYSTEM & STYLESHEET
   Clean, vibrant, high-contrast, mobile-first HVAC website styling
   ========================================================================== */

/* 1. CSS CUSTOM PROPERTIES & TOKENS */
:root {
  /* Brand Palette */
  --color-primary: #146BFF;         /* Electric Cobalt */
  --color-primary-dark: #0052db;
  --color-primary-glow: rgba(20, 107, 255, 0.25);
  
  --color-accent: #19D5D2;          /* Vivid Aqua */
  --color-accent-dark: #0cb7b4;
  --color-accent-glow: rgba(25, 213, 210, 0.2);

  --color-dark: #071B33;            /* Midnight Navy */
  --color-dark-surface: #0B2545;
  --color-dark-card: #0F3057;

  --color-light: #F7FBFF;           /* Ice White */
  --color-white: #FFFFFF;
  --color-muted: #E9F0F5;          /* Soft Cool Gray */
  --color-border: #D7E3EC;

  /* Alert / Emergency Warm Accents (from logo fire elements) */
  --color-flame: #FF5B22;
  --color-flame-dark: #E04410;
  --color-flame-glow: rgba(255, 91, 34, 0.25);

  /* Typography */
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(7, 27, 51, 0.05);
  --shadow-md: 0 8px 24px rgba(7, 27, 51, 0.08);
  --shadow-lg: 0 16px 38px rgba(7, 27, 51, 0.12);
  --shadow-glow: 0 10px 30px rgba(20, 107, 255, 0.25);

  /* Layout */
  --container-max: 1240px;
  --header-height: 82px;
  --transition-fast: 180ms ease;
  --transition-normal: 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE & RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 3. ACCESSIBILITY & UTILITIES */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 99999;
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid #fff;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-primary-dark);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

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

/* Section Header Badges and Leads */
.section-header {
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(20, 107, 255, 0.08);
  border: 1px solid rgba(20, 107, 255, 0.16);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.125rem;
  color: #3b4d63;
  line-height: 1.6;
}

/* 4. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #146BFF 0%, #0055e6 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(20, 107, 255, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0058e6 0%, #0046be 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 107, 255, 0.38);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-dark) !important;
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: #f0f6fc;
  border-color: #b7cbde;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: rgba(20, 107, 255, 0.06);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-emergency {
  background: linear-gradient(135deg, #FF5B22 0%, #E04410 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(255, 91, 34, 0.35);
}
.btn-emergency:hover {
  background: linear-gradient(135deg, #e84c14 0%, #c43707 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 91, 34, 0.45);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.btn-block {
  width: 100%;
}

/* 5. STICKY HEADER */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(7, 27, 51, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

/* Desktop Nav */
.main-nav {
  display: none;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #cbd7e6;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}
.nav-link:hover {
  color: #ffffff;
}
.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-link {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
}
.header-phone-link:hover {
  color: var(--color-accent);
}
.header-phone-icon {
  color: var(--color-accent);
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 38px;
  padding: 9px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1001;
}
.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Panel */
.mobile-nav-panel {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--color-dark);
  border-bottom: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  padding: 24px 0 32px;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: #dbe7f5;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-accent);
}
.mobile-nav-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-hours-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

/* 6. HERO SECTION */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(25, 213, 210, 0.09) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(20, 107, 255, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #F0F6FC 0%, var(--color-light) 100%);
  padding: 60px 0 70px;
  border-bottom: 1px solid var(--color-border);
}

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

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 107, 255, 0.15);
  margin-bottom: 20px;
}
.badge-pulse {
  width: 10px;
  height: 10px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  to {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #3b4d63;
  line-height: 1.65;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-sublinks {
  margin-bottom: 36px;
}
.hero-contextual-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-contextual-link:hover {
  text-decoration: underline;
}

.hero-trust-indicators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(7, 27, 51, 0.1);
}
.trust-indicator-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #24354a;
}
.trust-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}
.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-visual-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(7, 27, 51, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
}
.visual-card-icon {
  background: rgba(25, 213, 210, 0.2);
  color: var(--color-accent);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.visual-card-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: #ffffff;
}
.visual-card-text span {
  font-size: 0.8125rem;
  color: #9cb4cb;
}

/* 7. TRUST / AVAILABILITY STRIP */
.trust-strip {
  background: var(--color-dark);
  color: #ffffff;
  padding: 40px 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.trust-strip-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}
.strip-icon {
  background: rgba(20, 107, 255, 0.2);
  color: var(--color-accent);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strip-body h3 {
  font-size: 1.0625rem;
  color: #ffffff;
  margin-bottom: 4px;
}
.strip-body p {
  font-size: 0.875rem;
  color: #a4b9cf;
}
.strip-phone {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent);
}

/* 8. ABOUT SECTION */
.about-section {
  padding: 90px 0;
  background: #ffffff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.about-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.about-badge-callout {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--color-dark);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}
.about-badge-callout strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
}
.about-badge-callout span {
  font-size: 0.8125rem;
  color: var(--color-accent);
}
.about-copy {
  font-size: 1.0625rem;
  color: #3b4d63;
  margin-bottom: 18px;
  line-height: 1.7;
}
.about-action {
  margin-top: 28px;
}

/* 9. WHY CHOOSE US */
.why-section {
  padding: 90px 0;
  background: var(--color-light);
  border-top: 1px solid var(--color-border);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.why-card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 58px;
  height: 58px;
  background: rgba(20, 107, 255, 0.08);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.why-card-desc {
  font-size: 0.9375rem;
  color: #4a5d74;
  line-height: 1.6;
}

/* 10. HVAC SERVICES GRID */
.services-section {
  padding: 100px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-card {
  background: var(--color-light);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}
.service-card:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card.highlight-card {
  background: linear-gradient(135deg, #FFF7F2 0%, #FFFFFF 100%);
  border-color: rgba(255, 91, 34, 0.3);
}
.service-card.highlight-card:hover {
  border-color: var(--color-flame);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(20, 107, 255, 0.1);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.emergency-icon {
  background: rgba(255, 91, 34, 0.12);
  color: var(--color-flame);
}
.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.service-card-desc {
  font-size: 0.9375rem;
  color: #4a5d74;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card.highlight-card .service-card-link {
  color: var(--color-flame);
}
.service-card-link:hover {
  text-decoration: underline;
}

.services-footer-prompt {
  margin-top: 50px;
  font-size: 1.0625rem;
  color: #3b4d63;
}
.link-inline {
  font-weight: 700;
  color: var(--color-primary);
}

/* 11. DETAILED HVAC SERVICES */
.detailed-services-section {
  padding: 90px 0;
  background: var(--color-light);
  border-top: 1px solid var(--color-border);
}
.detailed-services-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.detail-block {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.emergency-detail-block {
  border-left: 6px solid var(--color-flame);
  background: linear-gradient(180deg, #FFF9F6 0%, #FFFFFF 100%);
}
.detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.detail-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  background: rgba(20, 107, 255, 0.08);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.emergency-detail-block .detail-number {
  color: var(--color-flame);
  background: rgba(255, 91, 34, 0.1);
}
.detail-title {
  font-size: 1.5rem;
}
.detail-content p {
  font-size: 1rem;
  color: #4a5d74;
  line-height: 1.7;
  margin-bottom: 14px;
}
.detail-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: #24354a;
}
.cta-link-phone {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
}

/* 12. EMERGENCY HVAC CTA BAND */
.emergency-band {
  background: linear-gradient(135deg, #071B33 0%, #0F2D54 100%);
  color: #ffffff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.emergency-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 91, 34, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.emergency-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  z-index: 1;
}
.emergency-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFA578;
  background: rgba(255, 91, 34, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #FF5B22;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 91, 34, 0.7);
  animation: pulse-ring 1.8s infinite;
}
.emergency-headline {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 12px;
}
.emergency-copy {
  font-size: 1.125rem;
  color: #c0d3e8;
  max-width: 650px;
}
.emergency-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 13. HOW SERVICE WORKS (PROCESS) */
.process-section {
  padding: 100px 0;
  background: #ffffff;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.process-card {
  background: var(--color-light);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  transition: transform var(--transition-normal);
}
.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}
.process-step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 14px;
}
.process-step-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.process-step-desc {
  font-size: 0.9375rem;
  color: #4a5d74;
  line-height: 1.6;
}

/* 14. SERVICE AREA & MAP */
.service-area-section {
  padding: 100px 0;
  background: var(--color-light);
  border-top: 1px solid var(--color-border);
}
.service-area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.area-text-card {
  background: #ffffff;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.area-card-header h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
.area-card-header p {
  font-size: 0.9375rem;
  color: #4a5d74;
  margin-bottom: 24px;
}
.communities-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.community-pill {
  font-size: 0.875rem;
  font-weight: 600;
  color: #24354a;
  background: var(--color-muted);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(7, 27, 51, 0.08);
}
.community-pill.primary-pill {
  background: rgba(20, 107, 255, 0.12);
  color: var(--color-primary);
  border-color: rgba(20, 107, 255, 0.25);
  font-weight: 700;
}
.area-notice {
  background: #F4F8FC;
  border-left: 3px solid var(--color-primary);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  color: #3b4d63;
  margin-bottom: 24px;
}
.area-phone-link {
  font-weight: 700;
  color: var(--color-primary);
}
.area-cta {
  margin-top: auto;
}

/* Map Card */
.area-map-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-container-outer {
  position: relative;
  width: 100%;
  height: 380px;
  background: #E5EDF4;
}
.service-map {
  width: 100%;
  height: 100%;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 14px;
  color: #52677f;
  font-size: 0.9375rem;
  padding: 20px;
  text-align: center;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(20, 107, 255, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.map-caption {
  padding: 14px 20px;
  background: #F8FAFC;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: #556980;
}

/* 15. FAQ ACCORDION */
.faq-section {
  padding: 100px 0;
  background: #ffffff;
}
.faq-container {
  max-width: 860px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.faq-item {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.active {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
}
.faq-toggle:hover {
  color: var(--color-primary);
}
.faq-icon {
  font-size: 1.375rem;
  color: var(--color-primary);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-content {
  padding: 0 24px 22px;
  font-size: 0.9375rem;
  color: #4a5d74;
  line-height: 1.7;
}

/* 16. CONTACT SECTION & LEAD FORM */
.contact-section {
  padding: 100px 0;
  background: var(--color-light);
  border-top: 1px solid var(--color-border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact-info-card {
  display: flex;
  flex-direction: column;
}
.contact-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin-bottom: 14px;
}
.contact-desc {
  font-size: 1.0625rem;
  color: #4a5d74;
  margin-bottom: 30px;
}
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(20, 107, 255, 0.1);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #63778f;
  margin-bottom: 2px;
}
.detail-value-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}
.detail-value {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
}
.detail-address {
  font-style: normal;
  font-size: 1rem;
  color: #24354a;
  line-height: 1.5;
}
.detail-sub {
  display: block;
  font-size: 0.8125rem;
  color: #6d8299;
}
.contact-visual-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: auto;
}
.contact-thermostat-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Form Card */
.contact-form-card {
  background: #ffffff;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.form-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 0.9375rem;
  color: #556980;
  margin-bottom: 24px;
}

.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}
.form-feedback.success {
  background: #E8F8F3;
  color: #0E6245;
  border: 1px solid #A2E3CA;
}
.form-feedback.error {
  background: #FDF2F2;
  color: #991B1B;
  border: 1px solid #F8B4B4;
}

.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #24354a;
  margin-bottom: 6px;
}
.required-mark {
  color: var(--color-flame);
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-dark);
  background: #F8FAFC;
  border: 1px solid #CFDCE8;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.form-input:focus, .form-textarea:focus {
  background: #ffffff;
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(20, 107, 255, 0.15);
}
.field-error {
  color: #DC2626;
  font-size: 0.8125rem;
  margin-top: 4px;
  min-height: 18px;
}

/* MANDATORY CONSENT CHECKBOX */
.form-consent-group {
  margin: 20px 0 24px;
  background: #F4F8FC;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #DCE6F0;
}
.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}
.consent-label {
  font-size: 0.775rem;
  color: #43586f;
  line-height: 1.5;
  cursor: pointer;
}

/* 17. FINAL CALL TO ACTION */
.final-cta-section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}
.final-cta-headline {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  margin-bottom: 12px;
}
.final-cta-copy {
  font-size: 1.125rem;
  color: #4a5d74;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
}

/* 18. FOOTER */
.site-footer {
  background: var(--color-dark);
  color: #ffffff;
  padding: 80px 0 40px;
  border-top: 3px solid var(--color-primary);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.footer-phone {
  font-size: 0.9375rem;
  color: #a4b9cf;
  margin-bottom: 8px;
}
.footer-phone a {
  color: #ffffff;
  font-weight: 700;
}
.footer-address {
  font-style: normal;
  font-size: 0.875rem;
  color: #8fa6bf;
  margin-bottom: 16px;
}
.footer-hours-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(25, 213, 210, 0.15);
  color: var(--color-accent);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.footer-heading {
  font-size: 1.0625rem;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: #9cb4cb;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--color-accent);
}
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}
.footer-disclaimer {
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid #5a738e;
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 30px;
}
.footer-disclaimer p {
  font-size: 0.75rem;
  color: #8c9fb3;
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8125rem;
  color: #6d8299;
}

/* 19. MOBILE FLOATING CALL BUTTON */
.mobile-floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: block;
}
.floating-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #146BFF 0%, #0052db 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(20, 107, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  animation: float-pulse 2.5s infinite;
}
@keyframes float-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile-First Upwards)
   ========================================================================== */

/* 480px and up */
@media (min-width: 480px) {
  .hero-cta-group {
    flex-direction: row;
  }
  .emergency-actions {
    flex-direction: row;
  }
  .final-cta-buttons {
    flex-direction: row;
  }
}

/* 768px and up (Tablet) */
@media (min-width: 768px) {
  :root {
    --header-height: 90px;
  }
  .header-phone-link {
    display: inline-flex;
  }
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-area-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .mobile-floating-cta {
    display: none; /* Hide floating call button on desktop */
  }
}

/* 1024px and up (Desktop) */
@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
  .mobile-toggle {
    display: none;
  }
  .mobile-nav-panel {
    display: none !important;
  }
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
  }
  .trust-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .emergency-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .emergency-actions {
    flex-shrink: 0;
  }
}

/* 1280px and up (Large Desktop) */
@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   SUPPLIED HVAC PHOTO TREATMENTS — each source is used once on the page
   ========================================================================== */
.service-card-media {
  width: 100%;
  height: 152px;
  margin: -8px -8px 22px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #dce7f0;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}
.service-card:hover .service-card-media img {
  transform: scale(1.045);
}
.process-feature-image {
  position: relative;
  width: min(100%, 860px);
  height: 220px;
  margin: -12px auto 34px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--color-dark);
}
.process-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}
.process-feature-image figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 560px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(7, 27, 51, 0.86);
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.5;
}
.emergency-backdrop {
  position: absolute;
  top: 50%;
  right: clamp(18px, 5vw, 90px);
  width: min(32vw, 397px);
  min-width: 260px;
  height: 126px;
  object-fit: cover;
  transform: translateY(-50%);
  opacity: 0.21;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  filter: saturate(0.9) contrast(1.1);
  pointer-events: none;
}
@media (max-width: 767px) {
  .service-card-media {
    height: 176px;
  }
  .process-feature-image {
    height: 190px;
  }
  .process-feature-image figcaption {
    font-size: 0.8125rem;
  }
  .emergency-backdrop {
    display: none;
  }
}
