/* ============================================================
   MAIN STREET DIGITAL — styles.css
   Shared styles across all 7 pages.
   Mobile-first. No external dependencies except Google Fonts.
   ============================================================ */

/* Inter font is loaded via <link> in each HTML file's <head>
   (faster than @import — non-blocking, parallel with this stylesheet) */

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Brand */
  --navy:        #0A1628;
  --blue:        #1B4F8A;   /* warmer trust blue (was #2B7FFF) */
  --blue-deep:   #143E6E;   /* hover/pressed */
  --blue-rgb:    27, 79, 138;
  --gold:        #C6A96B;
  --gold-rgb:    198, 169, 107;

  /* Surfaces — slightly warmer than before */
  --background:  #FAFAF8;   /* warm off-white page background */
  --surface:     #F2F0EC;   /* warm gray for cards/sections */
  --light:       #F2F0EC;   /* legacy alias kept for existing usage */
  --white:       #FFFFFF;

  /* Text */
  --text-dark:   #1A1A1A;
  --text-light:  #FFFFFF;
  --text-muted:  #6B6B6B;
  --border:      #E5E2DC;   /* warm border */

  /* Shadows — warm-tinted instead of cold gray */
  --shadow-sm:   0 2px 8px rgba(38, 28, 18, 0.06);
  --shadow-md:   0 4px 20px rgba(38, 28, 18, 0.10);
  --shadow-lg:   0 8px 40px rgba(38, 28, 18, 0.14);
  --shadow-blue: 0 8px 40px rgba(var(--blue-rgb), 0.30);

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  --transition: 0.25s ease;

  --header-h: 72px;
  --container: 1180px;
  --section-py: 80px;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  opacity: 0;
  animation: pageFadeIn 0.45s ease forwards;
}

@keyframes pageFadeIn {
  to { opacity: 1; }
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1rem; }

p { line-height: 1.7; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ─── Layout Utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  max-width: 600px;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grids */
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.5rem; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  :root { --section-py: 100px; }
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 0.85rem 1.75rem;
  min-height: 44px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(var(--blue-rgb), 0.3);
}
.btn-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 6px 20px rgba(var(--blue-rgb), 0.45);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: var(--light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-full { width: 100%; }

.text-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.text-link::after { content: '→'; }
.text-link:hover { gap: 0.6rem; }

/* ─── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Logo */
.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.logo img {
  /* Cap height so the logo always fits inside --header-h (72px) with breathing room */
  height: clamp(40px, 5vw, 56px);
  width: auto;
  max-width: min(96vw, 280px);
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: transform var(--transition);
}

.logo:hover img,
.logo:focus-visible img {
  transform: translateY(-1px);
}

/* Desktop nav links */
.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta { display: none; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Mobile slide menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--navy);
  z-index: 1000;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: calc(var(--header-h) + 2rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.mobile-nav-links li a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}
.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
  color: var(--white);
}

/* Desktop nav reveal — 5 nav items + CTA need a bit more breathing room */
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hamburger { display: none; }
}

/* Trim the gap between nav items at the lower end of desktop so things fit */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-links { gap: 1.5rem; }
}

/* ─── Page offset for fixed header ──────────────────────────── */
.page-content { padding-top: var(--header-h); }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 1.25rem 2rem;
  max-width: var(--container);
  margin-inline: auto;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}
.footer-brand .logo img {
  height: clamp(72px, 8vw, 104px);
  width: auto;
  max-width: min(100%, 320px);
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.footer-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-style: normal;
  margin-top: 0.75rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-contact p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.footer-contact a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold); }

.footer-bottom-inner {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 1.25rem 1.5rem;
  text-align: center;
}
.footer-bottom-inner p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

/* On mobile (single-column), surface contact info above the redundant nav */
@media (max-width: 767px) {
  .footer-contact { order: 2; }
  .footer-nav     { order: 3; }
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
    padding-bottom: 3rem;
  }
  .footer-nav { flex-direction: column; }
}

/* ─── Hero: Home ─────────────────────────────────────────────── */
.hero-home {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-video-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Hide hero video on mobile — saves bandwidth/battery and avoids iOS autoplay issues.
   The hero falls back to the navy backdrop, diagonal-line texture, and blue glow. */
@media (max-width: 767px) {
  .hero-video-stack { display: none; }
}

.hero-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

/* Static diagonal line texture + navy overlay — covers the full screen at all times */
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 22, 40, 0.82) 0%, rgba(10, 22, 40, 0.56) 46%, rgba(10, 22, 40, 0.84) 100%),
    repeating-linear-gradient(
      -55deg,
      transparent 0px,
      transparent 38px,
      rgba(var(--blue-rgb), 0.06) 38px,
      rgba(var(--blue-rgb), 0.06) 39px
    );
  z-index: 1;
}

/* Radial glow pulse */
.hero-home::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--blue-rgb), 0.10) 0%, transparent 68%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.25); }
}

.hero-home-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
}

.hero-home h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
}

.hero-home .hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounceArrow 2.2s ease-in-out infinite;
  color: rgba(255,255,255,0.45);
}

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

.scroll-indicator svg {
  width: 28px;
  height: 28px;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ─── Stats Section (sourced industry statistics) ────────────── */
.stats-section {
  background: var(--surface);
  padding: 4.5rem 0;
}

.stats-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 960px;
  margin-inline: auto;
}

.stat-block {
  text-align: center;
  padding: 0 1rem;
}

.stat-figure {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-number {
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  color: var(--gold);
  margin-left: 0.15rem;
}

.stat-label {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 280px;
  margin: 0 auto 0.5rem;
}

.stat-source {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-style: italic;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .stat-block + .stat-block {
    border-left: 1px solid var(--border);
  }
}

/* ─── Pain Points Section ────────────────────────────────────── */
.pain-points {
  background: var(--white);
}

.pain-grid {
  display: grid;
  gap: 1.5rem;
}

.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pain-card::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pain-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--blue-rgb), 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pain-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  stroke: var(--blue);
}

.pain-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.pain-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── How We Help Section ────────────────────────────────────── */
.how-we-help {
  background: var(--navy);
}

.how-we-help .section-header h2 {
  color: var(--white);
}

.how-columns {
  display: grid;
  gap: 2rem;
}

.how-column {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
  transition: border-color var(--transition), background var(--transition);
}

.how-column:hover {
  border-color: rgba(var(--blue-rgb), 0.4);
  background: rgba(var(--blue-rgb), 0.06);
}

.how-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.how-column h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.how-column p {
  color: rgba(255,255,255,0.58);
  font-size: 0.93rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .how-columns { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Services Preview Section ───────────────────────────────── */
.services-preview {
  background: var(--light);
}

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

.service-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-preview-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.service-preview-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.service-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.service-preview-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

@media (min-width: 640px) {
  .service-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Trust Signals Section ─────────────────────────────────── */
.trust-signals {
  background: var(--white);
}

.trust-grid {
  display: grid;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.trust-check {
  width: 28px;
  height: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-check svg {
  width: 15px;
  height: 15px;
  stroke: var(--white);
  stroke-width: 2.5;
}

.trust-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.trust-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item { flex-direction: column; gap: 1rem; }
  .trust-check { margin-top: 0; }
}

/* ─── Comparison Section (Why Us vs. Alternatives) ──────────── */
/* Active styles supporting the DRAFT comparison block in index.html.
   Inert (no matching DOM) until the HTML is uncommented and approved. */
.compare-section {
  background: var(--light);
}

.compare-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.compare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.compare-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.compare-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.compare-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex-grow: 1;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.compare-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
  flex-shrink: 0;
  margin-top: 0.55rem;
}

/* Featured (MSD) card — gold accent, gold checkmarks, elevated */
.compare-card-featured {
  border: 2px solid var(--gold);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(198, 169, 107, 0.18);
}

.compare-card-featured .compare-card-tag {
  color: var(--gold);
}

.compare-card-featured h3 {
  color: var(--navy);
}

.compare-card-featured .compare-list-checks li {
  color: var(--text-dark);
  font-weight: 500;
}

.compare-card-featured .compare-list-checks li::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  margin-top: 1px;
}

.compare-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .compare-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .compare-card-featured {
    transform: scale(1.03);
  }
  .compare-card-featured:hover {
    transform: scale(1.03) translateY(-3px);
  }
}

/* ─── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--blue);
  padding: 5rem 1.25rem;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ─── Page Hero (non-home pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 6rem 1.25rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 38px,
    rgba(var(--blue-rgb), 0.035) 38px,
    rgba(var(--blue-rgb), 0.035) 39px
  );
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1.1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.97rem, 2vw, 1.12rem);
  line-height: 1.72;
  max-width: 580px;
  margin-inline: auto;
}

/* ─── Pricing Cards ──────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-blue);
}

.pricing-card.featured:hover {
  box-shadow: 0 12px 50px rgba(var(--blue-rgb), 0.35);
}

.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-card h3 {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.pricing-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0.75rem 0 1.5rem;
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

.pricing-includes {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(var(--blue-rgb), 0.1);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231B4F8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .pricing-card.featured { transform: scale(1.02); }
  .pricing-card.featured:hover { transform: scale(1.02) translateY(-4px); }
}

/* ─── Services — Section intros ──────────────────────────────── */
.services-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.72;
}

/* ─── Add-ons Section ────────────────────────────────────────── */
.addons-section {
  background: var(--light);
}

.addons-grid {
  display: grid;
  gap: 1.25rem;
}

.addon-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.addon-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.addon-name {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text-dark);
}

.addon-type {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.addon-price {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .addons-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── About — Mission Section ────────────────────────────────── */
.mission-section {
  background: var(--white);
}

.mission-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.mission-text .section-label { display: block; }

.mission-text h2 {
  margin: 0.5rem 0 1.25rem;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

.mission-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 1rem;
}

/* CSS geometric shape — abstract art for about page */
.mission-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.geo-shape {
  position: relative;
  width: 280px;
  height: 280px;
}

.geo-circle-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(var(--blue-rgb), 0.2);
  animation: rotateGeo 20s linear infinite;
}

.geo-circle-inner {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.06);
  border: 1px solid rgba(var(--blue-rgb), 0.15);
}

.geo-square {
  position: absolute;
  width: 120px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(15deg);
  border: 2px solid rgba(198, 169, 107, 0.35);
  border-radius: 18px;
  animation: rotateGeo 14s linear infinite reverse;
}

.geo-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.7;
}

.geo-dot:nth-child(1) { top: 20px; left: 50%; transform: translateX(-50%); }
.geo-dot:nth-child(2) { bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--gold); opacity: 0.6; }
.geo-dot:nth-child(3) { left: 20px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; }
.geo-dot:nth-child(4) { right: 20px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; }

.geo-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(var(--blue-rgb), 0.3);
}

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

@media (min-width: 1024px) {
  .mission-inner { grid-template-columns: 1fr 1fr; }
}

/* ─── About — Team Section ───────────────────────────────────── */
.team-section {
  background: var(--light);
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 860px;
  margin-inline: auto;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Avatar circle with initials */
.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

/* Real photo variant */
.team-avatar.has-photo {
  background: transparent;
}

.team-avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Photo placeholder label (only shows on initials avatars) */
.team-avatar:not(.has-photo)::after {
  content: attr(data-label);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-style: italic;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-title {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── About — Quote Section ──────────────────────────────────── */
.quote-section {
  background: var(--navy);
  text-align: center;
  padding: var(--section-py) 1.25rem;
}

.quote-inner {
  max-width: 760px;
  margin-inline: auto;
  position: relative;
}

.quote-mark {
  font-size: 8rem;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.35;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 1rem;
}

.quote-text {
  color: var(--white);
  font-size: clamp(1.15rem, 2.8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.quote-attribution {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ─── About — Values Section ─────────────────────────────────── */
.values-section {
  background: var(--white);
}

.values-grid {
  display: grid;
  gap: 1.5rem;
}

.value-item {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.value-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Contact — What to Expect ───────────────────────────────── */
.expect-section {
  background: var(--white);
}

.steps-grid {
  display: grid;
  gap: 2rem;
}

.step-item {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(var(--blue-rgb), 0.3);
}

.step-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.step-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 260px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    position: relative;
  }
  /* Connector line */
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.66% + 28px);
    right: calc(16.66% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--blue), rgba(var(--blue-rgb), 0.3), var(--blue));
    z-index: 0;
  }
  .step-number { position: relative; z-index: 1; }
}

/* ─── FAQ Section ────────────────────────────────────────────── */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: rgba(var(--blue-rgb), 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-bottom: 4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
  margin-bottom: 0;
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item .faq-answer {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item .faq-answer p + p {
  margin-top: 0.75rem;
}

.faq-closing {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-closing a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.faq-closing a:hover {
  text-decoration: underline;
}

/* ─── Contact — Book a Time ──────────────────────────────────── */
.book-section {
  background: var(--light);
}

.book-section .section-header {
  margin-bottom: 2.5rem;
}

.book-cta-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.book-cta-wrap h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--text-dark);
}

.book-cta-wrap > p {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  font-size: 1rem;
}

.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  padding: 1rem 1.75rem;
}

.book-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.book-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 2.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
  line-height: 1.5;
}

.book-note a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.book-note a:hover {
  text-decoration: underline;
}

@media (max-width: 540px) {
  .book-cta-wrap {
    padding: 2rem 1.25rem;
  }
  .book-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─── Lead Magnet (Free Digital Health Check) ───────────────── */
.lead-magnet-section {
  background: var(--navy);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.lead-magnet-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 38px,
    rgba(var(--blue-rgb), 0.04) 38px,
    rgba(var(--blue-rgb), 0.04) 39px
  );
  pointer-events: none;
}

.leadmag-card {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.leadmag-content .section-label {
  color: var(--gold);
}

.leadmag-content h2 {
  color: var(--text-dark);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 0.75rem;
}

.leadmag-content p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.65;
}

.leadmag-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.leadmag-fields {
  display: grid;
  gap: 0.75rem;
}

.leadmag-form input[type="text"],
.leadmag-form input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.leadmag-form input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.leadmag-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.12);
}

.leadmag-form input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.leadmag-submit {
  width: 100%;
}

.leadmag-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0.25rem 0 0;
}

.leadmag-coming-soon {
  display: inline-block;
  background: rgba(198, 169, 107, 0.12);
  color: var(--text-dark);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
}

.leadmag-error {
  display: none;
  color: #EF4444;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0.25rem 0 0;
}

.leadmag-error.visible {
  display: block;
}

@media (min-width: 640px) {
  .leadmag-fields {
    grid-template-columns: 1fr 1.5fr;
  }
  .leadmag-card {
    padding: 3rem 2.5rem;
  }
}

/* ─── Contact Info Strip ─────────────────────────────────────── */
.contact-info-section {
  background: var(--navy);
  padding: 4rem 1.25rem;
}

.contact-info-grid {
  display: grid;
  gap: 2rem;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(var(--blue-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  stroke-width: 1.75;
}

.contact-info-item h3 {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-info-item a:hover { color: var(--gold); }

@media (min-width: 640px) {
  .contact-info-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Image / Photo Placeholders ────────────────────────────── */
.photo-placeholder {
  background: linear-gradient(135deg, #1a2a42 0%, #0f1e35 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  text-align: center;
  padding: 1.5rem;
  border: 2px dashed rgba(255,255,255,0.12);
  position: relative;
}

.photo-placeholder .ph-icon {
  width: 40px;
  height: 40px;
  opacity: 0.4;
}

/* ─── Focus Accessibility ────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-to-content link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 10000;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  left: 0.5rem;
}

/* ─── Utility ────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
}

/* ─── Thanks Page (health-check.html) ───────────────────────── */
.thanks-hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  background: var(--navy);
  padding: 6rem 1.25rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 38px,
    rgba(var(--blue-rgb), 0.05) 38px,
    rgba(var(--blue-rgb), 0.05) 39px
  );
  pointer-events: none;
}

.thanks-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
}

.thanks-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.18);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.thanks-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--gold);
  stroke-width: 2.5;
}

.thanks-content h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.thanks-content > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-inline: auto;
}

.thanks-divider {
  max-width: 520px;
  margin: 2rem auto;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.thanks-next-up {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.thanks-content h2 {
  color: var(--white);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 0.75rem;
}

.thanks-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.thanks-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  padding-top: 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.thanks-secondary-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.thanks-secondary-links a:hover {
  color: var(--gold);
}

/* ─── 404 Page (404.html) ───────────────────────────────────── */
.notfound-hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  background: var(--navy);
  padding: 6rem 1.25rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notfound-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 38px,
    rgba(var(--blue-rgb), 0.05) 38px,
    rgba(var(--blue-rgb), 0.05) 39px
  );
  pointer-events: none;
}

.notfound-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
}

.notfound-code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.notfound-content h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.notfound-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 520px;
  margin-inline: auto;
}

.notfound-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.notfound-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.notfound-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}

.notfound-links a:hover {
  color: var(--gold);
}

/* ─── Print Styles ──────────────────────────────────────────── */
@media print {
  /* Hide chrome and decorative elements */
  .site-header,
  .site-footer,
  .mobile-menu,
  .mobile-overlay,
  .skip-link,
  .hamburger,
  .nav-cta,
  .scroll-indicator,
  .hero-video-stack,
  .cta-banner,
  .lead-magnet-section,
  .compare-section,
  .thanks-secondary-links,
  .notfound-cta-group,
  .notfound-links {
    display: none !important;
  }

  /* Reset page colors for ink-friendly output */
  *, *::before, *::after {
    background: transparent !important;
    box-shadow: none !important;
    color: #000 !important;
    text-shadow: none !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.5;
    background: #fff !important;
    animation: none !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  /* Reveal href next to in-content links so printed copies stay useful */
  .container a[href^="http"]::after,
  .container a[href^="mailto:"]::after,
  .container a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555 !important;
  }

  /* Avoid awkward page breaks */
  h1, h2, h3 { page-break-after: avoid; }
  .pricing-card, .pain-card, .team-card, .faq-item { page-break-inside: avoid; }

  /* Strip hero gradients/textures, keep content readable */
  .page-hero,
  .hero-home,
  .thanks-hero,
  .notfound-hero {
    min-height: 0 !important;
    padding: 1rem 0 !important;
    background: #fff !important;
  }

  .page-hero::before,
  .hero-home::before,
  .hero-home::after,
  .thanks-hero::before,
  .notfound-hero::before {
    display: none !important;
  }

  .page-hero h1,
  .hero-home h1,
  .thanks-content h1,
  .notfound-content h1,
  .page-hero p,
  .hero-home .hero-sub {
    color: #000 !important;
  }
}
