/* Блок «Как проходит визит» (из main_page.css) — общий для промо-страниц. */
.steps-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 10%;
  width: 100%;
  box-sizing: border-box;
  min-height: 800px;
  /* Ограничиваем градиент строго внутри блока */
  overflow: hidden;
  /* Радиальный градиент, который тянется под размер блока, а не экрана */
  background: radial-gradient(circle at center, rgb(85 148 184 / 15%) 0%, rgb(0 94 226 / 0%) 34%);
}

.steps-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 120px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Ускоряем отрисовку для плавности анимации */
  will-change: transform;
}

.step-icon-wrap {
  width: 100%;
  max-width: 150px;
  height: 150px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-icon {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.step-text {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.step-text span {
  color: #E57431;
  font-weight: 500;
}

/* Анимация поочередного увеличения */
@keyframes stepPulse {

  0%,
  20%,
  100% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.03) translateY(-6%);
  }

  /* Увеличиваем на 12% */
}

.pulse-1,
.pulse-2,
.pulse-3,
.pulse-4 {
  animation: stepPulse 3.5s infinite ease-in-out;
}

.pulse-1 {
  animation-delay: 0s;
}

.pulse-2 {
  animation-delay: 0.2s;
}

.pulse-3 {
  animation-delay: 0.4s;
}

.pulse-4 {
  animation-delay: 0.6s;
}

/* Адаптив для мобильных устройств */
@media screen and (max-width: 768px) {
  .steps-section {
    padding: 50px 20px;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .step-icon-wrap {
    max-width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }

  .step-text {
    font-size: 1.1rem;
    white-space: normal;
  }
}
