/* ═══════════════════════════════════════════════════════════════
   LUNAR INSPECTIONS — SITE CORE (site-foundation)
   Source: service-page-templates/assets/css/service-page-core.css
         + variation-01-authority.css (approved Authority overlay)
   Governs: tokens, reset, buttons, promo bar, header/mega/mobile nav,
   breadcrumb, sections, hero, forms, stats, cards, FAQ, footer, sticky CTA.
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg-deep: #000000;
  --bg-dark: #050608;
  --bg-mid: #0a0e1a;
  --bg-elev: #0b0f1c;
  --bg-card: rgba(22, 28, 48, 0.55);
  --bg-card-solid: #0b0e18;
  --bg-card-hover: rgba(30, 38, 60, 0.72);
  --bg-surface: rgba(18, 22, 38, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-white: #ffffff;

  --text-primary: #ffffff;
  --text-secondary: #c7cad6;
  --text-tertiary: #9ba0b3;
  --text-muted: #787ea1; /* ≥4.8:1 on card/deep backgrounds (WCAG AA small text) */
  --text-dark: #0b0e18;
  --text-dark-secondary: #4a5068;

  --accent: #4285f4;
  --accent-light: #8ab4f8;
  --accent-glow: rgba(66, 133, 244, 0.32);
  --accent-electric: #1a73e8;
  --accent-cyan: #22d3ee;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-card: rgba(255, 255, 255, 0.1);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(66, 133, 244, 0.18);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-med: 0.35s ease;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 76px;
  --maxw: 1240px;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 56px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-primary);
  font-size: 16px; line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 10000;
  background: var(--accent); color: #fff; padding: 12px 24px;
  font-size: 14px; font-weight: 600; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 0; outline: 2px solid #fff; outline-offset: 2px; }

:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-reveal].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ─── SCROLL PROGRESS ────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
  z-index: 9999; transition: width 0.1s linear;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-primary); font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 28px; border-radius: var(--radius-pill); cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap; text-align: center;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-electric) 100%);
  box-shadow: 0 8px 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-outline {
  color: var(--text-primary); background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.32); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ─── TOP / PROMO BAR ────────────────────────────────────────── */
.promo-bar {
  background: linear-gradient(90deg, #06080f, #0a1020 50%, #06080f);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12.5px; letter-spacing: 0.03em;
  text-align: center; padding: 8px 16px;
  position: relative; z-index: 1001;
}
.promo-bar .accent { color: var(--accent-light); font-weight: 600; }
.promo-bar a { color: var(--text-primary); font-weight: 600; }
.promo-bar a:hover { color: var(--accent-light); }
.promo-bar .sep { opacity: 0.4; margin: 0 6px; }
@media (max-width: 720px) { .promo-bar .hide-sm { display: none; } }

/* ─── HEADER / NAV ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-height);
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-med), box-shadow var(--transition-med);
}
.site-header.scrolled { background: rgba(3, 4, 7, 0.9); box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.header-inner {
  max-width: 1380px; margin: 0 auto; padding: 0 28px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.header-logo { display: flex; align-items: center; }
.header-logo img { height: clamp(28px, 6vw, 44px); width: auto; }

.nav-menu { display: none; align-items: center; gap: 2px; list-style: none; }
@media (min-width: 1025px) { .nav-menu { display: flex; } }
.nav-item { position: static; }
.nav-trigger, .nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--text-secondary); border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}
.nav-trigger:hover, .nav-link:hover, .nav-item.open .nav-trigger {
  color: var(--text-primary); background: rgba(255,255,255,0.05);
}
.nav-item.open .nav-trigger { color: var(--accent-light); }
.chevron { width: 11px; height: 11px; opacity: 0.6; transition: transform 0.3s var(--ease-out); }
.nav-item.open .chevron { transform: rotate(180deg); opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: none; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--text-primary);
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-light);
}
.header-phone i { color: var(--accent-light); font-size: 12px; }
.header-phone:hover { background: rgba(255,255,255,0.08); }
@media (min-width: 560px) { .header-phone { display: inline-flex; } }
.header-cta { display: none; padding: 11px 22px; font-size: 13.5px; }
@media (min-width: 380px) { .header-cta { display: inline-flex; } }

.nav-burger {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px;
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.05);
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; }
@media (min-width: 1025px) { .nav-burger { display: none; } }

/* ─── MEGA MENU ──────────────────────────────────────────────── */
#megaOverlay { display: none; position: fixed; inset: var(--header-height) 0 0 0; z-index: 990; background: rgba(0,0,0,0.4); }
#megaOverlay.active { display: block; }

.mega {
  position: absolute; top: var(--header-height); left: 0; right: 0; z-index: 995;
  background: rgba(8, 11, 20, 0.96);
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  max-width: 1380px; margin: 0 auto; padding: 34px 40px 38px;
  display: grid; gap: 0 44px;
}
.mega-inner.cols-4 { grid-template-columns: 250px 1fr 1fr 1fr; }
.mega-inner.cols-3 { grid-template-columns: 250px 1fr 1fr; }

.mega-intro { padding-right: 30px; border-right: 1px solid var(--border-subtle); }
.mega-intro .label {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  color: var(--text-primary); line-height: 1.12; margin-bottom: 12px; letter-spacing: -0.02em;
}
.mega-intro p { font-size: 12.5px; color: var(--text-tertiary); line-height: 1.65; margin-bottom: 18px; }
.mega-intro .view-all {
  display: flex; width: fit-content; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-light);
}
.mega-intro .view-all + .view-all { margin-top: 10px; }
.mega-intro .view-all i { transition: transform var(--transition-fast); }
.mega-intro .view-all:hover i { transform: translateX(4px); }

.mega-col + .mega-col-stack { margin-top: 18px; }
.mega-col-title {
  font-size: 10px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(66,133,244,0.22);
}
.mega-col ul li { margin-bottom: 1px; }
.mega-col ul li a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  font-size: 13px; color: var(--text-secondary); border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.mega-col ul li a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); padding-left: 14px; }
.mega-col .item-icon {
  width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border-radius: 7px; font-size: 12px; color: var(--accent-light);
}
.mega-col ul li a:hover .item-icon { background: var(--accent-glow); color: #fff; }
.mega-badge { font-size: 8.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; margin-left: auto; }
.mega-badge.new { background: rgba(66,133,244,0.18); color: var(--accent-light); }
.mega-badge.hot { background: rgba(34,211,238,0.16); color: var(--accent-cyan); }
.mega-badge.soon { background: rgba(120,126,161,0.16); color: var(--text-muted); }

.mega-feature {
  background: linear-gradient(135deg, rgba(66,133,244,0.14), rgba(66,133,244,0.04));
  border: 1px solid rgba(66,133,244,0.22); border-radius: var(--radius-md); padding: 20px;
}
.mega-feature + .mega-feature { margin-top: 14px; }
.mega-feature .fc-label { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); font-weight: 700; margin-bottom: 8px; }
.mega-feature .fc-title { font-family: var(--font-display); font-size: 17px; color: var(--text-primary); margin-bottom: 8px; line-height: 1.25; }
.mega-feature p { font-size: 12px; color: var(--text-tertiary); line-height: 1.55; margin-bottom: 12px; }
.mega-feature a { font-size: 11.5px; font-weight: 700; color: var(--accent-light); letter-spacing: 0.03em; }

/* ─── MOBILE NAV ─────────────────────────────────────────────── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 2000; background: var(--bg-dark);
  transform: translateX(100%); transition: transform 0.35s var(--ease-out);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border-subtle); }
.mobile-nav-head img { height: 34px; }
.mobile-nav-close { font-size: 26px; line-height: 1; color: var(--text-secondary); padding: 6px 10px; }
.mobile-nav-body { padding: 14px 22px 30px; }
.m-acc { border-bottom: 1px solid var(--border-subtle); }
.m-acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-size: 16px; font-weight: 600; color: var(--text-primary); font-family: var(--font-display); }
.m-acc-trigger::after { content: '+'; font-size: 22px; color: var(--accent-light); font-weight: 400; }
.m-acc-trigger[aria-expanded="true"]::after { content: '−'; }
.m-acc-panel { padding: 0 2px 14px; }
.m-acc-panel a { display: block; padding: 9px 12px; font-size: 14px; color: var(--text-secondary); border-radius: var(--radius-sm); }
.m-acc-panel a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.m-direct { display: block; padding: 16px 2px; font-size: 16px; font-weight: 600; font-family: var(--font-display); color: var(--text-primary); border-bottom: 1px solid var(--border-subtle); }
.mobile-cta { margin-top: 22px; display: grid; gap: 10px; }

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb { padding: 16px 0 4px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--text-muted); }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--text-muted); opacity: 0.5; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb [aria-current="page"] { color: var(--text-secondary); }

/* ─── SECTION PRIMITIVES ─────────────────────────────────────── */
.section { padding: clamp(64px, 8vw, 108px) 0; position: relative; }
.section--deep { background: var(--bg-deep); }
.section--mid { background: linear-gradient(180deg, #05070e, #0a0e1a); }
.section--elev { background: radial-gradient(120% 100% at 50% 0%, rgba(66,133,244,0.07), transparent 60%), var(--bg-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--accent); }
.section-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); color: var(--text-primary); }
.section-head p { font-size: 17px; color: var(--text-tertiary); margin-top: 18px; line-height: 1.65; }
.accent-text { color: var(--accent-light); }
.italic-accent { font-style: italic; font-weight: 400; color: var(--accent-light); }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); background: var(--bg-deep); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 8%, rgba(66,133,244,0.18), transparent 60%),
    radial-gradient(50% 50% at 92% 90%, rgba(34,211,238,0.12), transparent 60%),
    linear-gradient(180deg, #02030a, #060912 60%, #02030a);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(110% 80% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(110% 80% at 50% 0%, #000 35%, transparent 78%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px;
  border: 1px solid rgba(66,133,244,0.4); border-radius: var(--radius-pill);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1.03; color: #fff; }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent-light), var(--accent-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-secondary); max-width: 560px; margin: 24px 0 0; line-height: 1.6; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 34px; }
.hero-price { display: flex; align-items: baseline; gap: 8px; }
.hero-price .amt { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: #fff; }
.hero-price .note { font-size: 12.5px; color: var(--text-muted); line-height: 1.3; }
.hero-trust {
  display: flex; gap: 14px 26px; flex-wrap: wrap; align-items: center;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border-subtle);
  font-size: 13px; color: var(--text-tertiary);
}
.hero-trust .stars { color: #ffc043; letter-spacing: 0.08em; }
.hero-trust .ti { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ti i { color: var(--accent-light); }

/* Booking form (glass) */
.book-card {
  position: relative;
  background: var(--bg-card); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--border-card); border-radius: var(--radius-xl);
  padding: 30px; box-shadow: var(--shadow-glass), var(--shadow-glow);
}
.book-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 40%);
}
.book-card .fc-eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); font-weight: 700; }
.book-card h2 { font-size: 24px; color: #fff; margin: 8px 0 4px; }
.book-card .fc-sub { font-size: 13.5px; color: var(--text-tertiary); margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label, .field-label {
  display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-tertiary); font-weight: 600; margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 14.5px; color: #fff;
  background: rgba(0,0,0,0.35); border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%238ab4f8' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-foot { margin-top: 6px; }
.form-micro { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.form-micro i { color: var(--accent-light); }
.form-success { text-align: center; padding: 14px 6px; }
.form-success .check { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, var(--accent), var(--accent-electric)); color: #fff; box-shadow: var(--shadow-glow); }
.form-success h3 { font-size: 22px; color: #fff; margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--text-tertiary); margin-bottom: 18px; }
.form-success a.call { color: var(--accent-light); font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ─── TRUST / STAT STRIP ─────────────────────────────────────── */
.stat-strip { border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); background: var(--bg-dark); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: clamp(28px, 4vw, 44px) 20px; text-align: center; position: relative;
}
.stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 22%; height: 56%; width: 1px; background: var(--border-subtle); }
@media (max-width: 760px) { .stat:nth-child(2)::after { display: none; } }
.stat .num { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); font-weight: 600; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.stat .num .accent { background: linear-gradient(120deg, var(--accent-light), var(--accent-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); margin-top: 10px; }

/* badge row */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: center; padding: 30px 0 0; }
.badge-row img { height: 56px; width: auto; opacity: 0.92; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)); }
.badge-row .badge-pill { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-secondary); padding: 10px 18px; border: 1px solid var(--border-light); border-radius: var(--radius-pill); background: rgba(255,255,255,0.03); }
.badge-row .badge-pill i { color: var(--accent-light); }

/* ─── SPLIT (savings / value) ────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split.reverse > :first-child { order: 0; } }
.prose p { font-size: 16.5px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.prose p:last-child { margin-bottom: 0; }
.prose .lead { font-size: 18px; color: var(--text-primary); }
.split h2 { font-size: clamp(28px, 3.6vw, 44px); color: #fff; margin-bottom: 20px; }

.metric-card {
  background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  padding: 38px 34px; text-align: center; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
}
.metric-card .cap { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.metric-card .big { font-family: var(--font-display); font-size: clamp(48px, 7vw, 76px); font-weight: 600; line-height: 1; margin: 14px 0 6px; letter-spacing: -0.02em; background: linear-gradient(120deg, var(--accent-light), var(--accent-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-card .sub { font-size: 14px; color: var(--text-tertiary); margin-bottom: 26px; }
.metric-card .mini-row { display: flex; justify-content: space-around; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.metric-card .mini .v { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: #fff; }
.metric-card .mini .k { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── WHY LUNAR (cards) ──────────────────────────────────────── */
.card-grid { display: grid; gap: 18px; }
.card-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  padding: 28px 26px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(66,133,244,0.4); background: var(--bg-card-hover); }
.feature-card .ic { width: 50px; height: 50px; border-radius: var(--radius-md); display: grid; place-items: center; font-size: 21px; margin-bottom: 18px; background: linear-gradient(135deg, rgba(66,133,244,0.2), rgba(34,211,238,0.1)); color: var(--accent-light); border: 1px solid rgba(66,133,244,0.25); }
.feature-card h3 { font-size: 19px; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--text-tertiary); line-height: 1.62; }

/* ─── WHAT WE INSPECT (7 features) ───────────────────────────── */
/* Flex-wrap so cells in a short final row stretch to fill it — no orphan
   cell beside empty tracks at any viewport width or cell count. */
.inspect-grid { display: flex; flex-wrap: wrap; gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; }
.inspect-grid > * { flex: 1 1 260px; min-width: min(260px, 100%); }
.inspect-cell { background: var(--bg-card-solid); padding: 26px 24px; transition: background var(--transition-fast); }
.inspect-cell:hover { background: #10162a; }
.inspect-cell .top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.inspect-cell .n { font-family: var(--font-display); font-size: 14px; color: var(--accent-light); font-variant-numeric: tabular-nums; }
.inspect-cell h3 { font-size: 17px; color: #fff; }
.inspect-cell p { font-size: 13.5px; color: var(--text-tertiary); line-height: 1.55; }
.inspect-cell--cta { background: linear-gradient(135deg, var(--accent), var(--accent-electric)); display: flex; flex-direction: column; justify-content: center; }
.inspect-cell--cta .h { font-family: var(--font-display); font-size: 18px; color: #fff; margin-bottom: 8px; }
.inspect-cell--cta p { font-size: 13.5px; color: rgba(255,255,255,0.85); }

/* ─── WHO IT'S FOR ───────────────────────────────────────────── */
.audience-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 26px 24px; transition: transform var(--transition-med), border-color var(--transition-med); }
.audience-card:hover { transform: translateY(-4px); border-color: rgba(66,133,244,0.35); }
.audience-card .ic { font-size: 24px; color: var(--accent-light); margin-bottom: 14px; }
.audience-card h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.audience-card p { font-size: 14px; color: var(--text-tertiary); line-height: 1.6; }

/* ─── INSPECTOR ──────────────────────────────────────────────── */
.inspector-img { position: relative; }
.inspector-img .main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border-card); }
/* Fill the column: intrinsic width/height on the <img> only sets the
   aspect ratio; width:100% lets the portrait scale up to the container. */
.inspector-img .main img { width: 100%; height: auto; }
.inspector-img .badge-float { position: absolute; right: -14px; bottom: -14px; width: 100px; height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); border-radius: 12px; }
.inspector-sign { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; }
.inspector-sign img { height: 46px; width: auto; opacity: 0.9; filter: invert(1) brightness(1.6); }
.inspector-sign .role { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }
.cred-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.cred-list .cred { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); padding: 8px 14px; border: 1px solid var(--border-light); border-radius: var(--radius-pill); background: rgba(255,255,255,0.03); }
.cred-list .cred i { color: var(--accent-light); }

/* ─── PROCESS ────────────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 860px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }
.step { padding-top: 22px; border-top: 2px solid var(--accent); position: relative; }
.step .n { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; margin-bottom: 12px; background: linear-gradient(120deg, var(--accent-light), var(--accent-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-tertiary); line-height: 1.6; }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } }
.review { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.review .stars { color: #ffc043; letter-spacing: 0.1em; margin-bottom: 16px; }
.review p { font-size: 17px; color: var(--text-primary); line-height: 1.55; margin-bottom: 18px; font-weight: 400; }
.review .who { font-size: 13.5px; color: var(--text-tertiary); }
.review-credrow { display: flex; gap: 12px 30px; flex-wrap: wrap; justify-content: center; margin-top: 36px; font-size: 13px; color: var(--text-muted); }
.review-credrow span { display: inline-flex; align-items: center; gap: 8px; }
.review-credrow i { color: var(--accent-light); }

/* ─── SERVICE AREA ───────────────────────────────────────────── */
.area-wrap { text-align: center; max-width: 920px; margin: 0 auto; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.area-chips a { font-size: 14px; color: var(--text-secondary); padding: 9px 18px; border: 1px solid var(--border-light); border-radius: var(--radius-pill); background: rgba(255,255,255,0.03); transition: all 0.15s; }
.area-chips a:hover { color: #fff; border-color: var(--accent); background: var(--accent-glow); }
.zip-row { margin-top: 22px; font-size: 13px; color: var(--text-muted); }
.zip-row b { color: var(--text-secondary); }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 22px 4px; font-family: var(--font-display); font-weight: 500; font-size: clamp(16px, 1.6vw, 19px); color: #fff; }
.faq-trigger .pm { flex: 0 0 auto; color: var(--accent-light); font-size: 24px; font-weight: 300; transition: transform var(--transition-fast); }
.faq-trigger[aria-expanded="true"] .pm { transform: rotate(45deg); }
.faq-panel { padding: 0 4px 24px; }
.faq-panel p { font-size: 15.5px; color: var(--text-tertiary); line-height: 1.7; }
.faq-panel a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 2px; }

/* ─── FINAL CTA ──────────────────────────────────────────────── */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta .container { position: relative; z-index: 1; }
.final-cta .glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 80% at 50% 120%, rgba(66,133,244,0.25), transparent 60%); }
.final-cta h2 { font-size: clamp(34px, 5vw, 58px); color: #fff; margin-bottom: 18px; }
.final-cta p { font-size: 18px; color: var(--text-secondary); max-width: 620px; margin: 0 auto 34px; }
.final-cta .cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ─── FOOTER CTA STRIP ───────────────────────────────────────── */
.footer-cta { background: linear-gradient(135deg, #081226, #0a1730); border-top: 1px solid var(--border-subtle); padding: clamp(48px, 6vw, 72px) 0; }
.footer-cta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .footer-cta-grid { grid-template-columns: 1fr; } }
.footer-cta-grid h2 { font-size: clamp(26px, 3.4vw, 38px); color: #fff; }
.footer-cta-grid p { font-size: 16px; color: var(--text-secondary); margin-top: 14px; line-height: 1.6; }

/* ─── FOOTER (from output/index.html, restyled navy) ─────────── */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border-subtle); }
.footer-main { padding: clamp(52px, 6vw, 76px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius-sm); background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle); color: var(--text-tertiary); transition: all 0.15s; }
.footer-social a:hover { background: var(--accent-glow); border-color: var(--accent); color: #fff; }
.footer-col h2, .footer-col h4 { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(66,133,244,0.18); font-family: var(--font-primary); font-weight: 700; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--text-secondary); }
.contact-line { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.contact-line i { color: var(--accent-light); margin-top: 3px; font-size: 12px; }
.contact-line a:hover { color: var(--text-secondary); }

.footer-trust-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 28px 0; margin-top: 48px; border-top: 1px solid var(--border-subtle); }
.footer-trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-tertiary); }
.footer-trust-item .ti-icon { color: var(--accent-light); }
.footer-trust-sep { width: 1px; height: 16px; background: var(--border-subtle); }
@media (max-width: 600px) { .footer-trust-sep { display: none; } }

.footer-disclaimer { padding: 26px 0; border-top: 1px solid var(--border-subtle); }
.footer-disclaimer p { font-size: 11.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 10px; }
.footer-disclaimer strong { color: var(--text-tertiary); }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0 30px; border-top: 1px solid var(--border-subtle); }
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent-light); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: var(--text-muted); }
.footer-legal a:hover { color: var(--text-secondary); }

/* ─── FLOATING CALL FAB + STICKY MOBILE CTA ──────────────────── */
.fab-call {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-electric)); color: #fff; font-size: 20px;
  box-shadow: 0 8px 28px var(--accent-glow);
}
@media (max-width: 720px) { .fab-call { display: none; } }
.fab-call .pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: fabPulse 2.4s ease-out infinite; }
@keyframes fabPulse { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border-subtle); border-top: 1px solid var(--border-light);
  transform: translateY(100%); transition: transform 0.3s var(--ease-out);
}
.sticky-cta.visible { transform: translateY(0); }
@media (max-width: 720px) { .sticky-cta { display: grid; } }
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px; font-weight: 600; font-size: 15px; }
.sticky-cta .call { background: var(--bg-card-solid); color: #fff; }
.sticky-cta .book { background: linear-gradient(135deg, var(--accent), var(--accent-electric)); color: #fff; }
@media (max-width: 720px) { body { padding-bottom: 56px; } }

/* ═══ AUTHORITY OVERLAY (approved style system) ═══ */

/* Hero: authority split with credentials card */
.hero-authority #hero-h1 { line-height: 1.04; }
.hero-authority #hero-h1 .h1-svc { display: block; color: #fff; }
.hero-authority #hero-h1 .h1-hook {
  display: block;
  margin-top: 0.28em;
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.72);
}
.hero-authority #hero-h1 .h1-hook .grad {
  background: linear-gradient(135deg, #8ab4f8 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 720px) {
  .hero-authority #hero-h1 .h1-hook { font-size: 0.6em; }
}

.hero-grid--auth {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .hero-grid--auth { grid-template-columns: 1fr; gap: 40px; }
}

.authority-card {
  background: linear-gradient(180deg, rgba(22, 28, 48, 0.75) 0%, rgba(10, 14, 26, 0.9) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}
.authority-card .ac-head { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.authority-card .ac-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}
.authority-card .ac-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.authority-card .ac-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.authority-card .ac-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 12px;
}
.authority-card .ac-list i {
  color: var(--accent);
  font-size: 18px;
  padding-top: 3px;
}
.authority-card .ac-list strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 2px;
}
.authority-card .ac-list span {
  display: block;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.45;
}
.authority-card .ac-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 14px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-electric) 100%);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.authority-card .ac-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-glow); }

/* Stat strip: authority variant emphasises code/regulatory terms */
.stat-grid--auth .stat .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .stat-grid--auth .stat .num { font-size: 1.85rem; }
}

/* Definition grid: 3-column definition cards */
.def-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 900px) { .def-grid { grid-template-columns: 1fr; } }
.def-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 30px 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.def-card:hover { transform: translateY(-3px); border-color: rgba(66,133,244,0.28); }
.def-card .def-n {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.def-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.def-card p {
  color: var(--text-tertiary);
  font-size: 15px;
  line-height: 1.6;
}

/* Standards & compliance quote card */
.std-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.std-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}
.std-list li i {
  color: var(--accent);
  font-size: 16px;
}
.std-card {
  position: relative;
  background: linear-gradient(180deg, rgba(66,133,244,0.10) 0%, rgba(22,28,48,0.9) 100%);
  border: 1px solid rgba(66,133,244,0.28);
  border-radius: 20px;
  padding: 36px 32px;
  overflow: hidden;
}
.std-card::before {
  content: "\201C";
  position: absolute;
  top: -20px;
  right: 12px;
  font-family: Georgia, serif;
  font-size: 200px;
  line-height: 1;
  color: rgba(66,133,244,0.12);
  pointer-events: none;
}
.std-card .std-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 18px;
}
.std-card .std-quote {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.45;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.std-card .std-cite {
  color: var(--text-secondary);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 24px;
}
.std-card .std-foot {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
}
.std-card .std-foot i { color: var(--accent); margin-right: 6px; }

/* Related-service cards */
.related-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 28px;
  color: inherit;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(66,133,244,0.28);
  background: var(--bg-card-hover);
}
.related-card .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(66,133,244,0.18) 0%, rgba(34,211,238,0.12) 100%);
  color: var(--accent-light);
  font-size: 20px;
  margin-bottom: 18px;
}
.related-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.related-card p { color: var(--text-tertiary); font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.related-card .rc-link { color: var(--accent-light); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.related-card .rc-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%);
  color: #fff;
}
.related-card--feat {
  background: linear-gradient(180deg, rgba(66,133,244,0.12) 0%, rgba(22,28,48,0.9) 100%);
  border-color: rgba(66,133,244,0.32);
}

/* Final CTA on authority variant — split with booking form */
.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .final-cta-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ═══ SITE-FOUNDATION SHARED COMPONENTS ═══════════════════════════
   New components used across homepage, services hub & category hubs.
   Extends the approved Authority system — same tokens, radii, glass.
   ════════════════════════════════════════════════════════════════ */

/* ─── CATEGORY GATEWAY CARDS ─────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
  display: flex; flex-direction: column; overflow: hidden; color: inherit;
  background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(66,133,244,0.4); background: var(--bg-card-hover); }
.cat-card .cc-media { position: relative; aspect-ratio: 21 / 9; overflow: hidden; }
.cat-card .cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.cat-card:hover .cc-media img { transform: scale(1.04); }
.cat-card .cc-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,3,10,0.05) 30%, rgba(2,3,10,0.88) 100%); }
.cat-card .cc-tag {
  position: absolute; left: 18px; bottom: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -0.01em;
}
.cat-card .cc-tag i { color: var(--accent-light); font-size: 16px; }
.cat-card .cc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.cat-card .cc-def { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 6px; }
.cat-card .cc-for { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
.cat-card .cc-for b { color: var(--text-tertiary); font-weight: 600; }
.cat-card .cc-services { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.cat-card .cc-services span { font-size: 12px; color: var(--text-tertiary); padding: 5px 11px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); background: rgba(255,255,255,0.03); }
.cat-card .cc-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--accent-light); font-weight: 600; font-size: 14px; }
.cat-card .cc-cta i { transition: transform var(--transition-fast); }
.cat-card:hover .cc-cta i { transform: translateX(4px); }

/* ─── COMPARISON MATRIX ──────────────────────────────────────── */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-card-solid); -webkit-overflow-scrolling: touch; }
.svc-matrix { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.svc-matrix th, .svc-matrix td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.svc-matrix thead th { font-family: var(--font-primary); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); background: rgba(66,133,244,0.07); white-space: nowrap; }
.svc-matrix tbody tr:last-child th, .svc-matrix tbody tr:last-child td { border-bottom: none; }
.svc-matrix tbody th { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 15px; white-space: nowrap; }
.svc-matrix tbody th a { color: inherit; border-bottom: 1px dashed rgba(138,180,248,0.5); }
.svc-matrix tbody th a:hover { color: var(--accent-light); }
.svc-matrix td { color: var(--text-tertiary); line-height: 1.5; }
.svc-matrix td .yes { color: var(--accent-cyan); }
.svc-matrix tbody tr:hover td, .svc-matrix tbody tr:hover th { background: rgba(255,255,255,0.02); }

/* ─── DECISION ROWS ("Which inspection do I need?") ──────────── */
.decide-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.decide-row {
  display: grid; grid-template-columns: 1.15fr auto 0.85fr; gap: 18px; align-items: center;
  padding: 20px 24px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.decide-row:hover { border-color: rgba(66,133,244,0.35); background: var(--bg-card-hover); }
@media (max-width: 720px) { .decide-row { grid-template-columns: 1fr; gap: 10px; } .decide-row .d-arrow { display: none; } }
.decide-row .d-q { font-size: 15px; color: var(--text-primary); line-height: 1.5; }
.decide-row .d-q b { color: #fff; }
.decide-row .d-arrow { color: var(--accent); font-size: 18px; }
.decide-row .d-a { font-size: 14px; line-height: 1.45; }
.decide-row .d-a a { color: var(--accent-light); font-weight: 600; }
.decide-row .d-a a:hover { text-decoration: underline; text-underline-offset: 3px; }
.decide-row .d-a .d-note { display: block; color: var(--text-muted); font-size: 12.5px; margin-top: 3px; }

/* ─── SERVICE-AREA COUNTY GRID ───────────────────────────────── */
.county-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .county-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .county-grid { grid-template-columns: 1fr; } }
.county-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 24px; }
.county-card h3 { font-size: 17px; color: #fff; margin-bottom: 4px; display: flex; align-items: center; gap: 9px; }
.county-card h3 i { color: var(--accent-light); font-size: 14px; }
.county-card h3 a { transition: color var(--transition-fast); }
.county-card h3 a:hover { color: var(--accent-light); }
.county-card .cty-note { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
.county-card .cty-links { display: flex; flex-wrap: wrap; gap: 7px; }
.county-card .cty-links a { font-size: 12.5px; color: var(--text-tertiary); padding: 6px 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); background: rgba(255,255,255,0.03); transition: all var(--transition-fast); }
.county-card .cty-links a:hover { color: #fff; border-color: var(--accent); background: var(--accent-glow); }

/* ─── LIFECYCLE TIMELINE (residential hub) ───────────────────── */
.lifecycle { max-width: 860px; margin: 0 auto; position: relative; padding-left: 34px; }
.lifecycle::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-cyan)); opacity: 0.5; }
.lc-step { position: relative; padding: 0 0 34px 22px; }
.lc-step:last-child { padding-bottom: 0; }
.lc-step::before { content: ''; position: absolute; left: -33px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-deep); border: 2px solid var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.lc-step .lc-when { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 6px; }
.lc-step h3 { font-size: 19px; color: #fff; margin-bottom: 6px; }
.lc-step h3 a { border-bottom: 1px dashed rgba(138,180,248,0.5); }
.lc-step h3 a:hover { color: var(--accent-light); }
.lc-step p { font-size: 14.5px; color: var(--text-tertiary); line-height: 1.65; max-width: 640px; }

/* ─── MID-PAGE CTA BAND ──────────────────────────────────────── */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 30px 34px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(66,133,244,0.14), rgba(34,211,238,0.06)), var(--bg-card-solid);
  border: 1px solid rgba(66,133,244,0.3);
}
.cta-band .cb-copy h3 { font-size: 21px; color: #fff; margin-bottom: 4px; }
.cta-band .cb-copy p { font-size: 14px; color: var(--text-tertiary); }
.cta-band .cb-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── PROCESS: 5-step variant ────────────────────────────────── */
.process-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .process-grid.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .process-grid.cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-grid.cols-5 { grid-template-columns: 1fr; } }

/* ─── SMALL-SCREEN GUARDS ────────────────────────────────────── */
.hero-grid > *, .hero-grid--auth > *, .final-cta-grid > * { min-width: 0; }
@media (max-width: 460px) {
  .btn-lg { white-space: normal; }
  .cta-band .cb-actions .btn { white-space: normal; }
}
.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat .num { overflow-wrap: break-word; }
@media (max-width: 400px) { .stat .num { font-size: 24px; } .stat-grid--auth .stat .num { font-size: 1.25rem; } }
.sticky-cta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 400px) { .sticky-cta a { font-size: 13.5px; padding: 14px 8px; } }

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL FOOTER CTA BAND
   Reference: main-Footer-Design-Universal.png — full-bleed rounded
   band, centered headline + sub, single pill CTA. Shared by every
   page; headline/sub copy varies by page category only.
   ═══════════════════════════════════════════════════════════════ */
.foot-cta { padding: clamp(44px, 6vw, 76px) 24px 0; background: var(--bg-deep); }
.foot-cta-band {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(24px, 3vw, 34px);
  padding: clamp(56px, 7vw, 92px) clamp(28px, 6vw, 96px);
  border-radius: 24px; border: 1px solid var(--border-card);
  background: linear-gradient(120deg, #070b14 0%, #0b1322 55%, #071018 100%);
  max-width: 1360px; margin: 0 auto;
}
.foot-cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 320px at 18% 22%, rgba(66,133,244,0.22), transparent 65%),
    radial-gradient(540px 300px at 82% 78%, rgba(34,211,238,0.15), transparent 62%);
}
.foot-cta-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  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: 72px 72px;
  -webkit-mask-image: radial-gradient(780px 460px at 50% 50%, #000 0%, transparent 72%);
          mask-image: radial-gradient(780px 460px at 50% 50%, #000 0%, transparent 72%);
}
.foot-cta .fc-text { position: relative; z-index: 1; max-width: 760px; }
.foot-cta .fc-text h2 { font-size: clamp(30px, 4.2vw, 50px); color: var(--text-primary); letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.1; }
.foot-cta .fc-text p { font-size: 16.5px; color: var(--text-tertiary); line-height: 1.65; max-width: 640px; margin: 0 auto; }
.fcta-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 16px; flex: none;
  padding: 10px 10px 10px 30px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), #3574e0);
  color: #fff; font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.fcta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-glow); color: #fff; }
.fcta-btn .fcta-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; background: #0a0e1a; color: #fff;
  transition: transform var(--transition-fast);
}
.fcta-btn:hover .fcta-icon { transform: translateX(3px); }
.fcta-btn:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
@media (max-width: 480px) { .fcta-btn { white-space: normal; text-align: left; } }

/* Five-column footer grid for the universal footer */
.footer-grid--5 { grid-template-columns: 1.55fr 1fr 1fr 1.15fr 1fr; }
@media (max-width: 1080px) { .footer-grid--5 { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (max-width: 780px)  { .footer-grid--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .footer-grid--5 { grid-template-columns: 1fr; } }

/* ═══ R19 responsive polish (location pages + shared sections) ═══
   Balanced heading wraps, readable line lengths, and fluid grids in
   place of hard column breakpoints. */
.section-head h2, .hub-copy h1, .fc-text h2 { text-wrap: balance; }
.section-head p, .hero-sub { text-wrap: pretty; }
@media (max-width: 420px) {
  .hero-cta-row { width: 100%; }
  .hero-cta-row .btn { flex: 1 1 auto; justify-content: center; }
}
