/* ==========================================================================
   Local HVAC Service - USA Blue & Red Design System
   Color Palette: Deep Royal Blue, USA Service Red, Ice Blue, Charcoal Navy
   ========================================================================== */

:root {
  --brand-blue: #1d4ed8;
  --brand-blue-dark: #1e3a8a;
  --brand-blue-light: #eff6ff;
  
  --brand-red: #dc2626;
  --brand-red-hover: #b91c1c;
  --brand-red-light: #fef2f2;

  --accent-ice: #0ea5e9;
  --accent-amber: #f59e0b;
  
  --bg-body: #fafafa;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;

  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;

  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  overflow-x: clip;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--brand-red); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-blue { color: var(--brand-blue) !important; }
.text-red { color: var(--brand-red) !important; }
.text-amber { color: var(--accent-amber) !important; }
.bar-sep { opacity: 0.4; margin: 0 0.5rem; }

/* Live Pulse Dot */
.live-pulse-dot, .live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: var(--brand-red);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulse-red 1.8s infinite;
  margin-right: 0.4rem;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-announcement-bar {
  background-color: var(--brand-blue-dark);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 0.65rem 0;
  border-bottom: 2px solid var(--brand-red);
}

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

.emergency-badge {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.top-call-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-phone-link {
  color: #fef08a;
  font-weight: 800;
  font-size: 1.05rem;
}

.top-phone-link:hover { color: #ffffff; }

/* --------------------------------------------------------------------------
   Main Header Navigation
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 2px solid var(--border-color);
  padding: 0.9rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-text-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-brand-name {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--brand-blue-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-brand-name.location-name-long {
  font-size: 1.55rem;
}

.logo-brand-name.location-name-extra-long {
  font-size: 1.25rem;
}

.logo-hvac-pill {
  background-color: var(--brand-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.text-white { color: #ffffff !important; }

.logo-icon-mark .ice { color: #38bdf8; }
.logo-icon-mark .fire { color: #ef4444; }

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

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  line-height: 1;
}

.logo-accent { color: var(--brand-red); }

.logo-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-btn {
  padding: 0.55rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  border-radius: 6px;
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.nav-btn:hover, .nav-btn.active {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.btn-emergency {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

.btn-emergency:hover {
  background-color: var(--brand-red-hover);
  color: #ffffff;
}

.btn-contact {
  background-color: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  color: #ffffff;
}

.btn-contact:hover {
  background-color: var(--brand-blue);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-blue-dark);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-banner {
  position: relative;
  padding: 5.5rem 0 6.25rem;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-color: var(--brand-blue-dark);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transform: scale(1.08);
  transform-origin: center;
}

.hero-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 58, 138, 0.78) 45%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(72% 90% at 82% 35%, #000 0%, transparent 78%);
  mask-image: radial-gradient(72% 90% at 82% 35%, #000 0%, transparent 78%);
  opacity: 0.55;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 480px at 84% 38%, rgba(220, 38, 38, 0.2), transparent 70%),
    radial-gradient(720px 620px at 12% 90%, rgba(14, 165, 233, 0.16), transparent 70%);
  mix-blend-mode: screen;
}

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-grid.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4rem;
  align-items: center;
}

.hero-card {
  max-width: 760px;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-card,
.primary-content,
.sidebar-secondary,
.callout-text {
  min-width: 0;
}

.trust-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1.4rem;
}

.us-flag-emblem {
  display: block;
  width: 2.25rem;
  height: auto;
  flex: 0 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.28);
}

.us-flag-sm {
  display: block;
  width: 1.875rem;
  height: auto;
  flex: 0 0 auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

.eagle-emblem {
  display: block;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-title {
  display: grid;
  grid-template-areas: "headline";
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
  line-height: 1.12;
  color: #ffffff !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

.title-accent {
  color: #f87171;
}

.animated-headline {
  grid-area: headline;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  visibility: hidden;
}

.animated-headline.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.hero-subtext {
  font-size: 1.18rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  color: #dbeafe;
  max-width: 600px;
}

.hero-call-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  position: relative;
}

.hero-cta-wrap {
  position: relative;
  display: inline-flex;
  border-radius: 12px;
}

.hero-cta-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 2px solid rgba(220, 38, 38, 0.4);
  pointer-events: none;
}

.hero-phone-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-image: linear-gradient(180deg, #ef4444 0%, var(--brand-red) 60%);
  background-color: var(--brand-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  padding: 1rem 2.1rem;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(220, 38, 38, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-phone-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 42%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-260%) skewX(-20deg);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.hero-phone-btn:hover {
  background-image: linear-gradient(180deg, #ef4444 0%, var(--brand-red-hover) 70%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(220, 38, 38, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero-phone-btn:hover::after {
  transform: translateX(420%) skewX(-20deg);
}

.hero-phone-btn:active {
  transform: translateY(0) scale(0.985);
}

.tap-to-call {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.tap-to-call .live-dot {
  width: 8px;
  height: 8px;
  margin-right: 0.15rem;
}

/* Dispatch Widget Card */
.hero-dispatch-widget {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.9rem;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.4);
  border-top: 4px solid var(--brand-red);
  color: var(--text-dark);
}

.hero-dispatch-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(226, 232, 240, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.live-status-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-red);
  background: var(--brand-red-light);
  border: 1px solid #fecaca;
  padding: 0.32rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.live-status-row .live-dot {
  width: 8px;
  height: 8px;
  margin-right: 0;
}

.widget-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--brand-blue-dark);
  font-weight: 800;
  margin-bottom: 1.3rem;
  line-height: 1.2;
}

.zip-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.zip-input-wrap {
  display: flex;
  gap: 0.5rem;
}

.zip-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  background-color: #f8fafc;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.zip-input-wrap input:focus {
  border-color: var(--brand-blue);
  background-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.btn-check-zip {
  background-color: var(--brand-red);
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-check-zip:hover { background-color: var(--brand-red-hover); transform: translateY(-1px); }
.btn-check-zip:active { transform: translateY(0) scale(0.98); }

.zip-result-box {
  margin-top: 1.1rem;
  font-size: 0.9rem;
}

.default-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  background: #f8fafc;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.widget-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-image: linear-gradient(180deg, #ef4444 0%, var(--brand-red) 60%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 10px;
  margin-top: 1.15rem;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget-call-btn:hover {
  background-image: linear-gradient(180deg, #ef4444 0%, var(--brand-red-hover) 70%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.4);
}

.widget-call-btn:active { transform: translateY(0) scale(0.985); }

.widget-call-btn i { font-size: 1.05rem; }

/* Hero Motion: Ken Burns bg, staggered entry, CTA ring */
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.18); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes widgetIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ringPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.14); opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg-img { animation: heroZoom 32s ease-in-out infinite alternate; }
  .hero-cta-wrap::before { animation: ringPulse 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
  .hero-card > * { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-card > *:nth-child(1) { animation-delay: 0.15s; }
  .hero-card > *:nth-child(2) { animation-delay: 0.28s; }
  .hero-card > *:nth-child(3) { animation-delay: 0.41s; }
  .hero-card > *:nth-child(4) { animation-delay: 0.54s; }
  .hero-dispatch-widget { animation: widgetIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }
}

/* Guarantee Strip */
.guarantee-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1.2rem 0;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.guarantee-item i { font-size: 1.2rem; }

/* --------------------------------------------------------------------------
   Diagnostic Helper Section
   -------------------------------------------------------------------------- */
.diagnostic-section {
  padding: 4rem 0 2rem 0;
}

.diag-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.diag-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 0.4rem;
  display: block;
}

.diag-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--brand-blue-dark);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.diag-header p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.diag-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.diag-tab {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
}

.diag-tab:hover, .diag-tab.active {
  background-color: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  color: #ffffff;
}

.diag-result-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  border-left: 4px solid var(--brand-red);
}

.res-priority {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-red);
  margin-bottom: 0.4rem;
  display: block;
}

.diag-res-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--brand-blue-dark);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.diag-res-body p {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.diag-action-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  background: #ffffff;
  padding: 1.2rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.diag-stat span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.diag-stat strong {
  font-size: 1rem;
  color: var(--text-dark);
}

.btn-diag-call {
  display: inline-block;
  background-color: var(--brand-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
}

.btn-diag-call:hover {
  background-color: var(--brand-red-hover);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Main Content Layout
   -------------------------------------------------------------------------- */
.main-content-section { padding: 3rem 0; }

.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
}

/* Breadcrumbs */
.community-breadcrumbs {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.community-breadcrumbs li { display: inline-block; }

.community-breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin: 0 0.4rem;
  opacity: 0.5;
}

.community-breadcrumbs a { color: var(--brand-blue); }

/* Article Body */
.article-body {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--brand-blue-dark);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.lead-paragraph {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: var(--text-body);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-box:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
}

.box-icon {
  width: 48px;
  height: 48px;
  background-color: var(--brand-blue);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-box h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.service-box p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.box-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-blue);
}

/* Feature Callout */
.feature-callout {
  background: var(--brand-blue-dark);
  color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-left: 6px solid var(--brand-red);
}

.callout-text h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.callout-text p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.btn-callout {
  background-color: var(--brand-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

.btn-callout:hover {
  background-color: var(--brand-red-hover);
  color: #ffffff;
}

/* Why Choose Us */
.why-choose-us { margin-bottom: 2.5rem; }

.why-choose-us h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
}

.why-choose-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.why-choose-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-choose-list .check-icon {
  color: var(--brand-blue);
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* FAQ Accordion */
.faq-section { margin-top: 2.5rem; }

.faq-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--brand-blue-dark);
  margin-bottom: 1.2rem;
}

.accordion-container {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-item:last-child { border-bottom: none; }

.accordion-header {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background-color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.accordion-header .icon {
  color: var(--brand-blue);
  transition: transform 0.2s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-body);
  font-size: 0.92rem;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding-bottom: 1.2rem;
}

.accordion-item.active .accordion-header .icon { transform: rotate(45deg); }

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */
.sidebar-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.sidebar-widget {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
}

.widget-call {
  background-color: var(--brand-blue-dark);
  color: #ffffff;
  text-align: center;
  border-top: 4px solid var(--brand-red);
}

.widget-call h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.widget-call p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 1.2rem;
}

.sidebar-phone-btn {
  display: block;
  background-color: var(--brand-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}

.sidebar-phone-btn:hover {
  background-color: var(--brand-red-hover);
  color: #ffffff;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--brand-blue);
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
  color: var(--text-body);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.sidebar-menu a i {
  font-size: 0.7rem;
  color: var(--brand-blue);
}

.sidebar-menu a:hover, .sidebar-menu a.active {
  background-color: #f8fafc;
  color: var(--brand-blue);
  font-weight: 700;
}

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

.rating-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.widget-rating h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.widget-rating p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Sticky Floating Call Bar
   -------------------------------------------------------------------------- */
.floating-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(30, 58, 138, 0.96);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.8rem 0;
  border-top: 2px solid var(--brand-red);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.floating-call-bar.visible { transform: translateY(0); }

.floating-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floating-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.btn-float-call {
  background-color: var(--brand-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
}

.btn-float-call:hover { background-color: var(--brand-red-hover); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--brand-blue-dark);
  color: #cbd5e1;
  padding: 4rem 0 0 0;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3, .footer-col h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  margin-bottom: 1rem;
}

.company-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.license-tag {
  font-size: 0.82rem;
  color: #fef08a;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a { color: #cbd5e1; }
.footer-col a:hover { color: #ffffff; }

.footer-col p { margin-bottom: 0.6rem; }

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.social-links a:hover { background-color: var(--brand-red); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

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

.mb-2 { margin-bottom: 0.6rem; }

/* Responsive Alignment System */
@media (max-width: 1024px) {
  .hero-grid.hero-split { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .hero-card { max-width: 760px; }
  .hero-dispatch-widget { max-width: 560px; justify-self: center; width: 100%; }
  .content-layout { grid-template-columns: 1fr; gap: 2rem; }
  .guarantee-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 1.25rem;
  }

  /* Announcement Bar Mobile Alignment */
  .top-announcement-bar {
    padding: 0.55rem 0;
  }

  .top-bar-content {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
    justify-content: center;
  }

  .emergency-badge {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .emergency-badge .bar-sep {
    display: inline-block;
    opacity: 0.4;
  }

  .top-call-box {
    justify-content: center;
    font-size: 0.85rem;
    gap: 0.35rem;
  }

  /* Header & Navigation Dropdown */
  .main-header {
    padding: 0.65rem 0;
  }

  .header-content {
    position: relative;
  }

  .logo-brand-name {
    font-size: 1.7rem;
  }

  .logo-hvac-pill {
    font-size: 0.78rem;
    padding: 0.2rem 0.55rem;
  }

  .nav-buttons {
    display: none;
  }

  .nav-buttons.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: -1.25rem;
    right: -1.25rem;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    gap: 0.65rem;
    border-bottom: 3px solid var(--brand-red);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    animation: navSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-buttons.active .nav-btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--brand-blue-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 1.25rem;
    color: var(--brand-blue-dark);
  }

  /* Hero Section Mobile */
  .hero-banner {
    padding: clamp(2rem, 7vw, 2.75rem) 0 clamp(2.5rem, 8vw, 3.25rem);
    min-height: 0;
  }

  .hero-grid.hero-split {
    gap: 1.75rem;
  }

  .hero-bg-img {
    object-position: 58% center;
  }

  .hero-tint {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 58, 138, 0.75) 100%);
  }

  .hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .trust-pill-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 100%;
    border-radius: 12px;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
  }

  .trust-pill-tag .us-flag-emblem {
    flex-shrink: 0;
  }

  .hero-title {
    width: 100%;
    font-size: clamp(1.75rem, 6.5vw, 2.4rem);
    margin-bottom: 1rem;
    text-align: center;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .hero-subtext {
    max-width: 100%;
    font-size: clamp(1rem, 3.8vw, 1.05rem);
    margin-bottom: 1.5rem;
    margin-inline: auto;
    text-align: center;
  }

  .hero-call-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-phone-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 52px;
    padding: 0.85rem 1rem;
    font-size: clamp(1.2rem, 5.8vw, 1.55rem);
    border-radius: 10px;
  }

  .hero-cta-wrap {
    width: 100%;
  }

  .tap-to-call {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.65rem;
    row-gap: 0.25rem;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .tap-to-call .bar-sep {
    display: none;
  }

  /* Dispatch Widget Card */
  .hero-dispatch-widget {
    padding: 1.6rem 1.35rem;
    border-radius: 14px;
  }

  .widget-call-btn {
    font-size: 0.95rem;
    min-height: 48px;
    text-align: center;
    line-height: 1.35;
  }

  .zip-input-wrap input {
    font-size: 16px;
    min-height: 48px;
  }

  .btn-check-zip {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .default-status {
    align-items: flex-start;
    padding: 0.85rem;
  }

  /* Guarantee Strip */
  .guarantee-strip {
    padding: 1rem 0;
  }

  .guarantee-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .guarantee-item:last-child {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
  }

  /* Diagnostic Helper Section */
  .diagnostic-section {
    padding: 3rem 0 1.5rem 0;
  }

  .diag-container {
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
  }

  .diag-header h2 {
    font-size: clamp(1.5rem, 6vw, 1.8rem);
  }

  .diag-header p {
    margin-bottom: 1.5rem;
  }

  .diag-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .diag-tab {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
    padding: 0.85rem 0.65rem;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.25;
    min-height: 72px;
  }

  .diag-result-card {
    padding: 1.5rem;
    border-radius: 10px;
  }

  .diag-action-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #ffffff;
    padding: 1.1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
  }

  .diag-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-block: 0.2rem;
  }

  .diag-stat + .diag-stat {
    border-top: 1px solid var(--border-color);
    padding-top: 0.65rem;
  }

  .diag-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  .diag-stat strong {
    font-size: 0.95rem;
    text-align: right;
  }

  .btn-diag-call {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    border-radius: 8px;
    min-height: 48px;
  }

  /* Main Content Layout */
  .main-content-section {
    padding: 2.25rem 0;
  }

  .community-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.4rem;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
  }

  .article-body {
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
  }

  .section-heading {
    font-size: clamp(1.45rem, 5vw, 1.8rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .service-box {
    padding: 1.35rem;
    border-radius: 10px;
  }

  .feature-callout {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
    padding: 1.6rem 1.35rem;
    gap: 1.25rem;
    border-left: none;
    border-top: 5px solid var(--brand-red);
    border-radius: 10px;
  }

  .btn-callout {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    font-size: 1.1rem;
    border-radius: 8px;
  }

  .accordion-header {
    padding: 1rem 1.15rem;
    gap: 0.85rem;
    font-size: 0.95rem;
    align-items: center;
  }

  .accordion-header .icon {
    flex-shrink: 0;
  }

  .accordion-content {
    padding-inline: 1.15rem;
    font-size: 0.9rem;
  }

  .sidebar-phone-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    min-height: 48px;
    border-radius: 8px;
  }

  .sidebar-widget {
    padding: 1.35rem;
    border-radius: 10px;
  }

  /* Sticky Floating Call Bar */
  .floating-call-bar {
    padding: 0.65rem 0;
    border-top-width: 3px;
  }

  .floating-inner {
    padding-inline: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .floating-info {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #ffffff;
    min-width: 0;
    flex: 1;
  }

  .float-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-float-call {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 40px;
  }

  /* Footer Mobile */
  .site-footer {
    padding-top: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.25rem;
  }

  .footer-locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 1rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .container {
    padding-inline: 1rem;
  }

  .nav-buttons.active {
    left: -1rem;
    right: -1rem;
    padding: 1rem;
  }

  .hero-dispatch-widget {
    padding: 1.35rem 1rem;
  }

  .hero-grid.hero-split {
    gap: 1.5rem;
  }

  .zip-input-wrap {
    flex-direction: column;
    gap: 0.6rem;
  }

  .zip-input-wrap input,
  .btn-check-zip {
    width: 100%;
  }

  .diag-container,
  .article-body {
    padding: 1.35rem 1rem;
  }

  .floating-inner {
    padding-inline: 1rem;
  }

  .float-text {
    font-size: 0.82rem;
  }

  .btn-float-call {
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .trust-pill-tag {
    font-size: 0.76rem;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
  }

  .diag-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .diag-tab {
    padding: 0.7rem 0.5rem;
    font-size: 0.8rem;
    min-height: 64px;
  }
}

@media (max-width: 360px) {
  .container,
  .floating-inner {
    padding-inline: 0.75rem;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .guarantee-item:last-child {
    grid-column: auto;
    justify-content: flex-start;
  }

  .hero-banner {
    padding-block: 1.75rem 2.25rem;
  }

  .trust-pill-tag {
    gap: 0.35rem;
    font-size: 0.72rem;
  }

  .diag-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .diag-stat strong {
    text-align: left;
  }

  .floating-info {
    font-size: 0.78rem;
  }

  .btn-float-call {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }
}

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

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
