/* Приют Райдера — Luxury Alpine Chalet Landing */

:root {
  --bg-deep: #0a0a0a;
  --bg-dark: #111111;
  --bg-card: #1a1816;
  --bg-elevated: #221f1c;
  --wood-warm: #8b6f47;
  --wood-light: #c4a574;
  --gold: #c9a86c;
  --gold-bright: #e8c98a;
  --gold-dim: rgba(201, 168, 108, 0.15);
  --brick: #7a4a32;
  --forest: #2d4a35;
  --pool: #3d8eb8;
  --text: #f5f0e8;
  --text-muted: rgba(245, 240, 232, 0.62);
  --text-dim: rgba(245, 240, 232, 0.38);
  --border: rgba(201, 168, 108, 0.18);
  --glass: rgba(17, 17, 17, 0.72);
  --glass-border: rgba(201, 168, 108, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 4px;
  --radius-lg: 12px;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Josefin Sans', 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  font-size: 16px;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }

::selection {
  background: var(--gold);
  color: var(--bg-deep);
}

/* ─── Preloader ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.preloader__bar {
  width: min(280px, 70vw);
  height: 1px;
  background: rgba(201, 168, 108, 0.15);
  position: relative;
  overflow: hidden;
}

.preloader__progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--wood-warm), var(--gold-bright));
  transition: width 0.3s var(--ease-smooth);
}

.preloader__percent {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

/* ─── Scroll Progress ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--wood-warm), var(--gold-bright));
  z-index: 9998;
  transform-origin: left;
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  overflow: visible;
  transition: transform 0.5s var(--ease-out), background 0.5s, backdrop-filter 0.5s;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header.hidden { transform: translateY(-100%); }

.header__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.header__logo {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header__logo span { color: var(--gold); }

.header__aside {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.nav { display: flex; align-items: center; gap: 2.5rem; }

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.nav__link:hover,
.nav__link.active { color: var(--text); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  position: relative;
  overflow: hidden;
  transition: color 0.4s, border-color 0.4s, transform 0.3s var(--ease-out);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}

.btn:hover { color: var(--bg-deep); border-color: var(--gold-bright); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--solid {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}

.btn--solid::before { background: var(--gold-bright); }
.btn--solid:hover { color: var(--bg-deep); }

.btn--ghost {
  border-color: rgba(245, 240, 232, 0.25);
  color: var(--text);
}

.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost::before { display: none; }

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Nav ─── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
  opacity: 0;
  visibility: hidden;
  overflow-x: hidden;
  overflow-y: auto;
  transition: opacity 0.5s, visibility 0.5s;
}

.mobile-nav.open { opacity: 1; visibility: visible; }

.mobile-nav__link {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-align: center;
  width: 100%;
  max-width: 320px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out), color 0.3s;
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  align-self: center;
}

.mobile-nav.open .mobile-nav__link { opacity: 1; transform: translateY(0); }
.mobile-nav.open .mobile-nav__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open .mobile-nav__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open .mobile-nav__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open .mobile-nav__link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open .mobile-nav__link:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.open .mobile-nav__link:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav.open .mobile-nav__link:nth-child(7) { transition-delay: 0.4s; }

.mobile-nav__link:hover { color: var(--gold); }

/* ─── Hero ─── */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: visible;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.15) 40%, rgba(10,10,10,0.72) 72%, rgba(10,10,10,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.55) 0%, transparent 55%);
  z-index: 1;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(2rem, 5vw, 3.5rem);
  min-width: 0;
  box-sizing: border-box;
  flex: 1;
}

.hero__content {
  width: 100%;
  min-width: 0;
}

.hero__text {
  max-width: 720px;
  min-width: 0;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  max-width: 100%;
  opacity: 0;
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-bright);
}

.hero__desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-muted);
  max-width: 100%;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero__stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

/* ─── RoomSlot search bar at bottom of hero ─── */
.hero__booking {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-width: 0;
  overflow: visible;
  opacity: 0;
  flex-shrink: 0;
}

.hero__booking > div {
  width: 100%;
  min-height: 64px;
}

.hero__booking iframe {
  width: 100% !important;
  max-width: 100%;
  min-height: 64px;
  border: 0;
  display: block;
  background: transparent;
}

html.roomslot-modal-open,
html.roomslot-modal-open body,
html.roomslot-modal-open main {
  overflow: visible;
}

html.roomslot-modal-open:not(.roomslot-modal-from-header) .header {
  z-index: 1;
}

html.roomslot-modal-from-header .header {
  z-index: 10050;
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.roomslot-modal-from-header .hero__booking,
html.roomslot-modal-from-header .hero__inner,
html.roomslot-modal-from-header .hero__content,
html.roomslot-modal-from-header .hero__text {
  z-index: 0 !important;
  pointer-events: none;
}

html.roomslot-modal-open .sticky-booking,
html.roomslot-modal-open .scroll-progress {
  z-index: 1;
  pointer-events: none;
}

/* ─── Sections Common ─── */
.section {
  padding: clamp(5rem, 12vw, 9rem) 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.section--dark { background: var(--bg-dark); }
.section--deep { background: var(--bg-deep); }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  box-sizing: border-box;
}

.section__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section__desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── About ─── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about__image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.about__image-wrap:hover img { transform: scale(1.05); }

.about__image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 50%;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about__feature {
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.about__feature:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.about__feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.about__feature-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.about__feature-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Amenities Tabs ─── */
.amenities__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.amenities__tab {
  padding: 1rem 2rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  transition: color 0.3s;
}

.amenities__tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.amenities__tab.active { color: var(--gold); }
.amenities__tab.active::after { transform: scaleX(1); }

.amenities__panel {
  display: none;
  animation: fadePanel 0.6s var(--ease-out);
}

.amenities__panel.active { display: block; }

@keyframes fadePanel {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.amenities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.amenity-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.amenity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}

.amenity-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.amenity-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background 0.5s;
}

.amenity-card:hover .amenity-card__overlay {
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.95) 100%);
}

.amenity-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease-out);
}

.amenity-card__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s, opacity 0.4s, margin 0.4s;
}

.amenity-card:hover .amenity-card__title { transform: translateY(0); }
.amenity-card:hover .amenity-card__desc {
  max-height: 80px;
  opacity: 1;
  margin-top: 0.5rem;
}

.amenity-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  margin-top: 2rem;
}

.amenity-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.amenity-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─── Gallery ─── */
.gallery__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gallery__filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gallery__filter {
  padding: 0.5rem 1.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s;
}

.gallery__filter.active,
.gallery__filter:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.gallery__count {
  opacity: 0.6;
  margin-left: 0.25rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 0.75rem;
  grid-auto-flow: dense;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.gallery__item.hidden {
  display: none;
}

.gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery__item:hover img { transform: scale(1.06); }

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 168, 108, 0);
  transition: background 0.4s;
}

.gallery__item:hover::after { background: rgba(201, 168, 108, 0.12); }

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.5s var(--ease-out);
}

.lightbox.open .lightbox__img { transform: scale(1); }

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: var(--text);
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: border-color 0.3s, color 0.3s;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox__close { top: 2rem; right: 2rem; font-size: 1.5rem; }
.lightbox__prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 2rem; top: 50%; transform: translateY(-50%); }

.lightbox__counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

/* ─── Rooms ─── */
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.room-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.room-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}

.room-card__img {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.room-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.room-card:hover .room-card__img img { transform: scale(1.06); }

.room-card__body { padding: 1.5rem; }

.room-card__num {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.room-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.room-card__beds {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Services ─── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover { border-color: rgba(201, 168, 108, 0.4); }
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-card__tag {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 108, 0.25);
}

/* ─── Pricing ─── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.price-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
}

.price-card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,168,108,0.08) 0%, transparent 100%);
}

.price-card--featured::before {
  content: 'Популярно';
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  background: var(--gold);
  color: var(--bg-deep);
}

.price-card__season {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.price-card__amount {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold-bright);
  line-height: 1;
}

.price-card__amount small {
  font-size: 1rem;
  color: var(--text-muted);
}

.price-card__period {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin: 0.5rem 0 1.5rem;
}

.price-card__features {
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-card__features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-card__features li::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.7rem;
}

.pricing__note {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing__note strong { color: var(--gold); }

/* ─── Location ─── */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.location__info { display: flex; flex-direction: column; gap: 2rem; }

.location__item {
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
}

.location__item-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.location__item-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.location__distances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.distance-chip {
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.distance-chip__time {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
}

.distance-chip__label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.location__map {
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.8) contrast(1.1) brightness(0.7);
  transition: filter 0.5s;
}

.location__map:hover iframe { filter: grayscale(0.3) contrast(1) brightness(0.85); }

/* ─── Rules Accordion ─── */
.accordion { margin-top: 2rem; }

.accordion__item {
  border-bottom: 1px solid var(--border);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  text-align: left;
  transition: color 0.3s;
}

.accordion__trigger:hover { color: var(--gold); }

.accordion__icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  transition: transform 0.4s var(--ease-out);
}

.accordion__icon::before {
  width: 100%;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
}

.accordion__icon::after {
  width: 1px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.accordion__item.open .accordion__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}

.accordion__inner {
  padding-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.accordion__inner ul { margin-top: 0.5rem; }
.accordion__inner li { padding: 0.25rem 0; padding-left: 1rem; position: relative; }
.accordion__inner li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ─── CTA ─── */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 15vw, 10rem) 0;
  text-align: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.cta__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__brand span { color: var(--gold); }

.footer__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.footer__heading {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__links li { margin-bottom: 0.6rem; }

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__credit {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.65;
}
.footer__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__credit a:hover { opacity: 1; }


/* ─── Sticky Mobile Booking ─── */
.sticky-booking {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.75rem 1rem;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  display: none;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.sticky-booking.visible { transform: translateY(0); }

.sticky-booking__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-booking__price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
}

.sticky-booking__label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ─── Marquee ─── */
.marquee {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-dark);
  contain: layout;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee__track:hover { animation-play-state: paused; }

.marquee__item {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee__item::after {
  content: '◆';
  font-size: 0.5rem;
  color: var(--gold);
  font-style: normal;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Particles Canvas ─── */
.particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .gallery__item--featured { grid-column: span 2; grid-row: span 2; }
  .rooms__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__image-wrap { max-width: 500px; margin: 0 auto; }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .location__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .header__inner {
    gap: 0.75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .header__logo {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header__aside {
    margin-left: 0;
    flex-shrink: 0;
    gap: 0;
  }
  .nav { display: none; }
  .burger { display: flex; }
  .header .btn { display: none; }
  .hero__inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 1.25rem;
    gap: 1.75rem;
  }
  .hero__title {
    font-size: clamp(1.85rem, 8.5vw, 2.6rem);
  }
  .hero__eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    gap: 0.5rem;
  }
  .hero__eyebrow::before {
    width: 20px;
  }
  .hero__stats {
    gap: 1.25rem;
    width: 100%;
  }
  .hero__stat-num {
    font-size: 1.75rem;
  }
  .hero__booking > div,
  .hero__booking iframe {
    min-height: 180px;
  }
  .amenities__grid { grid-template-columns: 1fr; }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }
  .gallery__item--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  .rooms__grid { grid-template-columns: 1fr; }
  .about__features { grid-template-columns: 1fr; }
  .location__distances { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .sticky-booking { display: block; }
  .amenities__tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .amenities__tab { white-space: nowrap; padding: 0.75rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero__stats { gap: 1.5rem; }
  .hero__stat-num { font-size: 1.6rem; }
  .cta__actions { flex-direction: column; align-items: center; }
  .cta__actions .btn { width: 100%; max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
}
