/* ====================================================
   Гостевой дом — Главный стилевой файл
   Палитра: степь, песок, шалфей, тёплый беж
   ==================================================== */

/* --- CSS VARIABLES --- */
:root {
  /* Цвета — «Ближний Край»: антрацит + степное золото + река */
  --gold:        #C8882A;
  --gold-dark:   #8B5E1A;
  --gold-light:  #F0D4A0;
  --sand:        #F0E4C8;
  --sand-light:  #FAF6EE;
  --cream:       #FDFAF3;
  --anthracite:  #2D3238;
  --anth-mid:    #454C55;
  --river:       #7AAEC8;
  --river-light: #C8E0EE;
  --earth:       #B87840;
  --earth-dark:  #7A4E20;
  --text:        #1C1810;
  --text-mid:    #5A4830;
  --text-light:  #8A7860;
  --border:      #E4D8C0;
  --white:       #FFFFFF;
  --shadow:      rgba(28, 24, 16, 0.10);
  --shadow-lg:   rgba(28, 24, 16, 0.22);

  /* Псевдонимы для совместимости с кнопками */
  --sage:        var(--gold);
  --sage-dark:   var(--gold-dark);
  --sage-light:  var(--gold-light);
  --sky:         var(--river);
  --sky-light:   var(--river-light);

  /* Сезонный акцент */
  --season-color:   #E8A030;
  --season-color-2: #F8D880;
  --hero-overlay:   rgba(20, 16, 8, 0.45);

  /* Типографика */
  --font-body:    'Golos Text', 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-py:  88px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  /* Transitions */
  --tr: 0.25s ease;
}

/* Сезонные темы */
body.season-summer {
  --season-color:   #E8A030;
  --season-color-2: #F8D880;
  --hero-gradient:  linear-gradient(170deg, #1C2830 0%, #2D4838 40%, #3A5830 100%);
  --hero-overlay:   rgba(10, 20, 8, 0.48);
}
body.season-autumn {
  --season-color:   #D07020;
  --season-color-2: #F0B060;
  --hero-gradient:  linear-gradient(170deg, #1C1810 0%, #3A2810 40%, #5A3818 100%);
  --hero-overlay:   rgba(20, 10, 5, 0.45);
}
body.season-winter {
  --season-color:   #7AAEC8;
  --season-color-2: #B8D8EE;
  --hero-gradient:  linear-gradient(170deg, #18202A 0%, #283848 40%, #384858 100%);
  --hero-overlay:   rgba(8, 16, 28, 0.42);
}
body.season-spring {
  --season-color:   #68A848;
  --season-color-2: #A8D888;
  --hero-gradient:  linear-gradient(170deg, #18281A 0%, #283828 40%, #3A5030 100%);
  --hero-overlay:   rgba(8, 20, 8, 0.40);
}


/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }


/* --- LAYOUT --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-py) 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-mid);
}


/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; }
p { color: var(--text-mid); }


/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--tr);
  white-space: nowrap;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(74, 120, 54, 0.3); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-earth {
  background: var(--earth);
  color: var(--white);
}
.btn-earth:hover { background: var(--earth-dark); }
.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--sand); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }


/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--text);
  color: var(--white);
  padding: 18px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-content p { color: rgba(255,255,255,0.85); font-size: 14px; flex: 1; min-width: 200px; }
.cookie-content a { color: var(--season-color); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 8px 18px; font-size: 13px; }
.cookie-actions .btn-primary { background: var(--sage); }
.cookie-actions .btn-ghost { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.cookie-actions .btn-ghost:hover { background: rgba(255,255,255,0.1); }


/* --- HEADER --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  padding: 16px 0;
  transition: all var(--tr);
}
.header.scrolled {
  background: rgba(253, 250, 243, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  transition: color var(--tr);
}
.header.scrolled .logo-text { color: var(--text); }
.logo-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--tr);
}
.header.scrolled .logo-sub { color: var(--text-light); }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: all var(--tr);
}
.nav-link:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.header.scrolled .nav-link { color: var(--text-mid); }
.header.scrolled .nav-link:hover { background: var(--sand); color: var(--text); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: color var(--tr);
}
.header.scrolled .header-phone { color: var(--text); }
.header-phone:hover { color: var(--season-color); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--tr);
}
.header.scrolled .burger span { background: var(--text); }


/* --- HERO --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  background-size: cover;
  background-position: center;
  transition: background 1.5s ease;
}
/* When actual photos are added, these override the gradients */
body.season-summer .hero-bg { background-image: url('../img/hero-summer.jpg'), var(--hero-gradient); }
body.season-autumn .hero-bg { background-image: url('../img/hero-autumn.jpg'), var(--hero-gradient); }
body.season-winter .hero-bg { background-image: url('../img/hero-winter.jpg'), var(--hero-gradient); }
body.season-spring .hero-bg { background-image: url('../img/hero-spring.jpg'), var(--hero-gradient); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.hero > .container { position: relative; z-index: 1; padding-top: 100px; padding-bottom: 80px; }
.hero-content { max-width: 640px; }
.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.season-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--season-color); display: block; }
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 24px;
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* --- QUICKBAR --- */
.quickbar {
  background: var(--sage);
  padding: 16px 0;
}
.quickbar-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.quickbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 500;
}
.quickbar-item svg { width: 18px; height: 18px; }


/* --- ROOMS --- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--tr);
  box-shadow: 0 2px 12px var(--shadow);
  border: 1.5px solid var(--border);
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-lg);
}
.room-card:hover .room-hover-hint { opacity: 1; }
.room-card:hover .room-img { transform: scale(1.07); }
.room-img {
  height: 220px;
  background: var(--sand) center/cover no-repeat;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s ease;
}
.room-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 60%);
}
.room-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.room-badge--inclusive {
  background: var(--sage);
  color: var(--white);
}
.room-hover-hint {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  text-align: center;
  color: var(--white);
  font-size: 13px;
  opacity: 0;
  transition: opacity var(--tr);
  z-index: 1;
}
.room-info { padding: 20px; }
.room-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.room-desc { font-size: 14px; color: var(--text-mid); margin-bottom: 16px; line-height: 1.55; }
.room-footer { display: flex; align-items: center; justify-content: space-between; }
.room-price { font-size: 17px; font-weight: 700; color: var(--sage-dark); }
.room-details-link { font-size: 13px; color: var(--earth); font-weight: 500; }
.room-card--inclusive { border-color: var(--sage-light); }
.room-card--inclusive .room-name::after {
  content: ' ♿';
  font-size: 16px;
}


/* --- INCLUSIVE SECTION --- */
.inclusive { background: var(--sand-light); }
.inclusive-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.inclusive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-light);
  color: var(--sage-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.inclusive-content h2 { margin-bottom: 16px; }
.inclusive-content p { margin-bottom: 24px; }
.inclusive-list { margin-bottom: 28px; }
.inclusive-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.inclusive-list li::before { content: '✓'; color: var(--sage); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.inclusive-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.inclusive-image-placeholder {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sky-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  font-size: 52px;
  gap: 12px;
}
.inclusive-image-placeholder span { font-size: 16px; font-weight: 600; }


/* --- CAFE --- */
.cafe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cafe-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.cafe-image-placeholder {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sand) 0%, var(--earth) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  gap: 12px;
  color: var(--white);
}
.cafe-image-placeholder span { font-size: 16px; font-weight: 600; }
.cafe-content h2 { margin-bottom: 16px; }
.cafe-content p { margin-bottom: 20px; }
.cafe-menu-preview {
  background: var(--sand-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow var(--tr);
}
.cafe-menu-preview:hover { box-shadow: 0 4px 16px var(--shadow); }
.cafe-menu-preview h4 { font-size: 15px; color: var(--text); margin-bottom: 8px; }
.cafe-menu-preview p { font-size: 13px; color: var(--text-mid); margin: 0; }
.cafe-menu-preview .expand-hint { font-size: 12px; color: var(--earth); margin-top: 8px; }
.cafe-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cafe-tag {
  background: var(--sand);
  border: 1px solid var(--border);
  color: var(--text-mid);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
}


/* --- ACTIVITIES --- */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.activity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--tr);
  box-shadow: 0 2px 10px var(--shadow);
  border: 1.5px solid var(--border);
}
.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-lg);
}
.activity-card:hover .activity-img { transform: scale(1.07); }
.activity-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  transition: transform 0.45s ease;
  overflow: hidden;
}
.activity-img.water  { background: linear-gradient(135deg, #A8D8EA 0%, #5BA8CC 100%); }
.activity-img.fish   { background: linear-gradient(135deg, #90C878 0%, #4A8840 100%); }
.activity-img.excursion { background: linear-gradient(135deg, #F5D880 0%, #C89840 100%); }
.activity-img.bike   { background: linear-gradient(135deg, #E8A878 0%, #C06830 100%); }
.activity-img.bath   { background: linear-gradient(135deg, #F0A8A0 0%, #C06858 100%); }
.activity-img.picnic { background: linear-gradient(135deg, #B8E890 0%, #70A840 100%); }
.activity-body { padding: 18px; }
.activity-name { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.activity-desc { font-size: 13px; color: var(--text-mid); line-height: 1.5; margin-bottom: 12px; }
.activity-more { font-size: 13px; color: var(--earth); font-weight: 500; }


/* --- ROUTES & VIDEO --- */
.routes { background: var(--text); color: var(--white); }
.routes .section-title { color: var(--white); }
.routes .section-sub { color: rgba(255,255,255,0.65); }
.routes-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.video-block {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
}
.video-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.6);
}
.video-placeholder .play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
  cursor: pointer;
  transition: all var(--tr);
}
.video-placeholder .play-btn:hover { background: rgba(255,255,255,0.35); transform: scale(1.05); }
.video-block iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.route-cards { display: flex; flex-direction: column; gap: 14px; }
.route-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all var(--tr);
  display: flex;
  gap: 14px;
  align-items: center;
}
.route-card:hover { background: rgba(255,255,255,0.12); }
.route-icon { font-size: 28px; flex-shrink: 0; }
.route-info h4 { color: var(--white); font-size: 15px; margin-bottom: 4px; }
.route-info p { color: rgba(255,255,255,0.55); font-size: 13px; margin: 0; }
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.photo-strip-item {
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--sand);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--tr), opacity var(--tr);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  opacity: 0.85;
}
.photo-strip-item:hover { box-shadow: 0 6px 20px var(--shadow-lg); opacity: 1; }
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.photo-strip-item:hover img { transform: scale(1.1); }


/* --- BOOKING CTA --- */
.booking-cta { background: var(--sand-light); }
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.booking-text h2 { margin-bottom: 16px; }
.booking-text p { margin-bottom: 8px; }
.booking-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
}
.booking-note a { color: var(--sage); text-decoration: underline; }
.booking-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 24px var(--shadow);
  border: 1.5px solid var(--border);
}
.booking-panel h3 { font-size: 20px; margin-bottom: 20px; }
.form-row { margin-bottom: 14px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  transition: border-color var(--tr);
}
.form-control:focus { outline: none; border-color: var(--sage); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.loyalty-teaser {
  margin-top: 16px;
  padding: 12px;
  background: var(--sand-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}
.loyalty-teaser:hover { background: var(--sand); }
.loyalty-icon { font-size: 20px; flex-shrink: 0; }
.loyalty-teaser strong { color: var(--text); }


/* --- REVIEWS --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1.5px solid var(--border);
}
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.review-author { font-weight: 700; font-size: 16px; color: var(--text); }
.review-date { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.review-stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.review-source { margin-top: 12px; font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
.review-source::before { content: ''; display: block; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F93' d='M12 0L9 9H0l7.5 5.4L4.5 24 12 18.6 19.5 24l-3-9.6L24 9h-9z'/%3E%3C/svg%3E") center/contain no-repeat; }
.reviews-yandex-cta {
  text-align: center;
  padding: 20px;
  background: var(--sand-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.reviews-yandex-cta p { margin-bottom: 12px; }
.ya-reviews-widget { margin-top: 32px; }


/* --- MAP SECTION --- */
.map-section { padding-top: var(--section-py); padding-bottom: 0; }
.map-section .container { margin-bottom: 40px; }
.map-wrapper { position: relative; }
.map-wrapper iframe,
.map-placeholder {
  width: 100%;
  height: 440px;
  border: none;
  display: block;
}
.map-placeholder {
  background: linear-gradient(135deg, var(--sand) 0%, var(--sky-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 52px;
  cursor: pointer;
}
.map-placeholder span { font-size: 16px; color: var(--text-mid); font-weight: 500; }
.map-placeholder a { font-size: 15px; color: var(--sage); font-weight: 600; text-decoration: underline; }
.map-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}


/* --- FOOTER --- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text { color: var(--white); font-size: 24px; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 260px; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; font-family: var(--font-heading); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; transition: color var(--tr); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contacts p { font-size: 14px; margin-bottom: 8px; }
.footer-contacts a { color: rgba(255,255,255,0.85); }
.footer-contacts a:hover { color: var(--season-color); }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background var(--tr);
}
.footer-social:hover { background: rgba(255,255,255,0.25); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.5); transition: color var(--tr); }
.footer-legal a:hover { color: rgba(255,255,255,0.85); }


/* --- FLOATING BUTTONS --- */
.float-buttons {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 700;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  transition: all var(--tr);
  box-shadow: 0 3px 14px rgba(0,0,0,0.22);
  flex-shrink: 0;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn--call  { background: var(--sage); color: var(--white); }
.float-btn--tg    { background: #26A5E4; color: var(--white); }
.float-btn--vk    { background: #0077FF; color: var(--white); }
.float-btn--ok    { background: #F18A1A; color: var(--white); }
.float-btn--mak   { background: #005FF9; color: var(--white); }
.float-btn--accessible { background: #4A90D9; color: var(--white); font-size: 22px; }
.float-btn-label {
  font-size: 11px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr);
  position: absolute;
  right: 56px;
}
.float-btn:hover .float-btn-label { opacity: 1; }
.float-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 700;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--earth);
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }


/* --- MODALS --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 15, 5, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(16px);
  transition: transform 0.3s ease;
  position: relative;
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  color: var(--text);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr);
}
.modal-close:hover { background: rgba(0,0,0,0.16); }
.modal-header { padding: 32px 32px 0; }
.modal-body { padding: 24px 32px 32px; }
.modal-img-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}
.modal-img-main {
  height: 280px;
  border-radius: var(--radius);
  background: var(--sand) center/cover no-repeat;
}
.modal-img-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.modal-img-thumb {
  border-radius: var(--radius);
  background: var(--sand-light) center/cover no-repeat;
}
.modal-section-title { font-size: 13px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; margin-top: 24px; }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.amenity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-mid);
  background: var(--sand-light);
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.amenity-icon { font-size: 16px; }
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.rules-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.rules-col.allowed h4 { color: var(--sage-dark); }
.rules-col.forbidden h4 { color: #DC2626; }
.rules-col li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
.rules-col.allowed li::before { content: '✓'; color: var(--sage); font-weight: 700; }
.rules-col.forbidden li::before { content: '✗'; color: #DC2626; font-weight: 700; }
.modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--cream);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.modal-price { font-size: 24px; font-weight: 700; color: var(--sage-dark); font-family: var(--font-heading); }
.modal-price span { font-size: 14px; color: var(--text-light); font-weight: 400; font-family: var(--font-body); }


/* --- PERSONAL CABINET --- */
.cabinet-modal .modal-box { max-width: 480px; }
.cabinet-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.cabinet-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--tr);
}
.cabinet-tab.active { color: var(--sage-dark); border-bottom-color: var(--sage); }
.cabinet-panel { display: none; }
.cabinet-panel.active { display: block; }
.loyalty-card {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
  margin-bottom: 20px;
}
.loyalty-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.loyalty-card-name { font-size: 18px; font-weight: 700; }
.loyalty-card-level { font-size: 13px; opacity: 0.8; }
.loyalty-points { font-size: 36px; font-weight: 700; font-family: var(--font-heading); }
.loyalty-label { font-size: 13px; opacity: 0.75; }
.loyalty-progress {
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  margin-top: 16px;
  overflow: hidden;
}
.loyalty-progress-bar { height: 100%; background: var(--white); border-radius: 3px; }


/* --- DOME GALLERY ZOOM --- */
.dome-img-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}
.dome-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.dome-img-wrap:hover img { transform: scale(1.07); }

/* --- INCLUSIVE / CAFE IMAGE ZOOM --- */
.inclusive-image, .cafe-image { overflow: hidden; border-radius: var(--radius-lg); }
.inclusive-image img, .cafe-image img {
  transition: transform 0.45s ease;
  width: 100%; height: 420px; object-fit: cover; display: block;
}
.inclusive-image:hover img, .cafe-image:hover img { transform: scale(1.04); }

/* --- VIDEO GALLERY --- */
.video-gallery {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.video-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #111;
  aspect-ratio: 16/9;
  border: 1.5px solid rgba(255,255,255,0.1);
  transition: transform var(--tr), box-shadow var(--tr);
}
.video-thumb:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.5); }
.video-thumb video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.video-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr);
}
.video-thumb:hover .video-thumb-overlay { background: rgba(0,0,0,0.1); }
.video-thumb.playing .video-thumb-overlay { display: none; }
.play-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: transform var(--tr), background var(--tr);
}
.video-thumb:hover .play-circle { transform: scale(1.1); background: rgba(255,255,255,0.35); }

/* ── PHOTO GALLERY (lightbox grid) ── */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 32px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--sand);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 64px rgba(0,0,0,0.7);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 32px; color: var(--white);
  cursor: pointer; opacity: 0.8;
  transition: opacity var(--tr);
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 28px; color: var(--white);
  cursor: pointer; opacity: 0.7;
  padding: 16px; transition: opacity var(--tr);
  background: rgba(255,255,255,0.08); border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.18); }

/* --- SCROLL ANIMATIONS --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }


/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .video-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --section-py: 56px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(253, 250, 243, 0.98);
    backdrop-filter: blur(10px);
    z-index: 900;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .nav.open .nav-link { font-size: 20px; color: var(--text); padding: 12px 24px; }
  .nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 28px;
    color: var(--text);
    cursor: pointer;
  }
  .burger { display: flex; }
  .header-actions { gap: 8px; }
  .header-actions .btn-ghost { display: none; }
  .inclusive-inner,
  .cafe-inner,
  .booking-inner,
  .routes-grid { grid-template-columns: 1fr; }
  .inclusive-image img,
  .inclusive-image-placeholder { height: 260px; }
  .modal-img-gallery { grid-template-columns: 1fr; }
  .modal-img-side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .modal-img-thumb { height: 100px; }
  .video-gallery { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-py: 44px; }
  .container { padding: 0 16px; }
  .header-phone span { display: none; }
  .header-actions .btn-primary { font-size: 13px; padding: 8px 14px; }
  .hero-stats { gap: 16px; }
  .hero-stats .stat-num { font-size: 22px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr 1fr; }
  .quickbar-items { gap: 12px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 4px; -webkit-overflow-scrolling: touch; }
  .quickbar-item { font-size: 13px; white-space: nowrap; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
  .modal-footer { flex-direction: column; align-items: stretch; }
  .modal-footer .btn { width: 100%; justify-content: center; }
  .modal-box { border-radius: var(--radius) var(--radius) 0 0; max-height: 95vh; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-header { padding: 24px 20px 0; }
  .modal-body { padding: 16px 20px 24px; }
  .video-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats-row { flex-wrap: wrap; }
  .stats-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .stats-item:last-child { border-bottom: none; }
  .float-buttons { right: 12px; bottom: 80px; }
  .float-btn { width: 42px; height: 42px; font-size: 18px; }
  .back-to-top { right: 12px; bottom: 20px; width: 40px; height: 40px; }
  .section-title { font-size: clamp(22px, 6vw, 32px); }
  .booking-panel { padding: 20px; }
  /* Touch-friendly tap targets */
  .nav-link, .btn, .float-btn, .route-card, .room-card, .activity-card { -webkit-tap-highlight-color: transparent; }
  .btn { min-height: 44px; }
}

@media (max-width: 400px) {
  .activities-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .video-gallery { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
