/* ══════════════════════════════════════════
   STATS
══════════════════════════════════════════ */

.stats {
  padding: var(--sp-20) 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  background: rgba(34, 197, 94, 0.02);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
}

/* ── Stat Item ─────────────────── */
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-6);
  border-right: 1px solid var(--clr-border);
  position: relative;
}

.stat:last-child {
  border-right: none;
}

.stat__number {
  font-size: clamp(var(--text-4xl), 4vw, var(--text-6xl));
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--clr-primary);
  line-height: 1;
  margin-bottom: var(--sp-3);
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Responsive ────────────────── */
@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-right: 1px solid var(--clr-border);
  }

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

  .stat:nth-child(3) {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
}
