/*
 * HolDent — Block: Stats Grid
 */

.holdent-stats-grid {
  padding-block: var(--space-3xl);
}

.holdent-stats-grid--canvas    { background: var(--color-canvas); }
.holdent-stats-grid--alternate { background: var(--color-alternate); }
.holdent-stats-grid--dark      { background: var(--color-dark); color: #fff; }

.holdent-stats-grid__header {
  max-width: 720px;
  margin-bottom: var(--space-2xl);
}

.holdent-stats-grid__overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.holdent-stats-grid__title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: inherit;
}

.holdent-stats-grid__subtitle {
  font-size: var(--fs-body-l);
  line-height: var(--lh-body);
  color: var(--color-text-muted);
}

.holdent-stats-grid--dark .holdent-stats-grid__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.holdent-stats-grid__list {
  display: grid;
  gap: var(--space-md);
}

.holdent-stats-grid__list--grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.holdent-stats-grid__list--grid-4 { grid-template-columns: repeat(2, 1fr); }
.holdent-stats-grid__list--grid-5 { grid-template-columns: repeat(2, 1fr); }
.holdent-stats-grid__list--grid-6 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .holdent-stats-grid__list--grid-4 { grid-template-columns: repeat(4, 1fr); }
  .holdent-stats-grid__list--grid-5 { grid-template-columns: repeat(5, 1fr); }
  .holdent-stats-grid__list--grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .holdent-stats-grid__list--grid-6 { grid-template-columns: repeat(6, 1fr); }
}

.holdent-stats-grid__list--flex-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.holdent-stats-grid__list--flex-horizontal .holdent-stats-grid__item {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.holdent-stats-grid__list--flex-horizontal .holdent-stats-grid__label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.holdent-stats-grid__item {
  padding: var(--space-lg);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.holdent-stats-grid--dark .holdent-stats-grid__item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.holdent-stats-grid__icon {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.holdent-stats-grid__value {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1;
  color: var(--color-primary);
}

.holdent-stats-grid__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.holdent-stats-grid--dark .holdent-stats-grid__label {
  color: rgba(255, 255, 255, 0.6);
}
