:root {
  --bg: #f6f6f8;
  --surface: #ffffff;
  --ink: #424143;
  --ink-strong: #1f1e20;
  --muted: #5a595c;
  --primary: #9a393e;
  --primary-bright: #b84248;
  --primary-dark: #75272b;
  --primary-soft: rgba(154, 57, 62, 0.08);
  --charcoal: #424143;
  --charcoal-dark: #222123;
  --cool-gray: #d2d3d4;
  --border: #dfe0e2;
  --radius: 16px;
  --font-display: 'Bebas Kai', 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-sans: 'Avenir Next', Avenir, 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Sticky Glassmorphism Header */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--cool-gray);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(34, 33, 35, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  padding: 0.2rem;
  transition: transform 0.2s ease;
}

.brand:hover { transform: scale(1.02); }

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 70px;
  width: auto;
  display: block;
  margin-bottom: 0.9rem;
}

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

.main-nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.91rem;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.main-nav a:not(.btn):not(.nav-phone)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.22s ease;
}

.main-nav a:not(.btn):not(.nav-phone):hover::after,
.main-nav a.active:not(.btn)::after {
  width: 100%;
}

.main-nav a.active, .main-nav a:hover { color: var(--primary); }

.main-nav a.nav-phone {
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.main-nav a.nav-phone:hover {
  background: rgba(154, 57, 62, 0.16);
  transform: translateY(-1px);
}

.main-nav a.btn { color: #ffffff; padding: 0.55rem 1.05rem; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1.5px solid var(--cool-gray);
  color: var(--charcoal);
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
}

/* Punchy Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary) 100%);
  color: #ffffff;
  border: 1px solid var(--primary);
  box-shadow: 0 8px 20px rgba(154, 57, 62, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 12px 26px rgba(154, 57, 62, 0.42);
}

.btn-secondary {
  background: var(--surface);
  color: var(--charcoal);
  border: 1.5px solid var(--cool-gray);
  box-shadow: 0 4px 12px rgba(34, 33, 35, 0.06);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(34, 33, 35, 0.12);
}

/* Dynamic Mountain Hero & Page Hero */
.hero, .page-hero {
  position: relative;
  background:
    radial-gradient(circle at 90% 85%, rgba(178, 52, 62, 0.55) 0%, rgba(135, 34, 42, 0.22) 44%, transparent 70%),
    linear-gradient(138deg, #161518 0%, #232429 38%, #3c424d 64%, #525966 74%, #7c242b 92%, #9a393e 100%);
  border-bottom: 4px solid var(--primary);
  color: #ffffff;
  padding: 3rem 0 3.75rem;
  overflow: hidden;
}

.page-hero { padding: 3.5rem 0 4.5rem; }

.hero-grid, .two-col {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(154, 57, 62, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  margin: 0 0 0.9rem;
}

h1 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-size: clamp(2.45rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 1rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink-strong);
}

h3 {
  font-family: var(--font-sans);
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  color: #f1f1f3;
  margin: 0 0 1.65rem;
}

.cta-row {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.trust-badges {
  list-style: none;
  padding: 0;
  margin: 1.9rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-badges li {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(210, 211, 212, 0.3);
  color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.trust-badges li:hover {
  transform: translateY(-2px);
  background: rgba(154, 57, 62, 0.38);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Interactive Stat Strip */
.stats-strip {
  margin-top: -1.4rem;
  position: relative;
  z-index: 10;
}

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

.stat-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: 3.5px solid var(--primary);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
  text-align: center;
  box-shadow: 0 10px 26px rgba(34, 33, 35, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.stat-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(154, 57, 62, 0.16);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.05rem;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 0.2rem;
}

/* Cards with Lift, Accent Glow & Icon Badges */
.hero-card, .card, .service-item, .setup-notice {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: 0 8px 24px rgba(34, 33, 35, 0.06);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}

.hero-card {
  border-top: 5px solid var(--primary);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.card:hover, .service-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 18px 36px rgba(154, 57, 62, 0.14);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, rgba(154, 57, 62, 0.16) 100%);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-3deg);
  background: var(--primary);
  color: #ffffff;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-card h2, .hero-card h3 {
  margin-top: 0;
  color: var(--charcoal);
}

.check-list {
  padding-left: 1.25rem;
  margin: 1rem 0 1.45rem;
}

.check-list li { margin-bottom: 0.6rem; }
.check-list li::marker { color: var(--primary); font-weight: 700; }

.section { padding: 4.25rem 0; }

.section-alt {
  background:
    radial-gradient(circle at 90% 15%, rgba(154, 57, 62, 0.06) 0%, transparent 45%),
    #ededef;
  border-top: 1px solid var(--cool-gray);
  border-bottom: 1px solid var(--cool-gray);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.25rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.section-head h2 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-weight: 400;
  font-size: clamp(2.1rem, 3.6vw, 2.65rem);
  line-height: 1.08;
  color: var(--charcoal);
  margin: 0 0 0.55rem;
}

.section-head p { color: var(--muted); margin: 0; font-size: 1.03rem; }

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

.card-grid.three-col { grid-template-columns: repeat(3, 1fr); }

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--ink-strong);
  font-size: 1.2rem;
}

.card a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.35rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.card a:hover {
  color: var(--primary-dark);
  gap: 0.6rem;
}

/* Interactive How It Works Stepper */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 6px 20px rgba(34, 33, 35, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  box-shadow: 0 6px 14px rgba(154, 57, 62, 0.3);
}

.step-card h3 {
  margin: 0 0 0.45rem;
  color: var(--ink-strong);
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.service-stack {
  display: grid;
  gap: 1.5rem;
}

.service-item {
  border-left: 5px solid var(--primary);
}

.service-item h2 {
  margin-top: 0;
  color: var(--primary);
}

.split-box {
  background: linear-gradient(135deg, #ffffff 0%, #faf5f5 100%);
  border: 1.5px solid var(--cool-gray);
  border-left: 6px solid var(--primary);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 12px 30px rgba(34, 33, 35, 0.07);
}

.split-box h2 { margin: 0 0 0.35rem; color: var(--charcoal); }
.split-box p { margin: 0; color: var(--muted); }
.split-box a { color: var(--primary); }
.split-box a.btn-primary { color: #ffffff; }
.split-box a.btn-secondary { color: var(--charcoal); }

.setup-notice {
  border-left: 5px solid var(--primary);
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background: var(--charcoal-dark);
  color: var(--cool-gray);
  padding: 3.5rem 0;
  margin-top: 2rem;
  border-top: 5px solid var(--primary);
}

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

.site-footer strong {
  color: #ffffff;
  font-weight: 700;
  display: block;
  margin-bottom: 0.7rem;
  letter-spacing: 0.03em;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--cool-gray); text-decoration: none; transition: color 0.15s ease, padding-left 0.15s ease; }
.site-footer a:hover { color: #ffffff; padding-left: 3px; }

@media (max-width: 960px) {
  .hero-grid, .two-col, .card-grid, .card-grid.three-col, .steps-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.75rem;
  }
  .main-nav.open { display: flex; }
}

@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ISN Online Scheduler Embed */
.isn-embed-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(34, 33, 35, 0.08);
  overflow: hidden;
}

.isn-scheduler-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 980px;
  height: 980px;
  border: 0;
}

/* Uploaded Inspection Photography Styling */
.card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.15rem;
  display: block;
}

.service-photo {
  width: 100%;
  max-height: 360px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.15rem;
  display: block;
}

.photo-banner-row {
  margin-bottom: 1.75rem;
}

.section-photo {
  width: 100%;
  max-height: 400px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(34, 33, 35, 0.08);
  display: block;
}

/* Clean Unboxed Top Hero Logo — Full Container Footprint */
.hero-top-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 2.25rem;
}

.hero-top-logo {
  width: 100%;
  max-width: 960px;
  height: auto;
  display: block;
}

@media (max-width: 520px) {
  .hero-top-logo-wrap {
    margin-bottom: 1.5rem;
  }
}

/* Sample Report Viewer Frame */
.sample-viewer-frame {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 28px rgba(34, 33, 35, 0.05);
}

.sample-report-iframe {
  width: 100%;
  height: 820px;
  border: none;
  border-radius: 8px;
  display: block;
}

/* === STYLE LAB: EYE-CATCHING MOTION & INTERACTIVE POLISH === */

/* Top Scroll Progress Indicator */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, #e05263 50%, var(--primary) 100%);
  z-index: 9999;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(173, 44, 62, 0.55);
}

/* Smooth Ambient Hero Aurora + Subtle Mountain Ridge Glow */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
}

.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 22% 28%, rgba(210, 211, 212, 0.07) 0%, transparent 46%),
    radial-gradient(circle at 82% 76%, rgba(154, 57, 62, 0.22) 0%, transparent 45%);
  animation: heroAuroraDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero > .container, .page-hero > .container {
  position: relative;
  z-index: 1;
}

@keyframes heroAuroraDrift {
  0% {
    transform: translate3d(-2%, -2%, 0) scale(1);
  }
  100% {
    transform: translate3d(2.5%, 2%, 0) scale(1.06);
  }
}

/* Hero Logo Entrance & Subtle Shimmer */
.hero-top-logo {
  animation: heroLogoDrop 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

@keyframes heroLogoDrop {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Primary Button Magnetic Sheen & Pulse Glow */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background-color 0.2s ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(173, 44, 62, 0.38);
}

.btn-primary:hover::after {
  left: 145%;
}

.btn-secondary {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 33, 35, 0.12);
}

/* Interactive 3D Tilt & Crimson Spotlight Cards */
.card, .step-card, .stat-pill, .service-item, .hero-card {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
  will-change: transform;
}

.card:hover, .step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(173, 44, 62, 0.45);
  box-shadow: 0 18px 36px rgba(34, 33, 35, 0.12);
}

.stat-pill:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--primary);
  box-shadow: 0 14px 28px rgba(173, 44, 62, 0.14);
}

.card-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, color 0.25s ease;
}

.card:hover .card-icon {
  transform: scale(1.12) rotate(-4deg);
  background: var(--primary);
  color: #ffffff;
}

.card:hover .card-icon svg {
  stroke: #ffffff;
}

.step-num {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.step-card:hover .step-num {
  transform: scale(1.14);
  box-shadow: 0 0 0 6px rgba(173, 44, 62, 0.16);
}

/* Smooth Image Zoom Inside Cards & Banners */
.card-photo, .service-photo, .section-photo {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-card:hover .card-photo,
.service-item:hover .service-photo,
.photo-banner-row:hover .section-photo {
  transform: scale(1.025);
}

/* Trust Badges Subtle Floating Pulse */
.trust-badges li {
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.trust-badges li:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
}

/* Scroll-Triggered Staggered Reveal Classes */
.reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Quick-Action Floating Phone Pill on Mobile/Desktop */
.floating-call-pill {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dark);
  color: #ffffff;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  padding: 0.65rem 1.05rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(34, 33, 35, 0.28);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, box-shadow 0.25s ease;
}

.floating-call-pill:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--primary);
  box-shadow: 0 16px 32px rgba(173, 44, 62, 0.38);
}

.floating-call-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: livePulseDot 2s infinite;
}

@keyframes livePulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Respect Reduced Motion Accessibility Preferences */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .page-hero::before,
  .hero-top-logo,
  .floating-call-dot {
    animation: none !important;
  }
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* === STYLE LAB: BRAND GRAY & CRIMSON COLOR POP === */

/* Subtle silver-white & crimson halo behind the top unboxed logo */


/* Punchier Eyebrow Pill & Hero Card Crimson Top Accent */
.eyebrow {
  background: linear-gradient(135deg, rgba(184, 66, 72, 0.72) 0%, rgba(154, 57, 62, 0.52) 100%);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 6px 18px rgba(154, 57, 62, 0.35);
}

.hero-card {
  border-top: 5px solid var(--primary-bright);
  box-shadow: 0 22px 46px rgba(18, 17, 19, 0.34);
}

/* Crisp Alternating Section Contrast & Crimson Section Tags */
.section-alt {
  background: linear-gradient(180deg, #ececef 0%, #f4f4f6 100%);
  border-top: 1px solid var(--cool-gray);
  border-bottom: 1px solid var(--cool-gray);
}

.section-tag {
  background: linear-gradient(135deg, rgba(184, 66, 72, 0.14) 0%, rgba(154, 57, 62, 0.08) 100%);
  border: 1px solid rgba(154, 57, 62, 0.25);
  color: var(--primary-dark);
}

/* Stat Pills with Crimson Top Bar & Crisp Cool-Gray Framing */
.stat-pill {
  border-top: 4px solid var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #fafafb 100%);
}

.stat-number {
  color: var(--primary);
}

/* High-Contrast Bottom CTA Split Box */
.split-box {
  background: linear-gradient(138deg, #1b1a1c 0%, #2e2d30 56%, #424143 74%, #6e272c 100%);
  color: #ffffff;
  border: 1px solid rgba(184, 66, 72, 0.45);
  border-left: 6px solid var(--primary-bright);
  box-shadow: 0 18px 38px rgba(34, 33, 35, 0.18);
}

.split-box h2 {
  color: #ffffff;
}

.split-box p, .split-box a:not(.btn) {
  color: #f1f1f3;
}

.split-box .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.42);
}

.split-box .btn-secondary:hover {
  background: #ffffff;
  color: var(--charcoal-dark);
  border-color: #ffffff;
}

/* === STYLE LAB TWO: FLUSH-LEFT INLINE HERO LOGO & EQUAL HERO COLUMNS === */
.hero {
  padding-top: 3.25rem;
}

.hero-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 2.5rem;
}

.hero-left-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-brand-stack {
  display: inline-grid;
  grid-template-columns: minmax(0, max-content);
  max-width: 100%;
  margin-bottom: 0.95rem;
}

.hero-brand-stack .hero-inline-logo {
  display: block;
  width: 0;
  min-width: 100%;
  height: auto;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.hero-brand-stack .eyebrow {
  margin: 0;
  justify-content: center;
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin: 0;
}

.hero-card .card-photo {
  aspect-ratio: 16 / 10;
  object-position: center 20%;
}

.hero-card .btn-block {
  margin-top: auto;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
