
.hero-slider-custom {
  position: relative;
  height: 60vh;
  min-height: 700px;
  overflow: hidden;
  padding-bottom: 80px;
}

.container-swiper {
  width: 100%;
  height: 100%;
}

.custom-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.custom-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;


  z-index: 1;
  background-size: cover;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;



  display: flex;
  align-items: flex-end; /* 👈 теперь текст прижмётся вниз */
  justify-content: center;
  padding-bottom: 140px; /* чтобы над кнопками-услугами */

}

.custom-slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-content {
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 800px;
}

.theme-btn {
  background-color: #c8ae82;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

/* ==== Блок иконок ==== */
.custom-service-icons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 2;
  padding: 40px 300px;
}

.icon-card {
  flex: 1 1 25%;
  background: #f1f0f0;
  padding: 25px;
  text-align: center;
  border-right: 1px solid #ddd;
  cursor: pointer;
}

.icon-card:last-child {
  border-right: none;
}

.icon-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
}

.icon-card span {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: #222;
}

.icon-card.active {
  background-color: #c8ae82;
}

.icon-card.active span {
  color: white;
}



.container-text-slider {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}


/* Убираем иконки на мобильных */
@media (min-width: 1172px) {
  .container-text-slider {
    margin-left: 280px;
  }
}




.text-slider {
  transition-duration: 0ms;
  transform: translate3d(0px, 0px, 0px);
  max-width: 655px;
}


.text-slider h2 {
  font-size: 65px;
  font-size: 4.0625rem;
  color: #fff;
  margin: 0 0 0.61em;
}

.text-slider p {
  font-size: 18px;
  font-size: 1.125rem;
  color: #fff;
  font-weight: 600;
  margin: 0 0 2.7em;
  color: #687693;
  line-height: 1.7em;

}

.slide-btns a {

  background-color: #c9b38c;
  color: #fff;
  font-weight: 700;
  padding: 16px 30px;
  border: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  display: inline-block;

}


.text-slider p {
  font-size: 18px;
  font-size: 1.125rem;
  color: #fff;
  font-weight: 600;
  margin: 0 0 2.7em;
  line-height: 1.7em;
}


/* Убираем иконки на мобильных */
@media (max-width: 768px) {
  .custom-service-icons {
    display: none;
  }

  .hero-slider-custom {
    height: 70vh;
    min-height: 400px;
  }


  .custom-slide {
    width: initial;
    align-items: center;
    padding-bottom: initial;
  }

  .text-slider h2 {
    font-size: 40px;
  }
}