/* ═══════════════════════════════════════════════════════════════════
   Dental Patient Boost — site styles (v2)
   Light-first design with dark hero, dark CTA, dark footer.
   Poppins typography. Navy primary, green accent.
   Two-stage deploy: test → dentptboost.pages.dev, prod → dentptboost.com.
═══════════════════════════════════════════════════════════════════ */

:root {
  /* Light-mode tokens (default for body sections) */
  --bg-page:        #FAFBFB;
  --bg-card:        #FFFFFF;
  --bg-soft:        #F1F5F9;
  --bg-softer:      #F8FAFC;
  --text-primary:   #17305C;
  --text-body:      #334155;
  --text-muted:     #64748B;
  --text-faint:     #94A3B8;
  --border:         #E2E8F0;
  --border-strong:  #CBD5E1;
  --accent:         #30A852;
  --accent-deep:    #248640;
  --accent-soft:    rgba(48, 168, 82, 0.10);
  --accent-glow:    rgba(48, 168, 82, 0.35);

  /* Dark-section tokens (hero, CTA, footer) */
  --bg-dark:        #0E1B36;
  --bg-dark-lift:   #122549;
  --bg-dark-soft:   #1A2B4E;
  --text-on-dark:   #FAFBFB;
  --text-on-dark-muted: rgba(250, 251, 251, 0.7);
  --text-on-dark-faint: rgba(250, 251, 251, 0.45);
  --border-dark:    rgba(255, 255, 255, 0.10);

  /* Legacy aliases — kept so any old class still resolves */
  --brand-dark:   var(--bg-dark);
  --brand-mid:    var(--bg-dark-lift);
  --brand-green:  var(--accent-deep);
  --brand-lime:   var(--accent);
  --brand-cream:  var(--bg-page);
  --brand-white:  var(--bg-card);
  --brand-muted:  var(--text-muted);
  --brand-border: var(--border);

  /* Typography */
  --f-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --f-body:    'Poppins', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w: 1160px;
  --r:     10px;
  --r-lg:  16px;
  --r-pill: 999px;

  /* Z-index scale */
  --z-nav:     50;
  --z-floating: 80;
  --z-modal:   100;
}

/* ─── Reset + base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.sr-skip { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ─── Container + section ─────────────────────────────────────────── */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 2rem; }
.section-sm { padding: 3.5rem 2rem; }
@media (max-width: 768px) {
  .container  { padding: 0 1.25rem; }
  .section    { padding: 3.5rem 1.25rem; }
  .section-sm { padding: 2.5rem 1.25rem; }
}

/* ─── Typography ──────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 20px; height: 2px; background: var(--accent);
}
.display-xl {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.display-xl em {
  font-style: normal; font-weight: 800;
  color: var(--accent);
}
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-heading em {
  font-style: normal; font-weight: 800;
  color: var(--accent);
}
.body-lg {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-pill);
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.btn-lime   {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}
.btn-lime:hover { background: var(--accent-deep); border-color: var(--accent-deep); box-shadow: 0 4px 14px var(--accent-glow); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--bg-soft); border-color: var(--text-primary); }
.btn-dark {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}
.btn-dark:hover { background: var(--bg-dark); border-color: var(--bg-dark); }
.btn-arrow::after { content: '→'; font-size: 1.05em; transition: transform 180ms ease; }
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-icon { display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-icon svg { flex-shrink: 0; }

/* ─── Nav (fixed top, white when scrolled) ────────────────────────── */
nav#mainNav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 2rem;
  background: rgba(250, 251, 251, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
nav#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.nav-logo {
  display: flex; align-items: center;
  color: var(--text-primary);
}
.nav-logo img { display: block; height: 44px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  color: var(--text-body);
  font-size: 0.9rem; font-weight: 500;
  transition: color 180ms ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 0.2rem; cursor: pointer; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  list-style: none;
  margin: 0;
}
/* Invisible bridge so the cursor can cross the visual gap between
   the nav item and the dropdown without losing the hover state. */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
  background: transparent;
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r);
  font-size: 0.88rem;
  color: var(--text-body);
}
.nav-dropdown-menu a:hover { background: var(--bg-soft); color: var(--text-primary); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-phone {
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}
.nav-phone svg { flex-shrink: 0; }
.hamburger {
  display: none;
  background: none; border: none; padding: 0.5rem;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-phone-num { display: none; }
  .nav-phone { padding: 0.55rem 0.75rem; }
}
@media (max-width: 720px) {
  .hamburger { display: flex; }
  .nav-right .btn-lime { display: none; }
}

/* ─── Mobile nav drawer ───────────────────────────────────────────── */
.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-card);
  z-index: var(--z-modal);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem;
  padding: 4rem 2rem;
  transform: translateY(-100%);
  transition: transform 240ms ease;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  color: var(--text-primary);
  font-size: 1.5rem; font-weight: 700;
}
.mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--text-primary);
  padding: 0.5rem; min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ─── Hero (DARK section for visual punch) ────────────────────────── */
#hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 9rem 2rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 80% 20%, rgba(48,168,82,0.12), transparent 60%),
    radial-gradient(600px 400px at 10% 80%, rgba(48,168,82,0.06), transparent 60%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(48,168,82,0.10);
  border: 1px solid rgba(48,168,82,0.30);
  border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 600;
  color: rgba(250,251,251,0.92);
  margin-bottom: 2rem;
}
.hero-tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.hero-h1 {
  color: var(--text-on-dark);
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.hero-h1 em { color: var(--accent); }
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-on-dark-muted);
  line-height: 1.65;
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
/* Outline variant on dark hero needs inverted colors */
#hero .btn-outline {
  color: var(--text-on-dark);
  border-color: var(--border-dark);
}
#hero .btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}

/* ─── Marquee ─────────────────────────────────────────────────────── */
.marquee-section {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex; align-items: center; gap: 3rem;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── About section ───────────────────────────────────────────────── */
#about { background: var(--bg-page); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.about-text p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.about-points {
  display: flex; flex-direction: column;
  gap: 1rem;
}
.about-point {
  display: flex; gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.about-point:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
  transform: translateY(-2px);
}
.about-point-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--r);
  background: var(--accent);
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.about-point-icon svg { display: block; }
.about-point h4 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}
.about-point p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── Services section ────────────────────────────────────────────── */
#services { background: var(--bg-soft); }
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
  transform: translateY(-3px);
}
.service-card.featured {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--text-on-dark);
}
.service-card.featured:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(48,168,82,0.25);
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: var(--accent);
  color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { display: block; }
.service-card.featured .service-icon {
  background: rgba(255,255,255,0.18);
  color: #FFFFFF;
}
.service-card h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.service-card.featured h3 { color: var(--text-on-dark); }
.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.service-card.featured p { color: var(--text-on-dark-muted); }

/* ─── Specialties section ─────────────────────────────────────────── */
#specialties { background: var(--bg-page); }
.specialties-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}
@media (min-width: 720px) {
  .specialties-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 480px) {
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
}
.specialty-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.85rem 1rem;
  text-align: center;
  transition: all 180ms ease;
}
.specialty-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.specialty-chip p {
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* ─── Process section ─────────────────────────────────────────────── */
#process { background: var(--bg-soft); }
.process-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 0;
}
@media (max-width: 880px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  position: relative;
}
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r);
  background: var(--accent);
  color: #fff;
  font-weight: 700; font-size: 0.85rem;
  margin-bottom: 1rem;
}
.process-step h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── Pricing section ─────────────────────────────────────────────── */
#pricing { background: var(--bg-page); }
.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; gap: 1rem; } }
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}
.pricing-card.popular {
  background: var(--text-primary);
  color: var(--text-on-dark);
  border-color: var(--text-primary);
  transform: translateY(-8px);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pricing-name {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.pricing-card.popular .pricing-name { color: var(--text-on-dark-muted); }
.pricing-price {
  font-family: var(--f-display);
  font-size: 2.75rem; font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-card.popular .pricing-price { color: var(--text-on-dark); }
.pricing-price sup { font-size: 1.1rem; font-weight: 700; vertical-align: top; margin-right: 0.1rem; }
.pricing-price sub { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); vertical-align: baseline; margin-left: 0.1rem; }
.pricing-card.popular .pricing-price sub { color: var(--text-on-dark-muted); }
.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  min-height: 2.7rem;
}
.pricing-card.popular .pricing-desc { color: var(--text-on-dark-muted); }
.pricing-features {
  display: flex; flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.pricing-feature {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.9rem;
}
.pricing-feature-check {
  color: var(--accent);
  flex-shrink: 0; margin-top: 2px;
}
.pricing-card.popular .pricing-feature-check { color: var(--accent); }
.pricing-feature-text { color: var(--text-body); }
.pricing-card.popular .pricing-feature-text { color: var(--text-on-dark-muted); }
.pricing-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 1rem;
  line-height: 1.5;
}
.pricing-card.popular .pricing-note { color: var(--text-on-dark-faint); }
.pricing-card .btn-outline {
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.pricing-card.popular .btn-outline {
  color: var(--text-on-dark);
  border-color: var(--border-dark);
}
.pricing-card.popular .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

/* ─── Add-ons (sits below pricing-grid) ───────────────────────────── */
.addons {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.addons-header {
  text-align: center;
  margin-bottom: 2rem;
}
.addons-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0;
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) { .addons-grid { grid-template-columns: 1fr; gap: 1rem; } }
.addon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.addon-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(15,23,42,0.05);
}
.addon-price {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.addon-name {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
}
.addon-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}
.addons-note {
  margin: 1.75rem auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ─── Sub-page hero (service / specialty / about / methodology) ─── */
.page-hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.page-hero-eyebrow::before {
  content: ''; width: 20px; height: 2px; background: var(--accent);
}
.page-hero-h1 {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}
.page-hero-h1 em { font-style: normal; color: var(--accent); }
.page-hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 720px;
  margin: 0 0 1.75rem;
}
.page-hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
@media (max-width: 768px) {
  .page-hero { padding: 7rem 1.25rem 3rem; }
}

/* ─── Sub-page content blocks ─────────────────────────────────────── */
.content-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 768px) { .content-wrap { padding: 0 1.25rem; } }
.content-block { margin-bottom: 3.5rem; }
.content-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.content-block h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-primary);
}
.content-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 1rem;
}
.content-block p strong { color: var(--text-primary); font-weight: 700; }

/* Check-prefixed feature list (re-usable). */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex; flex-direction: column;
  gap: 0.65rem;
}
.feature-list li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-body);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 4px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

/* Inline stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; } }
.stat-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.stat-num {
  font-family: var(--f-display);
  font-size: 2rem; font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Growth equation formula tile. */
.formula-tile {
  background: var(--text-primary);
  color: var(--text-on-dark);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2rem 0 3rem;
}
.formula-tile .formula {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.formula-tile .formula em {
  font-style: normal;
  color: var(--accent);
}

/* Variable cards for Growth Equation page. */
.variable-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}
@media (max-width: 720px) { .variable-grid { grid-template-columns: 1fr; } }
.variable-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.variable-card-head {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.variable-card-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft, rgba(0,0,0,0.04));
  color: var(--accent-deep);
}
.variable-card h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-primary);
}
.variable-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-body);
}

/* Founder block (About page). */
.founder-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  margin: 2rem 0 3rem;
  align-items: start;
}
@media (max-width: 720px) {
  .founder-block { grid-template-columns: 1fr; gap: 1.5rem; }
}
.founder-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  object-fit: cover;
}
.founder-name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  color: var(--text-primary);
}
.founder-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

/* Related services grid (cross-link cluster). */
.related-services {
  margin: 4rem 0 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 880px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.25rem 1.1rem;
  color: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.related-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(15,23,42,0.05);
}
.related-card-name {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.3rem;
}
.related-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Numbered "Top 5 Questions" TOC + Q-number marker for long-form FAQ. */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 0;
}
.toc-eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
  display: flex; flex-direction: column;
  gap: 0.5rem;
}
.toc-list li {
  counter-increment: toc;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.98rem;
  line-height: 1.45;
}
.toc-list li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  width: 1.75rem;
}
.toc-list a {
  color: var(--text-primary);
  font-weight: 500;
  border-bottom: 1px dotted transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
.toc-list a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}
.q-num {
  display: inline-block;
  margin-right: 0.5rem;
  font-family: var(--f-display);
  font-size: 0.78em;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
  vertical-align: 0.04em;
}

/* Compact bottom CTA used on sub-pages. */
.page-cta {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
  text-align: center;
}
.page-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}
.page-cta p {
  font-size: 1rem;
  color: var(--text-body);
  margin: 0 auto 1.5rem;
  max-width: 540px;
  line-height: 1.6;
}
.page-cta .cta-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}

/* ─── FAQ ─────────────────────────────────────────────────────────── */
#faq { background: var(--bg-soft); }
.faq-list {
  display: flex; flex-direction: column;
  gap: 0.5rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  transition: border-color 180ms ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-q {
  font-size: 1rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.faq-a {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ─── CTA section (DARK for conversion punch) ─────────────────────── */
#cta {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 500px at 50% 0%, rgba(48,168,82,0.15), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cta-inner .eyebrow { color: var(--accent); }
#cta .section-heading {
  color: var(--text-on-dark);
  margin-bottom: 1.25rem;
}
#cta .body-lg {
  color: var(--text-on-dark-muted);
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
}
#cta .btn-outline {
  color: var(--text-on-dark);
  border-color: var(--border-dark);
}
#cta .btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}
.cta-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  flex-wrap: wrap;
}
.cta-trust-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.cta-trust-item svg { color: var(--accent); flex-shrink: 0; }
.cta-trust-sep { opacity: 0.4; }

/* ─── Footer (DARK) ───────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border-dark);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-logo img { display: block; height: 44px; width: auto; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  line-height: 1.65;
  max-width: 280px;
  margin: 1rem 0 1.5rem;
}
.footer-social {
  display: flex; gap: 0.5rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-on-dark-muted);
  text-transform: lowercase;
  transition: background 180ms ease, color 180ms ease;
}
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-col h5 {
  font-size: 0.72rem; font-weight: 700;
  color: var(--text-on-dark);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  transition: color 180ms ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  display: flex; justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-on-dark-faint);
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: var(--text-on-dark-faint); transition: color 180ms ease; }
.footer-bottom a:hover { color: var(--accent); }
.footer-reviewed { display: inline-block; margin-left: 0.5rem; }

/* ─── Floating CTA (always visible) ───────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: var(--z-floating);
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--accent);
  color: #fff;
  padding: 0.95rem 1.4rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: -0.005em;
  box-shadow: 0 12px 32px rgba(48,168,82,0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.floating-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(48,168,82,0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.floating-cta svg { flex-shrink: 0; }
@media (max-width: 480px) {
  .floating-cta {
    bottom: 1rem; right: 1rem;
    padding: 0.85rem 1.2rem;
    font-size: 0.82rem;
  }
  .floating-cta-text { display: none; }
}

/* ─── Animations (fade-up on scroll) ──────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 80ms; }
.fade-up-delay-2 { transition-delay: 160ms; }
.fade-up-delay-3 { transition-delay: 240ms; }
.fade-up-delay-4 { transition-delay: 320ms; }
.fade-up-delay-5 { transition-delay: 400ms; }

/* ─── Reduced motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .fade-up { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
