/* stats.css — animated counter panel */

.stats-panel {
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-700) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 44px 36px;
  display: grid;
  gap: 34px;
  align-content: center;
  box-shadow: var(--shadow-lg);
}

.stat { text-align: center; }
.stat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  margin-top: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}
.stat + .stat { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 30px; }

/* Inline row variant used on inner pages */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stats-row .stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 18px;
  box-shadow: var(--shadow-sm);
}
.stats-row .stat-value { color: var(--primary); }
.stats-row .stat-label { color: var(--text-muted); }
.stats-row .stat + .stat { border-top: 1px solid var(--border); padding-top: 26px; }

@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr; }
}
