@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

html,
body {
  overflow-x: hidden !important;
  max-width: 100%;
  scroll-behavior: smooth;
  font-family: "Cormorant Garamond", sans-serif;
}

.main {
  flex: 1;
}

* {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: "Inter", serif;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.page__index .top__wrapper {
  background: url("../img/hero-bg.png") no-repeat center bottom;
  background-size: cover;
  color: white;
  position: relative;
  padding-bottom: 50px;
  min-height: 100vh;
}

.page__index .top__wrapper .hero__title {
  font-size: 99px;
  font-weight: bold;
}

.page__recognitions .top__wrapper .nav__link,
.page__aboutus .nav__link,
.page__contacts .nav__link,
.page__treatment .nav__link,
.page__cosmetology .nav__link,
.page__rooms .nav__link {
  color: #555555;
}

.page__recognitions .top__wrapper .book-btn,
.page__aboutus .book-btn,
.page__contacts .book-btn,
.page__treatment .book-btn,
.page__cosmetology .book-btn,
.page__rooms .book-btn {
  padding: 15px 35px;
  gap: 10px;
  width: 267px;
  height: 51px;
  background: radial-gradient(
      100% 2636.43% at 100% 50%,
      #131953 0%,
      #004e8d 100%
    ),
    #e1963c;
  border-radius: 30px;
  font-size: 18px;
}

.page__recognitions .top__wrapper .book-btn:hover,
.page__aboutus .book-btn:hover,
.page__contacts .book-btn:hover,
.page__treatment .book-btn:hover,
.page__cosmetology .book-btn:hover,
.page__rooms .book-btn:hover {
  background: #e1963c;
}

.page__recognitions .top__wrapper {
  background: url("../img/recognitions.png") no-repeat center bottom;
  background-size: cover;
  color: white;
  position: relative;
  padding-bottom: 50px;
  min-height: 100vh;
}

.page__recognitions .top__wrapper .hero__title {
  font-size: 99px;
  font-weight: bold;
  text-align: center;
}

.page__aboutus .about {
  padding-top: 0px;
}

.page__rooms .contacts,
.page__aboutus .contacts,
.page__treatment .contacts,
.page__cosmetology .contacts,
.page__recognitions .contacts {
  margin-bottom: 0px;
}

.page__recognitions .contacts {
  padding-top: 95px;
  padding-bottom: 110px;
}

.page__rooms .contacts__inner,
.page__aboutus .contacts__inner,
.page__treatment .contacts__inner,
.page__cosmetology .contacts__inner,
.page__recognitions .contacts__inner {
  flex-wrap: nowrap;
  align-items: center;
}

.page__recognitions .contacts__left,
.contacts__right {
  flex: 1 1 50%;
}

.page__cosmetology .contacts__left,
.contacts__right {
  flex: 1 1 50%;
}

.page__treatment .contacts__left,
.contacts__right {
  flex: 1 1 50%;
}

.page__aboutus .contacts__left,
.contacts__right {
  flex: 1 1 50%;
}

.page__rooms .contacts__left,
.contacts__right {
  flex: 1 1 50%;
}

.page__rooms .rooms__title {
  justify-content: center;
  text-align: center;
}

.page__rooms .rooms__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 60%;
  transform: translateY(-50%);
  width: 24%;
  height: 2px;
  background-color: #f5a623;
}

.page__rooms .rooms__title::after {
  width: 24%;
}

.page__rooms .contacts__info,
.page__aboutus .contacts__info,
.page__treatment .contacts__info,
.page__cosmetology .contacts__info,
.page__recognitions .contacts__info {
  position: relative;
  top: 0;
  left: 0;
}

.hero-slider__pagination {
  margin-top: 20px; /* отступ от слайдера вниз */
  text-align: center;
  position: relative;
}

.hero-slider__pagination .swiper-pagination-bullet {
  background: #e1963c; /* цвет точек */
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s;
}

.hero-slider__pagination .swiper-pagination-bullet-active {
  background: #e1963c; /* активная точка */
  opacity: 1;
  transform: scale(1.2); /* лёгкое увеличение */
}

/* --- Header --- */

.header {
  padding: 28px 0 50px 0;
  position: relative;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo-cont {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.mobile-menu__logo-cont {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.header__logo-link img {
  display: block;
  height: 50px;
  width: auto;
  transition: height 0.3s ease;
}

/* --- Navigation --- */
.nav__list {
  display: flex;
  gap: 60px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.nav__link:hover {
  color: #e1963c !important;
}

/* --- Book Button --- */
.header__book-link {
  background-color: #e1963c;
  border: none;
  padding: 16px 40px;
  border-radius: 33px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
}

.header__book-link:hover {
  background-color: #ff2e27;
}

/* --- Burger --- */
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 10001;
}

.burger__line {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Плавная анимация крестика */
.header__burger.active .burger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active .burger__line:nth-child(2) {
  opacity: 0;
}

.header__burger.active .burger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.header__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 35, 62, 0.95);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.header__mobile-menu.header__mobile-menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Скрытие скролла при открытии меню */
body.menu-open {
  overflow: hidden;
}

/* Header внутри меню */
.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.header__mobile-menu.header__mobile-menu--open .mobile-menu__header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* Логотип */
.mobile-menu__logo-link img {
  max-height: 40px;
  transition: all 0.3s ease;
}

/* Кнопка закрытия */
.mobile-menu__close {
  font-size: 32px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0;
  transform: scale(0.8) rotate(0deg);
}

.header__mobile-menu.header__mobile-menu--open .mobile-menu__close {
  opacity: 1;
  transform: scale(1) rotate(360deg);
  transition-delay: 0.15s;
}

.mobile-menu__close:hover {
  transform: scale(1.2) rotate(360deg);
}

.mobile-menu__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Список меню */
.mobile-menu__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* по вертикали */
  align-items: center; /* по горизонтали */
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu__item {
  margin: 20px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.header__mobile-menu.header__mobile-menu--open .mobile-menu__item {
  opacity: 1;
  transform: translateY(0);
}

.header__mobile-menu.header__mobile-menu--open .mobile-menu__item:nth-child(1) {
  transition-delay: 0.2s;
}
.header__mobile-menu.header__mobile-menu--open .mobile-menu__item:nth-child(2) {
  transition-delay: 0.3s;
}
.header__mobile-menu.header__mobile-menu--open .mobile-menu__item:nth-child(3) {
  transition-delay: 0.4s;
}
.header__mobile-menu.header__mobile-menu--open .mobile-menu__item:nth-child(4) {
  transition-delay: 0.5s;
}

/* Ссылки */
.mobile-menu__link {
  font-size: clamp(32px, 4vw, 42px);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-menu__link:hover {
  color: #f0c040;
  transform: translateX(5px);
}

/* Footer */
.mobile-menu__footer {
  flex-shrink: 0;
  text-align: center;
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 15px;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.header__mobile-menu.header__mobile-menu--open .mobile-menu__footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.mobile-menu__social-link img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.mobile-menu__social-link:hover img {
  transform: scale(1.2);
}

/**** HERO ****/

.hero {
  padding: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.hero__content {
  margin-top: 0px;
  max-height: 100vh;
  overflow: hidden;
  max-width: 1020px;
}
.hero__title {
  font-size: clamp(50px, 10vw, 110px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0px;
}
.hero__btn {
  display: inline-block;
  padding: 18px 54px;
  background: #f50e30;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}
.hero__btn:hover {
  background: #f4f6f8;
  color: #000;
}

/*** Бронирование ***/

.hero__form {
  display: flex;
  gap: 15px;
  /*  padding: 20px; */
  border-radius: 16px;
  max-width: 100%;
  width: 100%;
  margin-top: 20px;
}

.form__field-wrapper {
  flex: 1 1 200px; /* Устанавливаем минимальную ширину для каждого поля */
  display: flex;
  justify-content: center; /* Выравнивание по центру внутри обертки */
}

.form__field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);

  /* ✅ убираем центрирование, чтобы не ломался input/select */
  justify-content: flex-start;
}

.form__field input,
.form__field select {
  flex: 1; /* ✅ чтобы они занимали оставшееся пространство */
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  min-width: 0; /* ✅ предотвращает разъезд при клике */
}

.form__field:hover {
  background: rgba(255, 255, 255, 0.3);
}

.form__field input::placeholder {
  color: #f0f0f0;
}

/* Кастомный стиль для select */
.form__field select {
  /*  background: rgba(255, 255, 255, 0.2); */
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.form__field select:hover {
  background-color: transparent;
}

.form__field select:focus {
  background-color: transparent;
}

.form__btn {
  flex: 1 1 20%;
  background: linear-gradient(135deg, #ff8a5c, #e1963c);
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form__btn:hover {
  background: linear-gradient(135deg, #e76a3c, #c77f2f);
  transform: scale(1.03);
}

/* Дата заезда */
.custom-arrival {
  background: linear-gradient(135deg, #5cb0ff, #467dff) !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-weight: bold;
}

/* Дата выезда */
.custom-departure {
  background: linear-gradient(135deg, #ff8a5c, #e1963c) !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-weight: bold;
}

/* Диапазон между датами */
.custom-range {
  background: rgba(255, 138, 92, 0.2) !important;
  border-radius: 5px !important;
}

/* Дополнительно — hover и выделение при наведении */
    .air-datepicker-cell:hover {
      transform: scale(1.05);
      transition: transform 0.2s ease;
    }

/* Скрываем стандартные выделения, если есть */
.air-datepicker-cell.selected {
  background: none !important;
}

/* иконка календаря слева */
.custom-calendar {
  color: #555;
  flex-shrink: 0;
}

/* шеврон справа */
.custom-chevron {
  color: #555;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

/* поворот шеврона при открытом календаре */
.air-datepicker.-active- ~ .form__field-wrapper .custom-chevron {
  transform: rotate(180deg);
  color: #3b82f6;
}

.form__field--guests {
  position: relative;
  width: 100%;
  z-index: 1; /* поверх секций */
}

/* Селект гостей (Choices.js) */
.form__field--guests .choices {
  width: 100%;
}

.form__field--guests .choices__inner {
  min-height: 48px;
  padding: 10px 40px 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.form__field--guests .choices__placeholder {
  opacity: 0.85;
  color: #e5e7eb;
}

.form__field--guests .choices__list--single {
  padding: 0;
}

.form__field--guests .choices__list--dropdown {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

.form__field--guests .choices__item--choice {
  color: #e5e7eb;
  font-size: 14px;
}

.form__field--guests .choices__item--choice.is-highlighted,
.form__field--guests .choices__item--choice.is-selected {
  background: rgba(225, 150, 60, 0.2);
}

.form__field--guests .choices[data-type*="select-one"]::after {
  border: none;
  width: 0;
  height: 0;
  margin: 0;
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.28s ease;
}

.popup.active {
  display: flex;
  opacity: 1;
}

.popup__content {
  background: radial-gradient(circle at top left, #ffffff 0%, #f9fbff 40%, #f6f7fb 100%);
  color: #333;
  padding: 32px 32px 28px;
  border-radius: 16px;
  max-width: 720px;
  width: 95%;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.7);
  position: relative;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.26s ease, opacity 0.26s ease, box-shadow 0.26s ease;
}

.popup.active .popup__content {
  transform: scale(1);
  opacity: 1;
}

.popup__title {
  margin-bottom: 8px;
  font-size: 26px;
  text-align: left;
  font-weight: 700;
}

/* Блок с кратким резюме бронирования */
.popup__subtitle {
  margin-bottom: 20px;
  font-size: 14px;
  color: #6b7280;
}

.popup__layout {
  display: grid;
  grid-template-columns: 1.05fr 1.3fr;
  gap: 26px;
  align-items: flex-start;
}

.popup__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup__summary {
  border-radius: 16px;
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(225, 150, 60, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(0, 78, 141, 0.13) 0%, transparent 55%),
    #ffffff;
  border: 1px solid rgba(225, 150, 60, 0.35);
}

.popup__summary-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555;
}

.popup__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.popup__info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.popup__info-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #444;
}

.popup__info-label-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(0, 78, 141, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #004e8d;
}

.popup__info-value {
  font-weight: 600;
  color: #111;
}

.popup__info-hint {
  margin-top: 10px;
  font-size: 12px;
  color: #9ca3af;
}

/* Поля формы */
.popup__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.popup__label {
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
}

.popup__input,
.popup__textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.95);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.popup__input:focus,
.popup__textarea:focus {
  outline: none;
  border-color: #e1963c;
  box-shadow: 0 0 0 1px rgba(225, 150, 60, 0.4), 0 8px 18px rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
}

.popup__textarea {
  resize: none;
  min-height: 60px;
}

.popup__submit {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  background: linear-gradient(135deg, #ff8a5c, #e1963c);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 25px rgba(225, 150, 60, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.popup__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(225, 150, 60, 0.55);
  filter: brightness(1.03);
}

.popup__close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.popup__success {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 10px;
  color: #155724;
  text-align: center;
  font-weight: bold;
  animation: popupSuccessAnim 0.5s ease forwards;
}

@media (max-width: 767px) {
  .popup__layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .popup__summary {
    order: -1;
  }
}

@keyframes popupSuccessAnim {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero__scroll-down-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #c4c4c4;
  border: none;
  padding: 10px 10px;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0.8;
  transition: all 0.3s ease;
  z-index: 22;
}

.hero__scroll-down-btn:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.05);
}

.hero__scroll-down-btn svg {
  transition: transform 0.3s ease;
}

.hero__scroll-down-btn:hover svg {
  transform: translateY(5px);
}

/*** ABOUT ***/

.about {
  padding-top: 160px;
  padding-bottom: 160px;
}
.about__info p {
  font-size: 22px;
  color: #707070;
  margin-bottom: 30px;
}
.about__title {
  font-family: "PlayfairDisplay";
  font-size: 72px;
  font-weight: 700;
  color: #000;
  margin-bottom: 80px;
  max-width: 1040px;
}
.about__wrapper {
  display: grid;
  gap: 95px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about__desc {
  font-size: 18px;
  line-height: 1.3;
  color: #000;
}
.about__desc.collapsed {
  max-height: 150px;
}
.about__desc.expanded {
  max-height: 1000px;
}
.about__desc {
  overflow: hidden;
  max-height: 150px;
  transition: max-height 0.5s ease;
}
.about__btn {
  margin-top: 15px;
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-size: 16px;
}

/*** CARDS ***/

.cards {
  margin-top: 65px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 119px;
}
.cards__title {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 85px;
}

.cards__list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.cards__content {
  padding: 30px 37px;
}
.cards__item {
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 0 17px 0 rgba(173, 173, 173, 0.25);
}
.cards__img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.cards__item-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  
  /* Убираем старые свойства */
  word-break: normal;
  
  /* Добавляем правильные свойства */
  word-wrap: break-word; /* Переносит длинные слова */
  overflow-wrap: break-word; /* Современная альтернатива */
  line-height: 1.2; /* Улучшаем межстрочный интервал */
}

.cards__list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cards__list-item {
  font-size: 22px;
  margin-bottom: 6px;
}

.treatment {
  margin-top: 65px;
  padding-bottom: 119px;
}
.treatment__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.treatment__images {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.treatment__image--background {
  width: 60%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  left: 45%;
  top: 35%;
}
.treatment__image--overlay {
  position: absolute;
  top: 0%;
  left: 30%;
  transform: translate(-50%, -30%);
  width: 60%;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.treatment__content {
  background: rgba(225, 150, 60, 0.1);
  padding: 80px 50px;
  max-width: 1200px;
  width: 100%;
}
.treatment__title {
  font-family: "PlayfairDisplay";
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 55px;
}
.treatment__desc {
  font-size: 22px;
  max-width: 590px;
  margin-bottom: 65px;
  word-break: break-word;
}
.treatment__link {
  font-family: "PlayfairDisplay";
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  margin-top: 20px;
  align-items: center;
}

.attractions {
  margin-top: 65px;
  padding-bottom: 119px;
}
.attractions__title {
  font-family: "PlayfairDisplay";
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 65px;
}
.attractions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.attractions__content {
  display: flex;
  justify-content: space-between;
  gap: 75px;
  align-items: flex-start;
}
.attractions__text-wrapper {
  display: flex;
  flex-direction: column;
  width: 60%;
}
.attractions__text {
  margin-bottom: 70px;
}
.attractions__text p {
  font-size: 22px;
  word-break: break-word;
}
.attractions__link {
  font-family: "PlayfairDisplay";
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  margin-top: 20px;
  align-items: center;
}
.attractions__image-wrapper {
  width: 40%;
}
.attractions__image {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.rooms {
  padding-bottom: 105px;
}
.rooms__title {
  font-family: "PlayfairDisplay";
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 55px;
  position: relative;
  display: flex;
  align-items: center;
}
.rooms__title::after {
  content: "";
  position: absolute;
  right: 0%;
  top: 60%;
  transform: translateY(-50%);
  width: 30%;
  height: 2px;
  background-color: #f5a623;
}

.rooms__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
}
.rooms__item {
  display: flex;
  gap: 100px;
  width: 100%;
  animation: fadeInUp 0.5s forwards;
}
.rooms__grid > .rooms__item > .rooms__image-wrapper {
  flex: 1 1 40%;
}
.rooms__grid > .rooms__item > .rooms__image-wrapper img {
  width: 100%;
  object-fit: cover;
}
.rooms__grid > .rooms__item > .rooms__content {
  flex: 1 1 55%;
}
.rooms__name {
  font-family: "PlayfairDisplay";
  font-size: 32px;
  margin-bottom: 32px;
}
.rooms__price {
  font-size: 22px;
  color: #000;
  margin-bottom: 33px;
}
.rooms__characteristics {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 34px;
}
.rooms__price > span {
  font-family: "Playfair Display", sans-serif;
  font-size: 40px;
}
.rooms__link {
  font-family: "PlayfairDisplay";
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  margin-top: 20px;
  align-items: center;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery {
  padding-top: 110px;
  padding-bottom: 105px;
  position: relative;
  background: transparent;
}
.gallery__title {
  font-family: "PlayfairDisplay";
  font-size: 72px;
  font-weight: 700;
  position: relative;
  left: 20%;
  display: flex;
  align-items: center;
  margin-bottom: 85px;
}
.gallery__title::before {
  content: "";
  position: absolute;
  left: -20%;
  top: 50%;
  transform: translateY(-50%);
  width: 15%;
  height: 2px;
  background-color: #f5a623;
}

/* Контейнер для слайдера и кнопок */
.gallery__container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 80px; /* Отступы для кнопок по бокам */
}

/* Стили для слайдера */
.gallery__slider {
  min-height: 390px;
  background: transparent;
  border-radius: 18px;
  padding: 30px 0 40px;
  position: relative;
  display: flex;
  width: 100%;
}
.gallery__wrapper {
  width: 100%; 
  height: 100%;
  display: flex;
}
.gallery__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
}
.gallery__image {
  width: 98%;
  height: 330px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  transition: box-shadow .26s, transform .26s;
  cursor: pointer;
}
.gallery__image:hover,
.gallery__image:focus {
  box-shadow: 0 10px 40px rgba(225, 150, 60, .18), 0 2px 18px rgba(0,0,0,0.12);
  transform: scale(1.045);
  z-index: 3;
  outline: none;
}

/* Кнопки навигации - ЦЕНТРИРОВАННЫ ОТНОСИТЕЛЬНО ГАЛЕРЕИ */
.gallery__button {
  position: absolute;
  top: calc(60% + 50px); /* Центрируем относительно слайдера с учетом верхнего паддинга */
  transform: translateY(-50%);
  background: #e1963c;
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(225, 150, 60, 0.25);
}

.gallery__button:hover {
  background: #d1872c;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(225, 150, 60, 0.35);
}

.gallery__button:active {
  transform: translateY(-50%) scale(0.95);
}

/* Расположение кнопок - по бокам от слайдера */
.gallery__button--next { 
  right: 0; /* Справа от слайдера, внутри контейнера */
}

.gallery__button--prev { 
  left: 0; /* Слева от слайдера, внутри контейнера */
}

/* Иконки стрелок */
.gallery__button--next::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12L10 8L6 4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.gallery__button--prev::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 12L6 8L10 4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .gallery__container {
    padding: 0 60px;
  }
}

@media (max-width: 900px) {
  .gallery__slider { 
    min-height: 260px; 
  }
  .gallery__image {height: 195px;}
  .gallery__container {
    padding: 0 40px;
  }
  .gallery__button {
    width: 48px;
    height: 48px;
    top: calc(50% + 10px); /* Корректируем для мобильных */
  }
}

@media (max-width: 600px) {
  .gallery__slider { 
    min-height: 190px; 
    padding: 0 0 30px; 
  }
  .gallery__image { height: 135px; }
  .gallery__container {
    padding: 0 20px;
  }
  .gallery__button {
    width: 40px;
    height: 40px;
    top: calc(50% + 5px); /* Корректируем для мобильных */
  }
  
  .gallery__button--next::after,
  .gallery__button--prev::after {
    width: 14px;
    height: 14px;
  }
}


.contacts {
  margin-bottom: 195px;
  padding-top: 105px;
  padding-bottom: 200px;
}
.contacts__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 130px;
  align-items: flex-start;
}
.contacts__left,
.contacts__right {
  flex: 1 1 500px;
  position: relative;
}
.contacts__image {
  width: 100%;
  height: auto;
  display: block;
}
.contacts__info {
  position: absolute;
  top: 65%;
  left: 50%;
  background: #ffe5cf;
  padding: 60px 20px 50px 85px;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); */
  display: flex;
  gap: 50px;
  flex-direction: column;
  width: 100%;
}
.info-box-page2 {
  left: 0% !important;
}
.contacts__info-title {
  margin: 0 0 10px;
  font-family: "PlayfairDisplay";
  font-size: 36px;
  font-weight: 700;
  color: #000;
}
.contacts__info-text {
  font-size: 22px;
  color: #000;
}
.contacts__right .contacts__title {
  font-family: "PlayfairDisplay";
  font-size: 72px;
  line-height: 0.8;
  font-weight: 700;
  margin-top: 20px;
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.contacts__right .contacts__description {
  font-size: 22px;
  color: #000000;
  margin-bottom: 40px;
}

.map-section-title {
  font-size: 56px;
  font-weight: bold;
  margin-bottom: 60px;
  position: relative;
  display: flex;
  align-items: center;
}
.map-section-title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  width: 50%;
  height: 2px;
  background-color: #f5a623;
}

.sec-map {
  margin-bottom: 70px;
}

.footer {
  background-color: #2a2a2a;
  padding: 50px 20px 30px;
  position: absolute;
  width: 100%;
  color: #fff;
}
.footer__logo {
  margin-bottom: 40px;
}
.footer__logo-cont {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__inner {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.footer__column {
  flex: 1 1 200px;
  min-width: 200px;
}
.footer__title {
  font-family: "PlayfairDisplay";
  font-size: 30px;
  margin-bottom: 40px;
  color: #fff;
}
.footer__nav,
.footer__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 65px;
  color: #fff;
}
.footer__nav-item,
.footer__contacts-item {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}
.footer__nav-link,
.footer__contacts-item {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer__nav-link:hover {
  color: #e1963c;
}
.footer__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__contacts ul li {
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
}
.footer-column p {
  font-size: 15px;
  font-weight: 500;
  color: #909090;
}
.logo {
  margin-bottom: 20px;
}
.footer__address {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  line-height: 1.6;
}
.footer__social {
  display: flex;
  gap: 25px;
  flex-direction: column;
  justify-content: center;
}
.footer__social-link {
  /* width: 50%; */
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__social-text > span {
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
}

.card-title {
  font-size: 24px;
}
.card-content {
  padding: 30px 10px;
}
.form-select-wrapper {
  display: flex;
  align-items: baseline;
}

/* Страница Лечение */

.hero .hero__wrapper {
  background: url("../img/trat.jpg") no-repeat center bottom;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__wrapper {
  margin-bottom: 60px;
}

.hero__title {
  font-size: 112px;
  font-weight: 700;
  margin-bottom: 0px;
}

.doc__title {
  font-size: 56px;
  font-weight: bold;
  margin-bottom: 60px;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.doc__title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  width: 15%;
  height: 2px;
  background-color: #f5a623;
}

.doc__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 60%;
  transform: translateY(-50%);
  width: 15%;
  height: 2px;
  background-color: #f5a623;
}

.doc__block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}

.doc__text {
  width: 50%;
}

.doc__images {
  display: flex;
  align-items: center;
}

.doc__image {
  width: 50%;
  object-fit: cover;
}

.doc__list {
  list-style: disc;
}

.doc__item {
  font-size: 20px;
  margin-left: 30px;
  margin-bottom: 10px;
}

.doc__subtitle {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Страница Комнаты */

/*** Слайдер rooms ***/

.hero-slider {
  width: 100%;
  padding: 0;
  margin-bottom: 65px;
}

.hero-slider__container {
  width: 100%;
}

.hero-slider__swiper {
  width: 100%;
  height: 400px;
}

.hero-slider__slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.hero-slider__caption {
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}

.hero-slider__button {
  color: #fff;
}

.hero-slider__button--prev {
  left: 10px;
}

.hero-slider__button--next {
  right: 10px;
}

.rooms {
  padding-bottom: 105px;
}
.rooms__title {
  font-family: "PlayfairDisplay";
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 65px;
  position: relative;
  display: flex;
  align-items: center;
}
.rooms__title::after {
  content: "";
  position: absolute;
  right: 0%;
  top: 60%;
  transform: translateY(-50%);
  width: 80%;
  height: 2px;
  background-color: #f5a623;
}

.rooms__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
}

.rooms__item {
  display: flex;
  gap: 100px;
  width: 100%;
}
.rooms__grid > .rooms__item > .rooms__image {
  flex: 0 0 50%;
}
.rooms__grid > .rooms__item > .rooms__image img {
  width: 100%;
  object-fit: cover;
}
.rooms__grid > .room__item > .rooms__content {
  flex: 1 1 50%;
}
.rooms__name {
  font-family: "PlayfairDisplay";
  font-size: 36px;
  color: #010101;
  margin-bottom: 32px;
}
.rooms__price {
  font-size: 22px;
  color: #000;
  margin-bottom: 33px;
}
.rooms__characteristics {
  list-style-type: none;
}
.rooms__characteristic {
  font-size: 22px;
  line-height: 1.5;
}
.rooms__price {
  font-family: "Playfair Display", sans-serif;
  font-size: 40px;
}

.rooms__item {
  animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* О нас */

.about {
  padding-bottom: 160px;
}
.about__info p {
  font-size: 22px;
  color: #707070;
  margin-bottom: 30px;
}
.about__title {
  font-family: "PlayfairDisplay";
  font-size: 72px;
  font-weight: 700;
  color: #000;
  margin-bottom: 80px;
  max-width: 1040px;
}
.about__wrapper {
  display: grid;
  gap: 95px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about__desc {
  font-size: 18px;
  line-height: 1.3;
  color: #000;
}
.about__desc.collapsed {
  max-height: 150px;
}
.about__desc.expanded {
  max-height: 1000px;
}
.about__desc {
  overflow: hidden;
  max-height: 150px;
  transition: max-height 0.5s ease;
}
.read-more {
  margin-top: 15px;
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-size: 16px;
}

.about__wrapper img {
  width: 100%;
  height: auto;
}

.mausoleum {
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 85px;
  padding-bottom: 175px;
}

.mausoleum__item--info {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.mausoleum__image {
  width: 50%;
  object-fit: cover;
}

.mausoleum__text {
  width: 50%;
}

.mausoleum__title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 15px;
}

.mausoleum__description p {
  font-size: 18px;
}

/* Второй блок: галерея */
.mausoleum__gallery {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.mausoleum__gallery-img {
  width: 32%;
  object-fit: cover;
}

.center {
  padding-bottom: 175px;
}

.center__item {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.center__text {
  width: 50%;
}

.center__image {
  width: 50%;
}

.center__img {
  object-fit: cover;
}

.center__item > .center__description {
  width: 50%;
}

.center__title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 15px;
}

.center__gallery {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.center__gallery-img {
  width: 50%;
  object-fit: cover;
}

.center__description p {
  font-size: 18px;
}

.reserve {
  padding-bottom: 175px;
}

.reserve__inner {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.reserve__image {
  /*  width: 50%; */
}

.reserve__content {
  width: 50%;
}

.reserve__title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 32px;
}

.reserve__description p {
  font-size: 18px;
}

.reserve__description p:last-of-type {
  margin-bottom: 10px;
}

.oasis {
  padding-bottom: 175px;
}

.oasis__inner {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.oasis__image {
  width: 50%;
}

.oasis__content {
  width: 50%;
}

.oasis__title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 32px;
}

.oasis__description p {
  font-size: 18px;
}

.oasis__description p:last-of-type {
  margin-bottom: 10px;
}

.mausoleumh {
  /*  padding-bottom: 70px; */
}

.mausoleumh__item {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  /* margin-bottom: 60px; */
}

.mausoleumh__item--info {
  margin-bottom: 60px;
}

.mausoleumh__image {
  width: 50%;
  object-fit: cover;
}

.mausoleumh__text {
  width: 50%;
}

.mausoleumh__title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 32px;
}

.mausoleumh__description p {
  font-size: 18px;
}

/* Адаптивность */

/* --- Адаптив --- */
@media (max-width: 1024px) {
  .nav__list {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__book-link {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 20px 0 0px 0;
    margin-bottom: 55px;
  }

  .page__index .top__wrapper .hero__title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 35px;
  }

  .hero__form {
    gap: 25px;
  }

  .form__btn {
    margin-top: 40px;
    margin-bottom: 140px;
  }

  .hero__scroll-down-btn {
    display: none;
  }

  .page__index .top__wrapper {
    padding-bottom: 45px;
  }

  .about {
    padding-top: 45px;
    padding-bottom: 90px;
  }

  .about__info p {
    font-size: clamp(1.125rem, 5vw, 2.125rem);
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .about__title {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 35px;
  }

  .about__wrapper {
    gap: 30px;
  }

  .about__desc {
    font-size: clamp(1.25rem, 5vw, 2.25rem);
    line-height: 1.2;
  }

  .cards__title {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 35px;
  }

  .cards__item {
    max-width: 100%;
  }

  .cards__item-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 18px;
    word-break: normal;
  }

  .cards__list-item {
    font-size: clamp(1.125rem, 5vw, 2.125rem);
    line-height: 1.2;
  }

  .cards__content {
    padding: 12px 15px;
  }

  .treatment__desc {
    font-size: clamp(1.25rem, 5vw, 2.25rem);
    line-height: 1.2;
    color: #000;
  }

  .treatment__link {
    font-size: clamp(1rem, 5vw, 2rem);
    line-height: 1.2;
  }

  .treatment__title {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 35px;
  }

  .treatment__image--background {
    order: 2;
    top: 25% !important;
    width: 50%;
    left: 0;
  }

  .treatment__image--overlay {
    order: 1;
    width: 50%;
    left: 0;
  }

  .treatment__grid {
    grid-template-columns: auto;
  }

  .attractions__grid {
    grid-template-columns: auto;
  }

  .attractions__text {
    font-size: clamp(1.25rem, 5vw, 2.25rem);
    line-height: 1.2;
    color: #000;
  }

  .attractions__link {
    font-size: clamp(1rem, 5vw, 2rem);
    line-height: 1.2;
  }

  .attractions__title {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 35px;
    word-break: break-word;
  }

  .attractions__content {
    flex-direction: column;
  }

  .attractions__image-wrapper {
    width: 100%;
  }

  .attractions__text-wrapper {
    width: 100%;
  }

  .rooms {
    padding-bottom: 140px;
  }

  .rooms__title {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 35px;
  }

  .rooms__title::after {
    width: 50%;
  }

  .rooms__item {
    display: block;
  }

  .rooms__image-wrapper {
    margin-bottom: 32px;
  }

  .rooms__link {
    font-size: clamp(1rem, 5vw, 2rem);
    line-height: 1.2;
    font-weight: bold;
  }

  .rooms__name {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 30px;
  }

  .rooms__price {
    font-size: clamp(1.3rem, 5vw, 2.3rem);
    line-height: 1.125;
    margin-bottom: 30px;
  }

  .rooms__characteristics {
    font-size: clamp(1.25rem, 5vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 30px;
  }

  .rooms__link {
    font-size: clamp(1rem, 5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 30px;
  }

  .gallery {
    padding-bottom: 110px;
  }

  .gallery__title {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 40px;
    left: 25%;
  }

  .gallery__title::before {
    width: 20%;
    left: -25%;
  }

  .gallery__slider {
    text-align: center;
  }

  .gallery__slide img {
    width: 85%;
    height: 85%;
  }

  .swiper-button-next,
  .swiper-button-prev {
    top: 55%;
  }

  .contacts__right .contacts__title {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 35px;
  }

  .contacts__left {
    order: 2;
    flex: 1 0 0;
  }

  .contacts__right {
    order: 1;
    margin-bottom: -100px;
    flex: 1 0 0;
  }

  .contacts__image {
    width: 80%;
  }

  .contacts__info-title {
    font-size: clamp(1.5rem, 5vw, 1.5rem);
    margin-bottom: 20px;
  }

  .contacts__info-text {
    font-size: clamp(1.05rem, 5vw, 1.05rem);
    /* margin-bottom: 40px; */
    line-height: 1.2;
  }

  .contacts__right .contacts__description {
    font-size: clamp(1.25rem, 5vw, 1.25rem);
    line-height: 1.2;
  }

  .footer {
    margin-top: 70px;
  }

  .footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
  }

  .footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0px;
  }

  .footer__nav-link {
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 500;
    line-height: 1.25;
  }

  .footer__title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: normal;
    margin-bottom: 15px;
  }

  .footer__address {
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 0px;
  }

  .footer__title {
    text-align: center;
  }

  .footer__address {
    text-align: center;
  }

  .footer__contacts {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 600;
    line-height: 1.96;
    margin-bottom: 0px;
  }

  .footer__social-link {
    align-items: flex-start;
  }

  .footer__social-text {
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 600;
    line-height: 1.75;
  }

  .footer__social {
    align-items: center;
    margin-bottom: 40px;
  }

  .footer__inner {
    margin-bottom: 45px;
  }

  .f__wp {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .footer__copy {
    text-align: center;
    font-size: clamp(0.82rem, 5vw, 0.82rem);
    line-height: 1.25;
    color: #909090;
  }

  .hero__title {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 35px;
    text-align: center;
  }

  .doc__title {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 35px;
  }

  .doc__block {
    flex-direction: column;
  }

  .doc__text {
    width: 100%;
  }

  .doc__images {
    flex-direction: column;
  }

  .doc__image {
    width: 100%;
  }

  .contacts__inner {
    flex-direction: column;
  }

  .contacts__info {
    left: 10%;
    width: 85%;
    padding: 30px 40px;
  }

  .page__treatment .contacts__info {
    width: 100%;
  }
  /****/

  .mobile-menu__link {
    font-size: clamp(36px, 4vw, 42px);
    font-weight: bold;
    text-transform: uppercase;
  }

  .mobile-menu__logo-link img {
    max-height: 35px;
  }

  .mobile-menu__close {
    font-size: 28px;
  }
  .hero__form {
    flex-direction: column;
  }
  .form__field-wrapper {
    max-width: 100%;
    flex: 0 !important;
  }
  .form__select,
  .custom-option {
    padding: 8px 12px;
    font-size: 14px;
  }
  .about__wrapper {
    grid-template-columns: auto;
  }
  .about__desc {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero__scroll-down-btn {
    padding: 10px 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero__scroll-down-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Header mobile improvements */
  .header__logo-img {
    height: 40px;
  }

  .header__logo-text svg {
    width: 100px;
    height: auto;
  }

  /* Hero section mobile */
  .page__index .top__wrapper {
    min-height: auto;
    padding-bottom: 30px;
  }

  .hero {
    min-height: auto;
    padding: 20px 0;
  }

  .hero__content {
    padding: 0 10px;
  }

  .page__index .top__wrapper .hero__title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    margin-bottom: 25px;
    padding: 0 10px;
  }

  /* Form mobile improvements */
  .hero__form {
    padding: 0 10px;
    gap: 15px;
  }

  .form__field {
    padding: 10px 12px;
    font-size: 14px;
  }

  .form__field input,
  .form__field select {
    font-size: 14px;
  }

  .form__icon {
    width: 25px;
    height: 25px;
  }

  .form__btn {
    padding: 12px 20px;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  /* About section mobile */
  .about {
    padding-top: 30px;
    padding-bottom: 50px;
  }

  .about__subtitle {
    font-size: 14px;
  }

  .about__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 25px;
  }

  .about__wrapper {
    gap: 20px;
  }

  .about__image {
    width: 100%;
    margin-top: 20px;
  }

  .about__btn {
    margin-top: 20px;
    font-size: 14px;
  }

  /* Cards section mobile */
  .cards {
    padding: 30px 0 50px;
    margin-top: 30px;
  }

  .cards__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 25px;
    text-align: center;
  }

  .cards__list {
    gap: 20px;
    padding: 0 10px;
  }

  .cards__item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .cards__item-title {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
    margin-bottom: 15px;
  }

  .cards__list-item {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 8px;
  }

  .cards__content {
    padding: 15px;
  }

  /* Treatment section mobile */
  .treatment {
    padding: 30px 0 50px;
    margin-top: 30px;
  }

  .treatment__content {
    padding: 30px 20px;
  }

  .treatment__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 25px;
    text-align: center;
  }

  .treatment__desc {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 25px;
  }

  .treatment__images {
    display: flex;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .treatment__image--background {
    order: 2;
    width: 60%;
    transform: translate(65%, 80%);
  }

  .treatment__image--overlay {
    order: 1;
    width: 50%;
    transform: none;
  }

  .treatment__image--background,
  .treatment__image--overlay {
   /* width: 100%; 
    position: relative; */
    left: 0;
   /* top: 0; 
    transform: none; */
    margin-bottom: 165px;
  }

  .treatment__link {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    justify-content: center;
  }

  /* Attractions section mobile */
  .attractions {
    padding: 30px 0 50px;
    margin-top: 30px;
  }

  .attractions__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 25px;
    text-align: center;
  }

  .attractions__content {
    gap: 30px;
  }

  .attractions__text p {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 20px;
  }

  .attractions__image {
    width: 100%;
    margin-bottom: 20px;
  }

  .attractions__link {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    justify-content: center;
  }

  .attractions__col--right {
    margin-top: 30px;
  }

  /* Rooms section mobile */
  .rooms {
    padding: 30px 0 50px;
  }

  .rooms__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 25px;
    text-align: center;
  }

  .rooms__title::after {
    display: none;
  }

  .rooms__grid {
    gap: 40px;
  }

  .rooms__item {
    gap: 0;
  }

  .rooms__image-wrapper {
    margin-bottom: 20px;
  }

  .rooms__name {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
    margin-bottom: 15px;
  }

  .rooms__price {
    font-size: clamp(1rem, 5vw, 1.5rem);
    margin-bottom: 15px;
  }

  .rooms__price span {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }

  .rooms__characteristics {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .rooms__link {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    justify-content: center;
  }

  /* Gallery section mobile */
  .gallery {
    padding: 30px 0 50px;
  }

  .gallery__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 25px;
    left: 0;
    text-align: center;
    justify-content: center;
  }

  .gallery__title::before {
    display: none;
  }

  .gallery__slider {
    height: 250px;
    padding: 0 10px;
  }

  .gallery__slide img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  /* Contacts section mobile */
  .contacts {
    padding: 30px 0 50px;
    margin-bottom: 0;
  }

  .contacts__inner {
    gap: 30px;
    padding: 0 10px;
  }

  .contacts__right {
    margin-bottom: 0px;
  }

  .contacts__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 20px;
    text-align: center;
  }

  .contacts__description {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 0px !important;
  }

  .contacts__image {
    width: 90%;
  }

  .contacts__info {
    position: relative;
    left: 30%;
    top: -20%;
    width: 70%;
    padding: 25px 20px;
    margin-top: 20px;
  }

  .contacts__info-title {
    font-size: clamp(1.1rem, 5vw, 1.3rem);
    margin-bottom: 10px;
  }

  .contacts__info-text {
    font-size: clamp(0.85rem, 4vw, 1rem);
    margin-bottom: 15px;
  }

  /* Footer mobile */
  .footer {
    padding: 30px 20px 20px;
    margin-top: 0;
  }

  .footer__logo-cont {
    justify-content: center;
  }

  .footer__logo-image {
    height: 35px;
  }

  .footer__logo-text svg {
    width: 100px;
    height: auto;
  }

  .footer__column {
    flex: 1 1 100%;
    margin-bottom: 40px;
    text-align: center;
  }

  .footer__column:last-of-type {
    margin-bottom: 0px !important;
  }

  .footer__nav {
 /*   flex-direction: column; */
    gap: 10px;
  }

  .footer__nav-link {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }

  .footer__title {
    font-size: clamp(1.1rem, 5vw, 1.3rem);
    margin-bottom: 15px;
  }

  .footer__address {
    font-size: clamp(0.85rem, 4vw, 1rem);
    line-height: 1.6;
  }

  .footer__contacts {
    font-size: clamp(0.85rem, 4vw, 1rem);
  }

  .footer__social {
    align-items: center;
    gap: 15px;
  }

  .footer__social-link {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .footer__social-icon {
    width: 24px;
    height: 24px;
  }

  .footer__social-text {
    font-size: clamp(0.85rem, 4vw, 1rem);
  }

  .footer__copy {
    font-size: clamp(0.75rem, 3vw, 0.9rem);
    margin-top: 20px;
  }

  /* Container mobile */
  .container {
    padding: 0 15px;
  }

  /* Popup mobile */
  .popup__content {
    padding: 20px;
    max-width: 90%;
  }

  .popup__title {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
    margin-bottom: 15px;
  }

  .popup__input,
  .popup__textarea {
    padding: 10px;
    font-size: 14px;
  }

  .popup__submit {
    padding: 12px;
    font-size: 14px;
  }

  /* Additional mobile improvements */
  .treatment__grid {
    gap: 30px;
  }

  .attractions__grid {
    gap: 30px;
  }

  .attractions__col {
    width: 100%;
  }

  .rooms__grid > .rooms__item > .rooms__image-wrapper {
    flex: 1 1 100%;
  }

  .rooms__grid > .rooms__item > .rooms__content {
    flex: 1 1 100%;
  }
}

/* Very small screens (320px and below) */
@media (max-width: 320px) {
  .container {
    padding: 0 10px;
  }

  .page__index .top__wrapper .hero__title {
    font-size: 1.5rem;
  }

  .form__field {
    padding: 8px 10px;
  }

  .form__btn {
    padding: 10px 15px;
    font-size: 14px;
  }

  .cards__content {
    padding: 12px;
  }

  .treatment__content {
    padding: 20px 15px;
  }

  .contacts__info {
    padding: 20px 15px;
  }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
  /* Ensure touch targets are at least 44x44px */
  .header__burger {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .form__btn,
  .popup__submit,
  .about__btn {
    min-height: 44px;
  }

  .nav__link,
  .footer__nav-link,
  .mobile-menu__link {
   /* min-height: 44px; */
    display: flex;
    align-items: center;
  }

  /* Improve scrolling */
  .gallery__slider {
    -webkit-overflow-scrolling: touch;
  }

  /* Better image loading */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Better spacing for cards */
  .cards__list {
    flex-direction: column;
  }

  .cards__item {
    width: 100%;
  }
}

@media (min-width: 1025px) {
  .header__burger {
    display: none;
  }
  .about__btn {
    display: none;
  }
  .about__desc {
    overflow: visible;
    max-height: 100% !important;
    transition: max-height 0.5s ease;
  }
}
