/* ==========================================================================
   HVAC Rosemead (hvacrosemead.com) — Precision Thermal & Airflow Diagnostics v13
   Modeled on Deep Hydro Navy, Acoustic Cyan & Thermal Signal Coral System
   ========================================================================== */

:root {
  /* Deep Hydro Navy (Structure, Hero, Dark Headers, Footer) */
  --navy-950: #06101E;
  --navy-900: #0B192C;
  --navy-800: #112A46;
  --navy-700: #1B3B5F;

  /* Acoustic Cyan (Primary Brand Accent, Badges, Borders, Links) */
  --cyan-600: #0077B6;
  --cyan-500: #0096C7;
  --cyan-400: #00B4D8;
  --cyan-100: #E0F4FA;
  --cyan-50:  #F0FAFD;

  /* Thermal Signal Coral (High-Conversion CTAs, Primary Action Buttons) */
  --coral-600: #D9530F;
  --coral-500: #F26419;
  --coral-400: #FF7F38;
  --coral-50:  #FFF4ED;

  /* Emerald (Live Dispatch / Verified Status) */
  --emerald-600: #059669;
  --emerald-50:  #ECFDF5;

  /* Neutral Slate Palette (Body copy, cards, borders, alternating backgrounds) */
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white:     #FFFFFF;

  /* Layout, Radii & Shadows */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.06);
  --shadow-md: 0 10px 28px -6px rgba(11, 25, 44, 0.10);
  --shadow-lg: 0 20px 44px -10px rgba(11, 25, 44, 0.16);
  --shadow-glow: 0 8px 24px rgba(242, 100, 25, 0.32);
  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography Stacks */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--slate-800);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cyan-600);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

a:hover {
  color: var(--coral-500);
}

h1, h2, h3, .section-h2 {
  font-family: var(--font-sans);
  color: var(--navy-900);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT BAR & STICKY HEADER WITH MEGA-MENU
   ========================================================================== */
.topbar {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(0, 180, 216, 0.2);
  color: var(--slate-200);
  font-size: 0.82rem;
  padding: 0.52rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  background: rgba(0, 180, 216, 0.12);
  color: var(--cyan-400);
  border: 1px solid rgba(0, 180, 216, 0.35);
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  flex-shrink: 0;
}

.topbar-finder {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyan-400);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.32);
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.topbar-finder:hover {
  background: rgba(0, 180, 216, 0.2);
  color: var(--white);
}

.topbar-phone {
  font-family: var(--font-mono);
  color: var(--white);
  font-weight: 800;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  white-space: nowrap;
}

.topbar-phone:hover {
  color: var(--coral-400);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

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

.brand-logo-img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.93rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item.open > .nav-link {
  color: var(--cyan-600);
  background: var(--cyan-50);
}

.nav-caret {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-item:hover .nav-caret,
.nav-item.open .nav-caret {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 840px;
  max-width: 92vw;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--cyan-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.55rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1200;
}

.mega-areas {
  width: 540px;
}

.nav-item:hover .mega-menu,
.nav-item.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

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

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

.mega-col-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-600);
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--slate-200);
}

.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mega-links a {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  text-decoration: none;
}

.mega-links a:hover {
  background: var(--cyan-50);
  color: var(--cyan-600);
  padding-left: 0.75rem;
}

.mega-footer {
  margin-top: 1.2rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--cyan-600);
}

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

/* ==========================================================================
   2. BUTTONS & BREADCRUMBS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.45rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral-500), var(--coral-600));
  color: var(--white) !important;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--coral-400), var(--coral-500));
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(242, 100, 25, 0.42);
}

.btn-secondary,
.btn-outline-light {
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px solid rgba(0, 180, 216, 0.55);
  color: var(--white) !important;
}

.btn-secondary:hover,
.btn-outline-light:hover {
  background: rgba(0, 180, 216, 0.18);
  border-color: var(--cyan-400);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: var(--white);
  border: 1.5px solid var(--slate-300);
  color: var(--navy-900) !important;
  box-shadow: var(--shadow-sm);
}

.btn-outline-navy:hover {
  border-color: var(--cyan-500);
  color: var(--cyan-600) !important;
  transform: translateY(-2px);
}

.btn-cyan-solid {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
  color: var(--white) !important;
}

.header-actions .btn {
  padding: 0.68rem 1.2rem;
  font-size: 0.88rem;
}

.mobile-menu-toggle {
  display: none;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.48rem;
  color: var(--navy-900);
  cursor: pointer;
}

/* Breadcrumbs */
.breadcrumb-bar {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(0, 180, 216, 0.18);
  padding: 0.55rem 0;
  font-size: 0.82rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--slate-300);
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb-list a {
  color: var(--slate-300);
  font-weight: 600;
}

.breadcrumb-list a:hover {
  color: var(--cyan-400);
}

.breadcrumb-current {
  color: var(--cyan-400);
  font-weight: 700;
}

/* ==========================================================================
   3. DEEP HYDRO-NAVY DIAGNOSTIC HERO & 3-STEP TRUST STRIP
   ========================================================================== */
.hero-section {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 180, 216, 0.18) 0%, transparent 48%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  padding: clamp(3rem, 5vw, 4.25rem) 0;
  border-bottom: 4px solid var(--cyan-500);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  background: rgba(0, 180, 216, 0.15);
  color: var(--cyan-400);
  border: 1px solid rgba(0, 180, 216, 0.35);
  padding: 0.28rem 0.82rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero-h1 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.15rem;
}

/* Answer-First Diagnostic Intro Box */
.hero-intro {
  background: rgba(17, 42, 70, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--cyan-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.15rem 1.35rem;
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--slate-100);
  margin-bottom: 1.35rem;
}

.hero-intro a {
  color: var(--cyan-400);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-intro a:hover {
  color: var(--coral-400);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.35rem;
}

/* 2x2 Trust Feature Pills Below Hero CTAs */
.hero-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 0;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--slate-100);
}

.hero-check-icon {
  width: 17px;
  height: 17px;
  color: var(--cyan-400);
  flex-shrink: 0;
}

/* Right Column Hero Media Card */
.hero-media-card {
  position: relative;
  background: var(--navy-900);
  border: 2px solid rgba(0, 180, 216, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.hero-media-card > picture img,
.hero-media-card > img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 0;
}

/* White Brand + Phone Strip (Used in Hero Card & Service/Location Cards) */
.card-brand-strip {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.card-brand-logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

.card-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--navy-900) !important;
  padding-left: 0.75rem;
  border-left: 1.5px solid var(--slate-300);
  white-space: nowrap;
  text-decoration: none !important;
}

.card-call-btn:hover {
  color: var(--coral-500) !important;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--navy-950);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-200);
}

.hero-telemetry-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 180, 216, 0.14);
  color: var(--cyan-400);
  border: 1px solid rgba(0, 180, 216, 0.32);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

/* 3-Step Horizontal Trust Strip Beneath Hero */
.metrics-strip-wrap {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(0, 180, 216, 0.22);
  padding: 1.25rem 0;
}

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

.metric-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
}

.metric-num-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--cyan-400);
  background: rgba(0, 180, 216, 0.14);
  border: 1px solid rgba(0, 180, 216, 0.35);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.metric-val {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.22rem;
}

.metric-lbl {
  display: block;
  font-size: 0.83rem;
  color: var(--slate-300);
  line-height: 1.48;
}

/* ==========================================================================
   4. CONTENT SECTIONS, EYEBROW PILLS, FEATURE LISTS & H3 CARDS
   ========================================================================== */
.content-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--slate-200);
  background-color: var(--white);
}

.content-section.alt-bg {
  background-color: var(--slate-50);
}

.section-header {
  margin-bottom: 1.25rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-600);
  background: var(--cyan-50);
  border: 1px solid rgba(0, 119, 182, 0.2);
  padding: 0.25rem 0.72rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.section-h2,
.content-section h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.content-section h3 {
  font-size: 1.22rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.content-section p {
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--slate-700);
  margin-bottom: 1.1rem;
  max-width: 82ch;
}

.content-section p a:not(.btn),
.content-list li a:not(.btn),
.signs-list li a:not(.btn),
.step-timeline li a:not(.btn),
.faq-panel a:not(.btn),
.eeat-text a:not(.btn) {
  color: var(--cyan-600);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(0, 119, 182, 0.35);
  text-underline-offset: 3px;
}

.content-section p a:not(.btn):hover,
.content-list li a:not(.btn):hover,
.signs-list li a:not(.btn):hover {
  color: var(--coral-500);
}

/* Feature Lists & Signs Lists — Clean White Cards with Cyan Checkmarks */
.content-list,
.signs-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1rem;
  margin: 1.35rem 0;
}

.content-list li,
.signs-list li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem 1.1rem 3rem;
  box-shadow: var(--shadow-sm);
  color: var(--slate-700);
  font-size: 0.96rem;
  line-height: 1.65;
}

.content-list li strong,
.signs-list li strong {
  color: var(--navy-900);
  font-weight: 800;
}

.content-list li::before,
.signs-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-100);
  color: var(--cyan-600);
  font-weight: 900;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Numbered Step Timeline */
.step-timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  counter-reset: step-counter;
}

.step-timeline li {
  counter-increment: step-counter;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--cyan-500);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
  color: var(--slate-700);
  font-size: 0.95rem;
}

.step-timeline li::before {
  content: "0" counter(step-counter);
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--cyan-50);
  border: 1px solid rgba(0, 119, 182, 0.25);
  color: var(--cyan-600);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.step-timeline li strong {
  display: block;
  color: var(--navy-900);
  font-size: 1.04rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

/* H3 Feature Cards Grid (.h3-feature-grid) */
.h3-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.35rem;
  margin-top: 1.35rem;
}

.h3-feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--cyan-500);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.h3-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.h3-feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  color: var(--navy-900);
}

.h3-feature-card p {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 0.75rem;
}

.h3-feature-card p:last-child {
  margin-bottom: 0;
}

.h3-feature-card .content-list,
.h3-feature-card .signs-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.5rem 0 0;
}

.h3-feature-card .content-list li,
.h3-feature-card .signs-list li {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.2rem 0 0.2rem 2rem;
  font-size: 0.93rem;
}

.h3-feature-card .content-list li::before,
.h3-feature-card .signs-list li::before {
  left: 0;
  top: 0.25rem;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
}

/* ==========================================================================
   5. INTERACTIVE RATE EXPLORER & PRICING DATA TABLES (.data-table)
   ========================================================================== */
.est-widget {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--cyan-500);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.35rem 0 1.75rem;
  box-shadow: var(--shadow-sm);
}

.est-top {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--slate-200);
}

.est-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-600);
  background: var(--cyan-50);
  border: 1px solid rgba(0, 119, 182, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.est-headline {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900) !important;
  margin-bottom: 0 !important;
}

.est-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.est-tab {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.est-tab:hover {
  background: var(--cyan-50);
  color: var(--cyan-600);
  border-color: var(--cyan-400);
}

.est-tab.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.est-output {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 1.35rem;
  align-items: center;
  padding-top: 1.2rem;
}

.est-output > div:first-child {
  background: var(--cyan-50);
  border: 1px solid rgba(0, 119, 182, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.05rem;
}

.est-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  font-weight: 800;
}

.est-val {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.15;
}

.est-subval {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy-900);
}

.est-details p {
  color: var(--slate-700) !important;
  font-size: 0.9rem;
  margin-bottom: 0.2rem !important;
}

.est-note {
  font-size: 0.78rem;
  color: var(--cyan-600);
  font-weight: 700;
}

/* Semantic Data Tables (.data-table) */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.data-table thead {
  background: var(--navy-900);
  color: var(--white);
}

.data-table th {
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--cyan-500);
}

.data-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.data-table td:first-child {
  font-weight: 800;
  color: var(--navy-900);
}

.data-table tbody tr:nth-child(even) {
  background: var(--slate-50);
}

.data-table tbody tr:hover {
  background: var(--cyan-50);
}

/* ==========================================================================
   6. SERVICE DIRECTORY CARDS (.svc-card) & LOCATION CARDS (.loc-card)
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.35rem 0 0.5rem;
}

.filter-pill {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover {
  background: var(--cyan-50);
  border-color: var(--cyan-400);
  color: var(--cyan-600);
}

.filter-pill.active,
.filter-pill.active:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.svc-card,
.loc-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.loc-card {
  border-bottom: 4px solid var(--navy-800);
}

.svc-card.is-hidden {
  display: none;
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan-400);
}

.loc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan-400);
  border-bottom-color: var(--coral-500);
}

.svc-card-thumb,
.loc-card-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy-900);
}

.svc-card-thumb img,
.loc-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.svc-card:hover .svc-card-thumb img,
.loc-card:hover .loc-card-thumb img {
  transform: scale(1.05);
}

.svc-card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.svc-num-badge {
  font-family: var(--font-mono);
  background: var(--navy-900);
  color: var(--cyan-400);
  border: 1px solid rgba(0, 180, 216, 0.45);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.22rem 0.52rem;
  border-radius: 6px;
}

.svc-cat-badge {
  font-family: var(--font-mono);
  background: rgba(11, 25, 44, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
}

.loc-region-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-family: var(--font-mono);
  background: rgba(11, 25, 44, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
}

.svc-card-body,
.loc-card-body {
  padding: 1.35rem 1.45rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.svc-card-body h3,
.loc-card-body h3 {
  margin: 0 0 0.55rem 0;
  font-size: 1.2rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.loc-pin-icon {
  width: 18px;
  height: 18px;
  color: var(--coral-500);
  flex-shrink: 0;
}

.svc-card-body h3 a,
.loc-card-body h3 a {
  color: var(--navy-900);
  font-weight: 800;
  text-decoration: none;
}

.svc-card-body h3 a:hover,
.loc-card-body h3 a:hover {
  color: var(--cyan-600);
}

.loc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.loc-tag {
  font-family: var(--font-mono);
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.16rem 0.52rem;
  border-radius: 4px;
}

.svc-card-desc,
.loc-card-desc {
  font-size: 0.94rem;
  color: var(--slate-600);
  margin-bottom: 1.15rem;
  flex-grow: 1;
  line-height: 1.62;
}

.card-actions {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--slate-200);
}

.svc-card-link,
.loc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--cyan-600);
  text-decoration: none;
}

.svc-card-link:hover,
.loc-card-link:hover {
  color: var(--coral-500);
}

/* ==========================================================================
   7. JOB SHOWCASE, FAQ ACCORDION, CTA BANNER, E-E-A-T CARD & MAP
   ========================================================================== */
.job-showcase-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.job-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.job-photo-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.job-photo-box img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.job-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-family: var(--font-mono);
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
}

.job-badge-before { background: #B91C1C; }
.job-badge-after { background: var(--emerald-600); }

.job-caption {
  padding: 0.8rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--white);
  border-top: 1px solid var(--slate-200);
}

.in-content-figure {
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.in-content-figure img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.in-content-figure figcaption {
  padding: 0.85rem 1.15rem;
  font-size: 0.86rem;
  color: var(--slate-600);
  background: var(--slate-50);
  font-weight: 600;
}

.review-verify-card {
  background: var(--cyan-50);
  border: 1px solid rgba(0, 119, 182, 0.22);
  border-left: 4px solid var(--cyan-600);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.45rem;
  margin: 1.4rem 0;
}

.review-verify-card p:last-child {
  margin-bottom: 0;
}

/* Single-Column FAQ Accordion (.faq-list) */
.faq-list {
  max-width: 920px;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin: 0;
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  cursor: pointer;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cyan-50);
  color: var(--cyan-600);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--coral-500);
  color: var(--white);
}

.faq-panel {
  padding: 0.9rem 1.35rem 1.25rem;
  color: var(--slate-700);
  font-size: 0.97rem;
  line-height: 1.68;
  border-top: 1px solid var(--slate-100);
}

.faq-panel p:last-child {
  margin-bottom: 0;
}

/* Bottom CTA Banner (.cta-banner) */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border-top: 4px solid var(--coral-500);
  color: var(--white);
  padding: 4rem 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

.cta-banner-copy {
  max-width: 65ch;
}

.cta-eyebrow-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral-400);
  background: rgba(242, 100, 25, 0.14);
  border: 1px solid rgba(242, 100, 25, 0.35);
  padding: 0.24rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.cta-banner-copy h2 {
  color: var(--white);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-banner-copy p {
  color: var(--slate-200);
  font-size: 1rem;
  line-height: 1.68;
  margin-bottom: 0;
}

.cta-banner-copy a {
  color: var(--cyan-400);
  font-weight: 700;
  text-decoration: underline;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 240px;
}

/* E-E-A-T Technical Review Card (.eeat-card) */
.eeat-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 5px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.eeat-meta {
  max-width: 72ch;
}

.eeat-text p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--slate-700);
  line-height: 1.65;
}

.eeat-text p strong {
  color: var(--navy-900);
}

/* Map Section */
.map-section {
  padding: 3.5rem 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}

.map-frame-wrapper {
  margin-top: 1.35rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  height: 380px;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   8. CONTACT FORM (/contact/ ONLY) & GLOBAL 4-COLUMN FOOTER
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  margin-top: 1.75rem;
  align-items: start;
}

.contact-form-card,
.contact-nap-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
}

.contact-nap-card {
  background: var(--navy-900);
  color: var(--white);
  border-top: 4px solid var(--cyan-500);
}

.contact-nap-card h3,
.contact-nap-card p {
  color: var(--slate-200);
}

.nap-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nap-item:last-child {
  border-bottom: none;
}

.nap-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan-400);
  margin-bottom: 0.2rem;
}

.nap-item a {
  color: var(--coral-400);
  font-weight: 800;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
}

.captcha-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.65rem 0 1.1rem;
}

.captcha-refresh {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}

.form-alert.error {
  display: block;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.form-alert.success {
  display: block;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

/* Global 4-Column Dark Hydro-Navy Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 4rem 0 2.5rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2.25rem;
}

.footer-logo-link {
  display: inline-flex;
  background: var(--white);
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
}

.footer-col-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: var(--slate-300);
  font-size: 0.88rem;
  text-decoration: none;
}

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

.footer-nap-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin-top: 1.1rem;
  font-size: 0.85rem;
}

.footer-nap-box p {
  margin-bottom: 0.35rem;
  color: var(--slate-300);
}

.footer-nap-box p:last-child {
  margin-bottom: 0;
}

.footer-phone-highlight {
  color: var(--coral-400) !important;
  font-weight: 800;
}

.footer-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-stack-btn {
  width: 100%;
  font-size: 0.84rem;
  padding: 0.72rem 1rem;
}

.footer-disclosure-box {
  border-left: 3px solid var(--coral-500);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 0.95rem;
  margin-top: 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.78rem;
  color: var(--slate-300);
  line-height: 1.5;
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.footer-back-top {
  color: var(--cyan-400);
  font-weight: 800;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--navy-950);
  border-top: 2px solid var(--cyan-500);
  box-shadow: 0 -8px 24px rgba(6, 16, 30, 0.35);
  padding: 0.55rem 0.75rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.mobile-sticky-bar .btn {
  padding: 0.72rem 0.55rem;
  font-size: 0.84rem;
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (1120px, 1024px, 820px, 640px)
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-link {
    padding: 0.45rem 0.6rem;
    font-size: 0.86rem;
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .est-output {
    grid-template-columns: 1fr 1fr;
  }
  .est-details,
  .est-cta {
    grid-column: 1 / -1;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 70px;
  }
  .topbar-left > span:not(.topbar-badge),
  .topbar-finder {
    display: none;
  }
  .mobile-sticky-bar {
    display: grid;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    max-height: 78vh;
    overflow-y: auto;
  }
  .main-nav.active {
    display: flex;
  }
  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: 1px solid var(--slate-200);
    border-top: 2px solid var(--cyan-500);
    padding: 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-item.open .mega-menu {
    display: block;
    transform: none;
  }
  .mega-grid,
  .mega-areas .mega-grid,
  .job-showcase-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  .header-inner {
    min-height: 64px;
    gap: 0.45rem;
  }
  .brand-logo-img {
    height: 34px;
    max-width: 165px;
    width: auto;
    object-fit: contain;
  }
  .header-actions .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }
  .cards-grid,
  .hero-bullets,
  .est-output {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 2.25rem 0 2.75rem;
  }
  .hero-ctas .btn,
  .cta-banner-actions,
  .cta-banner-actions .btn {
    width: 100%;
  }
  .card-brand-logo {
    height: 22px;
    max-width: 125px;
  }
  .card-call-btn {
    font-size: 0.8rem;
    padding-left: 0.5rem;
  }
  .map-frame-wrapper {
    height: 300px;
  }
}

/* Smooth Scroll Reveal */
.reveal-ready {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}
