/* Золотая середина — золотой лакшери + природные тона */
:root {
  --gold: #c9a227;
  --gold-light: #e5c76b;
  --gold-dark: #9a7b1a;
  --gold-wireframe: #D4AF37;
  --nature-green: #2d4a3e;
  --nature-green-light: #3d5a4e;
  --forest: #1e3329;
  --cream: #f5f0e6;
  --cream-dark: #e8e0d2;
  --brown: #4a3728;
  --white: #fafaf8;
  --text: #1a1a1a;
  --text-soft: #444;
  --shadow: rgba(45, 74, 62, 0.15);
  --overlay: rgba(30, 51, 41, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  /* Чтобы сверху не было светлой полоски при любом рендере */
  background-color: #1e3329;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.375rem;
  background-color: var(--forest);
  background-image: url('../images/bg-main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(165deg, rgba(30,51,41,0.75) 0%, rgba(45,74,62,0.5) 40%, rgba(201,162,39,0.12) 100%);
  pointer-events: none;
  z-index: 0;
}

.page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: visible;
}

/* ----- HEADER: полный широкий, слева лого, центр нав, справа мессенджеры ----- */
.site-header {
  width: 100%;
  margin: 0;
  padding: 1rem 2rem;
  background: linear-gradient(180deg, rgba(30,51,41,0.95) 0%, rgba(30,51,41,0.85) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,162,39,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-header__alt {
  margin: 0;
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  justify-self: start;
}
/* Слева — логотип, по центру — навигация, справа — мессенджеры */
.page-home .site-header--sticky {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.page-home .site-header--sticky .site-header__logo { grid-column: 1; justify-self: start; }
.page-home .site-header--sticky .site-nav { grid-column: 2; justify-self: center; }
.page-home .site-header--sticky .site-header__right { grid-column: 3; justify-self: end; }
.site-header__right {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-header__phone {
  font-size: 1.9rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .logo {
  flex-shrink: 0;
}
.site-header .messengers {
  justify-content: flex-end;
}
.site-nav a {
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--gold-wireframe);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-header .logo img,
.site-header .logo .logo-img {
  height: 56px;
  width: auto;
  display: block;
  max-width: 180px;
  object-fit: contain;
}
.site-header .logo .logo-img + .logo-placeholder {
  display: none;
}

.site-header .logo-placeholder {
  height: 56px;
  min-width: 140px;
  padding: 0 1rem;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-wireframe);
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 1.2;
  -webkit-text-stroke: 1px var(--gold-wireframe);
  text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
}
.page-home .site-header--sticky .logo-placeholder {
  -webkit-text-stroke: 1px rgba(255,255,255,0.95);
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.page-home .site-header--sticky.is-scrolled .logo-placeholder {
  -webkit-text-stroke: 1px var(--gold-wireframe);
  color: var(--gold-wireframe);
  -webkit-text-fill-color: var(--gold-wireframe);
}

/* Навигация */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Inter', 'Montserrat', sans-serif;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: color 0.2s, text-shadow 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(201,162,39,0.4);
}

/* Мессенджеры справа */
.messengers {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201,162,39,0.25);
  color: var(--gold-light);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.messengers a:hover {
  background: var(--gold);
  color: var(--forest);
  transform: scale(1.08);
}

.messengers svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ----- MAIN: контент страниц ----- */
.main-content {
  flex: 1;
  padding: 2rem 1.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ----- ГЛАВНАЯ: лого по центру, ниже название ----- */
.home-hero {
  text-align: center;
  padding: 4rem 1rem 5rem;
}

.home-hero .hero-logo {
  margin-bottom: 1.5rem;
}

.home-hero .hero-logo img {
  max-width: 200px;
  height: auto;
}

.home-hero .hero-logo-placeholder {
  width: 180px;
  height: 100px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 0.8rem;
  text-align: center;
}

.home-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.home-hero .tagline {
  font-size: 1.15rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.home-hero .intro {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--cream);
  font-size: 1.1rem;
  opacity: 0.95;
}

.cta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--forest);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(201,162,39,0.2);
  transform: translateY(-2px);
}

/* ----- Типографика контента ----- */
.content-block {
  background: rgba(245,240,230,0.92);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 24px var(--shadow);
  border: 1px solid rgba(201,162,39,0.15);
}

.content-block h2 {
  font-size: 1.75rem;
  color: var(--nature-green);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

.content-block h3 {
  font-size: 1.25rem;
  color: var(--brown);
  margin: 1.25rem 0 0.5rem;
}

.content-block p,
.content-block li {
  color: #1a1a1a;
  font-size: 1.45rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.content-block ul {
  list-style: none;
  padding-left: 0;
}

.content-block ul li {
  position: relative;
  padding-left: 1.5rem;
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.price-tag {
  font-size: 1.25rem;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ----- Карточки (территория, услуги) ----- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}

.card-image {
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
}

.card-body h3 {
  font-size: 1.2rem;
  color: var(--nature-green);
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 1.45rem;
  color: #1a1a1a;
  line-height: 1.7;
  margin: 0;
}

/* ----- Страница бронирования: блок под виджет ----- */
.booking-widget-wrap {
  min-height: 420px;
  background: rgba(245,240,230,0.95);
  border-radius: 16px;
  padding: 2rem;
  border: 2px dashed rgba(201,162,39,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.booking-widget-wrap .widget-placeholder {
  color: var(--text-soft);
  font-size: 1rem;
}

#booking-widget-container iframe,
#booking-widget-container script {
  width: 100%;
  min-height: 400px;
}

/* Виджет бронирования на всю ширину экрана */
#booking-widget-container {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* На главной делаем ширину как у секции Баня (ограничиваем контейнер до 1400px) */
body.page-home #booking-widget-container {
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
  z-index: 3;
}

@media (max-width: 900px) {
  /* На мобильных оставляем обычную ширину, чтобы не было горизонтальной прокрутки */
  #booking-widget-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* ----- Контакты ----- */
.contacts-block {
  display: grid;
  gap: 1.5rem;
}

.contacts-block a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
}

.contacts-block a:hover {
  text-decoration: underline;
}

/* ----- FOOTER ----- */
/* Единый футер для всех страниц */
.site-footer {
  background: #1e3329;
  color: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(212,175,55,0.3);
  margin-top: auto;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1.5rem;
}
.site-footer__brand {
  text-align: left;
}
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 0.5rem;
}
.site-footer__logo:hover {
  color: var(--gold-light);
}
.site-footer__logo-img {
  width: 56px;
  height: auto;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
}
.site-footer__logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.site-footer__tagline {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.site-footer__nav-title,
.site-footer__contacts-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.site-footer__nav {
  text-align: center;
}
.site-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__nav-list li {
  margin-bottom: 0.4rem;
}
.site-footer__nav-list a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 1rem;
}
.site-footer__nav-list a:hover {
  color: var(--gold-light);
}
.site-footer__contacts {
  text-align: right;
}
.site-footer__address {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.85);
}
.site-footer__tel {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gold-light);
  text-decoration: none;
  margin-bottom: 0.75rem;
}
.site-footer__tel:hover {
  color: #fff;
}
.site-footer__messengers {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-footer__messengers a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
}
.site-footer__messengers a:hover {
  color: var(--gold-light);
}
.site-footer__bottom {
  text-align: center;
}
.site-footer__copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.site-footer a {
  transition: color 0.2s ease;
}
@media (max-width: 768px) {
  .site-footer__inner {
    padding: 2rem 1rem 1.25rem;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding-bottom: 1.5rem;
  }
  .site-footer__brand {
    text-align: center;
  }
  .site-footer__logo {
    justify-content: center;
  }
  .site-footer__contacts {
    text-align: center;
  }
  .site-footer__messengers {
    justify-content: center;
  }
}

/* ----- Адаптив ----- */
@media (max-width: 768px) {
  .site-header {
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: center;
  }

  .site-header .logo { order: 1; }
  .site-nav { order: 2; }
  .messengers { order: 3; }

  .site-nav {
    gap: 1.25rem;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .home-hero {
    padding: 2.5rem 1rem 3rem;
  }

  .main-content {
    padding: 1.5rem 1rem 2rem;
  }

  .content-block {
    padding: 1.5rem 1.25rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

/* ==================== ГЛАВНАЯ В СТИЛЕ КОНСТРУКТОРА (ТИЛЬДА) ==================== */
/* Фон главной = та же фотография, что в герое; привязка к верху — без голубой полоски */
/* Единый фон героя: закреплён, при скролле остаётся на месте, текст прокатывается вверх поверх него */
body.page-home {
  background: #1e3329 url('../images/hero.jpg') center top / cover no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}
body.page-home::before {
  display: none;
}
body.page-home .page-wrap {
  min-height: auto;
  background: transparent;
}
body.page-home .main-home {
  background: transparent;
}

/* Липкий хедер на главной */
.site-header--sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.page-home .site-header--sticky {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: none;
}
.page-home .site-header--sticky .site-nav a,
.page-home .site-header--sticky .messengers a {
  color: rgba(255,255,255,0.95);
}
.page-home .site-header--sticky .site-nav a::after {
  background: var(--gold-wireframe);
}
.page-home .site-header--sticky .logo-placeholder {
  background: transparent;
}
.page-home .site-header--sticky.is-scrolled {
  background: linear-gradient(180deg, rgba(247,240,222,0.96) 0%, rgba(236,225,194,0.96) 100%);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.page-home .site-header--sticky.is-scrolled .site-nav a,
.page-home .site-header--sticky.is-scrolled .messengers a {
  color: var(--nature-green);
}
.page-home .site-header--sticky.is-scrolled .messengers a:hover {
  background: var(--gold);
  color: #fff;
}
.page-home .site-header--sticky.is-scrolled .logo-placeholder {
  background: transparent;
}

/* Герой на весь экран: уходит под хедер, чтобы шапка стояла на картинке */
.main-home {
  padding: 0;
  max-width: none;
}
/* Подняли блок выше — фон героя перекрывает полоску сверху */
.hero-full {
  position: relative;
  min-height: 100vh;
  margin-top: -120px;
  padding-top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* На главной: кладём содержимое героя и виджет друг под другом */
body.page-home .hero-full {
  flex-direction: column;
}
/* Фон только на body (fixed); здесь пусто, чтобы просвечивал единый фон */
.hero-full__bg {
  position: absolute;
  inset: 0;
  background: none;
}
/* На внутренних страницах фон героя — в самом блоке (как на главной) */
.page-inner .hero-full {
  background: #1e3329 url('../images/hero.jpg') center top / cover no-repeat;
  background-attachment: fixed;
}
.page-inner .hero-full__bg {
  background: none;
}
/* Тёмный оверлей 25–30% для читаемости текста */
.hero-full__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
}
/* Тёплый золотой фильтр #D4AF37 ~12% (как в вайрфрейме) */
.hero-full__overlay-gold {
  position: absolute;
  inset: 0;
  background: rgba(212,175,55,0.12);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-full__content {
  position: relative;
  z-index: 2;
  padding: 6rem 1.5rem 5rem;
  max-width: 720px;
}
.hero-full__logo {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  text-align: center;
  text-decoration: none;
}
.hero-full__logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 2px 20px rgba(0,0,0,0.3));
}
.hero-full__logo-img + .hero-full__logo-text {
  display: none;
}
.hero-full__logo-text {
  display: block;
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: clamp(2.2rem, 10vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #f6e8c8;
  line-height: 1.3;
  text-shadow: 0 2px 22px rgba(212,175,55,0.25), 0 2px 30px rgba(0,0,0,0.35);
  -webkit-text-stroke: 1px rgba(212,175,55,0.55);
  -webkit-text-fill-color: #f6e8c8;
}

/* Главная: бежевый/телесный с золотым оттенком (крупные надписи в hero) */
body.page-home .hero-full__logo-text {
  color: #f6e8c8;
  -webkit-text-stroke: 1px rgba(212,175,55,0.55);
  -webkit-text-fill-color: #f6e8c8;
  text-shadow: 0 2px 22px rgba(212,175,55,0.25), 0 2px 30px rgba(0,0,0,0.35);
}
.hero-full__title {
  font-family: 'Playfair Display', 'Cinzel', serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  color: #f6e8c8;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 28px rgba(212,175,55,0.22), 0 2px 30px rgba(0,0,0,0.35);
  -webkit-text-stroke: 1px rgba(212,175,55,0.55);
  -webkit-text-fill-color: #f6e8c8;
}

body.page-home .hero-full__title {
  color: #f6e8c8;
  text-shadow: 0 2px 28px rgba(212,175,55,0.22), 0 2px 30px rgba(0,0,0,0.35);
}
.hero-full__subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  font-style: italic;
}
.hero-full__text {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-full__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.hero-full__scroll {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  position: relative;
  animation: bounce 2s infinite;
}
.hero-full__scroll::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%);
  border: solid rgba(255,255,255,0.9);
  border-width: 0 2px 2px 0;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -70%) rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Кнопки для главной */
.btn--white {
  background: #fff;
  color: var(--nature-green);
  border: none;
}
.btn--white:hover {
  background: var(--cream);
  color: var(--forest);
}
.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.9);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  border: none;
}
.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(201,162,39,0.4);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--nature-green);
  border: 2px solid var(--nature-green);
}
.btn--outline:hover {
  background: var(--nature-green);
  color: #fff;
}

/* Секции с фото и текстом (Баня, Чан) */
.block-section {
  padding: 5rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.block-section__inner {
  max-width: 900px;
  margin: 0 auto 2rem;
}
.block-section__inner--narrow {
  max-width: 640px;
  text-align: center;
}
.block-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.block-section__grid--reverse {
  direction: rtl;
}
.block-section__grid--reverse > * {
  direction: ltr;
}
.block-section__img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.block-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}
.block-section__content {
  padding: 0 1rem;
}
.block-section__label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.block-section__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--nature-green);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.block-section__title--center {
  text-align: center;
}
.block-section__title--light {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.block-section__p {
  color: #1a1a1a;
  font-size: 1.45rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.block-section__p--center {
  text-align: center;
}
.block-section__p--light {
  color: rgba(255,255,255,0.95);
}
.block-section__label--light {
  color: rgba(255,255,255,0.9);
}
.block-section__price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}
.block-section__cta {
  text-align: center;
  margin-top: 2rem;
}

/* Блоки полупрозрачные — фото героя (fixed) видно сзади, текст прокатывается вверх по нему */
.block-section--banya {
  background: rgba(250, 250, 248, 0.88);
}
.block-section--chan {
  background: rgba(255, 255, 255, 0.88);
}
.block-section--territory {
  background: rgba(245, 242, 237, 0.88);
}
.block-section--reviews {
  background: rgba(255, 255, 255, 0.45);
  padding: 3rem 1.5rem;
}
/* Рейтинг Яндекса: значок, балл, звёзды, кол-во отзывов */
.reviews-rating {
  margin: 1.25rem 0;
  text-align: center;
}
.reviews-rating__yandex {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  justify-content: center;
  text-decoration: none;
  color: var(--nature-green);
  font-weight: 600;
  transition: opacity 0.2s;
}
.reviews-rating__yandex:hover {
  opacity: 0.85;
}
.reviews-rating__yandex-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reviews-rating__yandex-icon img {
  display: block;
  border-radius: 4px;
}
.reviews-rating__value {
  font-size: 1.5rem;
  line-height: 1;
}
.reviews-rating__stars {
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}
.reviews-rating__count {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
}
.block-section--cta {
  background: rgba(45, 74, 62, 0.9);
  padding: 4rem 1.5rem;
}
.block-section--cta .block-section__title,
.block-section--cta .block-section__p {
  color: #fff;
}

/* Полноширинная картинка с текстом (домики) */
.block-section__fullimg {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.block-section__fullimg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}
.block-section__fullimg-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
  max-width: 640px;
}

/* Галерея-превью (территория) */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}
.gallery-preview__item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  transition: transform 0.3s;
}
.gallery-preview__item:hover {
  transform: scale(1.03);
}
.gallery-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Футер на главной */

/* Адаптив главной */
@media (max-width: 900px) {
  .block-section__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
  .block-section__grid--reverse {
    direction: ltr;
  }
  .block-section__img-wrap {
    order: -1;
  }
  .gallery-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .hero-full__content {
    padding: 5rem 1rem 4rem;
  }
  .block-section {
    padding: 3rem 1rem;
  }
  .gallery-preview {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .gallery-preview__item {
    aspect-ratio: 16/10;
  }
}
/* Элементы мобильной шапки и бургер — по умолчанию скрыты */
.site-header__mobile-title,
.site-header__mobile-center,
.site-header__mobile-right,
.burger-btn {
  display: none;
}

/* Бургер-меню: панель поверх страницы (вынесено из хедера — сразу после него в DOM) */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10002;
  pointer-events: none;
  transition: visibility 0.3s;
  visibility: hidden;
}
.mobile-menu--open {
  pointer-events: auto;
  visibility: visible;
}
/* При открытом меню шапку можно скрыть (меню уже поверх, т.к. вне хедера) */
body.mobile-menu-open .site-header .site-header__mobile-title,
body.mobile-menu-open .site-header .site-header__mobile-center,
body.mobile-menu-open .site-header .site-header__mobile-right {
  visibility: hidden;
}
.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu--open .mobile-menu__backdrop {
  opacity: 1;
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(85%, 320px);
  background: var(--forest);
  padding: 4rem 1.5rem 2rem;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu--open .mobile-menu__panel {
  transform: translateX(0);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  margin-bottom: 2rem;
}
.mobile-menu__nav a {
  color: #fff;
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  -webkit-font-smoothing: antialiased;
}
.mobile-menu__nav a:hover {
  background: rgba(255,255,255,0.12);
  color: var(--gold-light);
}
.mobile-menu__messengers {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.mobile-menu__messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  color: #fff;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu__messengers a:hover {
  background: var(--gold);
  color: #fff;
}
.mobile-menu__messengers a svg {
  color: inherit;
}

.mobile-menu__logo {
  display: block;
  width: 100%;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  text-decoration: none;
}
.mobile-menu__logo-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  margin: 0 auto;
}
.mobile-menu__logo-img + .mobile-menu__logo-text {
  display: none;
}
.mobile-menu__logo-text {
  display: block;
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: clamp(0.9rem, 4.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  line-height: 1.3;
  -webkit-text-stroke: 1px rgba(255,255,255,0.95);
  -webkit-text-fill-color: #fff;
}

@media (max-width: 900px) {
  .site-header__phone {
    display: none !important;
  }
  /* На мобильных хедер фиксирован сверху — контент пролистывается, шапка всегда видна */
  .page-home .site-header--sticky,
  .site-header--inner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 0.5rem;
    min-height: 60px;
    padding: 0.75rem 1rem;
  }
  .site-header__mobile-title {
    justify-self: start;
  }
  .site-header__mobile-right {
    justify-self: end;
  }
  body.page-home .main-home,
  body.page-inner .main-inner {
    padding-top: 60px;
  }
  .page-home .site-header--sticky .site-header__logo { display: none; }
  .page-home .site-header--sticky .site-nav { display: none; }
  .page-home .site-header--sticky .site-header__messengers { display: none; }
  .site-header--inner .site-header__logo { display: none; }
  .site-header--inner .site-nav { display: none; }
  .site-header--inner .site-header__messengers { display: none; }
  .site-header__mobile-title {
    display: block;
    grid-column: 1;
    justify-self: start;
    font-family: 'Playfair Display', 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    line-height: 1.2;
  }
  /* «Золотая» в одну строку, «середина» — с новой строки */
  .site-header__mobile-title .site-header__mobile-title-line {
    display: block;
  }
  .page-home .site-header--sticky.is-scrolled .site-header__mobile-title { color: var(--nature-green); }
  .site-header--inner.is-scrolled .site-header__mobile-title { color: var(--nature-green); }
  .site-header__mobile-center {
    display: flex;
    grid-column: 2;
    justify-content: center;
    align-items: center;
  }
  .site-header__mobile-right {
    display: flex;
    grid-column: 3;
    justify-content: flex-end;
    align-items: center;
  }
  .messengers--header-mobile {
    display: flex;
    gap: 0.5rem;
  }
  .messengers--header-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255,255,255,0.95);
  }
  .page-home .site-header--sticky.is-scrolled .messengers--header-mobile a { color: var(--nature-green); }
  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: rgba(255,255,255,0.95);
    transition: color 0.2s;
  }
  .page-home .site-header--sticky.is-scrolled .burger-btn { color: var(--nature-green); }
  .site-header--inner.is-scrolled .burger-btn { color: var(--nature-green); }
  .burger-btn__line {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .burger-btn[aria-expanded="true"] .burger-btn__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .burger-btn[aria-expanded="true"] .burger-btn__line:nth-child(2) {
    opacity: 0;
  }
  .burger-btn[aria-expanded="true"] .burger-btn__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==================== ВНУТРЕННИЕ СТРАНИЦЫ — В ЕДИНОМ СТИЛЕ С ГЛАВНОЙ ==================== */
body.page-inner {
  background: #fafaf8;
  background-image: none;
}
body.page-inner::before {
  display: none;
}
body.page-inner .page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

/* Хедер на внутренних: как на главной — сверху прозрачный, при скролле белый */
.site-header--inner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}
.site-header--inner.is-scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  border-bottom-color: rgba(0,0,0,0.06);
}
.site-header--inner .site-header__logo { grid-column: 1; justify-self: start; }
.site-header--inner .site-nav { grid-column: 2; justify-self: center; }
.site-header--inner .site-header__right { grid-column: 3; justify-self: end; }
/* Сверху (прозрачный хедер) — светлые ссылки */
.site-header--inner .site-nav a,
.site-header--inner .site-header__messengers a,
.site-header--inner .messengers a {
  color: rgba(255,255,255,0.95);
}
.site-header--inner .site-nav a:hover,
.site-header--inner .site-nav a.active {
  color: var(--gold-light);
}
.site-header--inner .site-header__messengers a,
.site-header--inner .messengers a {
  background: rgba(201,162,39,0.25);
  color: rgba(255,255,255,0.95);
}
.site-header--inner .site-header__messengers a:hover,
.site-header--inner .messengers a:hover {
  background: var(--gold);
  color: #fff;
}
.site-header--inner .logo-placeholder {
  background: transparent;
  color: #fff;
  -webkit-text-stroke: 1px rgba(255,255,255,0.95);
  -webkit-text-fill-color: #fff;
  font-size: 0.7rem;
}
.site-header--inner .site-header__mobile-title { color: rgba(255,255,255,0.95); }
.site-header--inner .messengers--header-mobile a { color: rgba(255,255,255,0.95); }
.site-header--inner .burger-btn { color: rgba(255,255,255,0.95); }
/* После скролла — белый хедер, зелёные акценты */
.site-header--inner.is-scrolled .site-nav a,
.site-header--inner.is-scrolled .site-header__messengers a,
.site-header--inner.is-scrolled .messengers a {
  color: var(--nature-green);
}
.site-header--inner.is-scrolled .site-nav a:hover,
.site-header--inner.is-scrolled .site-nav a.active {
  color: var(--gold-dark);
}
.site-header--inner.is-scrolled .site-header__messengers a,
.site-header--inner.is-scrolled .messengers a {
  background: rgba(201,162,39,0.25);
  color: var(--nature-green);
}
.site-header--inner.is-scrolled .site-header__messengers a:hover,
.site-header--inner.is-scrolled .messengers a:hover {
  background: var(--gold);
  color: #fff;
}
.site-header--inner.is-scrolled .logo-placeholder {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  -webkit-text-stroke: unset;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
.site-header--inner.is-scrolled .site-header__mobile-title { color: var(--nature-green); }
.site-header--inner.is-scrolled .messengers--header-mobile a { color: var(--nature-green); }
.site-header--inner.is-scrolled .burger-btn { color: var(--nature-green); }

/* На мобильных хедер внутренних страниц — фиксирован (переопределяет sticky выше) */
@media (max-width: 900px) {
  .site-header--inner {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 100;
  }
}

/* Мини-герой на внутренних страницах — как на главной: логотип по центру, название, слоган */
.main-inner {
  flex: 1;
  padding: 0;
  max-width: none;
}
.inner-hero {
  position: relative;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, #2d4a3e 0%, #1e3329 100%);
  color: #fff;
}
.inner-hero__content {
  position: relative;
  z-index: 2;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
}
.inner-hero__logo {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  text-align: center;
  text-decoration: none;
}
.inner-hero__logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 2px 20px rgba(0,0,0,0.3));
}
.inner-hero__logo-img + .inner-hero__logo-text {
  display: none;
}
.inner-hero__logo-text {
  display: block;
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: clamp(2.2rem, 10vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
  -webkit-text-stroke: 1px rgba(255,255,255,0.95);
  -webkit-text-fill-color: #fff;
}
.inner-hero__title {
  font-family: 'Playfair Display', 'Cinzel', serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
/* Подзаголовок как на главной (hero-full__subtitle) — шрифт Playfair, курсив */
.inner-hero__subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.02em;
  margin: 0 auto;
  max-width: 560px;
  font-style: italic;
}

/* Контент внутренних: секции в стиле главной */
.inner-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.inner-content .block-section {
  padding: 2rem 0;
  background: transparent;
}
.inner-content .content-block {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}
.inner-content .content-block h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  color: var(--nature-green);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  font-weight: 700;
}
.inner-content .content-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  color: var(--brown);
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}
/* Текст в блоках — чёрный, крупный, читаемый на всех страницах */
.inner-content .content-block p,
.inner-content .content-block li {
  color: #1a1a1a;
  font-size: 1.45rem;
  line-height: 1.7;
}
.inner-content .content-block .price-tag {
  font-size: 1.2rem;
  color: var(--gold-dark);
  font-weight: 600;
}
.inner-content .content-block a {
  color: var(--nature-green);
  font-weight: 500;
}
.inner-content .content-block a:hover {
  color: var(--gold-dark);
}
.inner-content .btn--primary {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.map-embed-wrap {
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.map-embed-wrap iframe {
  display: block;
  vertical-align: top;
}
/* Карта на всю ширину контейнера (главная — «Нас рекомендуют») */
.map-embed-wrap--full {
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
  border-radius: 0;
}
.map-embed-wrap--full iframe {
  width: 100%;
  min-height: 400px;
}
.inner-content .content-block--map .btn--map-link {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Карточки на внутренних — в том же стиле, текст читаемый */
.page-inner .cards {
  margin-top: 1rem;
}
.page-inner .card {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}
.page-inner .card-image {
  background: #f0ede8;
  color: var(--text-soft);
}
.page-inner .card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: var(--nature-green);
  font-weight: 600;
}
.page-inner .card-body p {
  color: #1a1a1a;
  font-size: 1.45rem;
  line-height: 1.7;
}

/* Бронирование и футер на внутренних */
.page-inner .booking-widget-wrap {
  background: #fff;
  border: 2px dashed rgba(45,74,62,0.2);
  border-radius: 16px;
}
@media (max-width: 768px) {
  .inner-hero {
    padding: 3rem 1rem 2rem;
  }
  .inner-content {
    padding: 1.5rem 1rem 3rem;
  }
  .inner-content .content-block {
    padding: 1.5rem 1.25rem;
  }
}

/* ==================== Читаемый текст везде (приоритет над остальными правилами) ==================== */
body {
  font-size: 1.375rem !important;
}
/* Главная: абзацы в секциях */
.main-home .block-section__p,
.page-wrap .block-section__p {
  font-size: 1.5rem !important;
  color: #1a1a1a !important;
  line-height: 1.7 !important;
}
/* Блоки контента (общие и внутренние страницы) */
body .content-block p,
body .content-block li,
.main-inner .inner-content .content-block p,
.main-inner .inner-content .content-block li {
  font-size: 1.5rem !important;
  color: #1a1a1a !important;
  line-height: 1.7 !important;
}
/* Карточки на главной и внутренних */
body .card-body p,
.page-inner .card-body p {
  font-size: 1.5rem !important;
  color: #1a1a1a !important;
  line-height: 1.7 !important;
}

/* Белый текст на тёмном фоне: CTA «Забронировать отдых» и блок «Домики с видом на горы» */
.block-section--cta .block-section__title,
.block-section--cta .block-section__p {
  color: #fff !important;
}
.block-section__fullimg-content .block-section__label,
.block-section__fullimg-content .block-section__title,
.block-section__fullimg-content .block-section__p {
  color: #fff !important;
}
