/* ==========================================================================
   sections.css — the 7 landing section types
   ========================================================================== */

/* ---------------------------------------------------------------- hero */

.section--hero {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--green-dark);
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; color: #fff; }
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__headline {
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.hero__subheadline {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: #CFE8D4;
  font-weight: 500;
  margin-bottom: 2.25rem;
}
.hero__actions { margin-bottom: 3rem; }
.hero__scroll { font-size: 1.6rem; color: rgba(255, 255, 255, .55); margin: 0; }

/* -------------------------------------------------------------- prose */

.section--prose { background: var(--surface); }

/* ------------------------------------------------------- feature grid */

.section--feature-grid { background: var(--cream); }

.feature-grid {
  display: grid;
  gap: 1.5rem;
}
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-card__icon { font-size: 1.9rem; display: block; margin-bottom: .9rem; }
.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .55rem;
}
.feature-card__body { color: var(--muted); font-size: .98rem; margin: 0; }

.visual-message {
  margin-top: 2.5rem;
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: grid;
  gap: .6rem;
  justify-items: center;
}
.visual-message__line {
  color: #9FE0AB;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: clamp(.9rem, 2vw, 1.1rem);
  text-transform: uppercase;
}

/* --------------------------------------------------------------- stats */

.section--stats { background: var(--surface); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}
.stat-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green-secondary);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.stat-card__value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: .35rem;
  word-break: break-word;
}
.stat-card__label { font-weight: 600; color: var(--ink); margin-bottom: .15rem; }
.stat-card__sublabel { color: var(--muted); font-size: .875rem; margin: 0; }
.stats-grid--dense { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* ------------------------------------------------------------- product */

.section--product { background: var(--cream); }

.product {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.product__image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #E8F5EB, #CFE7D4);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.product__tagline {
  text-align: center;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--green-primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
}
.product__bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.product__bullets li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .7rem;
  font-weight: 500;
}
.product__bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-primary);
  font-weight: 800;
}

/* ------------------------------------------------------------ timeline */

.section--timeline { background: var(--surface); }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 4.5rem;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: var(--border);
}
.timeline__item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
}
.timeline__year {
  font-weight: 800;
  color: var(--green-primary);
  font-size: 1.05rem;
  text-align: right;
  padding-top: 1rem;
}
.timeline__year::after {
  content: '';
  position: absolute;
  left: 4.15rem;
  top: 1.4rem;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: var(--green-primary);
  border: 3px solid var(--surface);
}
.timeline__card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
}
.timeline__title { font-size: 1.1rem; color: var(--green-dark); margin-bottom: .4rem; }
.timeline__body { color: var(--muted); margin: 0; font-size: .98rem; }

/* ----------------------------------------------------------------- cta */

.section--cta {
  background: linear-gradient(150deg, var(--green-dark), #134D21);
  color: #fff;
  text-align: center;
}
.cta-block__headline {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.section--cta .prose { color: #CFE8D4; }
.section--cta .prose strong { color: #9FE0AB; }
.section--cta .btn--primary {
  background: var(--green-secondary);
  margin-top: 1rem;
}
.section--cta .btn--primary:hover { background: #3E9149; }

/* ------------------------------------------- lab numbers / lab box / tagline */

.stats-report-numbers {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin: 1.25rem 0 0;
}
.stats-report-numbers strong { color: var(--ink); font-weight: 700; }

.product-lab-results {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
}
.product-lab-results h4 {
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green-primary);
  margin-bottom: .7rem;
}
.product-lab-results ul { list-style: none; padding: 0; margin: 0 0 .6rem; }
.product-lab-results li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .3rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: .95rem;
}
.product-lab-results li:last-of-type { border-bottom: 0; }
.product-lab-results .label { color: var(--ink); font-weight: 600; }
.product-lab-results .value { color: var(--green-primary); font-weight: 700; }
.product-lab-results .muted { font-size: .85rem; margin: 0; }

.lifestyle-tagline {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-left: 4px solid var(--green-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* --------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .feature-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; }
  .product__media { max-width: 420px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .feature-grid--2, .feature-grid--3 { grid-template-columns: 1fr; }
  .timeline::before { left: .35rem; }
  .timeline__item { grid-template-columns: 1fr; gap: .5rem; padding-left: 1.5rem; }
  .timeline__year { text-align: left; padding-top: 0; }
  .timeline__year::after { left: -1.5rem; top: .35rem; }
}
