/* ================================================================
   PROMISED PATH SOLUTIONS — Design System
   ================================================================ */

/* --- Custom Properties --- */
:root {
  --forest:        #1B4D35;
  --forest-dark:   #0D2B1E;
  --forest-deep:   #0A2018;
  --forest-light:  #245E41;
  --forest-mist:   #EEF4F0;
  --gold:          #C8963E;
  --gold-light:    #DFB96A;
  --gold-pale:     #F5E9D0;
  --gold-dark:     #9E721F;
  --cream:         #F8F5EF;
  --white:         #FFFFFF;
  --ink:           #111816;
  --ink-70:        rgba(17,24,22,0.70);
  --ink-50:        rgba(17,24,22,0.50);
  --ink-30:        rgba(17,24,22,0.30);
  --border:        rgba(17,24,22,0.10);
  --border-light:  rgba(255,255,255,0.10);

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;

  --nav-height:    72px;
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  22px;
  --radius-2xl: 32px;
  --radius-full:9999px;

  --shadow-sm:  0 1px 3px rgba(17,24,22,.06), 0 1px 2px rgba(17,24,22,.04);
  --shadow-md:  0 4px 16px rgba(17,24,22,.08), 0 2px 6px rgba(17,24,22,.05);
  --shadow-lg:  0 12px 40px rgba(17,24,22,.10), 0 4px 12px rgba(17,24,22,.06);
  --shadow-xl:  0 24px 64px rgba(17,24,22,.12), 0 8px 24px rgba(17,24,22,.07);
  --shadow-g-sm:0 2px 8px rgba(27,77,53,.20),  0 1px 3px rgba(27,77,53,.12);
  --shadow-g-md:0 8px 32px rgba(27,77,53,.25), 0 3px 8px rgba(27,77,53,.14);
  --shadow-au-sm:0 2px 8px rgba(200,150,62,.22),0 1px 3px rgba(200,150,62,.12);
  --shadow-au-md:0 8px 32px rgba(200,150,62,.28),0 3px 8px rgba(200,150,62,.16);

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.125rem; letter-spacing: -0.01em; }
p  { line-height: 1.72; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}
.eyebrow--white { color: rgba(255,255,255,.6); }
.eyebrow--white::before { background: rgba(255,255,255,.4); }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.72;
  color: var(--ink-70);
}
.lead--white { color: rgba(255,255,255,.62); }

.divider-gold {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.divider-gold--center { margin-left: auto; margin-right: auto; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --- Section spacing --- */
.section    { padding: 6rem 0; }
.section-lg { padding: 8rem 0; }
.section-sm { padding: 4rem 0; }

.bg-white  { background: var(--white); }
.bg-cream  { background: var(--cream); }
.bg-forest { background: var(--forest); }
.bg-dark   { background: var(--forest-deep); }
.bg-deep   { background: var(--forest-dark); }

/* --- Section header --- */
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 4rem;
}
.section-header .eyebrow { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header .lead { max-width: 540px; margin: 0 auto; }

.section-header--left { text-align: left; margin-left: 0; }
.section-header--left .lead { margin: 0; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10,32,24,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.30); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1.5rem;
}
.nav-logo img { height: 36px; width: auto; object-fit: contain; }
.nav-logo { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.07);
}
.nav-chevron {
  width: 13px; height: 13px;
  opacity: .45;
  transition: transform .2s ease, opacity .2s ease;
  flex-shrink: 0;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); opacity: .85; }

/* Dropdown panel */
.nav-dropdown { position: relative; }
.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--forest-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 4px 16px rgba(0,0,0,.2);
  min-width: 248px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
  padding: 6px;
}
.nav-dropdown:hover .nav-panel,
.nav-dropdown.open  .nav-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dd-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.72);
  transition: background .15s, color .15s;
}
.dd-item:hover { background: rgba(255,255,255,.07); color: var(--white); }
.dd-icon {
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(200,150,62,.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.dd-text strong { display: block; font-size: .8125rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.dd-text span   { font-size: .6875rem; color: rgba(255,255,255,.45); line-height: 1.4; }
.dd-sep { height: 1px; background: rgba(255,255,255,.08); margin: 5px 10px; }

/* Nav CTA */
.nav-cta { display: flex; align-items: center; flex-shrink: 0; }

/* Hamburger */
.nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.nav-ham:hover { background: rgba(255,255,255,.08); }
.nav-ham span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(255,255,255,.8);
  border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--forest-deep);
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.mobile-menu.open { display: block; }

.m-nav-item { border-bottom: 1px solid rgba(255,255,255,.07); }
.m-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  width: 100%;
  text-align: left;
  transition: color .15s;
}
.m-nav-link:hover, a.m-nav-link:hover { color: var(--white); }
.m-sub { padding: 0 0 1rem 1rem; display: none; }
.m-sub.open { display: block; }
.m-sub-link {
  display: block;
  padding: 7px 0;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color .15s;
}
.m-sub-link:hover { color: var(--gold); }
.m-cta { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }

/* Nav responsive */
@media (max-width: 1060px) {
  .nav-link { padding: 6px 8px; font-size: .75rem; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-ham { display: flex; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--forest-deep);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo { height: 30px; width: auto; margin-bottom: 1rem; }
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.38); line-height: 1.65; margin-bottom: 1.5rem; max-width: 240px; }
.footer-col-title { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .75rem; }
.footer-link { font-size: .875rem; color: rgba(255,255,255,.48); transition: color .15s; }
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.28); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: .875rem; font-weight: 600;
  letter-spacing: .01em;
  transition: transform .25s var(--ease-spring), box-shadow .2s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn:active { transform: translateY(1px) !important; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-lg  { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius-md); }
.btn-sm  { padding: .5rem 1rem; font-size: .75rem; border-radius: var(--radius-sm); }

.btn-gold {
  background: var(--gold); color: var(--white);
  box-shadow: var(--shadow-au-sm);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-au-md); }

.btn-forest {
  background: var(--forest); color: var(--white);
  box-shadow: var(--shadow-g-sm);
}
.btn-forest:hover { background: var(--forest-light); transform: translateY(-2px); box-shadow: var(--shadow-g-md); }

.btn-outline-white {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { border-color: rgba(200,150,62,.65); background: rgba(200,150,62,.08); transform: translateY(-2px); }

.btn-outline-forest {
  background: transparent; color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline-forest:hover { background: var(--forest); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-g-sm); }

.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 1.5px solid rgba(200,150,62,.45);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-au-sm); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-height);
  padding-bottom: 5rem;
  position: relative; overflow: hidden;
  background: var(--forest-deep);
}
.hero-glow {
  position: absolute; border-radius: 50%;
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,150,62,.1);
  border: 1px solid rgba(200,150,62,.22);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.58);
  line-height: 1.72;
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Page-level hero */
.page-hero {
  padding: calc(var(--nav-height) + 5rem) 0 5rem;
  background: var(--forest-deep);
  position: relative; overflow: hidden;
}
.page-hero--forest { background: var(--forest); }
.page-hero--sm { padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 3rem; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .75rem; color: rgba(255,255,255,.38);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,.38); transition: color .15s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: .3; }

/* ================================================================
   CARDS
   ================================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform .28s var(--ease-spring), box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }

.card-cream  { background: var(--cream); border-color: rgba(27,77,53,.08); }
.card-forest { background: var(--forest); border: none; box-shadow: var(--shadow-g-md); }
.card-dark   { background: var(--forest-dark); border: 1px solid rgba(255,255,255,.08); }
.card-glass  { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.ci-forest { background: rgba(27,77,53,.1);  color: var(--forest); }
.ci-gold   { background: rgba(200,150,62,.12); color: var(--gold); }
.ci-white  { background: rgba(255,255,255,.1);  color: rgba(255,255,255,.9); }

/* ================================================================
   FEATURE / CHECK LIST
   ================================================================ */
.feature-list { display: flex; flex-direction: column; gap: 1rem; }
.feature-item { display: flex; gap: .75rem; align-items: flex-start; }
.fi-check {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.fi-check--gold   { background: rgba(200,150,62,.15); color: var(--gold); }
.fi-check--forest { background: rgba(27,77,53,.1);   color: var(--forest); }
.fi-check--white  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.fi-label { font-size: .9rem; color: var(--ink-70); line-height: 1.6; }
.fi-label strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; font-size: .875rem; }

/* Dark variant */
.feature-item--dark .fi-label { color: rgba(255,255,255,.62); }
.feature-item--dark .fi-label strong { color: var(--white); }

/* Fix: when fi-check is placed directly on the li (alongside feature-item),
   override the 20px size constraint and render the icon via ::before */
.feature-item.fi-check {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
}
.feature-item.fi-check::before {
  content: '✓';
  min-width: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
}
.feature-item.fi-check--forest::before { background: rgba(27,77,53,.1);    color: var(--forest); }
.feature-item.fi-check--gold::before   { background: rgba(200,150,62,.15); color: var(--gold); }
.feature-item.fi-check--white::before  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }

/* ================================================================
   STATS
   ================================================================ */
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem,4vw,3.25rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
  font-feature-settings: 'tnum';
}
.stat-label { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.stat-label--dark { color: var(--ink-50); }
.stat-num--forest { color: var(--forest); }

/* ================================================================
   INTEGRATION BADGES
   ================================================================ */
.logo-row { display: flex; flex-wrap: wrap; gap: .625rem; align-items: center; }
.logo-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid;
  transition: background .15s, transform .2s var(--ease-spring);
  cursor: default;
}
.logo-badge:hover { transform: translateY(-1px); }
.logo-badge--dark  { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.65); background: rgba(255,255,255,.05); }
.logo-badge--dark:hover { background: rgba(255,255,255,.09); }
.logo-badge--light { border-color: rgba(17,24,22,.12); color: var(--ink-70); background: var(--white); }
.logo-badge--light:hover { background: var(--cream); }
.logo-badge-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ================================================================
   CHALLENGE ITEMS
   ================================================================ */
.challenge-item {
  display: flex; gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  transition: background .2s, border-color .2s;
}
.challenge-item:hover { background: rgba(255,255,255,.06); border-color: rgba(200,150,62,.2); }
.ch-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: rgba(200,150,62,.1); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ch-text strong { display: block; font-size: .875rem; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.ch-text span,
.ch-text p   { font-size: .8125rem; color: rgba(255,255,255,.48); line-height: 1.55; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonial {
  background: var(--cream);
  border: 1px solid rgba(27,77,53,.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: border-color .2s, box-shadow .2s;
}
.testimonial:hover { border-color: rgba(27,77,53,.2); box-shadow: var(--shadow-lg); }
.t-stars { display: flex; gap: 3px; margin-bottom: 1rem; color: var(--gold); }
.t-quote { font-size: .9375rem; color: var(--ink-70); line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.t-author { display: flex; align-items: center; gap: .75rem; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(27,77,53,.12); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: .875rem; flex-shrink: 0;
}
.t-name  { font-weight: 600; font-size: .875rem; }
.t-title { font-size: .75rem; color: var(--ink-50); }

/* ================================================================
   FORMS
   ================================================================ */
.form-row { display: grid; gap: 1rem; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.label-dark  { color: rgba(255,255,255,.52); }
.label-light { color: var(--ink-70); }

.form-input {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  transition: border-color .15s, background .15s, box-shadow .15s;
  outline: none;
}
.input-dark {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
}
.input-dark::placeholder { color: rgba(255,255,255,.22); }
.input-dark:focus { border-color: rgba(200,150,62,.5); background: rgba(255,255,255,.08); box-shadow: 0 0 0 3px rgba(200,150,62,.08); }
.input-dark option { background: var(--forest-dark); }

.input-light {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.input-light:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(27,77,53,.08); }

.form-select { appearance: none; }

textarea.form-input { resize: vertical; min-height: 100px; }

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band {
  padding: 6rem 0;
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-band--forest  { background: var(--forest); }
.cta-band--dark    { background: var(--forest-deep); }

/* ================================================================
   PROCESS STEPS
   ================================================================ */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.process-step { text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
  margin: 0 auto 1.25rem;
}
.step-num--forest { background: var(--forest); color: var(--white); box-shadow: var(--shadow-g-sm); }
.step-num--gold   { background: var(--gold);   color: var(--white); box-shadow: var(--shadow-au-sm); }

/* ================================================================
   TAG / PILL
   ================================================================ */
.tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .6875rem; font-weight: 600;
}
.tag--forest { background: rgba(27,77,53,.1);   color: var(--forest); }
.tag--gold   { background: rgba(200,150,62,.12); color: var(--gold-dark); }
.tag--white  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ================================================================
   GRAIN OVERLAY
   ================================================================ */
.grain::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1;
}

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-60 { grid-template-columns: 1.5fr 1fr; }
.split-40 { grid-template-columns: 1fr 1.5fr; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px)  {
  .split, .split-60, .split-40 { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 720px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.pt-nav { padding-top: var(--nav-height); }

/* ================================================================
   DARK SECTION TEXT — auto-white for bg-dark / bg-deep / bg-forest
   ================================================================
   The global h1-h4 rule sets color:var(--ink) (near black).
   Any section with a dark background needs headings and body text
   to be white. Rather than adding style="" on every element, we
   use descendant selectors here as the single source of truth.
   ================================================================ */

/* --- Headings auto-white in dark containers --- */
.bg-dark    h1, .bg-dark    h2, .bg-dark    h3, .bg-dark    h4, .bg-dark    h5,
.bg-deep    h1, .bg-deep    h2, .bg-deep    h3, .bg-deep    h4, .bg-deep    h5,
.bg-forest  h1, .bg-forest  h2, .bg-forest  h3, .bg-forest  h4, .bg-forest  h5,
.page-hero  h1, .page-hero  h2, .page-hero  h3, .page-hero  h4,
.cta-band   h1, .cta-band   h2, .cta-band   h3 {
  color: var(--white);
}

/* --- Body text / paragraphs auto-white in dark containers ---
   No child combinator (>) so deeply-nested <p> tags are caught too.
   Exceptions for light-background components are restored below. */
.bg-dark   p,
.bg-deep   p,
.bg-forest p,
.page-hero p {
  color: rgba(255,255,255,0.65);
}

/* Catch section-header and split children that live directly inside dark sections */
.bg-dark   .section-header h2,
.bg-dark   .section-header h3,
.bg-dark   .section-header p,
.bg-deep   .section-header h2,
.bg-deep   .section-header h3,
.bg-deep   .section-header p,
.bg-forest .section-header h2,
.bg-forest .section-header h3,
.bg-forest .section-header p {
  color: var(--white);
}
.bg-dark   .section-header p,
.bg-deep   .section-header p,
.bg-forest .section-header p {
  color: rgba(255,255,255,0.62);
}

/* process-step labels in dark sections */
.bg-dark   .process-step h3, .bg-dark   .process-step p,
.bg-deep   .process-step h3, .bg-deep   .process-step p,
.bg-forest .process-step h3, .bg-forest .process-step p {
  color: rgba(255,255,255,0.7);
}
.bg-dark   .process-step h3,
.bg-deep   .process-step h3,
.bg-forest .process-step h3 { color: var(--white); }

/* --- Restore dark text inside LIGHT-background components ---
   .card and .card-cream use white/cream backgrounds, so their text
   must stay dark even when they're inside a dark section. */
.bg-dark   .card h1, .bg-dark   .card h2, .bg-dark   .card h3, .bg-dark   .card h4,
.bg-dark   .card-cream h1, .bg-dark .card-cream h2, .bg-dark .card-cream h3, .bg-dark .card-cream h4,
.bg-deep   .card h1, .bg-deep   .card h2, .bg-deep   .card h3, .bg-deep   .card h4,
.bg-deep   .card-cream h1, .bg-deep .card-cream h2, .bg-deep .card-cream h3, .bg-deep .card-cream h4,
.bg-forest .card h1, .bg-forest .card h2, .bg-forest .card h3, .bg-forest .card h4,
.bg-forest .card-cream h1, .bg-forest .card-cream h2, .bg-forest .card-cream h3, .bg-forest .card-cream h4 {
  color: var(--ink);
}
.bg-dark   .card p, .bg-dark   .card-cream p,
.bg-deep   .card p, .bg-deep   .card-cream p,
.bg-forest .card p, .bg-forest .card-cream p {
  color: var(--ink-70);
}

/* Testimonials have a cream background — keep text dark */
.bg-dark   .testimonial h3, .bg-dark   .testimonial h4, .bg-dark   .testimonial p,
.bg-deep   .testimonial h3, .bg-deep   .testimonial h4, .bg-deep   .testimonial p,
.bg-forest .testimonial h3, .bg-forest .testimonial h4, .bg-forest .testimonial p {
  color: var(--ink);
}
.bg-dark   .testimonial .t-quote,
.bg-deep   .testimonial .t-quote,
.bg-forest .testimonial .t-quote { color: var(--ink-70); }

/* --- .card-forest and .card-dark always use white text regardless of parent --- */
.card-forest h2, .card-forest h3, .card-forest h4, .card-forest h5 { color: var(--white); }
.card-forest p { color: rgba(255,255,255,0.70); }
.card-dark   h2, .card-dark   h3, .card-dark   h4, .card-dark   h5 { color: var(--white); }
.card-dark   p { color: rgba(255,255,255,0.65); }

/* --- Remove any redundant inline style="color:var(--white)" conflicts ---
   The inline styles set by the agents still win via specificity, which is
   fine — they will simply match the values above. No change needed there. */

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 600px) {
  .section    { padding: 4rem 0; }
  .section-lg { padding: 5rem 0; }
  .hero-ctas  { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  h2 { font-size: 1.75rem; }
}
