html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}


.stat-number {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 1;
  line-height: 1;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
  /* no width jitter mid-count */
}

.stat-label {
  font-size: 0.9375rem;
  color: #6b7280;
  max-width: 14ch;
  /* wrap long labels tidy, like "годин особистого досвіду" */
  line-height: 1.4;
}

.stat-icon {
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #4b5563;
  stroke-width: 1.5;
  /* if using SVG stroke icons like screenshot */
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

/* tablet: 2x2 */
@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* phone: single column, but centered not left-stacked */
@media (max-width: 500px) {
  .stats {
    grid-template-columns: 1fr;
  }
}