/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(247, 230, 200, 0.3);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c98a55 0%, #9b4f24 100%);
  border-radius: 10px;
  border: 2px solid rgba(247, 230, 200, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #9b4f24 0%, #7a3d1c 100%);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #c98a55 rgba(247, 230, 200, 0.3);
}

.page {

  background:
    radial-gradient(circle at 28% 22%,
      rgba(255, 244, 224, .95) 0%,
      rgba(255, 244, 224, .55) 35%,
      rgba(255, 244, 224, 0) 65%),
    linear-gradient(135deg,
      #f7e6c8 0%,
      #eacb95 38%,
      #c98a55 70%,
      #9b4f24 100%);
  background-attachment: fixed;
  /* чтобы фон “держался” при скролле */

}

:root {
  --header-h: 90px;
  /* высота шапки */
  --section-min: 720px;
  /* минимум “дорогого” кадра */
  --section-max: 980px;
  /* максимум, чтобы не растягивать пустоту */
  --section-pad-y: clamp(48px, 6vh, 92px);
  --social-block-height: 96px;
}

/* любая секция-экран */
/* базовая секция для всех экранов ниже hero */
.section {
  min-height: clamp(var(--section-min),
      100svh,
      var(--section-max));
  padding-block: var(--section-pad-y);
}

/* HERO — без вертикальных паддингов */
.section--hero {
  padding-block: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body {
  position: relative;
  isolation: isolate;
  /* общий фон страницы */

}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999999;

  opacity: 0.10;
  mix-blend-mode: soft-light;

  background-image:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 2px,
      rgba(0, 0, 0, 0.06) 2px,
      rgba(0, 0, 0, 0.06) 6px);
}


/* ===== АКЦЕНТНЫЙ ШРИФТ: ANOTHER SHABBY (CAVEAT) ===== */
/* Для заголовков, кнопок и акцентных элементов */
.accent-font {
  font-family: 'Caveat', cursive;
  /* Another Shabby аналог */
  font-weight: 600;
}

/* ===== CONTAINER ===== */
/* Это наш утилитарный класс для ограничения ширины */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER STYLES ===== */
.site-header {
  background-color: transparent;
  /* Полная прозрачность */
  box-shadow: 0 2px 15px rgba(214, 200, 200, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(240, 240, 240, 0.3);
  color: rgba(62, 43, 36, 0.92);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Контейнер шапки - всегда flex */
.container.header-inner {
  display: flex;
  justify-content: space-between;
  /* Элементы по краям и по центру */
  align-items: center;
  height: 80px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Левая колонка */
.header-left {
  flex: 1;
  /* Занимает доступное пространство */
  display: flex;
  align-items: center;
}

/* Центральная колонка (логотип) */
.header-center {
  flex: 1;
  /* Занимает доступное пространство */
  display: flex;
  justify-content: center;
  /* Центрируем логотип */
  align-items: center;
}

/* Правая колонка (телефон + бургер) */
.header-right {
  flex: 1;
  /* Занимает доступное пространство */
  display: flex;
  justify-content: flex-end;
  /* Прижимаем к правому краю */
  align-items: center;
  gap: 20px;
}

/* Стили для текста "Студия пилатес" */
.studio-name {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Стили для логотипа */
.logo a {
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  display: block;
  /* важно */
  text-align: center;
  /* оставляем */
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo a:hover {
  color: #8a4db3;
}

/* Стили для телефона */
.phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.phone-link:hover {
  color: #8a4db3;
  transform: translateY(-2px);
}

.phone-icon {
  font-size: 20px;
}


/* ===== БУРГЕР-МЕНЮ (ВСЕГДА ВИДЕН) ===== */
/* Кнопка бургера - видна на всех устройствах */
.menu-toggle {
  display: flex;
  /* Используем flex вместо block для лучшего контроля */
  flex-direction: column;
  justify-content: space-between;

  /* Размеры */
  width: 30px;
  height: 24px;

  /* Стилизация */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
  /* Поверх меню */

  /* Отключаем стандартные стили браузера */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Полоски бургера */
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
  border-radius: 3px;
  transform-origin: center;
  /* Точка вращения - центр */
}

/* Расположение полосок */
.menu-toggle span:nth-child(1) {
  transform: translateY(0);
}

.menu-toggle span:nth-child(2) {
  opacity: 1;
}

.menu-toggle span:nth-child(3) {
  transform: translateY(0);
}

/* Когда меню открыто - превращаем в крестик */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* ===== НАВИГАЦИОННОЕ МЕНЮ (ДЕСКТОП) ===== */
.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: linear-gradient(180deg,
      rgba(247, 230, 200, 0.95) 0%,
      rgba(234, 203, 149, 0.95) 50%,
      rgba(201, 138, 85, 0.9) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  padding: 120px 32px 40px;
  gap: 8px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: -10px 0 40px rgba(62, 31, 32, 0.2);
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* Когда меню открыто (на всех устройствах) */
.main-nav.active {
  right: 0;
}

/* Кнопка закрытия меню */
.nav-close {
  display: none;
}

/* Ссылки в меню (общие стили) */
.nav-link {
  text-decoration: none;
  color: #3E1F20;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 14px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 4px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: translateX(6px);
  color: #3E1F20;
}

/* Специальная кнопка "Записаться" в меню */
.nav-link-cta {
  background: #3E1F20;
  color: #fff !important;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 24px;
  border: none;
  padding: 16px 28px !important;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(62, 31, 32, 0.35);
  transition: all 0.3s ease;
}

.nav-link-cta:hover {
  background: #5a2f30;
  transform: translateY(-3px) translateX(0);
  box-shadow: 0 12px 32px rgba(62, 31, 32, 0.45);
}

/* ===== Доступные направления (двухпанельный слайдер) ===== */
.section--directions {
  padding: 0;
  min-height: auto;
  overflow: hidden;

  /* OVERLAP EFFECT */
  position: relative;
  z-index: 10;
  margin-top: -80px;
  border-radius: 48px 48px 0 0;

  /* Фон секции — чуть темнее/теплее */
  background: linear-gradient(180deg,
      rgba(201, 138, 85, 1) 0%,
      rgba(183, 120, 70, 1) 50%,
      rgba(155, 79, 36, 0.90) 100%);

  /* Тень для глубины */
  box-shadow:
    0 -20px 60px rgba(0, 0, 0, 0.15),
    0 -4px 20px rgba(0, 0, 0, 0.08);
}

/* full-bleed */
.dir-slider {
  position: relative;
  width: 100%;
  min-height: 100svh;
}

/* viewport/track */
.dir-viewport {
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
}

.dir-track {
  display: flex;
  min-height: 100svh;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

/* slide = 2 колонки как на референсе */
/* slide: добавим “воздух” и центрирование */
.dir-slide {
  flex: 0 0 100vw;
  width: 100vw;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 420px);
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-sizing: border-box;

  /* чтобы контент не лип к краям, а смотрелся “как кадр” */
  padding: clamp(18px, 3vw, 56px);
}

/* media: зона под фото */
.dir-media {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}

/* "инстаграмный" кадр 4:5 */
.dir-photo {
  width: min(560px, 100%);
  aspect-ratio: 4 / 5;

  position: relative;
  overflow: hidden;

  /* если хочешь строгие углы — поставь 0 */
  border-radius: 26px;

  /* рамка + лёгкий стеклянный налёт */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);

  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* сама картинка — как фон в кадре */
.dir-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
}

/* лёгкий виньет/контраст чтобы текст и общий стиль “дороже” */
.dir-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 20%,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.00) 55%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.00) 40%,
      rgba(0, 0, 0, 0.18) 100%);
}

/* если хочешь subtle zoom на hover (опционально) */
.dir-slide:hover .dir-photo img {
  transform: scale(1.06);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}


.dir-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
}

/* панель текста — Instagram-стиль: квадрат рядом с фото */
.dir-panel {
  /* Размеры: высота = высоте фото (4:5 -> берём ту же высоту) */
  width: min(380px, 45vw);
  aspect-ratio: 1 / 1.25;
  /* чуть вытянутый как фото */

  /* Позиционирование: наезжает на фото слева */
  margin-left: -40px;
  position: relative;
  z-index: 1;

  /* Закругление: слева 0, справа округлённые */
  border-radius: 0 26px 26px 0;

  /* Прозрачный фон с blur */
  background: rgba(62, 43, 36, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  /* Тонкая рамка */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: none;

  /* Тень для глубины */
  box-shadow:
    12px 0 40px rgba(0, 0, 0, 0.15),
    inset 0 0 30px rgba(255, 255, 255, 0.03);

  /* Flexbox для контента внутри */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);

  overflow: hidden;
}

/* счётчик 01/03 */
.dir-counter {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .2em;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 6px;
}

.dir-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: .14em;
  font-size: clamp(32px, 3vw, 56px);
  color: rgba(255, 255, 255, 0.90);
}

.dir-text {
  max-width: 52ch;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.dir-cta {
  margin-top: 6px;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 14px;

  background: rgba(62, 31, 32, 0.92);
  /* Ruby */
  border: 1px solid rgba(210, 205, 195, 0.22);
  color: rgba(255, 255, 255, 0.92);

  transition: transform .2s ease, filter .2s ease;
}

.dir-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* стрелки */
.dir-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(210, 205, 195, 0.22);

  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: rgba(255, 255, 255, 0.86);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.dir-nav--prev {
  left: 16px;
}

.dir-nav--next {
  right: 16px;
}

.dir-nav:hover {
  background: rgba(255, 255, 255, 0.20);
}



/* ===== АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {

  /* ===== МОБИЛЬНОЕ МЕНЮ: Glass morphism, полноэкранное ===== */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100svh;
    background: linear-gradient(135deg,
        rgba(255, 250, 245, 0.85) 0%,
        rgba(245, 235, 220, 0.9) 50%,
        rgba(230, 210, 185, 0.92) 100%);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    gap: 12px;
    transition: right 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 10000;
    box-shadow: -8px 0 60px rgba(62, 31, 32, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  /* Кнопка закрытия (крестик) */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    color: #3E1F20;
    transition: all 0.25s ease;
    z-index: 10001;
  }

  .nav-close:hover,
  .nav-close:active {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
  }

  /* Стилизация ссылок для мобильного */
  .nav-link {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
  }

  .nav-link:hover,
  .nav-link:active {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
  }

  .nav-link-cta {
    width: 100%;
    max-width: 280px;
    padding: 18px 28px !important;
    margin-top: 20px;
    font-size: 17px;
    border-radius: 16px;
    background: rgba(62, 31, 32, 0.95) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(210, 205, 195, 0.15);
    box-shadow: 0 10px 30px rgba(62, 31, 32, 0.4);
  }

  .nav-link-cta:hover,
  .nav-link-cta:active {
    transform: scale(1.02);
  }

  /* Перестраиваем шапку для мобильных */
  .container.header-inner {
    /* Уменьшаем высоту для мобильных */
    height: 60px;
    /* Меняем распределение пространства */
    justify-content: space-between;
  }

  /* 1. Скрываем "Студия пилатес" на мобильных */
  .header-left {
    display: none;
    /* Полностью скрываем */
  }

  /* 2. header-center становится левой колонкой */
  .header-center {
    flex: 0 0 auto;
    /* Занимает только необходимую ширину */
    justify-content: flex-start;
    /* Теперь логотип слева */
    order: 1;
    /* Порядок отображения: первый */
  }

  /* 3. header-right остается правой колонкой */
  .header-right {
    flex: 0 0 auto;
    /* Занимает только необходимую ширину */
    justify-content: flex-end;
    /* Остается справа */
    order: 2;
    /* Порядок отображения: второй */
  }

  /* Уменьшаем логотип на мобильных */
  .logo a {
    font-size: 22px;
  }


  /* Уменьшаем gap в header-right на мобильных */
  .header-right {
    gap: 15px;
  }

  .dir-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    padding-top: 20px;
  }

  .dir-panel {
    width: 90%;
    max-width: 420px;
    aspect-ratio: auto;
    min-height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: -30px;
    border-radius: 26px;
    padding: 24px 20px 28px;
  }

  .dir-photo {
    width: min(400px, 90vw);
  }

  .dir-nav {
    top: 35svh;
  }
}

/* Дополнительная адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
  .logo a {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .container.header-inner {
    padding: 0 15px;
  }
}


/* ===== ОБНОВЛЕННЫЙ LVL1-HEADER ===== */
.lvl1-header {


  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: #333;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}


.header-right {
  /* 1. Делаем flex-контейнер */
  display: flex;

  /* 2. Располагаем элементы по горизонтали */
  align-items: center;
  /* Вертикальное выравнивание по центру */
  gap: 20px;
  /* Отступ между элементами */

  /* 3. Если нужно растянуть на всю ширину правой колонки */
  justify-content: flex-end;
  /* Прижимаем к правому краю */
}

/* ===== LVL1_1-HEADER (СРЕДНИЙ СЛОЙ С ДЕВУШКОЙ) ===== */
.lvl1_1-header {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  /* width: 100%; */
  /* height: 100%; */
  min-height: 100vh;

  /* Фон с девушкой - растянуть на весь экран */
  background-image: url('/static/images/backgrounds/tmp.png');
  background-repeat: no-repeat;
  /* background-position: center center; Центрируем */
  background-position: 60% 50%;
  background-size: cover;
  /* Растягиваем на весь блок */

  /* Для лучшей читаемости текста сверху */
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 30%,
        rgba(0, 0, 0, 0.1) 60%,
        transparent 100%);
    z-index: 1;
    pointer-events: none;
  }
}

/* ===== СТИЛИ ДЛЯ LVL1-CONTENT ===== */
.lvl1-content {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  /* Изменено с center на flex-start */
  /* align-items: center; */
  text-align: center;
  padding: 0 0px;
  /* padding-top: 120px; Добавляем отступ сверху вместо center
    padding-left: 20px;
    padding-right: 20px; */
  position: relative;
  z-index: 2;
  min-height: 100%;
}

.lvl1-text {
  grid-column: 1 / 8;
  max-width: none;
  margin: 0 auto;

}



/* Основной заголовок */
.main-title {
  font-family: 'Poiret One', sans-serif;
  /* Another Shabby */
  /* font-size: 7rem; Увеличиваем размер для красивого отображения
     */
  font-size: clamp(56px, 9vw, 190px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.60);

  text-transform: uppercase;
  letter-spacing: 0.08em;
  /* было 2px */
  /* line-height: 1; */
  line-height: 0.9;
  margin-bottom: 12px;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  /* мягко */
  animation: fadeInUp 1s ease-out;
}

/* Анимация появления */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== АДАПТИВНОСТЬ ДЛЯ ЗАГОЛОВКА ===== */
@media (max-width: 1200px) {
  .main-title {
    font-size: 4.5rem;
    /* 72px */
  }
}

@media (max-width: 992px) {
  .main-title {
    font-size: 4rem;
    /* 64px */
    letter-spacing: 2px;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 3.2rem;
    /* 51px */
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .main-title {
    font-size: 2.5rem;
    /* 40px */
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 400px) {
  .main-title {
    font-size: 2rem;
    /* 32px */
  }
}


@keyframes scrollPrompt {

  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
  }
}


/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ТЕКСТА В БУДУЩЕМ ===== */
/* Класс для акцентного текста */
.accent-text {
  font-family: 'Caveat', cursive;
  font-size: 1.5em;
  font-weight: 600;
  color: #8a4db3;
}

/* Класс для основного текста */
.main-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1em;
  line-height: 1.7;
}


/* ===== LVL1-PROMO (БЛОК С КНОПКАМИ) ===== */
.lvl1-promo {
  grid-column: 1 / 8;
  justify-self: start;
  align-self: start;
  display: flex;
  flex-direction: column;
  /* Вертикальное расположение */
  gap: 12px;
  margin-top: 0;
  position: static;
  /* Абсолютное позиционирование */
  left: 5%;
  /* Смещаем вправо */
  top: 50%;
  /* По вертикали по центру */
  transform: none;
  /* Центрируем по вертикали */
  z-index: 10;
  max-width: 320px;
  /* Ограничиваем ширину */
}

/* Общие стили кнопок */
/* общая база */
.promo-button {
  width: 340px;
  /* размер можно менять тут */
  max-width: 100%;
  padding: 18px 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  border-radius: 18px;
  text-decoration: none;

  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;

  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  /* мягче */

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* Акцентная (Ruby) */
.promo-button--discount {
  background: rgba(62, 31, 32, 0.9);
  border: 1px solid rgba(210, 205, 195, 0.18);
  animation: discountGlow 2.6s ease-in-out infinite;
  color: rgba(255, 255, 255, 0.92);
  /* box-shadow: 0 10px 22px rgba(0,0,0,0.18); */
}

.promo-button--discount:hover {
  background: rgba(88, 23, 25, 0.9);
  /* Немного темнее при наведении */
  transform: scale(1.05);
  animation-play-state: paused;
}


.promo-button--discount:active {
  animation: paused;
}

/* Светлая (более белая и чистая) */
.promo-button--practice {
  background: rgba(255, 255, 255, 0.2);
  /* было ~0.9+, сделай прозрачнее */
  border: 1px solid rgba(170, 159, 149, 0.28);
  color: rgba(62, 43, 36, 0.92);
  /* border: 1px solid rgba(170,159,149,0.28); */
  /* box-shadow: 0 12px 28px rgba(0,0,0,0.10); */
}

.promo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.promo-button:active {
  transform: translateY(0);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}


.promo-button--practice:hover {
  background: rgba(255, 255, 255, 0.98);
}


.promo-button--practice .button-text {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Текст кнопок */
/* Текст: центр строго по кнопке */
.button-text {
  flex-grow: 1;
  text-align: center;
  line-height: 1.1;
  /* flex: 0 0 auto;  */
}

/* Иконки кнопок */
/* Иконка: фиксированная ширина */
.button-icon {
  width: 28px;
  display: none;
  align-items: center;
  justify-content: center;
}

.promo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.promo-button--practice .button-icon {
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.1));
}

/* Пустой "компенсатор" справа (чтобы текст был по центру) */
.promo-button::after {
  content: "";
  width: 28px;
  /* как .button-icon */
  display: none;
}


@keyframes discountGlow {

  0%,
  100% {
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.18),
      0 0 0 0 rgba(255, 220, 180, 0),
      inset 0 0 0 0 rgba(255, 220, 180, 0);
    filter: brightness(1);
    transform: scale(1);
  }

  50% {
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.25),
      0 0 25px 8px rgba(255, 200, 150, 0.4),
      inset 0 0 20px 2px rgba(255, 220, 180, 0.15);
    filter: brightness(1.08);
    transform: scale(1.02);
  }
}



/* 3) Телефон landscape и “пограничные” устройства */
/* <=479px — телефоны: одна колонка */
@media (max-width: 479px) {


  /* Убираем padding у контейнера внутри hero для центрирования */
  .section--hero .container {
    padding: 0;
  }

  .lvl1_1-header {
    /* фиксируем окно кадра */
    /* чтобы на коротких экранах не “порезало” */
    min-height: calc(100svh - var(--header-h));
    overflow: hidden;
    position: relative;

    background-size: cover 170%;
    background-repeat: no-repeat;

    /* фиксируем кадр */
    background-position: 68% 34%;
  }

  .site-header .header-inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  .lvl1-content {
    display: grid;
    grid-template-columns: 1fr;
    /* общий каркас — 1 колонка */
    grid-template-rows: 30% 30% 40%;
    /* было auto auto 1fr */
    row-gap: 14px;
    padding: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;

    position: relative;

    min-height: calc(100svh - var(--header-h));
    /* align-items: start; */
    align-items: stretch;
    /* строки растягиваются по высоте */
    justify-items: stretch;
  }


  .lvl1-text {
    grid-column: 1;
    grid-row: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    /* центр по вертикали в верхней зоне */
    width: 100%;

  }

  .lvl1-text .main-title {
    margin: 0;
    line-height: 0.92;
    letter-spacing: 0.08em;

    font-size: clamp(44px, 10vw, 78px);
    /* меньше для телефонов */
    text-align: center;
    width: 100%;
  }

  .lvl1-mid {
    grid-row: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 колонки в средней строке */
    column-gap: 12px;
    width: 100%;
  }

  /* блок кнопок — как аккуратная карточка */
  .lvl1-promo {

    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    justify-items: center;
    /* отступы уже в lvl1-content */
    display: grid;
    align-self: end;
    justify-self: center;
    gap: 10px;


    /* чтобы не упиралось в “home indicator” */
    margin: 0 auto;
    /* отступ снизу чтобы кнопки не перекрывались с соц. сетями */
    /* margin-bottom: calc(var(--social-block-height) + 20px + env(safe-area-inset-bottom)); */
    margin-bottom: calc(var(--social-block-height, 50px) + env(safe-area-inset-bottom));
  }

  /* сами кнопки — мобильная геометрия */
  .promo-button {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;

    font-size: 16px;
    line-height: 1.15;
    border-radius: 16px;

    box-shadow: 0 10px 22px rgba(62, 31, 32, 0.9);
    margin-bottom: 0;
    /* margin-bottom: calc(var(--social-block-height) + 20px + env(safe-area-inset-bottom)); */
    /* мягче */
  }

  /* DISCOUNT — заметная, но не “глыба” */
  .promo-button--discount {
    background: rgba(62, 31, 32, 0.98);
    border: 1px solid rgba(210, 205, 195, 0.1);
    animation: discountGlow 3.2s ease-in-out infinite;


    /* медленнее = дороже */
  }

  /* PRACTICE — сделать читаемой */
  .promo-button--practice {
    display: none;
    background: rgba(255, 255, 255, 0.55);
    /* вместо 0.2 */
    border: 1px solid rgba(170, 159, 149, 0.28);
    color: rgba(62, 43, 36, 0.95);
  }

  /* безопасный отступ снизу под iPhone */
  .lvl1-content {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  /* ===== SOCIAL FLOAT MOBILE ===== */
  .social-float {
    gap: 10px;
    padding: 24px 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    /* низ тоже высокий */
    border-radius: 48px 48px 0 0;
    min-height: 90px;
    /* не фикс, а минимум */
  }

  /* «хвост» фона вниз */
  .social-float::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 200vh;
    /* огромный запас вниз */
    background: inherit;
    /* тот же фон */
    border-top: 1px solid rgba(62, 43, 36, 0.12);
    backdrop-filter: inherit;
    -webkit-backdrop-filter: inherit;
    pointer-events: none;
  }


  .social-float-link {
    width: 41px;
    height: 41px;
  }

  .social-float-link svg {
    width: 18px;
    height: 18px;
  }

  /* Скрываем соц.блок при открытой модалке */
  body.modal-open .social-float {
    display: none !important;
  }

  /* ===== DIR-SLIDER MOBILE ===== */
  .section--directions {
    min-height: auto;
    padding-block: 40px;
  }

  .dir-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .dir-media {
    width: 100%;
    display: flex;
    justify-content: center;
    order: 1;
  }

  .dir-photo {
    border-radius: 20px;
    aspect-ratio: 4 / 5;
    width: min(350px, 85vw);
  }

  .dir-panel {
    order: 2;
    width: 90%;
    max-width: 350px;
    margin-left: 0;
    margin-top: -30px;
    border-radius: 20px;
    padding: 32px 20px 24px;
    position: relative;
    z-index: 2;
  }

  .dir-title {
    font-size: 28px;
  }

  .dir-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .dir-counter {
    font-size: 14px;
  }

  .dir-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .dir-nav--prev {
    left: 10px;
  }

  .dir-nav--next {
    right: 10px;
  }

  .dir-cta {
    padding: 12px 24px;
    font-size: 14px;
  }

}

/* 3) Телефон landscape и “пограничные” устройства */
@media (min-width: 480px) and (max-width: 799px) {
  /* телефоны в альбомной + небольшие планшеты */


  .dir-slide {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }

  .dir-panel {
    width: 90%;
    max-width: 420px;
    margin-top: -30px;
  }

  .dir-photo {
    width: min(450px, 85vw);
  }

  .lvl1-content {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    /* железно 40/60 */
    grid-template-rows: 47% 1fr;
    /* верх 30%, низ остальное */
    column-gap: clamp(18px, 3vw, 56px);
    padding: 0 0px;

    align-items: stretch;
    /* строки растягиваются по высоте */
    justify-items: start;
    text-align: left;

    min-height: calc(100vh - 90px);
    /* подстрой под высоту шапки (пример) */
  }

  /* Текст и кнопки — строго в левую колонку */

  /* левый блок с заголовком */
  .lvl1-text {
    grid-column: 1;
    grid-row: 1;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

  }

  /* заголовок */
  .lvl1-text .main-title {
    margin: 0;
    /* чтобы не добавлял лишний отступ сверху */
    line-height: 0.92;
    letter-spacing: 0.08em;

    /* авторазмер под ширину колонки */
    font-size: clamp(52px, 6.2vw, 140px);
    text-align: center;
    /* центрирует строки при переносе */
    width: 100%;

    /* если длинные слова/переносы */
    word-break: normal;

  }


  .lvl1-promo {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    /* старт в нижней зоне */
    width: 100%;
    /* margin-bottom: calc(90px + env(safe-area-inset-bottom)); */
  }

}



/* 800- 999px */
@media (min-width: 800px) and (max-width: 999px) {

  .lvl1-content {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    /* железно 40/60 */
    grid-template-rows: 47% 1fr;
    /* верх 30%, низ остальное */
    column-gap: clamp(18px, 3vw, 56px);
    padding: 0 0px;

    align-items: stretch;
    /* строки растягиваются по высоте */
    justify-items: start;
    text-align: left;

    min-height: calc(100vh - 90px);
    /* подстрой под высоту шапки (пример) */
  }

  /* Текст и кнопки — строго в левую колонку */

  /* левый блок с заголовком */
  .lvl1-text {
    grid-column: 1;
    grid-row: 1;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

  }

  /* заголовок */
  .lvl1-text .main-title {
    margin: 0;
    /* чтобы не добавлял лишний отступ сверху */
    line-height: 0.92;
    letter-spacing: 0.08em;

    /* авторазмер под ширину колонки */
    font-size: clamp(62px, 6.2vw, 140px);
    text-align: center;
    /* центрирует строки при переносе */
    width: 100%;

    /* если длинные слова/переносы */
    word-break: normal;

  }


  .lvl1-promo {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    /* старт в нижней зоне */
    width: 100%;
  }
}


/* 1000–1199px — “идеальный режим”: одна колонка контента */
@media (min-width: 1000px) and (max-width: 1199px) {

  .lvl1-content {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    /* железно 40/60 */
    grid-template-rows: 47% 1fr;
    /* верх 30%, низ остальное */
    column-gap: clamp(18px, 3vw, 56px);
    padding: 0 0px;

    align-items: stretch;
    /* строки растягиваются по высоте */
    justify-items: start;
    text-align: left;

    min-height: calc(100vh - 90px);
    /* подстрой под высоту шапки (пример) */
  }

  /* Текст и кнопки — строго в левую колонку */

  /* левый блок с заголовком */
  .lvl1-text {
    grid-column: 1;
    grid-row: 1;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

  }

  /* заголовок */
  .lvl1-text .main-title {
    margin: 0;
    /* чтобы не добавлял лишний отступ сверху */
    line-height: 0.92;
    letter-spacing: 0.08em;

    /* авторазмер под ширину колонки */
    font-size: clamp(82px, 6.2vw, 140px);
    text-align: center;
    /* центрирует строки при переносе */
    width: 100%;

    /* если длинные слова/переносы */
    word-break: normal;

  }


  .lvl1-promo {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    /* старт в нижней зоне */
    width: 100%;
  }
}


/* >=1200px — слева контент (1/3), справа пустая safe-zone под девушку (2/3) */
@media (min-width: 1200px) {

  .lvl1-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* левая: контент, правая: пустая */
    grid-template-rows: 47% 1fr;
    /* верх 30%, низ остальное */
    column-gap: clamp(18px, 3vw, 56px);
    padding: 0 0px;

    align-items: stretch;
    /* строки растягиваются по высоте */
    justify-items: start;
    text-align: left;

    min-height: calc(100vh - 90px);
    /* подстрой под высоту шапки (пример) */
  }

  /* Текст и кнопки — строго в левую колонку */

  /* левый блок с заголовком */
  .lvl1-text {
    grid-column: 1;
    grid-row: 1;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

  }

  /* заголовок */
  .lvl1-text .main-title {
    margin: 0;
    /* чтобы не добавлял лишний отступ сверху */
    line-height: 0.92;
    letter-spacing: 0.08em;

    /* авторазмер под ширину колонки */
    font-size: clamp(102px, 6.2vw, 140px);
    text-align: center;
    /* центрирует строки при переносе */
    width: 100%;

    /* если длинные слова/переносы */
    word-break: normal;

  }


  .lvl1-promo {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    /* старт в нижней зоне */
    width: 100%;
  }


}

/* ===== СЕКЦИЯ ЗАПИСИ (BOOKING) ===== */
.section--booking {
  min-height: 100svh;

  /* max-width: 0svh; */
  display: grid;
  /* align-items: center; */
  /* justify-content: center; */
  padding: 20px;
  padding-top: 80px;
  align-items: center;
  justify-content: center;

  /* OVERLAP EFFECT */
  position: relative;
  z-index: 20;
  margin-top: -60px;
  border-radius: 48px 48px 0 0;

  /* Фон секции — светлее, кремовый */
  background: linear-gradient(180deg,
      rgba(247, 230, 200, 0.98) 0%,
      rgba(234, 203, 149, 0.95) 60%,
      rgba(220, 180, 120, 0.92) 100%);

  /* Тень для глубины */
  box-shadow:
    0 -20px 60px rgba(0, 0, 0, 0.12),
    0 -4px 20px rgba(0, 0, 0, 0.06);
}

.section--booking>.container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  /* min-height: 100svh; */
}


.booking-container {
  width: 100%;
  margin: 0 auto;
  /* max-width: 1100px; */
  /* margin: 0 auto; */
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.booking-card {
  height: clamp(220px, 40vh, 360px);
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 70vh;
  max-width: 70vh;
  justify-self: center;
  /* margin-inline: auto */
  /* margin: 0 auto; */

}


.booking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.booking-card--wide {
  grid-column: 1;
  min-width: 70vh;
  max-width: 70svh;
  justify-self: center;

}

.booking-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transition: transform 0.4s ease;
}

.booking-card:hover .booking-card-bg {
  transform: scale(1.05);
}

.booking-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(62, 43, 36, 0.1) 0%,
      rgba(62, 43, 36, 0.4) 100%);
}

.booking-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(20px, 4vw, 32px);
  gap: 12px;
}

.booking-card-branch {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 4px 0;
}

.booking-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.1;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

.booking-card-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 16px 0;
}

.booking-card-btn {
  padding: 12px 28px;
  border: 1px solid rgba(170, 159, 149, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.booking-card-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Модальное окно */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(62, 43, 36, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.booking-modal.active {
  opacity: 1;
  visibility: visible;
}

.booking-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 48px);
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.booking-modal.active .booking-modal-content {
  transform: translateY(0);
}

.booking-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(170, 159, 149, 0.2);
  border-radius: 50%;
  font-size: 24px;
  color: #3E2B24;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.booking-modal-close:hover {
  background: rgba(170, 159, 149, 0.4);
}

.booking-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  color: #3E2B24;
  margin: 0 0 8px 0;
}

.booking-modal-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #AA9F95;
  margin: 0 0 24px 0;
}

.booking-modal-content--branch .booking-price-block {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(170, 159, 149, 0.2);
}

.booking-modal-content--branch .booking-price-block:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
}

.booking-modal-features {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 24px 0;
  color: #666;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

.booking-modal-prices {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(170, 159, 149, 0.3);
}

.booking-modal-prices:last-of-type {
  border-bottom: none;
}

.booking-modal-prices p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #3E2B24;
  margin: 0 0 8px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.booking-modal-prices strong {
  font-weight: 600;
  color: #3E1F20;
  white-space: nowrap;
}

.booking-modal-subtitle {
  font-weight: 500 !important;
  color: #AA9F95 !important;
  margin-bottom: 12px !important;
}

.booking-modal-contact {
  margin-top: 24px;
}

.booking-modal-contact p {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #666;
  margin: 0 0 10px 0;
}

.booking-modal-contact a {
  display: inline-block;
  margin-right: 12px;
  padding: 8px 16px;
  background: #3E1F20;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  transition: background 0.2s ease;
}

.booking-modal-contact a:hover {
  background: #5a2f30;
}

/* Табы в модальном окне */
.booking-modal-content--tabs {
  max-width: 520px;
}

.booking-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(62, 31, 32, 0.15);
}

.booking-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: rgba(62, 31, 32, 0.05);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.booking-tab:first-child {
  border-right: 1px solid rgba(62, 31, 32, 0.1);
}

.booking-tab:hover {
  background: rgba(62, 31, 32, 0.1);
}

.booking-tab.active {
  background: #3E1F20;
  color: #fff;
}

.booking-tab-content {
  display: none;
}

.booking-tab-content.active {
  display: block;
}

.booking-price-block {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(62, 31, 32, 0.1);
}

.booking-price-block:last-of-type {
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.booking-price-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: #3E1F20;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.booking-price-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #888;
  margin: 0 0 12px 0;
  text-transform: lowercase;
}

.price-note {
  font-size: 11px;
  color: #888;
  font-weight: 400;
}

.booking-price-asterisk {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #9b4f24;
  margin: 8px 0 0 0;
  font-style: italic;
}

/* Адаптивность для booking */
@media (max-width: 768px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-card {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 479px) {

  .booking-card,
  .booking-card--wide {
    min-width: unset;
    max-width: 90vw;
    width: 90vw;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .booking-card-title {
    font-size: 20px;
  }

  .booking-card-address {
    font-size: 12px;
  }
}

/* ===== BRANCH MODAL CONTENT ===== */
.branch-description {
  margin-bottom: 24px;
}

.branch-description p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.branch-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: #3E1F20;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.branch-advantages {
  margin-bottom: 24px;
}

.branch-advantages-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.branch-advantages-list li {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
}

.advantage-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.branch-map {
  margin-bottom: 24px;
}

.branch-map-container {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
}

.branch-map-container iframe {
  display: block;
}

.branch-directions {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

@media (max-width: 479px) {
  .branch-advantages-list {
    grid-template-columns: 1fr;
  }

  .branch-map-container iframe {
    height: 200px;
  }
}

/* ===== LOCATIONS SECTION ===== */
.section--locations {
  background: linear-gradient(180deg, #f5f0eb 0%, #ebe4dc 100%);
  padding: 80px 0;
}

.locations-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  text-align: center;
  color: #3E1F20;
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
}

.locations-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-align: center;
  color: #666;
  margin: 0 0 48px 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px auto;
}

.location-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.location-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.location-card:hover .location-card-bg {
  transform: scale(1.05);
}

.location-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(62, 31, 32, 0.2) 0%, rgba(62, 31, 32, 0.6) 100%);
}

.location-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  color: #fff;
}

.location-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 4px;
}

.location-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  margin: 0 0 12px 0;
  letter-spacing: 0.05em;
}

.location-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  margin: 0 0 4px 0;
  opacity: 0.95;
}

.location-metro {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  margin: 0;
  opacity: 0.85;
}

.locations-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.location-detail-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.location-detail-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: #3E1F20;
  margin: 0 0 4px 0;
}

.location-detail-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #9b4f24;
  margin: 0 0 12px 0;
  font-weight: 500;
}

.location-detail-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.location-map-placeholder {
  background: rgba(62, 31, 32, 0.08);
  border-radius: 12px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(62, 31, 32, 0.2);
}

.location-map-placeholder span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #888;
  letter-spacing: 0.05em;
}

/* Locations responsive */
@media (max-width: 768px) {
  .section--locations {
    padding: 60px 0;
  }

  .locations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .location-card {
    aspect-ratio: 16 / 10;
  }

  .locations-details {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .location-detail-card {
    padding: 24px;
  }

  .location-map-placeholder {
    height: 160px;
  }
}

@media (max-width: 479px) {
  .locations-title {
    font-size: 28px;
  }

  .locations-subtitle {
    font-size: 12px;
    margin-bottom: 32px;
  }

  .location-name {
    font-size: 26px;
  }

  .location-address,
  .location-metro {
    font-size: 11px;
  }

  .location-detail-card {
    padding: 20px;
  }

  .location-detail-title {
    font-size: 20px;
  }

  .location-detail-text {
    font-size: 12px;
  }

  .location-map-placeholder {
    height: 140px;
  }
}

/* ===== LOCATION MODALS ===== */
.location-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.location-modal.active {
  opacity: 1;
  visibility: visible;
}

.location-modal-content {
  background: #f8f5f2;
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.location-modal.active .location-modal-content {
  transform: translateY(0);
}

.location-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3E1F20;
  transition: background 0.2s ease;
}

.location-modal-close:hover {
  background: #fff;
}

.location-modal-map {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, rgba(62, 31, 32, 0.1) 0%, rgba(155, 79, 36, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px 24px 0 0;
}

.location-modal-map span {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #888;
  letter-spacing: 0.05em;
}

.location-modal-info {
  padding: 32px;
}

.location-modal-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9b4f24;
}

.location-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: #3E1F20;
  margin: 4px 0 8px 0;
  letter-spacing: 0.03em;
}

.location-modal-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0 0 24px 0;
}

.location-modal-section {
  margin-bottom: 24px;
}

.location-modal-section:last-child {
  margin-bottom: 0;
}

.location-modal-section h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: #3E1F20;
  margin: 0 0 10px 0;
}

.location-modal-section p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.location-modal-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.location-modal-benefits li {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #555;
  padding-left: 20px;
  position: relative;
}

.location-modal-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: #9b4f24;
  border-radius: 50%;
}

/* Location modal responsive */
@media (max-width: 768px) {
  .location-modal-content {
    max-height: 85vh;
  }

  .location-modal-map {
    height: 220px;
  }

  .location-modal-info {
    padding: 24px;
  }

  .location-modal-title {
    font-size: 28px;
  }

  .location-modal-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .location-modal {
    padding: 10px;
  }

  .location-modal-map {
    height: 180px;
  }

  .location-modal-info {
    padding: 20px;
  }

  .location-modal-title {
    font-size: 24px;
  }

  .location-modal-section h4 {
    font-size: 18px;
  }

  .location-modal-section p,
  .location-modal-benefits li {
    font-size: 13px;
  }
}

/* ===== FLOATING SOCIAL BLOCK ===== */
.social-float {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 99999;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Начальное положение - полоса внизу на всю ширину */
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 48px 48px 0 0;
}

/* Состояние при скролле - справа */
.social-float.scrolled {
  bottom: 50%;
  left: auto;
  right: 24px;
  width: auto;
  transform: translateY(50%);
  flex-direction: column;
  padding: 16px 12px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.social-float-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #3E1F20;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-float-link svg {
  width: 22px;
  height: 22px;
}

.social-float-link:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
  color: #9b4f24;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .social-float {
    gap: 12px;
    padding: 16px 20px;
  }

  .social-float.scrolled {
    right: 16px;
    padding: 12px 10px;
  }

  .social-float-link {
    width: 40px;
    height: 40px;
  }

  .social-float-link svg {
    width: 20px;
    height: 20px;
  }
}