/* ═══════════════════════════════════════
   SRAV HEALTH — Main Stylesheet
   Forest Green + Midnight Navy + Gold
═══════════════════════════════════════ */

:root {
  --green: #2D5A3D;
  --green-dark: #1E3D29;
  --green-mid: #3D7A54;
  --navy: #1B2A4A;
  --navy-mid: #243660;
  --ivory: #F5F0E8;
  --ivory-dark: #EDE8DC;
  --teal: #2A7A8A;
  --gold: #C4A35A;
  --gold-light: #D4B86A;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-mid: #444;
  --text-light: #777;
  --border: rgba(45,90,61,0.12);

  --font-display: 'Cinzel', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'DM Sans', sans-serif;

  --max: 1140px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }
p { font-weight: 300; }
a { text-decoration: none; color: inherit; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(245,240,232,0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 4px;
  color: var(--ivory);
  line-height: 1;
}

.nav-tagline {
  font-size: 8px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,240,232,0.7);
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ivory); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  padding: 10px 24px !important;
  letter-spacing: 1.5px !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(245,240,232,0.8);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--green-dark);
  z-index: 99;
  flex-direction: column;
  padding: 20px 0;
  border-bottom: 1px solid rgba(245,240,232,0.1);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 14px 48px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,240,232,0.8);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--green);
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 48px;
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-left: 80px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(245,240,232,0.65);
  max-width: 560px;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-mark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-primary.btn-large {
  font-size: 13px;
  padding: 18px 48px;
  letter-spacing: 2.5px;
}

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(245,240,232,0.3);
  color: rgba(245,240,232,0.8);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(245,240,232,0.7);
  color: var(--ivory);
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 60px;
  gap: 8px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(245,240,232,0.5);
  font-weight: 300;
  max-width: 180px;
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(245,240,232,0.1);
  flex-shrink: 0;
}

/* ─── SECTIONS ─── */
.section { padding: 100px 0; }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

.dark-section { background: var(--green); }
.dark-section .section-label { color: rgba(196,163,90,0.7); }
.dark-section .section-title { color: var(--ivory); }

.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-label.light { color: rgba(196,163,90,0.7); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 48px;
}

.section-title.light { color: var(--ivory); }

.section-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 56px;
  font-weight: 300;
}

/* ─── PROBLEM ─── */
.problem { background: var(--ivory); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.problem-card {
  background: var(--white);
  padding: 40px;
  transition: transform 0.2s;
}

.problem-card:hover { transform: translateY(-2px); }

.problem-icon {
  color: var(--green);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ─── HOW IT WORKS ─── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
  padding-top: 4px;
  text-align: right;
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245,240,232,0.55);
}

.step-connector {
  height: 32px;
  margin-left: 80px;
  border-left: 1px solid rgba(196,163,90,0.2);
}

.how-cta { margin-top: 56px; }

/* ─── WHO IT'S FOR ─── */
.who { background: var(--white); }

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 56px;
}

.who-col {
  padding: 48px;
}

.who-col.good {
  background: var(--green);
}

.who-col.bad {
  background: var(--ivory);
}

.who-col h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 24px;
}

.who-col.good h3 { color: var(--gold); }
.who-col.bad h3 { color: var(--text-mid); }

.who-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.who-col ul li {
  font-size: 14px;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.who-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.who-col.good ul li { color: rgba(245,240,232,0.75); }
.who-col.good ul li::before { background: var(--gold); opacity: 0.6; }
.who-col.bad ul li { color: var(--text-mid); }
.who-col.bad ul li::before { background: var(--text-light); opacity: 0.4; }

.modalities { }

.modality-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.modality-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modality-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  font-weight: 400;
}

.modality-tag.active {
  background: var(--green);
  color: var(--ivory);
  border-color: var(--green);
  cursor: pointer;
  transition: background 0.2s;
}

.modality-tag.active:hover { background: var(--green-mid); }

.modality-tag.coming {
  color: var(--text-light);
  background: var(--ivory);
}

.modality-tag.coming em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 1px;
  opacity: 0.6;
  background: var(--ivory-dark);
  padding: 2px 6px;
}

/* ─── PROOF ─── */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.proof-card {
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(245,240,232,0.1);
  padding: 48px;
}

.proof-quote {
  font-family: var(--font-serif);
  font-size: 80px;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 20px;
  opacity: 0.6;
}

.proof-card p {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: rgba(245,240,232,0.8);
  line-height: 1.7;
  margin-bottom: 24px;
}

.proof-attr {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.proof-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}

.proof-stat:last-child { border-bottom: none; padding-bottom: 0; }

.ps-num {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--gold);
}

.ps-label {
  font-size: 13px;
  color: rgba(245,240,232,0.5);
  font-weight: 300;
  line-height: 1.6;
}

/* ─── ABOUT ─── */
.about { background: var(--ivory); }

.about-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.about-image-frame {
  aspect-ratio: 3/4;
  background: var(--ivory-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45,90,61,0.1);
  margin-bottom: 20px;
}

.about-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-credentials span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  padding: 6px 12px;
  border: 1px solid rgba(45,90,61,0.2);
  font-weight: 400;
}

.about-text-col .section-title { margin-bottom: 28px; }

.about-p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.about-detail {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 36px;
  border-top: 1px solid rgba(45,90,61,0.12);
}

.ad-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  font-size: 13px;
}

.ad-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  padding-top: 2px;
}

.ad-val { color: var(--text-mid); line-height: 1.6; }

/* ─── CTA SECTION ─── */
.cta-section { background: var(--navy); }

.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-ear { opacity: 0.6; margin-bottom: 8px; }

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.2;
}

.cta-sub {
  font-size: 16px;
  color: rgba(245,240,232,0.55);
  max-width: 580px;
  line-height: 1.8;
  font-weight: 300;
}

.cta-note {
  font-size: 11px;
  color: rgba(245,240,232,0.3);
  letter-spacing: 0.5px;
  margin-top: -8px;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--green-dark);
  padding: 32px 0;
  border-top: 1px solid rgba(245,240,232,0.06);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 3px;
  color: rgba(245,240,232,0.5);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(245,240,232,0.8); }

.footer-copy {
  font-size: 11px;
  color: rgba(245,240,232,0.25);
}

/* ─── PAGE HEADERS (inner pages) ─── */
.page-header {
  background: var(--green);
  padding: calc(var(--nav-h) + 80px) 0 80px;
}

.page-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

.page-header .section-label { color: var(--gold); opacity: 0.8; }

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 20px;
}

.page-header p {
  font-size: 17px;
  color: rgba(245,240,232,0.6);
  max-width: 600px;
  line-height: 1.8;
  font-weight: 300;
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── GOLD RULE ─── */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.gold-rule-line {
  flex: 1;
  height: 1px;
  background: rgba(196,163,90,0.3);
}

.gold-rule-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 60px 24px; }
  .hero-mark { display: none; }

  .section-inner { padding: 0 24px; }

  .stats-bar {
    flex-direction: column;
    gap: 32px;
    padding: 40px 24px;
  }
  .stat-divider { width: 60px; height: 1px; }
  .stat { padding: 0; }

  .problem-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-image-col { max-width: 280px; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 40px; }
  .section-title { font-size: 30px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
  .step { grid-template-columns: 50px 1fr; }
  .step-connector { margin-left: 50px; }
}
