/* Sekcja */

.stats {
  padding: 64px 16px;
  background: #ffffff;
}

/* Kontener */

.stats__container {
  max-width: 920px;
  margin: 0 auto;
}

/* Nagłówek */

.stats__title {
  margin: 0 0 32px;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #101828;
}

/* Grid */

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

/* Kafelek */

.stat-card {
  border-radius: 18px;
  padding: 32px 28px;
  background: #eef2f8;
  border: 1px solid #e6eaf2;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover (opcjonalnie) */

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}

/* Liczby */

.stat-card__value {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  color: #101828;
  margin-bottom: 10px;
}

/* Opis */

.stat-card__label {
  font-size: 15px;
  color: #667085;
  font-weight: 500;
}

/* Wyróżniony kafelek */

.stat-card--primary {
  background: #2d3b8f;
  border-color: rgba(255,255,255,0.15);
}

.stat-card--primary .stat-card__value, .stat-card--primary .stat-card__label {
  color: #ffffff;
}

/* Tablet */

@media (max-width: 768px) {
  .stats__grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .stat-card {
    min-height: 150px;
    padding: 28px 24px;
  }
}

/* Mobile */

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

@media (max-width: 520px) {
  .stat-card {
    min-height: 140px;
    padding: 24px;
  }
}

