/*
 * ============================================================
 * IMPACT STATS SECTION  —  impact.css
 * ============================================================
 * Dark green band with animated counters that fire when the
 * section scrolls into view. Managed by assets/js/counters.js.
 *
 * To change a stat value  →  edit regreen_impact_stats() in functions.php
 * To change the label     →  same function
 * To add a stat           →  add an entry to that array (grid auto-fits)
 * ============================================================
 */

.impact-section {
  background: var(--rg-impact-bg);
  padding: 52px 0;
}

.impact-inner {
  max-width: var(--rg-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* "Fifteen Years Of Growth" label */
.impact-eyebrow {
  display: block;
  font-family: var(--rg-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rg-gold);
  margin-bottom: 24px;
}

/* Stat grid — auto-fits columns, min 160px each */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}

.stat-item {
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:first-child {
  border-left: none;
  padding-left: 0;
}

/* The number — JS writes to this element */
.stat-num {
  font-family: var(--rg-font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--rg-invert);
  display: block;
  line-height: 1;
}

/* The label beneath */
.stat-label {
  font-family: var(--rg-font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
  line-height: 1.5;
  display: block;
}

/* --- Mobile ------------------------------------------------ */
@media (max-width: 640px) {
  .stat-grid  { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat-item  { border-left: none; padding-left: 0; }
}
