.steps-slider-section {
  position: relative;
  overflow: hidden;
  /* Добавляем затемнение поверх видео */
  &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* background: rgba(0, 0, 0, 0.85); */
      z-index: 0;
  }
}

.section-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
  filter: grayscale(100%);
}

.container,
.section-header,
.steps-slider-container {
  position: relative;
  z-index: 1;
}
.section-header {
  text-align: center;
  position: relative;
}

.section-title-slider {
  color: #fff;
  font-size: 2.2rem;
  margin: 0;
  position: relative;
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0 30px;
}

.section-title-slider:before,
.section-title-slider:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, transparent, #F0A202);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.section-title-slider:before {
  left: -80px;
  background: linear-gradient(90deg, #F0A202, transparent);
}

.section-title-slider:after {
  right: -80px;
}

.section-title-slider:hover:before,
.section-title-slider:hover:after {
  width: 80px;
  opacity: 1;
}

@media (max-width: 768px) {
  .section-title {
      font-size: 2.2rem;
      padding: 0 20px;
  }

  .section-title:before,
  .section-title:after {
      width: 40px;
  }

  .section-title:hover:before,
  .section-title:hover:after {
      width: 50px;
  }
}

@media (max-width: 480px) {
  .section-title {
      font-size: 1.8rem;
  }

  .section-title:before,
  .section-title:after {
      display: none; /* Скрываем линии на мобильных */
  }
}

.steps-slider-section .container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Заголовок */
.section-header {
  text-align: center;
}

.section-title {
  color: #fff;
  font-size: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin: 0;
}

.title-icon {
  width: 40px;
  height: 40px;
  fill: #F0A202;
}

/* Контейнер слайдера */
.steps-slider-container {
  position: relative;
  padding: 0 50px;
}

/* Дорожка слайдера */
.steps-slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 0;
}

/* Карточка этапа */
.step-card {
  background: rgba(26, 26, 26, 0.7);
  border-radius: 15px;
  padding: 30px;
  flex: 0 0 300px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  color: #F0A202;
  font-size: 1.8rem;
  font-weight: 200;
  margin-bottom: 15px;
}

.step-title {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 15px;
}

.step-description {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
}

/* CTA карточка */
.step-cta-card {
  background: #F0A202;
  border-radius: 15px;
  padding: 40px;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 30px rgba(183, 159, 95, 0.2);
}

.cta-title {
  color: #000;
  font-size: 1.6rem;
  margin: 20px 0;
  font-weight: 600;
}

.cta-button {
  background: #000;
  color: #F0A202;
  border: none;
  padding: 12px 35px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.button-arrow {
  width: 16px;
  height: 16px;
  fill: #F0A202;
}

.clients-slider-arrow-block {
  display: flex;

}
/* Кнопки навигации */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(254, 199, 111, .4);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  font-size: 24px;
  transition: all 0.3s;
  z-index: 10;
}

.slider-arrow:hover {
  background: #F0A202;
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
  left: 0;
}

.slider-arrow.next {
  right: 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .steps-slider-container {
      padding: 0 30px;
  }

  .step-card,
  .step-cta-card {
      flex: 0 0 280px;
  }
}

@media (max-width: 768px) {
  .section-title {
      font-size: 2rem;
  }

  .steps-slider-container {
      padding: 0 20px;
  }

  .step-card,
  .step-cta-card {
      flex: 0 0 260px;
      padding: 25px;
  }

  .slider-arrow {
      width: 40px;
      height: 40px;
      font-size: 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
      font-size: 1.8rem;
      flex-direction: column;
  }

  .title-icon {
      width: 35px;
      height: 35px;
  }

  .step-title {
      font-size: 1.2rem;
  }

  .cta-title {
      font-size: 1.4rem;
  }
}
