/* ==========================================================================
   Denty — Stats
   Four-up clinic metrics strip, shares the header/hero horizontal grid.
   ========================================================================== */

.stats {
  width: 100%;
  padding-inline: var(--container-padding);
  margin-top: 120px;
}

.stats-inner {
  max-width: var(--container-width);
  margin-inline: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-white);
  transition: border-color 320ms ease, box-shadow 320ms ease, transform 320ms ease;
}

.stat-card:hover {
  border-color: rgba(15, 26, 45, 0.16);
  box-shadow: 0 12px 28px rgba(15, 26, 45, 0.06);
  /* Very small — the entrance settle above already establishes this
     card's own resting transform, this is just a quiet hover cue on
     top of it. */
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .stat-card:hover {
    transform: none;
  }
}

.stat-value {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-dark);
}

.stat-label {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-secondary);
}

/* ================================================================== */
/* Responsive                                                          */
/* ================================================================== */

@media (max-width: 1240px) {
  .stats {
    margin-top: 96px;
  }

  .stat-value {
    font-size: 36px;
  }
}

@media (max-width: 860px) {
  .stats {
    margin-top: 64px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 26px 24px;
  }
}

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