/* ==========================================================================
   ВолгаРядом — Glamping Landing Page
   Palette derived from logo: warm sand #C4A55A
   Vibe: Editorial Luxury — warm creams, muted earth, high-contrast serif headings
   ========================================================================== */

:root {
  --sand: #C4A55A;
  --sand-light: #D4BA78;
  --sand-pale: #E8D9B4;
  --sand-wash: #F5EFE0;
  --cream: #FDFBF7;
  --cream-deep: #F7F1E6;
  --espresso: #2C2417;
  --espresso-soft: #4A3D2E;
  --bark: #6B5A3E;
  --stone: #8C7D65;
  --mist: #A69E8F;
  --white-warm: #FFFDF8;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-base: 0.7s var(--ease-out-expo);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--espresso);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   GRAIN OVERLAY
   ========================================================================== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.section-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--espresso);
  margin-bottom: 1.5rem;
}

.eyebrow-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  border: 1px solid var(--sand-pale);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background-color 0.5s var(--ease-out-expo),
              box-shadow 0.5s var(--ease-out-expo),
              padding 0.5s var(--ease-out-expo);
}

.site-header.scrolled {
  background-color: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(196, 165, 90, 0.12);
  padding: 0.6rem 0;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-logo img {
  height: 96px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform var(--transition-base),
              filter 0.5s var(--ease-out-expo),
              height 0.5s var(--ease-out-expo);
}

.site-header.scrolled .header-logo img {
  height: 56px;
  filter: brightness(0) saturate(100%) invert(65%) sepia(50%) saturate(500%) hue-rotate(10deg) brightness(95%);
}

.header-logo:hover img {
  transform: scale(1.05);
}

.header-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--espresso);
  position: relative;
  transition: color 0.4s var(--ease-out-expo);
}

.site-header:not(.scrolled) .nav-link {
  color: var(--white-warm);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width 0.5s var(--ease-out-expo);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-phone {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.4s var(--ease-out-expo);
}

.site-header:not(.scrolled) .header-phone {
  color: var(--white-warm);
}

.btn-book-header {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  background-color: var(--sand);
  color: var(--white-warm);
  transition: transform 0.5s var(--ease-out-expo),
              background-color 0.4s var(--ease-out-expo);
}

.btn-book-header:hover {
  background-color: var(--espresso);
  transform: translateY(-1px);
}

.btn-book-header:active {
  transform: scale(0.97);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  z-index: 60;
}

.burger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform 0.5s var(--ease-out-expo),
              opacity 0.3s var(--ease-out-expo);
  transform-origin: center center;
}

.site-header:not(.scrolled) .burger-line {
  background: var(--white-warm);
}

.burger.active .burger-line:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.burger.active .burger-line:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out-expo);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--espresso);
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.6s var(--ease-out-expo),
              transform 0.6s var(--ease-out-expo);
}

.mobile-overlay.open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-overlay.open .mobile-nav-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-overlay.open .mobile-nav-link:nth-child(2) { transition-delay: 0.14s; }
.mobile-overlay.open .mobile-nav-link:nth-child(3) { transition-delay: 0.20s; }
.mobile-overlay.open .mobile-nav-link:nth-child(4) { transition-delay: 0.26s; }

.mobile-nav-phone {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--sand);
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.6s var(--ease-out-expo) 0.32s,
              transform 0.6s var(--ease-out-expo) 0.32s;
}

.mobile-overlay.open .mobile-nav-phone {
  opacity: 1;
  transform: translateY(0);
}

.btn-book-mobile {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  background-color: var(--sand);
  color: var(--white-warm);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.6s var(--ease-out-expo) 0.38s,
              transform 0.6s var(--ease-out-expo) 0.38s,
              background-color 0.4s var(--ease-out-expo);
}

.mobile-overlay.open .btn-book-mobile {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 36, 23, 0.25) 0%,
    rgba(44, 36, 23, 0.15) 40%,
    rgba(44, 36, 23, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 760px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white-warm);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(3rem);
  animation: heroFadeUp 1.2s var(--ease-out-expo) 0.3s forwards;
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 253, 248, 0.8);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(2rem);
  animation: heroFadeUp 1.2s var(--ease-out-expo) 0.55s forwards;
}

.hero-subtitle--seo {
  max-width: 56ch;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255, 253, 248, 0.72);
  margin-top: -1rem;
  margin-bottom: 2rem;
  animation-delay: 0.7s;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.55rem;
  max-width: 100%;
}

.btn-book-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 3.2rem;
  padding: 0.75rem 1rem 0.75rem 1.45rem;
  border-radius: 100px;
  background-color: var(--sand);
  color: var(--white-warm);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(2rem);
  animation: heroFadeUp 1.2s var(--ease-out-expo) 0.75s forwards;
  transition: background-color 0.4s var(--ease-out-expo),
              transform 0.5s var(--ease-out-expo);
}

.btn-book-hero:hover {
  background-color: var(--espresso);
  transform: translateY(-2px);
}

.btn-book-hero:active {
  transform: scale(0.97);
}

.hero-subscribe-pair {
  display: inline-flex;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(2rem);
  animation: heroFadeUp 1.2s var(--ease-out-expo) 0.85s forwards;
}

.btn-subscribe-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 3.2rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 248, 0.7);
  background: rgba(255, 253, 248, 0.04);
  color: var(--white-warm);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.4s var(--ease-out-expo),
              border-color 0.4s var(--ease-out-expo),
              transform 0.5s var(--ease-out-expo);
}

.btn-subscribe-hero:hover {
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.95);
  transform: translateY(-2px);
}

.btn-subscribe-hero:active {
  transform: scale(0.97);
}

.subscribe-icon {
  display: block;
  flex-shrink: 0;
  color: var(--white-warm);
}

.subscribe-icon--max {
  border-radius: 4px;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  transition: transform 0.5s var(--ease-out-expo),
              background 0.4s var(--ease-out-expo);
}

.btn-book-hero:hover .btn-arrow,
.btn-book-final:hover .btn-arrow {
  transform: translate(2px, -2px) scale(1.08);
  background: rgba(255, 255, 255, 0.25);
}


/* Hero promo card */
.hero-promo {
  flex-shrink: 0;
  max-width: 380px;
  background: rgba(253, 251, 247, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 253, 248, 0.15);
  border-radius: 1.5rem;
  padding: 1.75rem;
  color: var(--white-warm);
  opacity: 0;
  transform: translateY(2rem);
  animation: heroFadeUp 1.2s var(--ease-out-expo) 0.9s forwards;
}

.promo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.promo-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 253, 248, 0.3);
  margin-bottom: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.promo-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
}

.promo-price {
  font-size: 0.95rem;
  line-height: 1.45;
}

.promo-price strong {
  font-weight: 700;
  color: var(--sand-light);
}

.promo-divider {
  width: 2.5rem;
  height: 1px;
  background: rgba(255, 253, 248, 0.3);
  margin: 0.85rem 0;
}

.promo-discount {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.6;
}

.promo-discount strong {
  font-weight: 600;
  color: var(--sand-light);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out-expo) 1.3s forwards;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 253, 248, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.15); }
}

/* ==========================================================================
   SECTIONS (shared)
   ========================================================================== */
.section {
  padding: clamp(4rem, 10vh, 7rem) 0;
}

/* Scroll reveal */
.reveal-up {
  opacity: 0;
  transform: translateY(2.5rem);
  filter: blur(4px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo),
              filter 0.9s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ==========================================================================
   IMAGE FRAMES (Double-Bezel)
   ========================================================================== */
.image-frame {
  position: relative;
  border-radius: 1.5rem;
  padding: 0.375rem;
  background: var(--sand-wash);
  border: 1px solid rgba(196, 165, 90, 0.15);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(1.5rem - 0.375rem);
  transition: transform 1.2s var(--ease-out-expo);
}

.image-frame:hover img {
  transform: scale(1.03);
}

.image-frame--large {
  border-radius: 2rem;
  padding: 0.5rem;
}

.image-frame--large img {
  border-radius: calc(2rem - 0.5rem);
}

/* ==========================================================================
   2. ABOUT
   ========================================================================== */
.section-about {
  background-color: var(--cream);
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 1.5rem;
}

.about-description {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--espresso-soft);
  margin-bottom: 1.5rem;
  max-width: 55ch;
}

.about-quote {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--bark);
  border-left: 2px solid var(--sand-pale);
  padding-left: 1.5rem;
  max-width: 50ch;
}

.about-image-wide {
  margin-top: 2.5rem;
}

.about-image-wide .image-frame {
  aspect-ratio: 21 / 9;
  border-radius: 1.5rem;
}

.about-image-wide .image-frame img {
  object-position: center 40%;
}

/* ==========================================================================
   3. TENTS
   ========================================================================== */
.section-tents {
  background-color: var(--cream-deep);
}

.tents-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: 2rem;
}

.tents-image .image-frame--large {
  aspect-ratio: 4 / 3;
}

.tents-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--sand-pale);
}

.meta-item {
  text-align: center;
}

.meta-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.meta-value {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--espresso);
}

.amenities-title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.amenities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9375rem;
  color: var(--espresso-soft);
}

.amenities-list svg {
  flex-shrink: 0;
  color: var(--sand);
}

/* ---------- Tent slider ---------- */
.tent-slider {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

.tent-slider-track {
  display: flex;
  transition: transform 0.6s var(--ease-out-expo);
}

.tent-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.tent-slide .image-frame--large {
  border-radius: 0;
  padding: 0;
  border: none;
  background: none;
}

.tent-slide .image-frame--large img {
  border-radius: 0;
  aspect-ratio: 4 / 3;
}

.tent-slider-nav {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.tent-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.5);
  border: 1px solid rgba(255, 253, 248, 0.8);
  transition: background 0.3s, transform 0.3s;
}

.tent-slider-dot.active {
  background: var(--white-warm);
  transform: scale(1.25);
}

.tent-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white-warm);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.3s;
}

.tent-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) scale(1.08);
}

.tent-slider-prev { left: 0.75rem; }
.tent-slider-next { right: 0.75rem; }

/* ==========================================================================
   4. COMFORT
   ========================================================================== */
.section-comfort {
  background-color: var(--cream);
}

.comfort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.comfort-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  column-gap: 1.1rem;
  align-items: start;
  padding: 1.8rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--cream-deep);
  border: 1px solid rgba(196, 165, 90, 0.1);
  transition: transform 0.6s var(--ease-out-expo),
              box-shadow 0.6s var(--ease-out-expo);
}

.comfort-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(196, 165, 90, 0.12);
}

.comfort-icon {
  grid-row: 1 / span 2;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.1rem;
  background: var(--sand-wash);
  color: var(--sand);
  margin-bottom: 0;
}

.comfort-icon svg {
  width: 30px;
  height: 30px;
}

.comfort-item h3 {
  grid-column: 2;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.comfort-item p {
  grid-column: 2;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--stone);
}

/* ==========================================================================
   5. PHOTO GALLERY (infrastructure)
   ========================================================================== */
.section-gallery {
  background-color: var(--cream-deep);
}

.gallery-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--espresso-soft);
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  aspect-ratio: 3 / 2;
}

/* Два одинаковых кадра в ряд, пятый — на всю ширину */
.mosaic-item:nth-child(1) { grid-column: 1 / 7; }
.mosaic-item:nth-child(2) { grid-column: 7 / 13; }
.mosaic-item:nth-child(3) { grid-column: 1 / 7; }
.mosaic-item:nth-child(4) { grid-column: 7 / 13; }
.mosaic-item:nth-child(5) { grid-column: 1 / -1; }

.mosaic-item.mosaic-full {
  aspect-ratio: 21 / 9;
}

.mosaic-item .image-frame {
  height: 100%;
  border-radius: 0;
  padding: 0;
  border: none;
  background: none;
}

.mosaic-item .image-frame img {
  border-radius: 0;
  height: 100%;
  object-fit: cover;
}

.mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(44, 36, 23, 0.65), transparent);
  color: var(--white-warm);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  pointer-events: none;
}

/* ==========================================================================
   6. ACTIVITIES
   ========================================================================== */
.section-activities {
  background-color: var(--cream);
}

/* Marquee */
.activities-marquee {
  margin: 2.5rem 0 3rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  gap: 0.75rem;
  padding-right: 0.75rem;
}

.activity-pill {
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  border: 1px solid var(--sand-pale);
  color: var(--espresso-soft);
  transition: background-color 0.4s var(--ease-out-expo),
              color 0.4s var(--ease-out-expo);
}

.activity-pill:hover {
  background-color: var(--sand);
  color: var(--white-warm);
  border-color: var(--sand);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Activity cards */
.activities-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.activity-card {
  border-radius: 1.25rem;
  background: var(--cream-deep);
  border: 1px solid rgba(196, 165, 90, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s var(--ease-out-expo),
              box-shadow 0.6s var(--ease-out-expo);
}

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(196, 165, 90, 0.1);
}

.activity-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.activity-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
}

.activity-card:hover .activity-card-img img {
  transform: scale(1.05);
}

.activity-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.activity-card h3 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.activity-card p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--stone);
}

/* Accent block */
.activities-accent {
  display: flex;
  margin-bottom: 3rem;
}

.accent-block {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
  gap: 2.5rem;
  align-items: center;
  text-align: left;
  padding: 2.5rem 2.75rem;
  border-radius: 1.5rem;
  background: var(--sand);
  color: var(--white-warm);
}

.accent-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 60ch;
}

.accent-kicker {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
  margin: 0;
}

.accent-text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

.accent-sub {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.7;
  margin: 0;
}

.accent-sub--lead {
  font-size: 1.08rem;
  opacity: 1;
}

.accent-video {
  border-radius: 1rem;
  overflow: hidden;
  width: min(100%, 320px);
  margin-left: auto;
  aspect-ratio: 9 / 16;
  background: rgba(0, 0, 0, 0.2);
}

.accent-video iframe {
  display: block;
  width: 100%;
  height: 100%;
}


/* ---------- Floating chat widget ---------- */
.fab-chat-group {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
}

.fab-chat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem 0.65rem 0.75rem;
  border-radius: 100px;
  color: var(--white-warm);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.2),
              0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s var(--ease-out-expo),
              background-color 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo);
}

.fab-chat--max {
  background: var(--sand);
}

.fab-chat--tg {
  background: #2AABEE;
}

.fab-chat:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.3),
              0 4px 12px rgba(0, 0, 0, 0.12);
}

.fab-chat--max:hover {
  background: var(--espresso);
}

.fab-chat--tg:hover {
  background: #1E96D1;
}

.fab-chat-icon {
  display: block;
  flex-shrink: 0;
  border-radius: 5px;
}

.fab-chat-svg {
  display: block;
  flex-shrink: 0;
  color: var(--white-warm);
}

.fab-chat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ==========================================================================
   7. RULES
   ========================================================================== */
.section-rules {
  background-color: var(--espresso);
  color: var(--cream);
}

.section-rules .eyebrow-tag {
  color: var(--sand-light);
  border-color: rgba(212, 186, 120, 0.3);
}

.section-rules .section-heading {
  color: var(--cream);
}

.rules-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.rules-intro {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--mist);
  max-width: 50ch;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rule-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(196, 165, 90, 0.15);
}

.rule-item:first-child {
  padding-top: 0;
}

.rule-number {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--sand);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0.15rem;
}

.rule-item h4 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.rule-item p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--mist);
}

/* ==========================================================================
   8. FAQ
   ========================================================================== */
.section-faq {
  background-color: var(--cream);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2rem, 4vw, 4rem);
}

.faq-item {
  border-bottom: 1px solid var(--sand-pale);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 400;
  text-align: left;
  color: var(--espresso);
  transition: color 0.4s var(--ease-out-expo);
}

.faq-question:hover {
  color: var(--sand);
}

.faq-toggle {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.faq-toggle-line {
  position: absolute;
  background: var(--sand);
  border-radius: 1px;
  transition: transform 0.5s var(--ease-out-expo),
              opacity 0.3s var(--ease-out-expo);
}

.faq-toggle-h {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-toggle-v {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.open .faq-toggle-v {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out-expo);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--stone);
  padding-bottom: 1.5rem;
  max-width: 60ch;
}

/* ==========================================================================
   9. CONTACTS
   ========================================================================== */
.section-contacts {
  background-color: var(--cream-deep);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.contacts-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.contacts-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--espresso);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-block {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sand-pale);
}

.contact-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.contact-block p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--espresso-soft);
}

.contact-block a {
  transition: color 0.4s var(--ease-out-expo);
}

.contact-block a:hover {
  color: var(--sand);
}

.messengers {
  display: flex;
  gap: 1rem;
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--sand);
  position: relative;
  transition: color 0.4s var(--ease-out-expo);
}

.messenger-icon {
  display: block;
  flex-shrink: 0;
  color: var(--sand);
}

.messenger-icon--max {
  border-radius: 4px;
}

.messenger-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--sand);
  opacity: 0.3;
  transition: opacity 0.4s var(--ease-out-expo);
}

.messenger-link:hover::after {
  opacity: 1;
}

/* Route buttons */
.route-hint {
  font-size: 0.8125rem;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

.route-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.route-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.55rem 0.75rem;
  border-radius: 100px;
  text-align: center;
  border: 1px solid var(--sand-pale);
  color: var(--espresso-soft);
  background: var(--cream);
  transition: background-color 0.4s var(--ease-out-expo),
              color 0.4s var(--ease-out-expo),
              border-color 0.4s var(--ease-out-expo),
              transform 0.4s var(--ease-out-expo);
}

.route-btn:hover {
  background: var(--sand);
  color: var(--white-warm);
  border-color: var(--sand);
  transform: translateY(-1px);
}

.route-btn svg {
  flex-shrink: 0;
  color: var(--sand);
  transition: color 0.4s var(--ease-out-expo);
}

.route-btn:hover svg {
  color: var(--white-warm);
}

.route-km {
  font-weight: 400;
  opacity: 0.65;
  font-size: 0.75rem;
}

.contacts-cta {
  text-align: center;
  margin-top: clamp(2rem, 4vh, 3rem);
}

.btn-book-final {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.25rem 1rem 2rem;
  border-radius: 100px;
  background-color: var(--sand);
  color: var(--white-warm);
  transition: background-color 0.4s var(--ease-out-expo),
              transform 0.5s var(--ease-out-expo);
}

.btn-book-final:hover {
  background-color: var(--espresso);
  transform: translateY(-2px);
}

.btn-book-final:active {
  transform: scale(0.97);
}

/* Map */
.map-frame {
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--sand-wash);
  border: 1px solid rgba(196, 165, 90, 0.15);
  aspect-ratio: 1 / 1;
}

.map-frame iframe {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 2rem 0;
  background-color: var(--cream-deep);
  border-top: 1px solid var(--sand-pale);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
}

.footer-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(65%) sepia(50%) saturate(500%) hue-rotate(10deg) brightness(95%);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--stone);
}

/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-promo {
    max-width: 340px;
    align-self: flex-start;
  }

  .activities-details {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */
@media (max-width: 768px) {
  .header-nav,
  .header-actions {
    display: none;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .header-logo img {
    height: 58px;
  }

  .site-header.scrolled .header-logo img {
    height: 50px;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-promo {
    max-width: 100%;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
  }

  .hero-promo .promo-badge {
    padding: 0.2rem 0.55rem;
    font-size: 0.55rem;
    letter-spacing: 0.16em;
  }

  .hero-promo .promo-top {
    gap: 0.45rem;
    margin-bottom: 0.15rem;
  }

  .hero-promo .promo-title {
    display: block;
    font-size: 1rem;
  }

  .hero-promo .promo-price {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero-promo .promo-discount {
    display: block;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .btn-book-hero {
    min-height: 2.6rem;
    padding: 0.55rem 0.9rem 0.55rem 1.1rem;
    font-size: 0.72rem;
    gap: 0.5rem;
  }

  .btn-book-hero .btn-arrow {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.75rem;
  }

  .hero-subscribe-pair {
    display: inline-flex;
    flex-direction: row;
    gap: 0.35rem;
  }

  .btn-subscribe-hero {
    justify-content: center;
    width: 2.6rem;
    min-width: 2.6rem;
    min-height: 2.6rem;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    gap: 0;
  }

  .btn-subscribe-hero span {
    display: none;
  }

  .btn-subscribe-hero .subscribe-icon,
  .btn-subscribe-hero .subscribe-icon--max {
    width: 16px;
    height: 16px;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-image-wide .image-frame {
    aspect-ratio: 16 / 9;
  }

  .tents-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tents-meta {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
  }

  .photo-mosaic .mosaic-item,
  .photo-mosaic .mosaic-item:nth-child(n) {
    grid-column: auto;
  }

  .mosaic-item.mosaic-full {
    aspect-ratio: 3 / 2;
  }

  .comfort-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .comfort-item {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    column-gap: 1rem;
    align-items: start;
    padding: 1.35rem 1.25rem;
    border-radius: 1.25rem;
  }

  .comfort-icon {
    grid-row: 1 / span 2;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    margin-bottom: 0;
  }

  .comfort-icon svg {
    width: 28px;
    height: 28px;
  }

  .comfort-item h3 {
    grid-column: 2;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
  }

  .comfort-item p {
    grid-column: 2;
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .activities-details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .accent-block {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
    text-align: left;
  }

  .accent-copy {
    max-width: none;
    gap: 0.75rem;
  }

  .accent-kicker {
    font-size: 0.62rem;
  }

  .accent-text {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .accent-sub,
  .accent-sub--lead {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .accent-video {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .rules-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .rules-intro {
    font-size: 1rem;
    line-height: 1.7;
  }

  .rule-item {
    gap: 0.9rem;
    padding: 1rem 0;
  }

  .rule-number {
    font-size: 1.4rem;
    padding-top: 0;
  }

  .rule-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
  }

  .rule-item p {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .map-frame {
    aspect-ratio: 16 / 10;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .tents-meta {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .meta-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    text-align: left;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(196, 165, 90, 0.1);
  }

  .meta-label {
    margin-bottom: 0;
  }

  .fab-chat-label {
    display: none;
  }

  .fab-chat {
    padding: 0.75rem;
    border-radius: 50%;
  }

  .fab-chat-group {
    bottom: 1rem;
    right: 1rem;
    gap: 0.4rem;
  }
}
