/* ==========================================================================
   BLUE EMBER HVAC SERVICES - STYLESHEET
   Brand: Electric Ember Blue (#0877FF) & Flame Orange (#FF5A1F)
   ========================================================================== */

/* --- CSS Custom Properties / Design Tokens --- */
:root {
  /* Brand Primary Colors */
  --brand-blue: #0877ff;
  --brand-blue-hover: #005fcc;
  --brand-blue-glow: rgba(8, 119, 255, 0.25);
  
  --brand-orange: #ff5a1f;
  --brand-orange-hover: #e04812;
  --brand-orange-glow: rgba(255, 90, 31, 0.35);

  /* Deep High-End Neutrals & Surfaces */
  --charcoal-900: #0a0f1d;
  --charcoal-800: #0f172a;
  --charcoal-700: #1e293b;
  --charcoal-600: #334155;

  /* Light Surfaces & Backgrounds */
  --surface-white: #ffffff;
  --surface-alt: #f8fafc;
  --surface-card: #ffffff;
  --surface-border: #e2e8f0;
  --surface-border-subtle: #cbd5e1;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-inverted: #ffffff;
  --text-inverted-muted: #94a3b8;

  /* Feedback & Accents */
  --color-success: #16a34a;
  --color-error: #dc2626;
  --color-error-bg: #fef2f2;

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

  /* Spacing Scale */
  --container-max: 1200px;
  --header-height: 82px;
  --emergency-height: 38px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-orange: 0 8px 20px -4px rgba(255, 90, 31, 0.35);
  --shadow-blue: 0 8px 20px -4px rgba(8, 119, 255, 0.35);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--surface-white);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--emergency-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Accessibility: Skip Link & Focus Outline --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background-color: var(--brand-orange);
  color: var(--text-inverted);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--radius-md);
  z-index: 99999;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--charcoal-900);
}

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* --- Emergency Announcement Strip --- */
.emergency-strip {
  background-color: var(--charcoal-900);
  border-bottom: 1px solid rgba(255, 90, 31, 0.35);
  color: var(--text-inverted);
  font-size: 0.875rem;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.emergency-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-orange);
  box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7);
  animation: pulse-dot 1.8s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 90, 31, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

.emergency-text {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.emergency-phone-link {
  color: var(--brand-orange);
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.emergency-phone-link:hover,
.emergency-phone-link:focus-visible {
  color: #ff8555;
  text-decoration: underline;
}

/* --- Fixed / Sticky Header --- */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.is-scrolled {
  background-color: rgba(10, 15, 29, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(16px, 2vw, 28px);
}

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

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

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

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

/* Header Action */
.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-call-header {
  background-color: var(--brand-orange);
  color: var(--text-inverted);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-orange);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-call-header:hover {
  background-color: var(--brand-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -2px rgba(255, 90, 31, 0.45);
}

/* Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-inverted);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

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

/* Mobile Drawer */
.mobile-menu {
  display: none;
  background-color: var(--charcoal-900);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 20px 32px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  color: #e2e8f0;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--brand-orange);
  padding-left: 8px;
}

.mobile-menu-cta {
  margin-top: 24px;
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background-color: var(--brand-orange);
  color: var(--text-inverted);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background-color: var(--brand-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -2px rgba(255, 90, 31, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--brand-blue);
  color: var(--text-inverted);
  box-shadow: var(--shadow-blue);
}

.btn-secondary:hover {
  background-color: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -2px rgba(8, 119, 255, 0.45);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.075rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  flex-shrink: 0;
}

/* --- Hero Section --- */
.hero-section {
  background: radial-gradient(circle at 85% 15%, rgba(8, 119, 255, 0.18), transparent 45%),
              radial-gradient(circle at 15% 90%, rgba(255, 90, 31, 0.12), transparent 40%),
              var(--charcoal-900);
  color: var(--text-inverted);
  padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-orange);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-inverted);
}

.hero-subtext {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}

.trust-icon {
  color: var(--brand-orange);
  flex-shrink: 0;
}

.hero-context-link {
  margin-top: 12px;
}

.contextual-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #60a5fa;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.contextual-link:hover {
  color: #93c5fd;
  transform: translateX(3px);
}

/* Hero Media */
.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.05);
}

.hero-image-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.overlay-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(8, 119, 255, 0.2);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overlay-card-text {
  display: flex;
  flex-direction: column;
}

.overlay-card-text strong {
  font-size: 0.95rem;
  color: var(--text-inverted);
}

.overlay-card-text span {
  font-size: 0.825rem;
  color: #cbd5e1;
}

/* --- Section Shared Hierarchy --- */
.section-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.section-header-center {
  text-align: center;
  margin-bottom: clamp(36px, 6vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-link-bold {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 1rem;
}

.text-link-bold:hover {
  color: var(--brand-blue-hover);
}

/* --- About Us Section --- */
.about-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background-color: var(--surface-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.about-paragraph {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-action-wrap {
  margin-top: 24px;
}

.about-card-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--surface-border);
  background-color: var(--charcoal-900);
}

.about-banner-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.about-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--charcoal-800);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 16px;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-orange);
}

.metric-lbl {
  font-size: 0.775rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Why Choose Us Section --- */
.why-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background-color: var(--surface-alt);
}

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

.why-card {
  background-color: var(--surface-white);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.why-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(8, 119, 255, 0.12), rgba(255, 90, 31, 0.1));
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.why-card-text {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- HVAC Services Section --- */
.services-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background-color: var(--surface-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
  margin-bottom: clamp(48px, 8vw, 80px);
}

.service-card {
  background-color: var(--surface-white);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

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

.service-card-highlight {
  border-color: rgba(255, 90, 31, 0.4);
  background: linear-gradient(to bottom right, #ffffff, #fffaf8);
}

.service-card-highlight:hover {
  border-color: var(--brand-orange);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(8, 119, 255, 0.08);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card-highlight .service-card-icon {
  background-color: rgba(255, 90, 31, 0.1);
  color: var(--brand-orange);
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.service-card-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.925rem;
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

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

.service-card-link:hover {
  gap: 10px;
}

/* Service Detail Articles Stack */
.service-details-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-top: 2px solid var(--surface-border);
  padding-top: clamp(40px, 6vw, 64px);
}

.service-detail-item {
  background-color: var(--surface-alt);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  scroll-margin-top: calc(var(--header-height) + var(--emergency-height) + 24px);
}

.service-detail-item-emergency {
  border-color: rgba(255, 90, 31, 0.3);
  background-color: #fff9f6;
}

.service-detail-header {
  margin-bottom: 16px;
}

.detail-badge {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: rgba(8, 119, 255, 0.1);
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.badge-emergency {
  background-color: rgba(255, 90, 31, 0.15);
  color: var(--brand-orange);
}

.detail-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--text-main);
}

.service-detail-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.detail-cta-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.detail-inline-phone {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.detail-inline-phone a {
  color: var(--brand-orange);
  font-weight: 700;
  text-decoration: none;
}

.detail-inline-phone a:hover {
  text-decoration: underline;
}

.btn-emergency-pulse {
  animation: pulse-btn 2.5s infinite;
}

@keyframes pulse-btn {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

/* --- Mid-Page Conversion Section --- */
.conversion-banner-section {
  padding: clamp(40px, 6vw, 64px) 0;
  background-color: var(--surface-white);
}

.conversion-banner-card {
  background: linear-gradient(135deg, var(--charcoal-900) 0%, var(--charcoal-800) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  color: var(--text-inverted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.conversion-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.25), transparent 70%);
  pointer-events: none;
}

.conversion-text-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.conversion-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--text-inverted);
}

.conversion-subtext {
  font-size: 1.1rem;
  color: #cbd5e1;
}

.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}

/* --- Service Area Section & Map --- */
.service-area-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background-color: var(--surface-alt);
}

.service-area-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.service-area-info {
  display: flex;
  flex-direction: column;
}

.service-area-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.location-address-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--surface-white);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.address-icon {
  color: var(--brand-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.address-details strong {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.street-address-text {
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.nearby-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.community-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  list-style: none;
  margin-bottom: 20px;
}

.community-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-list li::before {
  content: '✓';
  color: var(--brand-blue);
  font-weight: bold;
}

.service-area-disclaimer {
  background-color: rgba(8, 119, 255, 0.05);
  border-left: 3px solid var(--brand-blue);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.area-cta-row {
  margin-top: 8px;
}

/* Map Element */
.service-area-map-container {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--surface-border);
  background-color: var(--surface-white);
}

.map-element {
  width: 100%;
  height: 480px;
  background-color: #e2e8f0;
  position: relative;
}

.map-loading-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  gap: 12px;
}

.map-spinner {
  animation: spin 2s linear infinite;
  color: var(--brand-blue);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.map-noscript-note {
  font-size: 0.825rem;
  color: var(--text-light);
}

.map-legend {
  padding: 12px 18px;
  background-color: var(--surface-white);
  border-top: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.legend-badge {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--brand-blue);
  background-color: rgba(8, 119, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.legend-note {
  font-size: 0.825rem;
  color: var(--text-light);
}

/* Custom Leaflet Styling Override */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  font-family: var(--font-body) !important;
  box-shadow: var(--shadow-lg) !important;
}

.custom-map-popup {
  font-size: 0.925rem;
  line-height: 1.4;
}

.custom-map-popup strong {
  color: var(--charcoal-900);
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
}

/* --- FAQ Section --- */
.faq-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background-color: var(--surface-white);
}

.faq-jump-nav {
  margin-bottom: 36px;
  padding: 16px 20px;
  background-color: var(--surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
}

.faq-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  justify-content: center;
}

.faq-jump-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-white);
  border: 1px solid var(--surface-border);
  transition: all var(--transition-fast);
}

.faq-jump-link:hover,
.faq-jump-link:focus-visible {
  background-color: var(--brand-blue);
  color: var(--text-inverted);
  border-color: var(--brand-blue);
}

/* Accordion */
.faq-accordion {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background-color: var(--surface-white);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  scroll-margin-top: calc(var(--header-height) + var(--emergency-height) + 20px);
}

.faq-item.is-open {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.faq-question-wrap {
  margin: 0;
  padding: 0;
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.faq-button:hover {
  background-color: var(--surface-alt);
  color: var(--brand-blue);
}

.faq-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--brand-blue);
  font-weight: 600;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-button[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--brand-orange);
}

.faq-answer-panel {
  padding: 0 24px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.faq-answer-content p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
}

.faq-answer-content a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
}

/* --- Contact Section & Form --- */
.contact-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background-color: var(--surface-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background-color: var(--surface-white);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.info-box-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: rgba(8, 119, 255, 0.08);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-box-text {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2px;
}

.info-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.info-val-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-orange);
  text-decoration: none;
}

.info-val-link:hover {
  text-decoration: underline;
}

.info-val-address {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

/* Contact Form Card */
.form-card {
  background-color: var(--surface-white);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 44px);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-subtext {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Form Status Region */
.form-status-region {
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.5;
  display: none;
}

.form-status-region.status-success {
  display: block;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 16px 20px;
  font-weight: 600;
}

.form-status-region.status-error {
  display: block;
  background-color: var(--color-error-bg);
  border: 1px solid #fecaca;
  color: var(--color-error);
  padding: 16px 20px;
  font-weight: 500;
}

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

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

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.required-mark {
  color: var(--brand-orange);
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  background-color: #ffffff;
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(8, 119, 255, 0.15);
  outline: none;
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--color-error);
  background-color: #fffbfb;
}

.field-error {
  font-size: 0.825rem;
  color: var(--color-error);
  font-weight: 600;
  min-height: 1.1rem;
  display: none;
}

.field-error.active {
  display: block;
}

/* Exact Mandatory Consent Checkbox Group */
.form-consent-group {
  background-color: var(--surface-alt);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--brand-orange);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-submit-row {
  margin-top: 6px;
}

.btn-submit {
  width: 100%;
  padding: 16px 28px;
  font-size: 1.05rem;
}

/* --- Professional Footer --- */
.site-footer {
  background-color: var(--charcoal-900);
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: clamp(48px, 6vw, 72px);
  margin-top: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 0.8fr 0.9fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 12px;
}

.footer-category {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-inverted);
  margin-bottom: 18px;
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #cbd5e1;
}

.footer-phone,
.footer-hours {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.footer-phone strong,
.footer-hours strong {
  color: var(--text-inverted);
}

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

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.925rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--brand-orange);
}

/* Footer Bottom Strip & Mandatory Referral Disclaimer */
.footer-bottom-strip {
  background-color: #070a14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0;
}

.footer-mandatory-disclaimer {
  font-size: 0.775rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 20px;
  text-align: justify;
}

.footer-legal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* --- Mobile Floating Call Now CTA --- */
.mobile-floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(10, 15, 29, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

.btn-floating-call {
  width: 100%;
  background-color: var(--brand-orange);
  color: var(--text-inverted);
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 90, 31, 0.4);
}

/* --- Responsive Media Queries --- */

/* Tablets & Smaller Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-area-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .desktop-nav {
    display: none;
  }

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

  .mobile-menu.is-active {
    display: block;
  }

  .btn-call-header span {
    display: none;
  }

  .btn-call-header {
    padding: 10px;
    border-radius: 50%;
  }

  .hero-trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .conversion-banner-card {
    flex-direction: column;
    text-align: center;
  }

  .conversion-actions {
    width: 100%;
    flex-direction: column;
  }

  .conversion-actions .btn {
    width: 100%;
  }

  .community-list {
    grid-template-columns: 1fr;
  }

  .mobile-floating-cta {
    display: block;
  }

  /* Padding bottom to prevent footer or content being blocked by floating CTA */
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-legal-bar {
    flex-direction: column;
    text-align: center;
  }

  .map-element {
    height: 360px;
  }
}

/* --- Accessibility: Prefers-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;
  }

  .pulse-indicator,
  .btn-emergency-pulse {
    animation: none !important;
  }
}

/* --- Additional Styles for Enriched Photo Cards --- */
.detail-media-wrap {
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-height: 320px;
}

.detail-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.service-detail-item:hover .detail-photo {
  transform: scale(1.02);
}

.service-area-media-preview {
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-area-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
