/*==============================================
  About One Stats — 5 карток (як на скріні)
  Іконки в кольорових фігурах, білі картки
===============================================*/

.about-1-stats {
  position: relative;
  display: block;
  padding: 60px 0 60px;
  /* background-color: #0d47a1; */
}

.about-1-stats__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  justify-content: center;
}

.about-1-stats__card {
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 240px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.about-1-stats__card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  /* transform: translateY(-2px); */
}

.about-1-stats__icon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-1-stats__shape {
  position: absolute;
  inset: 0;
  display: block;
}

.about-1-stats__shape--star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.about-1-stats__shape--circle {
  border-radius: 50%;
}

.about-1-stats__shape--square {
  border-radius: 12px;
}

.about-1-stats__shape--diamond {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  border-radius: 0;
}

/* Кольори фігур та іконок по картках */
.about-1-stats__card--yellow .about-1-stats__shape {
  background-color: rgba(255, 193, 7, 0.25);
  border: 1.5px solid #e6a800;
}

.about-1-stats__card--yellow .about-1-stats__icon {
  color: #b8860b;
}

.about-1-stats__card--green .about-1-stats__shape {
  background-color: rgba(76, 175, 80, 0.2);
  border: 1.5px solid #2e7d32;
}

.about-1-stats__card--green .about-1-stats__icon {
  color: #2e7d32;
}

.about-1-stats__card--blue .about-1-stats__shape {
  background-color: rgba(33, 150, 243, 0.2);
  border: 1.5px solid #1565c0;
}

.about-1-stats__card--blue .about-1-stats__icon {
  color: #1565c0;
}

.about-1-stats__card--orange .about-1-stats__shape {
  background-color: rgba(255, 152, 0, 0.25);
  border: 1.5px solid #e65100;
}

.about-1-stats__card--orange .about-1-stats__icon {
  color: #e65100;
}

.about-1-stats__card--lightblue .about-1-stats__shape {
  background-color: rgba(3, 169, 244, 0.2);
  border: 1.5px solid #0288d1;
}

.about-1-stats__card--lightblue .about-1-stats__icon {
  color: #0288d1;
}

.about-1-stats__icon {
  position: relative;
  z-index: 1;
  font-size: 26px;
  line-height: 1;
}

.about-1-stats__content {
  flex: 1;
  min-width: 0;
}

.about-1-stats__number {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #121212;
  font-family: var(--nexin-font, "Open Sans", sans-serif);
  margin-bottom: 2px;
}

.about-1-stats__label {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #797E88;
  font-family: var(--nexin-font, "Open Sans", sans-serif);
  font-weight: 500;
}

/* Адаптив: планшет — картки в 2–3 ряди */
@media (max-width: 991px) {
  .about-1-stats__row {
    gap: 16px;
    justify-content: center;
  }

  .about-1-stats__card {
    flex: 1 1 calc(50% - 12px);
    max-width: none;
    min-width: 200px;
  }
}

/* Адаптив: мобільний — одна колонка або 2 дрібні */
@media (max-width: 575px) {
  .about-1-stats {
    padding: 32px 0 40px;
  }

  .about-1-stats__row {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .about-1-stats__card {
    flex: none;
    min-width: 0;
    max-width: none;
    padding: 16px 18px;
  }

  .about-1-stats__icon-wrap {
    width: 48px;
    height: 48px;
  }

  .about-1-stats__icon {
    font-size: 22px;
  }

  .about-1-stats__number {
    font-size: 20px;
  }

  .about-1-stats__label {
    font-size: 12px;
  }
}
