/* ============================================================
   ТИХАЯ ПОЛЯНА — стили
   Палитра меняется в config.js → theme
   ============================================================ */

:root {
  --bg-deep:        #000000;
  --bg-forest:      #0A0A0A;
  --bg-moss:        #141414;
  --bg-elevated:    #1A1A1A;
  --accent-copper:  #B8692A;
  --accent-gold:    #D4943E;
  --text-warm:      #FFFFFF;
  --text-muted:     #8B8B8B;
  --border:         rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.18);

  --font-display:   'Unbounded', sans-serif;
  --font-body:      'Manrope', sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, monospace;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 4rem;
  --space-xxl: 7rem;

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-deep); /* перенесено с body — нужно для z-index:-1 флоры */
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-warm);
  background: transparent; /* прозрачный — ветки "за" контентом проходят сквозь */
  overflow-x: hidden;
  cursor: none;
}

/* На тач-устройствах возвращаем нативный курсор */
@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--accent-gold); font-weight: 500; }

/* ============================================================
   КАСТОМНЫЙ КУРСОР
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--text-warm);
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--text-warm);
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-soft), width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.6;
}
body.cursor-hover .cursor-ring {
  width: 70px; height: 70px;
  opacity: 1;
}
body.cursor-hover .cursor-dot {
  width: 0; height: 0;
}

/* ============================================================
   САЙДБАР-ИНДИКАТОР
   ============================================================ */
.side-indicator {
  position: fixed;
  top: 50%;
  left: 32px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: 0 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.side-indicator.is-visible { opacity: 1; }
.side-indicator__line {
  width: 60px; height: 1px;
  background: var(--border-strong);
}
.side-indicator__num {
  color: var(--accent-gold);
  font-weight: 600;
}
.side-indicator__label {
  transition: opacity 0.3s;
}

/* ============================================================
   ПЛАВАЮЩИЕ КНОПКИ МЕССЕНДЖЕРОВ
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-cta__btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-copper);
  color: var(--bg-deep);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.3s var(--ease-soft), background 0.3s;
  position: relative;
}
.floating-cta__btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-copper);
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
  z-index: -1;
}
.floating-cta__btn:hover {
  transform: scale(1.1);
  background: var(--accent-gold);
}
.floating-cta__btn svg { width: 26px; height: 26px; }

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-warm);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--lg { padding: 18px 36px; font-size: 13px; }
.btn--sm { padding: 10px 20px; font-size: 12px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--accent-gold);
  color: #1A0900;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-copper);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease-soft);
  z-index: 0;
}
.btn--primary:hover::after { transform: translateY(0); }
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary span { position: relative; z-index: 1; }

/* CTA-баннер — центрированная компактная кнопка */
.btn--bar {
  display: inline-flex;
  align-items: center;
  text-align: center;
  background: var(--accent-gold);
  color: #1A0900;
  font-weight: 700;
  padding: 22px 56px;
  border-radius: 100px;
  letter-spacing: 0.12em;
  font-size: 14px;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn--bar:hover {
  background: var(--accent-copper);
  box-shadow: 0 8px 32px rgba(212, 148, 62, 0.35);
}

/* Sticky CTA — появляется при скролле */
.sticky-cta {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta .btn {
  padding: 16px 44px;
  border-radius: 100px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.btn--ghost {
  border: 1px solid var(--border-strong);
  border-radius: 100px;
}
.btn--ghost:hover {
  background: var(--text-warm);
  color: var(--bg-deep);
  border-color: var(--text-warm);
}

.btn--text {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
}
.btn--text:hover { color: var(--accent-gold); border-color: var(--accent-gold); }
.btn--text svg { transition: transform 0.4s var(--ease); }
.btn--text:hover svg { transform: translateY(4px); }

/* ============================================================
   ТИПОГРАФИКА
   ============================================================ */
.overline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.2em;
}

.title-xl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-warm);
}
.title-xl em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 200;
  color: var(--text-warm);
  text-transform: uppercase;
}

.lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
  margin-top: 1.5em;
}

/* ============================================================
   ШАПКА
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 40px;
  border-bottom-color: var(--border);
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.header__brand-mark {
  color: var(--accent-gold);
  font-size: 18px;
  animation: rotate 12s linear infinite;
  display: inline-block;
}
.header__brand-name {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}
.header__nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 400;
}
.header__nav a {
  position: relative;
  transition: color 0.3s;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-soft);
}
.header__nav a:hover { color: var(--accent-gold); }
.header__nav a:hover::after { transform: scaleX(1); }

@media (max-width: 920px) {
  .header { padding: 16px 20px; }
  .header__nav { display: none; }
  .side-indicator { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 3; /* перекрывает левые ветки (z-index: 2) */
  min-height: 100vh;
  padding: 120px 8vw 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(0.85);
  z-index: -3;
  transition: transform 0.1s linear;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.55) saturate(0.85) contrast(1.05);
  transition: opacity 0.6s var(--ease);
}
.hero__video.is-failed { opacity: 0; pointer-events: none; }

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.2) 35%,
    rgba(0,0,0,0.4) 75%,
    var(--bg-deep) 100%
  );
  z-index: -1;
}

/* ============================================================
   СОЛНЕЧНЫЙ БЛИК (оживает при скролле)
   Использует CSS-переменную --sun-progress (0..1), которую ставит JS
   ============================================================ */
.hero__sunbeam {
  --sun-progress: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  mix-blend-mode: screen;
}

.hero__sun {
  position: absolute;
  top: -15%;
  right: 8%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(
    circle,
    rgba(255, 240, 200, 0.85) 0%,
    rgba(255, 220, 150, 0.5) 12%,
    rgba(255, 200, 120, 0.25) 26%,
    rgba(255, 180, 80, 0.1) 42%,
    transparent 65%
  );
  filter: blur(30px);
  opacity: calc(0.25 + var(--sun-progress) * 0.85);
  transform:
    translate(calc(var(--sun-progress) * -8vw), calc(var(--sun-progress) * 18vh))
    scale(calc(0.85 + var(--sun-progress) * 0.35));
  animation: sunFlicker 3.4s ease-in-out infinite;
  transition: opacity 0.2s linear;
}

@keyframes sunFlicker {
  0%, 100% { filter: blur(30px) brightness(1); }
  20%      { filter: blur(34px) brightness(1.18); }
  40%      { filter: blur(28px) brightness(0.92); }
  60%      { filter: blur(36px) brightness(1.25); }
  80%      { filter: blur(30px) brightness(0.96); }
}

/* Лучи солнца, пробивающиеся через ветки */
.hero__sun-streak {
  position: absolute;
  top: -10%;
  width: 220px;
  height: 130%;
  background: linear-gradient(
    to bottom,
    rgba(255, 240, 200, 0.7) 0%,
    rgba(255, 220, 150, 0.35) 25%,
    rgba(255, 200, 120, 0.15) 55%,
    transparent 90%
  );
  filter: blur(28px);
  transform-origin: top center;
  opacity: calc(var(--sun-progress) * 0.8);
  transition: opacity 0.2s linear;
}
.hero__sun-streak--1 {
  right: 15%;
  transform: rotate(8deg);
  animation: streakBreathe 5s ease-in-out infinite;
}
.hero__sun-streak--2 {
  right: 28%;
  width: 140px;
  transform: rotate(-4deg);
  animation: streakBreathe 6.5s ease-in-out infinite -1.5s;
}
.hero__sun-streak--3 {
  right: 5%;
  width: 90px;
  transform: rotate(14deg);
  animation: streakBreathe 4.2s ease-in-out infinite -3s;
}

@keyframes streakBreathe {
  0%, 100% { opacity: calc(var(--sun-progress) * 0.85); transform: var(--streak-base, rotate(0)) scaleX(1); }
  50%      { opacity: calc(var(--sun-progress) * 0.45); transform: var(--streak-base, rotate(0)) scaleX(0.7); }
}
.hero__sun-streak--1 { --streak-base: rotate(8deg); }
.hero__sun-streak--2 { --streak-base: rotate(-4deg); }
.hero__sun-streak--3 { --streak-base: rotate(14deg); }

/* Hero контент должен быть ПОВЕРХ блика */
.hero__inner { position: relative; z-index: 2; }
.hero__scroll { z-index: 2; }

/* На устройствах с reduced-motion — без анимаций блика */
@media (prefers-reduced-motion: reduce) {
  .hero__sun, .hero__sun-streak { animation: none; }
}

.hero__inner {
  max-width: 1200px;
  width: 100%;
}

.hero__overline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  margin-bottom: 40px;
  backdrop-filter: blur(8px);
  background: rgba(10,20,16,0.4);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 13rem);
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: var(--text-warm);
  margin-bottom: 40px;
  position: relative;
  text-transform: uppercase;
}
.hero__title-line {
  display: block;
  overflow: hidden;
}
.hero__title-line span {
  display: inline-block;
  transform: translateY(110%);
  animation: revealUp 1.1s var(--ease-soft) forwards;
}
.hero__title-line--1 span { animation-delay: 0.1s; }
.hero__title-line--2 {
  font-family: var(--font-display);
  font-weight: 200;
  font-style: normal;
  color: var(--text-warm);
  margin-left: 0.4em;
  letter-spacing: -0.04em;
}
.hero__title-line--2 span { animation-delay: 0.3s; }

@keyframes revealUp {
  to { transform: translateY(0); }
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.5;
  max-width: 560px;
  color: var(--text-warm);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-soft) forwards 0.7s;
  margin-bottom: 48px;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-soft) forwards 0.9s;
}

.hero__stats {
  display: flex;
  gap: clamp(40px, 8vw, 100px);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-soft) forwards 1.1s;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  max-width: 720px;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--accent-gold);
  line-height: 1;
}
.hero__stat-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
}
.hero__scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}

@media (max-width: 720px) {
  .hero { padding: 100px 6vw 60px; }
  .hero__title-line--2 { margin-left: 0; }
  .hero__actions { gap: 16px; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  background: var(--bg-deep);
  border-block: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
}
.marquee--2 {
  background: var(--bg-forest);
}
.marquee__track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
  color: var(--accent-gold);
}
.marquee--2 .marquee__track {
  animation-direction: reverse;
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  letter-spacing: 0.18em;
  color: var(--text-warm);
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 50px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative;
  padding: var(--space-xxl) 8vw;
  background: var(--bg-deep);
}
.about__intro {
  max-width: 760px;
  margin-bottom: var(--space-lg);
}
.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.pillar {
  padding: 50px 32px 50px 0;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease);
}
.pillar:last-child { border-right: none; padding-right: 0; }
.pillar:hover { background: rgba(184, 137, 90, 0.04); }

.pillar__num {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--accent-copper);
  margin-bottom: 28px;
  display: inline-block;
  position: relative;
}
.pillar__num::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--accent-copper);
  margin-top: 8px;
}
.pillar__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.pillar__text {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.about__stamp {
  position: absolute;
  top: var(--space-lg);
  right: 8vw;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  opacity: 0.6;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
}

@media (max-width: 800px) {
  .about__pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 0; }
  .pillar:last-child { border-bottom: none; }
  .about__stamp { display: none; }
}

/* ============================================================
   ДОМИКИ
   ============================================================ */
.cottages {
  padding: var(--space-xxl) 8vw;
  background: var(--bg-forest);
  position: relative;
}
.cottages::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, var(--bg-deep), transparent);
  pointer-events: none;
}
.cottages__head {
  max-width: 800px;
  margin-bottom: var(--space-lg);
}
.cottages__list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.cottage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.cottage:nth-child(even) {
  direction: rtl;
}
.cottage:nth-child(even) > * {
  direction: ltr;
}

.cottage__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elevated);
}
/* Карусель */
.cottage__slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.52s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.cottage__slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(1.12);
  transition: filter 0.8s ease;
  pointer-events: none;
  user-select: none;
}
.cottage:hover .cottage__slides img {
  filter: brightness(0.93) saturate(1.18);
}

/* Точки-индикаторы */
.cottage__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}
.cottage__dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s;
  flex-shrink: 0;
}
.cottage__dot.is-active {
  width: 20px;
  background: var(--accent-gold);
}

/* Стрелки */
.cottage__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-warm);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.25s, background 0.25s, transform 0.25s;
  padding: 0;
}
.cottage__media:hover .cottage__arrow { opacity: 1; }
.cottage__arrow--prev { left: 12px; }
.cottage__arrow--next { right: 12px; }
.cottage__arrow:hover { background: rgba(0, 0, 0, 0.7); }
.cottage__arrow--prev:hover { transform: translateY(-50%) translateX(-2px); }
.cottage__arrow--next:hover { transform: translateY(-50%) translateX(2px); }

/* Gold accent gradient — warm amber glow at base of cottage photo */
.cottage__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 45%,
    rgba(212, 148, 62, 0.08) 68%,
    rgba(6, 3, 0, 0.60) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: background 0.6s ease;
}
.cottage:hover .cottage__media::after {
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(212, 148, 62, 0.15) 65%,
    rgba(6, 3, 0, 0.68) 100%
  );
}

/* Верхний бар на карточке: capacity слева | price справа (стиль Алтая) */
.cottage__top-bar {
  position: absolute;
  top: 16px; left: 16px; right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(10, 6, 0, 0.62);
  border: 1px solid rgba(212, 148, 62, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-sm);
  z-index: 2;
}
.cottage__top-bar-left,
.cottage__top-bar-right {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--accent-gold);
  text-transform: uppercase;
}
.cottage__top-bar-right {
  color: var(--text-warm);
}

.cottage__num {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 3.4rem;
  letter-spacing: -0.04em;
  color: var(--text-warm);
  line-height: 1;
  z-index: 2;
  mix-blend-mode: difference;
}

.cottage__info {
  padding: 0 0 0 0;
}
.cottage__type {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
  display: inline-block;
}
.cottage__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cottage__meta {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.cottage__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cottage__meta-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cottage__meta-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text-warm);
}

.cottage__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.cottage__features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 36px;
}
.cottage__feature {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-warm);
}

.cottage__cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* первая карточка выше левых веток (z-index: 2) */
.cottages__list > .cottage:first-child {
  z-index: 3;
}

@media (max-width: 800px) {
  .cottage { grid-template-columns: 1fr; gap: 32px; }
  .cottage:nth-child(even) { direction: ltr; }
  .cottage__media { aspect-ratio: 4/3; }
  .cottage__num { font-size: 3rem; }
  .cottage__meta { gap: 20px; }
}

/* ============================================================
   ВКЛЮЧЕНО
   ============================================================ */
.included {
  padding: var(--space-xxl) 8vw;
  background: var(--bg-deep);
}
.included__head {
  max-width: 700px;
  margin-bottom: var(--space-lg);
}
.included__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.included__item {
  padding: 40px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
}
.included__item:hover {
  background: var(--accent-copper);
  transform: translateY(-4px);
}
.included__item:hover .included__item-label { color: var(--text-warm); }
.included__item-icon {
  width: 44px;
  height: 44px;
  color: var(--accent-gold);
  flex-shrink: 0;
  transition: color 0.4s var(--ease);
}
.included__item-icon svg {
  width: 100%;
  height: 100%;
}
.included__item:hover .included__item-icon {
  color: var(--text-warm);
}
.included__item-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-warm);
  letter-spacing: 0.02em;
}

@media (max-width: 800px) {
  .included__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CTA-BAR (большой горизонтальный баннер во всю ширину)
   ============================================================ */
.cta-bar-section {
  padding: 0 8vw 60px;
  background: var(--bg-deep);
  display: flex;
  justify-content: center;
}

/* ============================================================
   ГАЛЕРЕЯ
   ============================================================ */
.gallery {
  padding: var(--space-xxl) 0 var(--space-xxl) 8vw;
  background: var(--bg-deep);
  position: relative;
  z-index: 3; /* фото галереи перекрывают левые ветки */
}
.gallery__head {
  max-width: 700px;
  margin-bottom: var(--space-lg);
  padding-right: 8vw;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 16px;
}
.gallery__cell {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: none;
}
.gallery__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-soft), filter 0.6s;
  filter: brightness(0.85);
}
.gallery__cell:hover img {
  transform: scale(1.08);
  filter: brightness(1);
}
/* Asymmetric grid */
.gallery__cell:nth-child(1) { grid-column: 1 / 6;  grid-row: 1 / 4; }
.gallery__cell:nth-child(2) { grid-column: 6 / 9;  grid-row: 1 / 3; }
.gallery__cell:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 4; }
.gallery__cell:nth-child(4) { grid-column: 1 / 4;  grid-row: 4 / 6; }
.gallery__cell:nth-child(5) { grid-column: 4 / 9;  grid-row: 3 / 6; }
.gallery__cell:nth-child(6) { grid-column: 9 / 13; grid-row: 4 / 6; }

@media (max-width: 800px) {
  .gallery { padding: var(--space-xl) 6vw; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 8px; }
  .gallery__cell { grid-column: auto !important; grid-row: auto !important; height: 200px; }
  .gallery__cell:nth-child(1) { grid-column: 1 / 3 !important; height: 260px; }
}

/* ============================================================
   ЛОКАЦИЯ
   ============================================================ */
.location {
  padding: var(--space-xxl) 8vw;
  background: var(--bg-forest);
  position: relative;
}
.location__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.location__text { max-width: 540px; }
.location__address {
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
}

.location__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.location__point {
  padding: 36px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.location__point-value {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  color: var(--accent-gold);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.location__point-unit {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-muted);
}
.location__point-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .location__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   PROMO (АКЦИЯ)
   ============================================================ */
.promo {
  padding: var(--space-xl) 8vw;
  background: var(--bg-deep);
  position: relative;
}
.promo__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(184, 137, 90, 0.08), transparent 70%),
    var(--bg-forest);
  overflow: hidden;
}
.promo__pulse {
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.15), transparent 60%);
  pointer-events: none;
  animation: floatPulse 8s ease-in-out infinite;
}
@keyframes floatPulse {
  0%, 100% { transform: translate(-50%, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -20px) scale(1.1); opacity: 1; }
}

.promo__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  padding: 6px 14px;
  border: 1px solid var(--accent-gold);
  border-radius: 100px;
  margin-bottom: 24px;
  position: relative;
}
.promo__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text-warm);
  line-height: 1.05;
  margin-bottom: 20px;
  position: relative;
}
.promo__text {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  position: relative;
}
.promo__code {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px dashed var(--accent-copper);
  border-radius: var(--radius);
  margin-bottom: 32px;
  font-family: var(--font-display);
  position: relative;
}
.promo__code span { color: var(--text-muted); font-size: 13px; letter-spacing: 0.1em; }
.promo__code strong { color: var(--accent-gold); font-size: 16px; letter-spacing: 0.2em; }

.promo .btn { position: relative; }

/* ============================================================
   ЦЕНЫ
   ============================================================ */
.pricing {
  padding: var(--space-xxl) 8vw;
  background: var(--bg-deep);
}
.pricing__head {
  max-width: 700px;
  margin-bottom: var(--space-lg);
}
.pricing__table {
  border-top: 1px solid var(--border-strong);
}
.pricing__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, padding 0.3s var(--ease);
}
.pricing__row:hover {
  padding-left: 16px;
  background: rgba(212, 165, 116, 0.04);
}
.pricing__row--head {
  border-bottom: 1px solid var(--border-strong);
  padding: 16px 0;
}
.pricing__row--head:hover { padding-left: 0; background: transparent; }
.pricing__row--head .pricing__cell {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing__cell {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.pricing__cell:first-child {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-warm);
}
.pricing__cell--highlight {
  color: var(--accent-gold);
}
.pricing__note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--accent-copper);
}

@media (max-width: 720px) {
  .pricing__row { grid-template-columns: 1fr 1fr 1fr; row-gap: 6px; }
  .pricing__row--head { display: none; }
  .pricing__cell:first-child { grid-column: 1 / -1; font-weight: 600; margin-bottom: 4px; }
  .pricing__cell[data-label] { font-size: 0.9rem; }
  .pricing__cell[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
  }
}

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews {
  padding: var(--space-xxl) 0 var(--space-xxl) 8vw;
  background: var(--bg-forest);
  overflow: hidden;
}
.reviews__head {
  max-width: 700px;
  margin-bottom: var(--space-lg);
  padding-right: 8vw;
}
.reviews__rating {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 20px;
}
.reviews__rating-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  color: var(--accent-gold);
}
.reviews__rating-stars {
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}
.reviews__rating-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.reviews__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-right: 8vw;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-copper) transparent;
}
.reviews__track::-webkit-scrollbar { height: 4px; }
.reviews__track::-webkit-scrollbar-thumb { background: var(--accent-copper); border-radius: 4px; }

.review {
  flex: 0 0 460px;
  scroll-snap-align: start;
  padding: 36px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.3s var(--ease);
}
.review:hover { border-color: var(--accent-gold); }
.review::before {
  content: '"';
  position: absolute;
  top: 6px; left: 24px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 5rem;
  color: var(--accent-copper);
  line-height: 1;
  opacity: 0.4;
}
.review__text {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-warm);
  margin-bottom: 24px;
  position: relative;
}
.review__author {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--text-muted);
}
.review__author {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.review__author strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-warm);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .review { flex-basis: 90vw; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--space-xxl) 8vw;
  background: var(--bg-deep);
}
.faq__head {
  max-width: 700px;
  margin-bottom: var(--space-lg);
}
.faq__list {
  max-width: 880px;
  border-top: 1px solid var(--border-strong);
}
.faq__item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: none;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-warm);
  transition: color 0.3s;
  font-family: var(--font-display);
}
.faq__q:hover { color: var(--accent-gold); }
.faq__q-mark {
  width: 32px; height: 32px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.faq__item.is-open .faq__q-mark {
  transform: rotate(45deg);
  background: var(--accent-copper);
  color: var(--bg-deep);
  border-color: var(--accent-copper);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-soft);
}
.faq__a-inner {
  padding-bottom: 28px;
  padding-right: 56px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================================
   БРОНИРОВАНИЕ
   ============================================================ */
.booking {
  padding: var(--space-xxl) 8vw;
  background: var(--bg-forest);
  position: relative;
}
.booking__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.booking__text { padding-top: 12px; }

.booking__channels {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.booking__channel {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
}
.booking__channel:hover {
  border-color: var(--accent-gold);
  transform: translateX(6px);
  background: var(--bg-moss);
}
.booking__channel-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent-copper);
  color: var(--bg-deep);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.booking__channel-icon svg {
  width: 22px;
  height: 22px;
}
.booking__channel-text { display: flex; flex-direction: column; gap: 2px; }
.booking__channel-text strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
}
.booking__channel-text em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
}

.booking__form {
  background: var(--bg-elevated);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.booking__form-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--text-warm);
  margin-bottom: 28px;
}

.field {
  display: block;
  margin-bottom: 18px;
}
.field__label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 10px 0;
  color: var(--text-warm);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent-gold);
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4A574'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  appearance: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}
.field--checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--accent-gold);
  cursor: pointer;
}
.field__checkbox-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.field__checkbox-text a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking__form-note {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .booking__inner { grid-template-columns: 1fr; gap: 40px; }
  .booking__form { padding: 28px 22px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 8vw 32px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer__brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__mark {
  color: var(--accent-gold);
  font-size: 16px;
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
}
.footer__brand em {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer__contacts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 13px;
}
.footer__contacts a:hover { color: var(--accent-gold); }
.footer__bottom a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--accent-gold); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   SCROLL REVEAL (классы добавляет JS)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger для grid-элементов */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
}
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 0.15s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 0.25s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 0.35s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 0.45s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 0.55s; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 0.65s; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 0.75s; }

/* ============================================================
   RESPONSIVE — финальные правки
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --space-xxl: 4rem;
    --space-xl: 3rem;
  }
  .hero__overline { font-size: 10px; padding: 6px 12px; }
  .pillar { padding: 36px 0; }
  .floating-cta { right: 16px; bottom: 16px; }
  .floating-cta__btn { width: 48px; height: 48px; }
  .flora-overlay { display: none; }

  /* Promo: убираем горизонтальные отступы на узком экране */
  .promo__inner { padding: 40px 20px; }
  .promo__code { display: flex; width: 100%; justify-content: center; }

  /* Даты заезда/выезда — в столбик */
  .field-row { grid-template-columns: 1fr; gap: 0; }

  /* Кнопка бронирования в карточке — во всю ширину */
  .cottage__cta { flex-direction: column; align-items: stretch; }
  .cottage__cta .btn--text { text-align: center; }
}

/* ─── FLORA — ветки с листьями по краям при скролле ─────────── */
@media (prefers-reduced-motion: reduce) {
  .flora-overlay { display: none; }
}
