.b-steps {
  margin: clamp(32px, 6vw, 104px) 0;
}

.b-steps__subtitle {
  background: #3b3bf4;
  color: #ffeb6c;
  padding: 13px 24px;
  font-size: clamp(14px, 2vw, 22px);
  line-height: 1.2;
  margin-bottom: clamp(28px, 3vw, 52px);
}

.b-steps__title {
  margin-bottom: 16px;
}

.b-steps__text {
  color: #ffeb6c;
  font-size: clamp(14px, 2vw, 25px);
  max-width: 968px;
  margin: 0 auto clamp(32px, 3vw, 48px);
}

.b-steps .swiper {
  overflow: initial;
}

.b-steps__step {
  position: relative;
  width: clamp(240px, 30vw, 280px);
}

.b-steps__step:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: -56px;
  top: 20px;
  border-top: 1px solid #ffeb6c;
}

.b-steps__step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0000d5;
  font-size: 27px;
  color: #ffeb6c;
  line-height: 1;
  position: relative;
  margin: 0 0 clamp(24px, 2vw, 48px);
}

.b-steps__step-title {
  font-size: clamp(16px, 2vw, 25px);
  color: #ffeb6c;
  margin-bottom: 16px;
}

.b-steps__step-text {
  font-size: clamp(14px, 1.2vw, 17px);
}

.b-steps__step:first-child:before {
  left: 0%;
}

.b-steps__step:last-child:before {
  right: 100%;
}

@media screen and (min-width: 1400px) {
  .b-steps__step-number {
    margin: 0 auto clamp(24px, 2vw, 48px);
  }

  .b-steps__step:first-child:before {
    left: 50%;
  }

  .b-steps__step:last-child:before {
    right: 50%;
  }
}





.b-steps__step > * {
  transform: translateX(-30px);
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}

.b-steps__step.is-animation {
  opacity: 1;
  transform: translateY(0);
}

.b-steps__step.is-animation.animated > * {
  opacity: 1;
  transform: translateX(0);
}

.b-steps__step:nth-child(1) > * {
  transition-delay: 0s;
}

.b-steps__step:nth-child(2) > * {
  transition-delay: 0.5s;
}

.b-steps__step:nth-child(3) > * {
  transition-delay: 1s;
}

.b-steps__step:nth-child(4) > * {
  transition-delay: 1.5s;
}

.b-steps__step:nth-child(5) > * {
  transition-delay: 2s;
}

.b-steps__step:nth-child(6) > * {
  transition-delay: 2.5s;
}

.b-steps__step:nth-child(7) > * {
  transition-delay: 3s;
}

.b-steps__step:nth-child(8) > * {
  transition-delay: 3.5s;
}
