.massage-block {
  font-family: 'Tenor Sans';
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.bloc3 {
  background-color: #a895a8;
}
/* Верхняя часть: сертификаты */
.certificates-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.certificates-left {
  line-height: 20px;
  flex: 1 1 45%;
  min-width: 300px;
}

.certificates-left h3 {
      line-height: 30px;
      font-family: 'Tenor Sans';
  font-size: 2rem!important;
  color: #ffffff;
  margin-bottom: 20px;
}

.cert-features {
  color: #ffffff;
  list-style: none;
}

.cert-features li {
  font-size: 16px;
  margin-bottom: 25px;
  position: relative;
  padding-left: 30px;
}

.checkmark {
position: absolute;
    left: -15px;
    top: 0px;
    color: #ffffff;
    font-weight: bold;
    font-size: 3.2rem;
}

.certificates-right {
  flex: 1 1 45%;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cert-image {
  width: 70%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.cert-image:hover {
  transform: translateY(-5px);
}

/* Нижняя часть: слайдер акций */
.actions-slider {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* Ключевое исправление: ширина контейнера = сумме ширин всех слайдов */
  width: 100%;
}

.slide {
  /* Исправление: фиксированная ширина слайда в % для десктопа */
  flex: 0 0 25%; /* 4 слайда по 25% = 100% контейнера */
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  box-sizing: border-box;
}

.slide-content {
  height: 150px;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  max-width: 100%;
}

.slide h3 {
  height: 50px;
  text-align: center;
  margin: 0 0 15px 0;
  color: #6a4c93;
}

.btn-book {
  background: #6a4c93;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn-book:hover {
  background: #553a7a;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: none; /* Скрываем на мобильных */
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* Адаптивность */
@media (min-width: 769px) {
  .slider-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .certificates-section {
    flex-direction: column;
  }

  .certificates-left,
  .certificates-right {
    min-width: auto;
  }

  /* Для мобильных: один слайд на экране */
  .slide {
    flex: 0 0 100%;
    height: 280px;
  }

  .slider-btn {
    display: block;
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .massage-block {
    padding: 10px;
  }

  .certificates-left h2 {
    font-size: 1.6rem;
  }

  .slide {
    height: 220px;
  }

  .slide-content {
    padding: 10px;
  }

  .btn-book {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .slider-btn {
    width: 25px;
    height: 25px;
    font-size: 1rem;
  }
}
.promo-block {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 20px auto;
  border-radius: 16px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-container {
  flex: 1 1 10%;
  min-width: 300px;
  position: relative;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.text-container {
  flex: 1 1 50%;
  min-width: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-container h3 {
  font-family: 'Tenor Sans';
    font-size: 2rem !important;
    color: #a895a8;
}

.text-container p {
  line-height: 20px;
  font-family: 'Tenor Sans';
  color: #36393e;
  margin-bottom: 12px;
  font-size: 1rem;
}

.text-container ul {
  line-height: 20px;
  font-family: 'Tenor Sans';
  color: #36393e;
  margin-bottom: 12px;
  font-size: 1rem;
}

.text-container .cta {
  font-weight: bold;
  font-size: 1.1rem;
  color: #a895a8;
}

/* Адаптивность */
@media (max-width: 768px) {
  .promo-block {
    flex-direction: column;
    border-radius: 12px;
  }

  .image-container,
  .text-container {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .image-container {
    border-radius: 12px 12px 0 0;
  }

  .text-container {
    padding: 25px;
    border-radius: 0 0 12px 12px;
  }

  .text-container h2 {
    font-size: 1.6rem;
  }

  .text-container p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .text-container {
    padding: 20px;
  }

  .text-container h2 {
    font-size: 1.4rem;
  }

  .text-container p {
    font-size: 0.9rem;
  }
}
.main-title1 {
    font-family: 'Tenor Sans' !important;
    font-size: 2rem !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    flex: 1 1 45% !important;
    min-width: 300px !important; 
}
.about-us-block1 {
    padding: 0px 0px 0px 50px;
    max-width: 960px;
    margin: 0 auto;
}
.custom-img-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
}

.custom-img-item {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 250px;
}

.custom-img-thumb {
  width: 100%;
  height: auto;
  border-radius: 12px; /* Закруглённые края */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Лёгкая тень */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Плавные переходы */
  background-color: transparent; /* Прозрачный фон */
}

.custom-img-thumb:hover {
  transform: scale(1.05); /* Увеличение при наведении */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* Усиление тени при наведении */
}

/* Адаптивность для планшетов */
@media (max-width: 768px) {
  .custom-img-item {
    flex: 1 1 calc(50% - 16px); /* Две картинки в ряд */
  }
}

/* Адаптивность для мобильных телефонов */
@media (max-width: 480px) {
  .custom-img-item {
    flex: 1 1 100%; /* Одна картинка на всю ширину */
  }
  .custom-img-thumb {
    border-radius: 8px; /* Чуть меньше закругление на маленьких экранах */
  }
}
