/* Медовуха — золотисто-бирюзовые и природные тона */
:root {
  --gold: #c9a227;
  --gold-light: #e5c65c;
  --gold-dark: #9a7b1a;
  --turquoise: #2a9d8f;
  --turquoise-light: #4db6ac;
  --turquoise-dark: #1d6b62;
  --nature-dark: #264653;
  --nature-medium: #3d5a4a;
  --cream: #f4f1ea;
  --cream-dark: #e8e4d9;
  --white-overlay: rgba(244, 241, 234, 0.92);
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 12px;
  --header-height: 100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Фиксированный фон на весь сайт */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/background/background.jpg') center/cover no-repeat;
  z-index: -2;
}


body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
}

/* Контент поверх фона */
main, .page-content {
  position: relative;
  z-index: 1;
  padding-bottom: 1px;
}

/* Общий фон (фото + соты) за всеми блоками от виджета до футера, на всех страницах. Hero не трогаем. */
.content-bg::before,
.content-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.content-bg::before {
  background: url('../assets/images/about/about-bg.jpg') center/cover no-repeat;
  opacity: 0.62;
}

.content-bg::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='0.8' opacity='0.12'%3E%3Cpath d='M28 0l28 14v28l-28 14-28-14V14L28 0z'/%3E%3Cpath d='M0 43l28 14 28-14v28l-28 14L0 71V43z'/%3E%3Cpath d='M28 56l28-14V14L28 0 0 14v28l28 14z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 97px;
}

.content-bg > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--turquoise-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----- Хедер ----- */
.header-main {
  background: rgba(244, 241, 234, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 24px 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-main .container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Логотип слева, справа — кнопки, значки соцсетей и телефон в одну линию */
.header-main .header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap img {
  height: 52px;
  width: auto;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nature-dark);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-desktop a {
  padding: 10px 16px;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.nav-desktop a:hover {
  background: var(--cream-dark);
  color: var(--turquoise-dark);
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-socials a {
  display: inline-flex;
  padding: 6px;
}

.header-socials img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header-phone {
  font-weight: 700;
  color: var(--nature-dark);
  font-size: 1.05rem;
  white-space: nowrap;
}

/* Соцсети только в мобильном хедере (по центру) */
.only-mobile {
  display: none;
}

/* Бургер для мобильных */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: var(--turquoise);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
  transition: background 0.2s;
}

.burger:hover {
  background: var(--turquoise-dark);
}

.burger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Мобильное меню — выезжающая панель */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  z-index: 200;
  padding: 80px 24px 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile a {
  display: block;
  padding: 14px 16px;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius);
  border-left: 4px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.nav-mobile a:hover,
.nav-mobile a:focus {
  border-left-color: var(--turquoise);
  background: rgba(42,157,143,0.08);
}

.nav-mobile .phone {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
  font-weight: 700;
  color: var(--nature-dark);
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.3s;
}

.overlay.open {
  opacity: 1;
}

@media (max-width: 900px) {
  .header-right .nav-desktop,
  .header-right .header-socials.only-desktop,
  .header-right .header-phone.only-desktop {
    display: none;
  }
  .header-right {
    margin-left: 0;
    flex: 0 0 auto;
  }
  .header-socials.header-socials-center.only-mobile {
    display: flex;
    flex: 1;
    justify-content: center;
    min-width: 0;
  }
  .header-socials-center.only-mobile img {
    width: 32px;
    height: 32px;
  }
  .burger {
    display: flex;
    flex: 0 0 auto;
    margin-left: 0;
  }
  .nav-mobile {
    display: flex;
  }
  .nav-mobile .header-socials {
    display: flex;
    margin-top: 16px;
  }
}

/* ----- Hero-блок (под хедером на всех страницах) ----- */
.hero-block {
  text-align: center;
  padding: 7cm 24px 48px 24px;
  position: relative;
  z-index: 1;
}

/* Логотип по центру Hero — без размытия, крупный */
.hero-block .hero-logo-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-block .hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-block .hero-logo img {
  width: 220px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

/* Ниже логотипа: заголовок и слоган */
.hero-block .hero-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-block .hero-slogan-wrap {
  min-height: 1.6em;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gold-dark);
  margin-bottom: 28px;
  display: inline-block;
  padding: 14px 24px 16px;
  background: rgba(244, 241, 234, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-block .hero-slogan-wrap .typed {
  display: inline;
  font-weight: 700;
}

.hero-block .hero-slogan-wrap .cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  margin-left: 2px;
  vertical-align: -0.15em;
  animation: blink 0.8s step-end infinite;
}

.hero-block .hero-slogan-wrap.done .cursor {
  display: none;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Стрелка вниз — снизу по центру, сразу под слоганом, прыгает вверх-вниз */
.hero-block .hero-scroll-arrow {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  color: var(--nature-dark);
  text-decoration: none;
  animation: bounceDown 1.8s ease-in-out infinite;
}

.hero-block .hero-scroll-arrow svg {
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.hero-block .hero-scroll-arrow:hover {
  color: var(--turquoise-dark);
}

/* Hero на мобильных: логотип и заголовок на 4 см выше */
@media (max-width: 768px) {
  .hero-block {
    padding-top: 3cm;
  }
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ----- Секции общие ----- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-title {
  font-size: 2rem;
  color: var(--nature-dark);
  margin-bottom: 24px;
  text-align: center;
}

.section-title span {
  color: var(--gold-dark);
}

/* ----- Блок бронирования (главная) ----- */
.booking-widget-section {
  position: relative;
  z-index: 10;
  padding: 40px 24px;
}

.booking-widget-section .container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white-overlay);
  backdrop-filter: blur(8px);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.booking-widget-section h2 {
  margin-bottom: 20px;
  color: var(--nature-dark);
  font-size: 1.5rem;
}

/* Сюда вставляется код виджета бронирования от заказчика */
.booking-widget-placeholder {
  min-height: 120px;
  border: 2px dashed var(--turquoise);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  padding: 24px;
  text-align: center;
}

/* ----- Блок О нас ----- */
.about-section {
  padding: 48px 24px;
  position: relative;
}

.about-section .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  /* Узор сот (медовые шестиугольники) поверх подложки */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='0.8' opacity='0.12'%3E%3Cpath d='M28 0l28 14v28l-28 14-28-14V14L28 0z'/%3E%3Cpath d='M0 43l28 14 28-14v28l-28 14L0 71V43z'/%3E%3Cpath d='M28 56l28-14V14L28 0 0 14v28l28 14z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(244,241,234,0.92) 0%, rgba(244,241,234,0.88) 100%);
  background-size: 56px 97px, 100% 100%;
  background-position: 0 0, 0 0;
}

.about-text h2 {
  color: var(--nature-dark);
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.about-text p {
  margin-bottom: 12px;
  color: var(--text);
}

/* Видео 1080×1920 (вертикальное): подстроено под кадр */
.about-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9/16;
  max-width: 340px;
  margin: 0 auto;
  background: var(--nature-dark);
}

.about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-video .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 0.95rem;
  padding: 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .about-section .container {
    grid-template-columns: 1fr;
  }
  .about-video {
    order: -1;
  }
}

/* ----- План территории (главная) ----- */
.territory-plan-section {
  padding: 0 24px 48px;
  position: relative;
}

.territory-plan-section .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='0.8' opacity='0.12'%3E%3Cpath d='M28 0l28 14v28l-28 14-28-14V14L28 0z'/%3E%3Cpath d='M0 43l28 14 28-14v28l-28 14L0 71V43z'/%3E%3Cpath d='M28 56l28-14V14L28 0 0 14v28l28 14z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(244,241,234,0.92) 0%, rgba(244,241,234,0.88) 100%);
  background-size: 56px 97px, 100% 100%;
}

.territory-plan-section h2 {
  color: var(--nature-dark);
  margin: 0 0 12px;
  font-size: 1.75rem;
  text-align: center;
}

.territory-plan-intro {
  text-align: center;
  color: var(--text);
  margin: 0 auto 24px;
  max-width: 640px;
  line-height: 1.55;
}

.territory-plan-figure {
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-dark);
  line-height: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.territory-plan-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.territory-plan-figure img:hover {
  opacity: 0.95;
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.35);
}

.territory-plan-more {
  text-align: center;
  margin: 20px 0 0;
}

.territory-plan-more a {
  color: var(--turquoise-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.territory-plan-more a:hover {
  color: var(--nature-dark);
}

/* ----- Галерея ----- */
.gallery-section {
  padding: 48px 24px;
}

.gallery-section h2 {
  text-align: center;
  margin-bottom: 28px;
  color: var(--nature-dark);
  font-size: 1.75rem;
}

/* Галерея: главное фото + стрелки */
.gallery-viewer {
  max-width: 900px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.gallery-main-wrap {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-dark);
  aspect-ratio: 16/10;
  cursor: pointer;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.9);
  color: var(--nature-dark);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.gallery-arrow:hover {
  background: var(--gold);
  color: #fff;
}

/* Превью снизу */
.gallery-thumbs {
  max-width: 900px;
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream-dark);
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
}

.gallery-thumb:hover {
  opacity: 0.9;
}

.gallery-thumb.active {
  border-color: var(--gold);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Лайтбокс: полноэкранный просмотр */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.gallery-lightbox-close:hover {
  background: rgba(255,255,255,0.25);
}

.gallery-lightbox .gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.gallery-lightbox .gallery-arrow:hover {
  background: var(--gold);
}

.gallery-lightbox-prev {
  left: 20px;
}

.gallery-lightbox-next {
  right: 20px;
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-cta {
  text-align: center;
}

.gallery-cta .btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,0.4);
  color: #fff;
}

/* ----- Блок Контакты ----- */
.contacts-section {
  position: relative;
  z-index: 0;
  padding: 48px 24px;
  scroll-margin-top: 120px;
}

.contacts-section h2 {
  text-align: center;
  margin-bottom: 32px;
  color: var(--nature-dark);
  font-size: 1.75rem;
}

.contacts-section .container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  background: var(--white-overlay);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contacts-left h3 {
  font-size: 1.1rem;
  color: var(--nature-dark);
  margin-bottom: 16px;
}

.contacts-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.contacts-socials a {
  display: inline-flex;
  padding: 8px;
}

.contacts-socials img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contacts-phone {
  margin-bottom: 16px;
}

.contacts-phone a {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--nature-dark);
}

.contacts-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, box-shadow 0.2s;
}

.contacts-telegram:hover {
  box-shadow: 0 4px 16px rgba(201,162,39,0.35);
  color: #fff;
}

.contacts-map-link {
  display: inline-block;
  margin-top: 12px;
  margin-right: 16px;
  color: var(--turquoise-dark);
  font-weight: 500;
  text-decoration: none;
}
.contacts-map-link:hover {
  text-decoration: underline;
}

.contacts-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: var(--cream-dark);
}

.contacts-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

@media (max-width: 768px) {
  .contacts-section .container {
    grid-template-columns: 1fr;
  }
}

/* ----- Футер ----- */
.footer {
  background: var(--nature-dark);
  color: var(--cream);
  padding: 40px 24px 24px;
  margin-top: 0;
}

.footer .container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}

.footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 8px;
}

.footer-logo .site-title {
  color: var(--cream);
  font-size: 1.1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
}

.footer-nav a {
  color: var(--cream);
  opacity: 0.9;
}

.footer-nav a:hover {
  color: var(--gold-light);
  opacity: 1;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  padding: 6px;
}

.footer-socials img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--gold-light);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Запись из реестра — заглушка */
.footer-registry {
  margin-top: 12px;
  font-size: 0.8rem;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-socials {
    justify-content: center;
  }
}

/* ----- Страница: Бронирование ----- */
.page-hero {
  padding: 60px 24px 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.25rem;
  color: var(--nature-dark);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-widget {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white-overlay);
  backdrop-filter: blur(8px);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-widget .booking-widget-placeholder {
  min-height: 200px;
}

/* Бронирование: виджет на всю ширину, без контейнера */
.page-hero--booking {
  position: relative;
  z-index: 10;
  padding-left: 12px;
  padding-right: 12px;
  text-align: left;
}
.page-hero--booking [data-roomslot-client-id] {
  width: 100%;
  max-width: none;
  position: relative;
  z-index: 9999;
}

/* Виджет RoomSlot поверх шапки и меню (выпадающие, модалки) */
.page-hero--booking [data-roomslot-client-id] iframe,
.page-hero--booking [data-roomslot-client-id] > * {
  position: relative;
  z-index: 9999;
}

/* ----- Страница: Правила ----- */
.rules-content,
.banya-content,
.territory-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
  background: var(--white-overlay);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

.rules-content h2,
.banya-content h2,
.territory-content h2 {
  color: var(--nature-dark);
  font-size: 1.35rem;
  margin: 24px 0 12px;
}

/* Активный отдых — секция с карточками */
.active-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.active-section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--nature-dark);
  text-align: center;
  margin-bottom: 12px;
}

.active-intro,
.active-outro {
  text-align: center;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.active-outro {
  margin-top: 32px;
  margin-bottom: 0;
}

.rules-content h2:first-child,
.banya-content h2:first-child {
  margin-top: 0;
}

.rules-content ul,
.banya-content ul {
  margin: 12px 0 12px 20px;
}

.rules-content li,
.banya-content li {
  margin-bottom: 6px;
}

.animal-notice {
  background: rgba(201,162,39,0.15);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

/* ----- Баня-сауна ----- */
.banya-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.banya-card {
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.banya-card .pic {
  aspect-ratio: 16/10;
  background: var(--cream-dark);
}

.banya-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banya-card .body {
  padding: 20px;
}

.banya-card h3 {
  color: var(--nature-dark);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.banya-card .price {
  font-weight: 700;
  color: var(--turquoise-dark);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.banya-credit {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
}

.chan-notice {
  background: rgba(42,157,143,0.12);
  border-left: 4px solid var(--turquoise);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 16px 0;
}

.gift-list {
  margin: 12px 0;
  padding-left: 20px;
}

/* ----- Территория: фото бассейна и площадки ----- */
.territory-photo-wrap {
  margin-top: 16px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 12px;
  max-width: 100%;
}
.territory-photo-wrap img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.territory-photo-wrap--pool img {
  max-width: 600px;
}
@media (max-width: 600px) {
  .territory-photo-wrap img {
    max-width: 100%;
  }
}

/* ----- Территория: слайд-шоу ----- */
.territory-slider-wrap {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-dark);
  touch-action: pan-y;
}

.territory-slider {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  cursor: grab;
  user-select: none;
}

.territory-slider:active {
  cursor: grabbing;
}

.territory-slider img {
  flex-shrink: 0;
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  pointer-events: none;
}

.territory-slider .track {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* Клик по фото — только по первому треку, картинки кликабельны через обёртку в JS */
.territory-slider .track:first-child {
  pointer-events: auto;
}
.territory-slider .track:first-child img {
  pointer-events: auto;
  cursor: pointer;
}

/* Лайтбокс территории — в конце body, поверх шапки и всего */
.territory-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}

.territory-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.territory-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  pointer-events: none;
}

.territory-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.territory-lightbox-close:hover {
  background: rgba(255,255,255,0.4);
}

.territory-lightbox-prev,
.territory-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 24px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  left: 20px;
  z-index: 1;
}

.territory-lightbox-prev:hover,
.territory-lightbox-next:hover {
  background: rgba(255,255,255,0.4);
}

.territory-lightbox-next {
  left: auto;
  right: 20px;
}

.nearby-note {
  margin-top: 20px;
  padding: 16px;
  background: rgba(201,162,39,0.1);
  border-radius: var(--radius);
}

/* ----- Активный отдых: карточки ----- */
.active-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.active-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(38, 70, 83, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.active-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.active-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 20px 20px 0 0;
  flex-shrink: 0;
}

.active-card-placeholder {
  display: none;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  border-radius: 20px 20px 0 0;
}

.active-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: #eef5f5;
  border-radius: 0 0 20px 20px;
  min-height: 100px;
}

.active-card-body h3 {
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 10px;
  font-weight: 600;
}

.active-card-body p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255,255,255,0.92);
}

/* Кнопки */
.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,0.35);
}
