/* ============================================================
   ЧАБАРНЯ — DESIGN SYSTEM
   ============================================================ */

:root {
  --color-marsh:  #1E2A1C;
  --color-cream:  #F4EFE4;
  --color-black:  #111410;
  --color-gold:   #B8892A;
  --color-milky:  #F0EBE0;
  --color-olive:  #1E2A1C;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Montserrat', sans-serif;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-h:     72px;
}

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

html { font-size: 16px; scroll-behavior: auto; }

body {
  font-family: var(--font-display);
  background: var(--color-black);
  color: var(--color-milky);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img  { display: block; max-width: 100%; height: 100%; object-fit: cover; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
em   { font-style: italic; }

/* ── Skip-to-content link (a11y) ─────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-gold);
  color: var(--color-black);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Focus-visible (a11y) ────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ── Grain overlay (shared) ────────────────────────────── */
.hero__grain,
.river__grain,
.atmo__grain,
.booking__grain,
.reviews__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  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)' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* ── Grain on cream sections ──────────────────────────── */
.about::after,
.faq::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  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)' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: multiply;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 40px;
  transition: background 0.5s var(--ease-out), backdrop-filter 0.5s;
}

.header.scrolled {
  background: rgba(17, 20, 16, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 137, 42, 0.1);
}

.header__logo { flex-shrink: 0; }

.header__logo-img {
  height: 44px; width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(184, 137, 42, 0.45);
  transition: border-color 0.3s;
}
.header__logo-img:hover { border-color: var(--color-gold); }

.header__nav { display: flex; gap: 40px; margin-left: auto; }

.header__nav-link {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  transition: color 0.25s;
  position: relative;
}
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease-out);
}
.header__nav-link:hover { color: var(--color-milky); }
.header__nav-link:hover::after { width: 100%; }

.header__cta {
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 11px 28px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.header__cta:hover {
  background: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-1px);
}

/* ── Music controls ──────────────────────────────────── */
.music-ctrl {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header__mute {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gold);
  opacity: 0.7;
  padding: 6px;
  transition: opacity 0.2s;
}
.header__mute:hover { opacity: 1; }

.music-ctrl__popup {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 10, 8, 0.92);
  border: 1px solid rgba(184, 137, 42, 0.3);
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 200;
}
.music-ctrl.open .music-ctrl__popup {
  opacity: 1;
  pointer-events: auto;
}

.music-ctrl__vol {
  -webkit-appearance: none;
  appearance: none;
  writing-mode: vertical-lr;
  direction: rtl;
  width: 4px;
  height: 80px;
  background: rgba(184, 137, 42, 0.25);
  outline: none;
  border: none;
  cursor: pointer;
}
.music-ctrl__vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  cursor: pointer;
}
.music-ctrl__vol::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  border: none;
  cursor: pointer;
}

/* ── Hamburger with X animation ──────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--color-milky);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
  transform-origin: center center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobile nav overlay ─────────────────────────────────── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--color-black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 48px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.nav-overlay__close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none;
  color: rgba(240, 235, 224, 0.5);
  cursor: pointer; padding: 8px;
  transition: color 0.2s;
}
.nav-overlay__close:hover { color: var(--color-milky); }

.nav-overlay__nav { display: flex; flex-direction: column; align-items: center; gap: 24px; }

.nav-overlay__link {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 64px);
  font-weight: 300; font-style: italic;
  color: rgba(240, 235, 224, 0.75);
  transition: color 0.2s, opacity 0.2s;
}
.nav-overlay__link:hover { color: var(--color-gold); }

.nav-overlay__contact {
  font-family: var(--font-ui);
  font-size: 13px; letter-spacing: 0.18em;
  color: rgba(184, 137, 42, 0.7);
  border-top: 1px solid rgba(240, 235, 224, 0.08);
  padding-top: 32px;
  transition: color 0.2s;
}
.nav-overlay__contact:hover { color: var(--color-gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--color-marsh) url('img/facade2.jpg') center 30% / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  will-change: background-position;
}

/* Dark photo overlay + radial glow */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.68) 55%, rgba(0,0,0,0.82) 100%),
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(184, 137, 42, 0.05) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

.hero__inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 40px;
}

/* Eyebrow with rules */
.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.3s forwards;
}
.hero__rule {
  display: block; width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.hero__label {
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-gold); white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.hero__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero__line {
  display: block;
  font-size: clamp(72px, 10.5vw, 128px);
  font-weight: 400; line-height: 1.0;
  color: var(--color-milky);
  overflow: hidden;
  text-shadow: 0 2px 48px rgba(0,0,0,0.55);
}
.hero__line--italic { font-style: italic; }

.hero__line .word { display: inline-block; }

.hero__tagline {
  margin-top: 32px;
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(240, 235, 224, 0.82);
  text-shadow: 0 1px 16px rgba(0,0,0,0.7);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 1.2s forwards;
}

/* Rotated side coordinates — use fadeIn (no transform override) */
.hero__coords {
  position: absolute; z-index: 2;
  font-family: var(--font-ui);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(240, 235, 224, 0.2);
  white-space: nowrap;
  opacity: 0;
  animation: fadeIn 0.9s var(--ease-out) 1.4s forwards;
}
.hero__coords--left  { left: 48px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: center center; }
.hero__coords--right { right: 48px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: center center; }

/* Scroll hint */
.hero__scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 0.9s var(--ease-out) 1.6s forwards;
  transition: opacity 0.5s var(--ease-out);
}
.hero__scroll-hint.hidden {
  opacity: 0 !important;
  pointer-events: none;
}
.hero__scroll-label {
  font-family: var(--font-ui);
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(240, 235, 224, 0.3);
  writing-mode: horizontal-tb;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(184, 137, 42, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out 3s infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ============================================================
   ПРО МІСЦЕ
   ============================================================ */
.about {
  background: var(--color-cream);
  color: var(--color-olive);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}


.about__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 1;
}

.about__left {
  position: relative;
  overflow: hidden;
}

.about__label {
  display: flex;
  align-items: center; gap: 12px;
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
}
.about__label-dash { color: var(--color-gold); }

.about__heading {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400; line-height: 1.15;
  color: var(--color-olive);
  margin-bottom: 28px;
  overflow: hidden;
}

.about__body {
  font-family: var(--font-ui);
  font-size: 14.5px; font-weight: 300;
  line-height: 1.8;
  color: rgba(30, 42, 28, 0.68);
  margin-bottom: 16px;
}

.about__stats {
  display: flex; gap: 40px;
  margin-top: 48px; padding-top: 36px;
  border-top: 1px solid rgba(30, 42, 28, 0.12);
}
.about__stat { display: flex; flex-direction: column; gap: 4px; }
.about__stat-num {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 300; line-height: 1;
  color: var(--color-gold);
}
.about__stat-unit {
  font-family: var(--font-ui);
  font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(30, 42, 28, 0.4);
}

/* Right column — photo stack */
.about__right {
  display: flex; flex-direction: column;
  gap: 24px;
  position: relative;
}

.about__photo-stack {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about__deco-corner {
  position: absolute; width: 28px; height: 28px;
  z-index: 6; pointer-events: none;
}
.about__deco-corner--tl { top: 16px; left: 16px; border-top: 1px solid rgba(184, 137, 42, 0.55); border-left: 1px solid rgba(184, 137, 42, 0.55); }
.about__deco-corner--br { bottom: 16px; right: 16px; border-bottom: 1px solid rgba(184, 137, 42, 0.55); border-right: 1px solid rgba(184, 137, 42, 0.55); }

.about__photo-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute; inset: 0; z-index: 1;
}

.about__photo-accent {
  position: absolute;
  bottom: 20px; right: 20px;
  width: 50%;
  height: 55%;
  object-fit: cover;
  z-index: 3;
  box-shadow: -6px 6px 32px rgba(0,0,0,0.55);
}

.about__photo-caption {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 2;
  background: rgba(17, 20, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 18px 22px;
  max-width: 55%;
}

.about__deco-quote {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 24px);
  font-style: italic; font-weight: 300;
  line-height: 1.35;
  color: var(--color-milky);
  margin-bottom: 8px;
}
.about__deco-sub {
  font-family: var(--font-ui);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(240, 235, 224, 0.4);
}

.about__deco-accent {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 32px;
  border: 1px solid rgba(30, 42, 28, 0.12);
  background: rgba(30, 42, 28, 0.03);
}
.about__deco-river {
  font-family: var(--font-display);
  font-size: 36px; font-style: italic; font-weight: 300;
  color: var(--color-olive); opacity: 0.6;
}
.about__deco-lines {
  flex: 1; display: flex; flex-direction: column; gap: 5px;
}
.about__deco-lines span {
  display: block; height: 1px;
  background: linear-gradient(90deg, rgba(184, 137, 42, 0.18) 0%, transparent 100%);
}
.about__deco-lines span:nth-child(2) { width: 70%; opacity: 0.6; }
.about__deco-lines span:nth-child(3) { width: 40%; opacity: 0.3; }

.about__deco-dist {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 300;
  color: var(--color-gold); line-height: 1;
}

/* ============================================================
   ДЕСНА
   ============================================================ */
.river {
  background: var(--color-black) url('img/photo-1760294752037-9dc384d4ed6d.avif') center 60% / cover no-repeat;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.river::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.88) 100%);
  pointer-events: none; z-index: 0;
}

.river__inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: 80px 60px;
  max-width: 960px;
}

.river__quote {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 88px);
  font-style: italic; font-weight: 300;
  line-height: 1.22;
  color: var(--color-milky);
  border: none; margin: 0;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}
.river__quote .word { display: inline-block; opacity: 0; transform: translateY(30px); }

.river__sub {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 52px; opacity: 0;
}

/* ============================================================
   АПАРТАМЕНТИ — full-width split cards
   ============================================================ */
.apts {
  background: var(--color-cream);
  color: var(--color-olive);
}

.apts__heading-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 130px 64px 72px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(30, 42, 28, 0.08);
}

.apts__heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--color-olive);
  overflow: hidden;
  line-height: 1.1;
}

.apts__intro {
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 300;
  line-height: 1.75;
  color: rgba(30, 42, 28, 0.68);
  max-width: min(360px, 31.5vw);
  text-align: right;
  flex-shrink: 0;
}

/* List of cards */
.apts__list { display: flex; flex-direction: column; }

.apt-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

/* Reverse layout via CSS order instead of direction:rtl */
.apt-card--reverse .apt-card__visual--ordered { order: 2; }
.apt-card--reverse .apt-card__body--ordered   { order: 1; }

/* Visual placeholder side */
.apt-card__visual {
  position: relative;
  overflow: hidden;
}

/* Unique gradient per card */
.apt-card__visual--1 {
  background: linear-gradient(135deg, #2d3f2b 0%, #1a2618 50%, #243322 100%);
}
.apt-card__visual--2 {
  background: linear-gradient(145deg, #1a2618 0%, #2f4a1e 60%, #1e3018 100%);
}
.apt-card__visual--3 {
  background: linear-gradient(125deg, #1e2f1c 0%, #28403a 50%, #1a2c28 100%);
}
.apt-card__visual--4 {
  background: linear-gradient(155deg, #111f10 0%, #243322 60%, #1e2f20 100%);
}
.apt-card__visual--5 {
  background: linear-gradient(135deg, #1a2618 0%, #3a2f10 40%, #2a2010 100%);
}

/* Real photo inside visual */
.apt-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.apt-card__visual img.loaded           { opacity: 0; } /* slider controls visibility */
.apt-card__visual img.apt-slider__img--active { opacity: 1; }
.apt-card__visual { cursor: pointer; }
.apt-card__visual:hover img.apt-slider__img--active { transform: scale(1.04); }

/* ── Apt slider UI ───────────────────────────────── */
.apt-slider__ui {
  position: absolute; inset: 0;
  z-index: 4; pointer-events: none;
}

.apt-slider__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(10, 12, 10, 0.48);
  border: 1px solid rgba(240, 235, 224, 0.14);
  color: var(--color-milky);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; pointer-events: all;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}
.apt-slider__arrow--prev { left: 12px; }
.apt-slider__arrow--next { right: 12px; }
.apt-card__visual:hover .apt-slider__arrow { opacity: 1; }
.apt-slider__arrow:hover { background: rgba(10, 12, 10, 0.78); }

.apt-slider__expand {
  position: absolute; top: 12px; right: 12px;
  background: rgba(10, 12, 10, 0.48);
  border: 1px solid rgba(240, 235, 224, 0.14);
  color: var(--color-milky);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; pointer-events: all;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}
.apt-card__visual:hover .apt-slider__expand { opacity: 1; }
.apt-slider__expand:hover { background: rgba(10, 12, 10, 0.78); }

.apt-slider__count {
  position: absolute; bottom: 12px; right: 14px;
  font-family: var(--font-ui);
  font-size: 10px; letter-spacing: 0.1em;
  color: rgba(240, 235, 224, 0.65);
  background: rgba(10, 12, 10, 0.45);
  padding: 3px 8px;
  pointer-events: none;
}

/* ── Lightbox ─────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8, 10, 8, 0.97);
  z-index: 900;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.lightbox.is-open { opacity: 1; pointer-events: all; }

.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: rgba(240, 235, 224, 0.4);
  padding: 8px; transition: color 0.2s;
  z-index: 2;
}
.lightbox__close:hover { color: var(--color-milky); }

.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(240, 235, 224, 0.3);
  padding: 20px; transition: color 0.2s; z-index: 2;
}
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__nav:hover { color: var(--color-milky); }

.lightbox__stage {
  flex: 1; display: flex;
  align-items: center; justify-content: center;
  width: 100%; min-height: 0;
  padding: 64px 96px 20px;
}

.lightbox__img {
  max-height: 100%; max-width: 100%;
  object-fit: contain;
  opacity: 0; transition: opacity 0.3s ease;
}
.lightbox__img.is-visible { opacity: 1; }

.lightbox__footer {
  padding: 16px 80px 28px;
  display: flex; align-items: center;
  justify-content: center; gap: 20px;
  width: 100%;
}

.lightbox__thumbs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

.lightbox__thumb {
  width: 52px; height: 38px;
  object-fit: cover; cursor: pointer;
  opacity: 0.35; border: 1px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.lightbox__thumb--active,
.lightbox__thumb:hover { opacity: 1; border-color: var(--color-gold); }

.lightbox__count {
  font-family: var(--font-ui);
  font-size: 10px; letter-spacing: 0.16em;
  color: rgba(240, 235, 224, 0.25);
  white-space: nowrap;
}

/* Decorative overlay on visual */
.apt-card__visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(184, 137, 42, 0.10) 0%, transparent 60%);
  z-index: 1;
}
.apt-card__visual::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.4;
  mix-blend-mode: overlay;
  z-index: 2;
}

/* Content side */
.apt-card__body {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
  position: relative;
}

/* Трохи темніший крем за секцію — краща читабельність тексту в картці */
.apt-card--light .apt-card__body { background: #ede8dc; }
.apt-card--dark  .apt-card__body { background: var(--color-marsh); color: var(--color-milky); }
.apt-card--vip   .apt-card__body {
  background: var(--color-black);
  color: var(--color-milky);
}

.apt-card__badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid rgba(184, 137, 42, 0.4);
  padding: 5px 14px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.apt-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(184, 137, 42, 0.65);
  margin-bottom: 14px;
}
.apt-card--light .apt-card__num {
  color: rgba(184, 137, 42, 0.82);
}

.apt-card__name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400; line-height: 1.1;
  margin-bottom: 16px;
}

.apt-card__desc {
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 300;
  line-height: 1.75;
  color: rgba(30, 42, 28, 0.82);
  margin-bottom: 28px;
  max-width: 340px;
}
.apt-card--dark  .apt-card__desc,
.apt-card--vip   .apt-card__desc { color: rgba(240, 235, 224, 0.5); }

.apt-card__features {
  display: flex; flex-direction: column;
  gap: 9px; margin-bottom: 36px;
}
.apt-card__features li {
  font-family: var(--font-ui);
  font-size: 12.5px; font-weight: 300;
  display: flex; align-items: center; gap: 12px;
  color: rgba(30, 42, 28, 0.82);
}
.apt-card--dark  .apt-card__features li,
.apt-card--vip   .apt-card__features li { color: rgba(240, 235, 224, 0.5); }
.apt-card__features li::before {
  content: '';
  flex-shrink: 0; display: block;
  width: 24px; height: 1px;
  background: rgba(184, 137, 42, 0.32);
}

.apt-card__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-gold);
  border-bottom: 1px solid rgba(184, 137, 42, 0.3);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: gap 0.3s var(--ease-out), border-color 0.25s;
}
.apt-card__link:hover { gap: 16px; border-color: var(--color-gold); }



/* ============================================================
   АТМОСФЕРА
   ============================================================ */
.atmo {
  background: var(--color-marsh);
  color: var(--color-milky);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.atmo__inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 0 64px;
}

/* Top row */
.atmo__top {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(240, 235, 224, 0.08);
}

.atmo__label {
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.atmo__heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--color-milky);
  overflow: hidden; line-height: 1.1;
}


/* Vibes strip */
.atmo__vibes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(240, 235, 224, 0.06);
  margin-bottom: 0;
}

.atmo__vibe {
  background: var(--color-marsh);
  padding: 40px 32px 44px;
  position: relative;
  transition: background 0.3s;
}
.atmo__vibe:hover { background: #253022; }

.atmo__vibe-num {
  display: block;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(184, 137, 42, 0.55);
  margin-bottom: 20px;
}

.atmo__vibe-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 400; font-style: italic;
  color: var(--color-milky);
  margin-bottom: 16px;
  line-height: 1.1;
}

.atmo__vibe-text {
  font-family: var(--font-ui);
  font-size: 12.5px; font-weight: 300;
  line-height: 1.75;
  color: rgba(240, 235, 224, 0.45);
}

/* Ticker — seamless loop with two identical tracks */
.atmo__ticker {
  margin-top: 0;
  padding: 28px 0;
  border-top: 1px solid rgba(240, 235, 224, 0.07);
  overflow: hidden;
}

.atmo__ticker-inner {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.atmo__ticker-track {
  display: inline-flex; align-items: center;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic; font-weight: 300;
  color: rgba(240, 235, 224, 0.18);
  white-space: nowrap;
}
.atmo__ticker-dot { color: var(--color-gold); opacity: 0.18; font-style: normal; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   БРОНЮВАННЯ — centered, horizontal form
   ============================================================ */
.booking {
  background:
    linear-gradient(rgba(17, 20, 16, 0.94), rgba(17, 20, 16, 0.94)),
    url('img/facade1.jpg') center / cover no-repeat;
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.booking__inner {
  max-width: 860px; margin: 0 auto;
  padding: 0 40px;
}

/* Section label (renamed from .booking__label to avoid conflict) */
.booking__section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.booking__heading {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 400; line-height: 1.0;
  color: var(--color-milky);
  margin-bottom: 20px;
  overflow: hidden;
}

.booking__sub {
  font-family: var(--font-ui);
  font-size: 14px; font-weight: 300;
  line-height: 1.75;
  color: rgba(240, 235, 224, 0.72);
  margin-bottom: 56px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Horizontal form */
.booking__form { display: flex; flex-direction: column; align-items: center; gap: 0; }

.booking__fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  width: 100%;
  border: 1px solid rgba(240, 235, 224, 0.12);
  margin-bottom: 24px;
}

.booking__field {
  position: relative;
  border-right: 1px solid rgba(240, 235, 224, 0.12);
}
.booking__field:last-child { border-right: none; }
.booking__field:focus-within { border-color: rgba(184, 137, 42, 0.5); }

.booking__input {
  width: 100%;
  background: rgba(240, 235, 224, 0.03);
  border: none;
  padding: 26px 24px 10px;
  font-family: var(--font-ui);
  font-size: 14px; font-weight: 300;
  color: var(--color-milky);
  outline: none;
  transition: background 0.25s;
}
.booking__input:focus { background: rgba(240, 235, 224, 0.06); }

/* Floating label inside form fields */
.booking__field .booking__label {
  position: absolute;
  top: 18px; left: 24px;
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(240, 235, 224, 0.28);
  pointer-events: none;
  display: block;
  margin-bottom: 0;
  transition: transform 0.25s var(--ease-out), color 0.25s, font-size 0.25s;
}
.booking__input:focus + .booking__label,
.booking__input:not(:placeholder-shown) + .booking__label {
  transform: translateY(-9px);
  font-size: 8px;
  color: var(--color-gold);
}

/* Form error messages */
.booking__error {
  position: absolute;
  bottom: 3px; left: 24px;
  font-family: var(--font-ui);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(192, 57, 43, 0.9);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.booking__error.visible {
  opacity: 1;
}

.booking__submit {
  background: var(--color-gold);
  color: var(--color-black);
  border: none;
  padding: 18px 64px;
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 32px rgba(184, 137, 42, 0.28);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.booking__submit:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(184, 137, 42, 0.42);
}
.booking__submit:active { transform: translateY(0); box-shadow: 0 2px 16px rgba(184, 137, 42, 0.2); }

/* Success */
.booking__success {
  display: none; flex-direction: column;
  align-items: center; gap: 20px;
  padding: 56px 0;
}
.booking__success.visible { display: flex; }
.booking__success-icon { color: var(--color-gold); }
.booking__success-text {
  font-family: var(--font-display);
  font-size: 26px; font-style: italic; font-weight: 300;
  color: var(--color-milky);
  line-height: 1.4;
}

/* Contacts row */
.booking__contacts {
  display: flex; align-items: center;
  justify-content: center; gap: 24px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(240, 235, 224, 0.08);
}

.booking__contacts-sep {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(240, 235, 224, 0.5);
  letter-spacing: 0.12em;
}

.booking__phone {
  font-family: var(--font-ui);
  font-size: 16px; font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-milky);
  transition: color 0.2s;
}
.booking__phone:hover { color: var(--color-gold); }

.booking__tg {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-gold);
  transition: opacity 0.2s, gap 0.25s;
}
.booking__tg:hover { opacity: 0.8; gap: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-black);
  padding: 40px 0 0;
  border-top: 1px solid rgba(240, 235, 224, 0.05);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
  gap: 28px 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
}

.footer__logo {
  height: 52px; width: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(184, 137, 42, 0.3);
}

.footer__tagline {
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(240, 235, 224, 0.3);
}

.footer__nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  min-width: 0;
}
.footer__nav-link {
  font-family: var(--font-ui);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(240, 235, 224, 0.4);
  transition: color 0.2s;
}
.footer__nav-link:hover { color: var(--color-gold); }

.footer__right {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-align: center;
}
.footer__phone {
  font-family: var(--font-ui);
  font-size: 14px; font-weight: 400;
  color: rgba(240, 235, 224, 0.6);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer__phone:hover { color: var(--color-gold); }

.footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

/* Social icons with tooltip */
.footer__social-link {
  position: relative;
  color: rgba(240, 235, 224, 0.25);
  transition: color 0.2s, transform 0.2s;
}
.footer__social-link:hover { color: var(--color-gold); transform: translateY(-2px); }

.footer__social-link::before {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-milky);
  background: var(--color-marsh);
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.footer__social-link:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer__closing {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: clamp(22px, 3.5vw, 52px);
  line-height: 1.08;
  color: rgba(240, 235, 224, 0.48);
  pointer-events: none;
  user-select: none;
  padding: 16px 24px 12px;
  letter-spacing: -0.01em;
}

.footer__bottom {
  padding: 0 64px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.footer__bottom-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 235, 224, 0.07) 20%, rgba(240, 235, 224, 0.07) 80%, transparent);
}
.footer__bottom p {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(240, 235, 224, 0.32);
}

/* ============================================================
   ВІДГУКИ
   ============================================================ */
.reviews {
  background: var(--color-black);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.reviews__inner {
  max-width: 800px; margin: 0 auto;
  padding: 0 40px;
  position: relative; z-index: 2;
}

.reviews__label {
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.reviews__label-dash { color: var(--color-gold); }

.reviews__heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--color-milky);
  overflow: hidden; line-height: 1.1;
  margin-bottom: 64px;
}

.reviews__stage {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

.reviews__deco-quote {
  position: absolute;
  top: -32px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 180px; font-style: italic;
  color: rgba(184, 137, 42, 0.09);
  line-height: 1;
  pointer-events: none; user-select: none;
}

.reviews__quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 44px);
  font-style: italic; font-weight: 300;
  line-height: 1.45;
  color: var(--color-milky);
  border: none; margin: 0 0 32px;
  position: relative; z-index: 1;
}

.reviews__author {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}

.reviews__stars {
  color: var(--color-gold);
  font-size: 13px; letter-spacing: 4px;
}

.reviews__name {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(240, 235, 224, 0.3);
  display: flex; align-items: center; gap: 8px;
}

.reviews__sep { color: var(--color-gold); opacity: 0.35; }

/* Navigation */
.reviews__nav {
  display: flex; align-items: center;
  justify-content: center; gap: 24px;
  margin-bottom: 48px;
}

.reviews__arrow {
  background: none; border: none; cursor: pointer;
  color: rgba(240, 235, 224, 0.25);
  padding: 8px;
  transition: color 0.25s;
}
.reviews__arrow:hover { color: var(--color-gold); }

.reviews__dots { display: flex; gap: 10px; align-items: center; }

.reviews__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(240, 235, 224, 0.2);
  background: transparent;
  cursor: pointer; padding: 0;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.reviews__dot--active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.25);
}

/* Rating strip */
.reviews__rating {
  font-family: var(--font-ui);
  font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(240, 235, 224, 0.18);
  display: flex; align-items: center;
  justify-content: center; flex-wrap: wrap; gap: 8px;
  padding-top: 32px;
  border-top: 1px solid rgba(240, 235, 224, 0.06);
}
.reviews__rating-stars { color: var(--color-gold); opacity: 0.6; }
.reviews__rating-score { color: rgba(240, 235, 224, 0.45); }
.reviews__rating-sep   { color: var(--color-gold); opacity: 0.25; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--color-cream);
  color: var(--color-olive);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

.faq__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative; z-index: 1;
}

.faq__left {
  align-self: center;
}

.faq__label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
}
.faq__label-dash { color: var(--color-gold); }

.faq__heading {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400; line-height: 1.15;
  color: var(--color-olive);
  margin-bottom: 24px;
}

.faq__sub {
  font-family: var(--font-ui);
  font-size: 14px; font-weight: 300;
  line-height: 1.75;
  color: rgba(30, 42, 28, 0.55);
}

/* Accordion list */
.faq__list { border-top: 1px solid rgba(30, 42, 28, 0.1); }

.faq__item { border-bottom: 1px solid rgba(30, 42, 28, 0.1); }

.faq__question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px); font-weight: 400;
  color: var(--color-olive); text-align: left;
  transition: color 0.2s;
}
.faq__question:hover { color: rgba(30, 42, 28, 0.65); }

/* +/− icon — pure CSS circle with cross */
.faq__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1px solid rgba(184, 137, 42, 0.35);
  border-radius: 50%;
  position: relative;
  transition: border-color 0.25s;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--color-gold);
  border-radius: 1px;
}
.faq__icon::before {
  width: 9px; height: 1px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 1px; height: 9px;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.faq__item--open .faq__icon { border-color: var(--color-gold); }
.faq__item--open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* Answer panel */
.faq__answer {
  overflow: hidden;
  max-height: 0; opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s ease;
}
.faq__item--open .faq__answer { max-height: 600px; opacity: 1; }

.faq__answer p {
  font-family: var(--font-ui);
  font-size: 14px; font-weight: 300;
  line-height: 1.8;
  color: rgba(30, 42, 28, 0.6);
  padding-bottom: 22px;
}

/* Link inside FAQ answer (e.g. Telegram) */
.faq__answer-link {
  color: var(--color-gold);
  transition: opacity 0.2s;
}
.faq__answer-link:hover { opacity: 0.75; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ── Touch devices: show slider controls without hover ── */
@media (hover: none) {
  .apt-slider__arrow  { opacity: 0.55; }
  .apt-slider__expand { opacity: 0.55; }
}

@media (max-width: 1100px) {
  .about__inner,
  .atmo__inner,
  .footer__inner { padding-left: 40px; padding-right: 40px; }

  .apts__heading-wrap { padding-left: 40px; padding-right: 40px; }
  .apts__footer       { padding-left: 40px; padding-right: 40px; }
  .apt-card__body     { padding: 48px 48px; }

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

  .faq__inner { padding-left: 40px; padding-right: 40px; gap: 56px; }
}

@media (max-width: 900px) {
  .apt-card { grid-template-columns: 1fr; min-height: auto; }
  .apt-card--reverse .apt-card__visual--ordered { order: 0; }
  .apt-card--reverse .apt-card__body--ordered   { order: 0; }
  .apt-card__visual { min-height: 280px; }
  .apt-card__body { padding: 48px 40px; }
  .apt-card__desc { max-width: none; }

  .booking__fields { grid-template-columns: 1fr; }
  .booking__field { border-right: none; border-bottom: 1px solid rgba(240, 235, 224, 0.12); }
  .booking__field:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .header { padding: 0 24px; }
  .header__nav, .header__cta { display: none; }
  .header { gap: 4px; }
  .hamburger { display: flex; margin-left: auto; order: 1; }
  .music-ctrl { order: 2; }

  .hero__coords { display: none; }
  .hero__line { font-size: clamp(56px, 15vw, 96px); }

  .about { padding: 88px 0; }
  .about__inner { grid-template-columns: 1fr; padding: 0 24px; gap: 48px; }
  .about__right { flex-direction: column; }

  .river__inner { padding: 60px 24px; }

  .apts__heading-wrap { padding: 88px 24px 56px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .apts__intro { text-align: left; max-width: none; }
  .apts__footer { padding: 24px; flex-direction: column; align-items: flex-start; gap: 16px; }

  .apt-card__visual { min-height: 240px; }
  .apt-card__body { padding: 40px 24px; }

  /* Hero: adjust bg-position for portrait mobile */
  .hero { background-position: 40% 30%; }

  /* About photo stack: reduce caption font on mobile */
  .about__photo-caption { padding: 14px 16px; max-width: 60%; }
  .about__photo-accent  { width: 45%; height: 48%; bottom: 16px; right: 16px; }

  .atmo { padding: 88px 0 0; }
  .atmo__inner { padding: 0 24px; }
  .atmo__top { margin-bottom: 36px; }

  .atmo__vibes { grid-template-columns: 1fr; }

  /* Reviews */
  .reviews { padding: 88px 0; }
  .reviews__heading { margin-bottom: 40px; }
  .reviews__stage { min-height: 220px; }

  /* FAQ */
  .faq { padding: 88px 0; }
  .faq__inner { grid-template-columns: 1fr; padding: 0 24px; gap: 48px; }

  .lightbox__stage  { padding: 56px 48px 16px; }
  .lightbox__footer { padding: 12px 16px 20px; }
  .lightbox__nav    { padding: 12px; }

  .booking { padding: 88px 0; text-align: center; }
  .booking__inner { padding: 0 24px; }
  .booking__contacts { flex-direction: column; gap: 16px; }
  .footer { padding: 40px 0 0; }

  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px 32px;
    gap: 24px;
  }
  .footer__brand { flex: none; max-width: none; align-items: center; }
  .footer__nav {
    flex: none;
    width: 100%;
    justify-content: center;
    gap: 10px 16px;
  }
  .footer__right {
    align-items: center;
    min-width: 0;
    width: 100%;
  }
  .footer__bottom { padding: 0 24px 20px; }
  .footer__closing { font-size: clamp(32px, 10vw, 64px); padding: 24px 16px 16px; }
}

@media (max-width: 480px) {
  .about__stats { gap: 20px; }
  .about__photo-accent { display: none; }
  .atmo__vibes { grid-template-columns: 1fr; }
  .atmo__vibe { padding: 32px 24px 36px; }
  .booking__submit { padding: 16px 40px; }
}

/* ============================================================
   TABLET  769px – 1024px
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Header */
  .header { padding: 0 32px; gap: 24px; }
  .header__nav { gap: 20px; }
  .header__cta { padding: 10px 22px; }

  /* Hero */
  .hero__coords { display: none; }
  .hero__line { font-size: clamp(60px, 9vw, 96px); }

  /* About */
  .about { padding: 100px 0; }
  .about__inner { padding: 0 40px; gap: 56px; }

  /* Apts */
  .apts__heading-wrap { padding: 100px 40px 56px; }
  .apt-card__visual { min-height: 360px; }
  .apt-card__body { padding: 56px 48px; }

  /* Atmo */
  .atmo { padding: 100px 0 0; }
  .atmo__inner { padding: 0 40px; }
  .atmo__vibes { grid-template-columns: repeat(2, 1fr); }

  /* Reviews */
  .reviews { padding: 120px 0; }
  .reviews__inner { padding: 0 40px; }

  /* FAQ */
  .faq { padding: 100px 0; }
  .faq__inner { padding: 0 40px; gap: 56px; }

  /* Booking */
  .booking { padding: 120px 0; }
  .booking__inner { padding: 0 40px; }

  /* Footer: колонка, усе по центру */
  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
    padding: 0 40px 32px;
  }
  .footer__brand {
    flex: none;
    max-width: 360px;
    align-items: center;
  }
  .footer__nav {
    flex: none;
    width: 100%;
    justify-content: center;
    gap: 8px 16px;
  }
  .footer__right {
    align-items: center;
    min-width: 0;
  }
  .footer__bottom { padding: 0 40px 20px; }
}

/* ============================================================
   MOBILE L  601px – 767px
   ============================================================ */
@media (min-width: 601px) and (max-width: 767px) {
  .hero__line { font-size: clamp(52px, 13vw, 80px); }
  .hero__inner { padding: 0 28px; }

  .about { padding: 80px 0; }
  .about__inner { padding: 0 28px; }
  .about__stats { gap: 28px; }

  .apts__heading-wrap { padding: 80px 28px 48px; }
  .apt-card__visual { min-height: 260px; }
  .apt-card__body { padding: 40px 28px; }

  .atmo { padding: 80px 0 0; }
  .atmo__inner { padding: 0 28px; }

  .reviews { padding: 80px 0; }
  .reviews__inner { padding: 0 28px; }

  .faq { padding: 80px 0; }
  .faq__inner { padding: 0 28px; }

  .booking { padding: 80px 0; }
  .booking__inner { padding: 0 28px; }

  .footer__inner { padding: 0 28px 28px; }
  .footer__bottom { padding: 0 28px 20px; }
}

/* ============================================================
   MOBILE M  481px – 600px
   ============================================================ */
@media (max-width: 600px) {
  .hero__line { font-size: clamp(48px, 13vw, 72px); }
  .hero__tagline { font-size: 9.5px; }
  .hero__inner { padding: 0 20px; }

  .about { padding: 72px 0; }
  .about__inner { padding: 0 20px; }
  .about__stats { gap: 18px; flex-wrap: wrap; }
  .about__stat-num { font-size: clamp(32px, 9vw, 52px); }
  .about__photo-accent { display: none; }

  .river__inner { padding: 52px 20px; }
  .river__quote { font-size: clamp(30px, 8vw, 52px); }

  .apts__heading-wrap { padding: 72px 20px 40px; }
  .apt-card__visual { min-height: 240px; }
  .apt-card__body { padding: 36px 20px; }
  .apt-card__name { font-size: clamp(24px, 6vw, 36px); }

  .atmo__inner { padding: 0 20px; }
  .atmo__vibe { padding: 28px 20px 32px; }

  .reviews { padding: 72px 0; }
  .reviews__inner { padding: 0 20px; }
  .reviews__deco-quote { font-size: 120px; }
  .reviews__stage { min-height: 200px; }

  .faq { padding: 72px 0; }
  .faq__inner { padding: 0 20px; }

  .booking { padding: 72px 0; }
  .booking__inner { padding: 0 20px; }
  .booking__heading { font-size: clamp(36px, 9vw, 60px); }
  .booking__submit { width: 100%; padding: 16px 24px; }

  .footer__inner { padding: 0 20px 24px; }
  .footer__closing { font-size: clamp(28px, 9vw, 52px); }
  .footer__bottom { padding: 0 20px 16px; }
}

/* ============================================================
   MOBILE S  ≤ 360px
   ============================================================ */
@media (max-width: 360px) {
  :root { --header-h: 56px; }

  .header { padding: 0 16px; }

  .hero__inner { padding: 0 16px; }
  .hero__line { font-size: clamp(40px, 12vw, 60px); }
  .hero__tagline { font-size: 9px; letter-spacing: 0.10em; }
  .hero__eyebrow { gap: 8px; }
  .hero__rule { width: 24px; }
  .hero__scroll-hint { bottom: 28px; }

  .about { padding: 60px 0; }
  .about__inner { padding: 0 16px; gap: 28px; }
  .about__heading { font-size: clamp(26px, 7.5vw, 40px); }
  .about__stats { gap: 14px; flex-wrap: wrap; }
  .about__stat-num { font-size: clamp(30px, 9vw, 46px); }
  .about__photo-caption { display: none; }

  .river__inner { padding: 48px 16px; }
  .river__quote { font-size: clamp(28px, 8.5vw, 46px); }
  .river__sub { margin-top: 36px; }

  .apts__heading-wrap { padding: 60px 16px 36px; }
  .apts__heading { font-size: clamp(26px, 7.5vw, 44px); }
  .apt-card__visual { min-height: 200px; }
  .apt-card__body { padding: 28px 16px; }
  .apt-card__name { font-size: clamp(22px, 6.5vw, 34px); }
  .apt-card__desc { font-size: 12px; line-height: 1.65; }
  .apt-card__features li { font-size: 12px; }
  .apt-card__link { font-size: 10px; }

  .atmo { padding: 60px 0 0; }
  .atmo__inner { padding: 0 16px; }
  .atmo__heading { font-size: clamp(26px, 7.5vw, 44px); }
  .atmo__vibe { padding: 22px 16px 26px; }
  .atmo__vibe-title { font-size: clamp(20px, 5.5vw, 30px); }
  .atmo__vibe-text { font-size: 12px; }

  .reviews { padding: 60px 0; }
  .reviews__inner { padding: 0 16px; }
  .reviews__heading { font-size: clamp(26px, 7.5vw, 44px); margin-bottom: 28px; }
  .reviews__deco-quote { font-size: 96px; top: -24px; }
  .reviews__quote { font-size: clamp(17px, 4.8vw, 26px); }
  .reviews__stage { min-height: 170px; }
  .reviews__name { font-size: 10px; }

  .faq { padding: 60px 0; }
  .faq__inner { padding: 0 16px; gap: 32px; }
  .faq__heading { font-size: clamp(26px, 7.5vw, 42px); }
  .faq__question { font-size: clamp(15px, 4.5vw, 19px); }

  .booking { padding: 60px 0; }
  .booking__inner { padding: 0 16px; }
  .booking__heading { font-size: clamp(28px, 8.5vw, 52px); }
  .booking__sub { font-size: 12.5px; margin-bottom: 36px; }
  .booking__input { padding: 22px 18px 8px; }
  .booking__field .booking__label { left: 18px; }
  .booking__submit { width: 100%; padding: 15px 16px; }
  .booking__contacts { gap: 12px; }
  .booking__phone { font-size: 14px; }

  .footer__inner { padding: 0 16px 20px; gap: 20px; }
  .footer__logo { height: 44px; width: 44px; }
  .footer__social { gap: 12px; }
  .footer__closing { font-size: clamp(22px, 7.5vw, 44px); padding: 16px 8px 10px; }
  .footer__bottom { padding: 0 16px 14px; }

  .nav-overlay__nav { gap: 18px; }
  .nav-overlay__link { font-size: clamp(28px, 7.5vw, 44px); }
  .nav-overlay__contact { font-size: 11.5px; }

  .lightbox__stage { padding: 56px 12px 12px; }
  .lightbox__footer { padding: 8px 8px 14px; }
  .lightbox__thumb { width: 38px; height: 28px; }
  .lightbox__nav { padding: 10px; }
}
