/* ============================================================
   Resort landing — оригинальный шаблон в духе премиального курорта
   Визуальный язык: антиква капсом, светлая монохромная гамма,
   квадратные формы, тонкие линии. Mobile-first.
   ============================================================ */

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f5f3ef;
  --c-dark: #16181d;          /* тёмная панель, футер */
  --c-ink: #1d1f24;           /* основной текст/заголовки */
  --c-muted: #7d818a;
  --c-line: #e3e0da;
  --c-accent: #9d7b4f;        /* сдержанный тёплый акцент */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Onest", "Inter", system-ui, -apple-system, sans-serif;
  --container: 1840px;   /* контейнер почти во всю ширину, прижат к краям */
  --pad: 20px;
  --header-h: 64px;
  font-size: 16px;
}

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

/* Скрываем скроллбары везде, оставляя прокрутку */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { width: 0; height: 0; display: none; }

html { scroll-behavior: smooth; overflow-x: clip; background: var(--c-bg); width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Плейсхолдеры изображений ----------
   Заменяются реальными фото: повесить background-image на .img-ph--* */
.img-ph { background-size: cover; background-position: center; }
.img-ph--hero   { background: linear-gradient(170deg, #21343f 0%, #38596a 50%, #7fa0ad 100%); }
.img-ph--valley { background: linear-gradient(170deg, #6d8ba0 0%, #93a98f 55%, #c7cdb4 100%); }
.img-ph--room1  { background: linear-gradient(150deg, #8a7a66, #cbbca6); }
.img-ph--room2  { background: linear-gradient(150deg, #5d6b78, #a3b2bf); }
.img-ph--room3  { background: linear-gradient(150deg, #7c8a70, #b9c6ab); }
.img-ph--room4  { background: linear-gradient(150deg, #3e5668, #7d9cb0); }
.img-ph--pool   { background: linear-gradient(150deg, #2f6f8f, #7cc0d8); }
.img-ph--spa    { background: linear-gradient(150deg, #8d7f6d, #d3c4ab); }
.img-ph--rest   { background: linear-gradient(150deg, #6b4f43, #b58f77); }
.img-ph--kids   { background: linear-gradient(150deg, #c58f4f, #ecc98f); }
.img-ph--park   { background: linear-gradient(150deg, #4f6b4a, #93b183); }
.img-ph--car    { background: linear-gradient(150deg, #333e4c, #6c7d90); }
.img-ph--offer1 { background: linear-gradient(150deg, #46647d, #90afc4); }
.img-ph--offer2 { background: linear-gradient(150deg, #7e6a52, #c4ac8b); }
.img-ph--offer3 { background: linear-gradient(150deg, #7c5a67, #c09aa8); }
.img-ph--map    { background: linear-gradient(160deg, #5e7d5a 0%, #8fae7f 40%, #6f9dae 100%); }

/* ---------- Типографика ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.kicker--light { color: rgba(255,255,255,.85); }

.section__title,
.hero__title,
.rooms__title,
.about__title,
.transfer__title,
.subscribe__title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.12;
  letter-spacing: .015em;
  color: var(--c-ink);
}

/* ---------- Кнопки ---------- */
.btn-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--c-ink);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .25s;
}
.btn-square:hover { background: #000; }
.btn-square--light { background: #fff; color: var(--c-ink); }
.btn-square--light:hover { background: var(--c-bg-soft); }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .25s;
}
.btn-line i { font-style: normal; transition: transform .25s; }
.btn-line:hover { border-color: var(--c-ink); }
.btn-line:hover i { transform: translate(3px, -3px); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--c-dark);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  display: none;                 /* на мобильном скрыт */
}
.topbar__inner {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__nav, .topbar__user { display: flex; gap: 22px; }
.topbar__nav { margin-left: auto; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background .3s, color .3s, border-color .3s;
}
.header.is-scrolled,
.header.header--solid {
  background: #fff;
  color: var(--c-ink);
  border-bottom-color: var(--c-line);
}
.header.header--solid .header__logo-mark { filter: none; }
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__logo-mark { flex: 0 0 auto; height: 44px; width: auto; display: block; filter: brightness(0) invert(1); transition: filter .3s; }
.header.is-scrolled .header__logo-mark { filter: none; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phones { display: none; position: relative; }
.header__phone {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.1;
  position: relative;
}
.header__phone-cap {
  font-family: var(--font-display, inherit);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
}
.header__phone-num {
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header__phones > .header__phone .header__phone-num::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: .6;
  transition: transform .25s ease, opacity .2s ease;
}
.header__phones:hover > .header__phone .header__phone-num::after,
.header__phones:focus-within > .header__phone .header__phone-num::after {
  transform: rotate(225deg) translate(-2px, -2px);
  opacity: 1;
}
.header__phones-drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: max-content;
  padding: 12px 16px;
  background: #fff;
  color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(15,20,26,.18), 0 2px 8px rgba(15,20,26,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 10;
}
.header__phones-drop::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -10px; height: 10px;
}
.header__phones-drop::after {
  content: '';
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px; height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 6px rgba(15,20,26,.06);
  border-radius: 2px;
}
.header__phones:hover .header__phones-drop,
.header__phones:focus-within .header__phones-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header__phones-drop .header__phone {
  display: flex;
  color: #1a1a1a;
  align-items: flex-end;
  position: relative;
  z-index: 1;
  transition: opacity .2s;
}
.header__phones-drop .header__phone:hover { opacity: .65; }
.header__phones-drop .header__phone-cap { color: #8a8a8a; opacity: 1; }
.header__phones-drop .header__phone-num::after { display: none; }
.header__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: inherit;
}
.header__phone-icon:hover { opacity: .7; }
.header__book {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
}
.header__book:hover { opacity: .7; }

/* burger */
.burger {
  width: 40px; height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  height: 1.5px; width: 22px;
  background: currentColor;
}

/* mobile nav drawer */
.header__nav {
  position: fixed;
  inset: 0;
  background: var(--c-dark);
  color: #fff;
  padding: 84px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(-100%);
  transition: transform .35s ease;
  z-index: 110;
}
.header__nav.is-open { transform: translateX(0); }
.nav__close {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 1.2rem;
  width: 40px; height: 40px;
}
.nav__list { display: flex; flex-direction: column; gap: 22px; }
.nav__link {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nav__link:hover { color: var(--c-accent); }
.nav__contacts { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.nav__phone { font-size: 1.05rem; font-weight: 700; }
.nav__mail { color: rgba(255,255,255,.65); }
.nav__addr { color: rgba(255,255,255,.55); font-size: .82rem; line-height: 1.5; margin-top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 140px;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 30%, rgba(0,0,0,.4) 65%, rgba(0,0,0,.15) 100%);
}
/* одна вертикальная линия по центру hero */
.hero__grid {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,.16);
  pointer-events: none;
  z-index: 1;
}

.hero__content { position: relative; color: #fff; z-index: 2; }
.hero__title {
  color: #fff;
  font-size: 2.4rem;
  line-height: 1.08;
  margin-bottom: 32px;
  max-width: 18ch;
}
.hero__cta {
  display: inline-flex;
  padding: 16px 34px;
  background: #fff;
  color: var(--c-ink);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .25s;
}
.hero__cta:hover { background: var(--c-bg-soft); }

/* сторис-кружки: подпись внутри круга поверх фото */
.hero__stories {
  position: absolute;
  left: 0; right: 0;
  bottom: 120px;
  display: flex;
  gap: 12px;
  z-index: 3;
}
.story {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  transition: transform .25s;
}
.story:hover { transform: scale(1.06); }
.story__img { position: absolute; inset: 0; border-radius: 50%; }
.story__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12,16,20,.45);
}
.story__label {
  position: relative;
  z-index: 1;
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.25;
  max-width: 58px;
  hyphens: manual;
  overflow-wrap: break-word;
}

/* строка бронирования: fixed к низу экрана, пока hero в кадре;
   когда низ hero доходит до низа экрана — пристыковывается к hero (JS: .is-docked) */
.hero__booking {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: flex;
  align-items: stretch;
  background: rgba(15,18,23,.82);
  backdrop-filter: blur(8px);
  color: #fff;
}
.hero__booking-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
}
.hero__booking-field span {
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: none;
  color: rgba(255,255,255,.62);
  order: 2;
}
.hero__booking-field input,
.hero__booking-field .hero__booking-value { order: 1; }
.hero__booking-field input,
.hero__booking-field .hero__booking-value {
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'Onest', 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .02em;
  width: 100%;
  text-transform: none;
}
.hero__booking-field input:focus { outline: none; }
.hero__booking-field input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }
.hero__booking { cursor: pointer; }
@media (max-width: 480px) {
  .hero__booking-field { padding: 10px 12px; }
  .hero__booking-field input,
  .hero__booking-field .hero__booking-value { font-size: .9rem; }
  .hero__booking-field span { font-size: .62rem; }
  .hero__booking-submit { padding: 0 14px; }
  .hero__booking-submit svg { width: 16px; height: 16px; }
}
.hero__booking-sep {
  width: 1px;
  background: rgba(255,255,255,.18);
  margin: 10px 0;
}
.hero__booking-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  flex-shrink: 0;
  white-space: nowrap;
  background: rgba(255,255,255,.08);
  border-left: 1px solid rgba(255,255,255,.18);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .25s;
}
.hero__booking-submit:hover { background: rgba(255,255,255,.16); }
.hero__booking-submit span { white-space: nowrap; }
.hero__booking-submit span { display: none; }
.hero__booking.is-docked { position: absolute; }

/* ---------- О курорте / цифры ---------- */
.about {
  position: relative;
  padding: 72px 0;
}
.about__bg {
  position: absolute;
  inset: 0;
  background: url('../images/about/about.png') center / cover no-repeat;
}
.about { min-height: 480px; }
.about .container { position: relative; min-height: 480px; }
.about__toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(20,24,30,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  animation: aboutPulse 2.2s ease-in-out infinite;
  z-index: 2;
  transition: opacity .3s, transform .3s;
}
.about__toggle svg { width: 40px; height: 40px; }
.about__toggle:hover { animation-play-state: paused; transform: translate(-50%, -50%) scale(1.06); }
.about__toggle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.65);
  animation: aboutRing 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes aboutPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 0 0 rgba(255,255,255,.35); }
  50%      { box-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 0 14px rgba(255,255,255,0); }
}
@keyframes aboutRing {
  0%   { transform: scale(1);    opacity: .8; }
  100% { transform: scale(1.5);  opacity: 0;  }
}
.about.is-open .about__toggle { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.7); }

.about__panel {
  position: relative;
  background: rgba(20,24,30,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 36px 26px;
  max-width: 640px;
  margin-left: auto;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.about.is-open .about__panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.about__close {
  position: absolute;
  top: 12px; right: 14px;
  width: 32px; height: 32px;
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.about__close:hover { color: #fff; }
.about__title {
  color: #fff;
  font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  margin-bottom: 14px;
}
.about__text { color: rgba(255,255,255,.85); font-size: .95rem; margin-bottom: 32px; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 16px;
}
.about__num {
  display: block;
  font-family: var(--font-body);
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.35);
  margin-bottom: 8px;
}
.about__label--big {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.1;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.35);
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}
.about__label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

/* ---------- Sections generic ---------- */
.section { padding: 72px 0; }
.section__head { margin-bottom: 36px; }
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.section__title { font-size: clamp(1.6rem, 5.5vw, 2.7rem); }

/* ---------- Размещение (сплит) ---------- */
.rooms { background: var(--c-bg); }
.rooms__grid { display: grid; }
.rooms__info { padding: 72px var(--pad) 48px; }
.rooms__title {
  font-size: clamp(1.8rem, 6.5vw, 3.2rem);
  margin-bottom: 36px;
}
.rooms__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--c-line);
  padding: 20px 0;
  transition: padding-left .25s;
}
.rooms__item:last-child { border-bottom: 1px solid var(--c-line); }
.rooms__item a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.rooms__more {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
}
.rooms__more i { font-style: normal; }
.rooms__item.is-active .rooms__more { display: inline-flex; }
.rooms__item.is-active { padding-left: 10px; }
.rooms__item.is-active a { color: var(--c-accent); }
.rooms__item:hover a { color: var(--c-accent); }
.rooms__media { min-height: 320px; }
.rooms__img { width: 100%; height: 100%; min-height: 320px; background-size: cover; background-position: center; transition: background-image .35s; }
.rooms__cta { display: inline-flex; margin-top: 32px; align-self: flex-start; }

/* На мобилке фото прячем — hover-эффект не работает на тач-устройствах */
@media (max-width: 1023px) {
  .rooms__media { display: none; }
}

/* ---------- Events ---------- */
.events { background: var(--c-bg-soft); }
.events__list { display: grid; gap: 32px; }
.event-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
}
.event-card__badge {
  position: absolute;
  top: 0; left: 0;
  background: #fff;
  color: var(--c-ink);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.event-card__badge b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
}
.event-card__badge small {
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.event-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.event-card__meta { border-top: 1px solid var(--c-line); }
.event-card__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: .85rem;
}
.event-card__row span:first-child { color: var(--c-muted); }

/* ---------- Transfer ---------- */
.transfer { background: var(--c-dark); color: #fff; }
.transfer__grid { display: grid; }
.transfer__media { min-height: 260px; background-size: cover; background-position: center; }
.transfer__body { padding: 56px var(--pad); }
.transfer__title { color: #fff; font-size: clamp(1.6rem, 5.5vw, 2.4rem); margin-bottom: 16px; }
.transfer__text { color: rgba(255,255,255,.72); margin-bottom: 30px; max-width: 48ch; }
.transfer .btn-square { background: #fff; color: var(--c-ink); }
.transfer .btn-square:hover { background: var(--c-bg-soft); }

/* ---------- Offers ---------- */
.offers { background: var(--c-bg-soft); }
.offers__grid { display: grid; gap: 36px; }
.offer-card { display: flex; flex-direction: column; gap: 10px; }
.offer-card__img { aspect-ratio: 16 / 10; position: relative; margin-bottom: 8px; background-size: cover; background-position: center; }
.offer-card__badge {
  position: absolute;
  top: 0; left: 0;
  background: var(--c-dark);
  color: #fff;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 14px;
}
.offer-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.offer-card__text { font-size: .9rem; color: var(--c-muted); }
.offer-card .btn-line { margin-top: 6px; align-self: flex-start; }

/* ---------- Панорама курорта ---------- */
.map { display: block; width: 100%; }
.map__wrap { position: relative; width: 100%; height: 680px; background: #000; }
.map__pano {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.map__cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  transition: background .25s;
  z-index: 2;
}
.map__cover:hover { background: rgba(0,0,0,.15); }
.map__cover-hint {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(15,15,20,.65);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .85rem;
  letter-spacing: .04em;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.map__wrap.is-active .map__cover { display: none; }
@media (max-width: 640px) {
  .map__wrap { height: 420px; }
}

/* ---------- Reviews ---------- */
.reviews__slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
}
.reviews__slider::-webkit-scrollbar { display: none; }
.reviews__track { display: flex; gap: 2px; }
.review-card {
  flex: 0 0 72%;
  scroll-snap-align: center;
  background: var(--c-bg-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 32px 32px;
  position: relative;
  min-height: 320px;
}
.review-card__mark {
  font-family: var(--font-display);
  font-size: 5.4rem;
  line-height: .6;
  color: var(--c-accent, #b7a684);
  opacity: .55;
  margin-bottom: -8px;
}
.review-card__text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--c-ink);
  flex: 1;
}
.review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.review-card__name {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.review-card__date {
  font-size: .72rem;
  color: var(--c-muted);
  letter-spacing: .04em;
}

/* dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.slider-dots button {
  width: 22px; height: 2px;
  background: var(--c-line);
  transition: background .25s;
}
.slider-dots button.is-active { background: var(--c-ink); }

/* ---------- Subscribe ---------- */
.subscribe { padding: 64px 0; background: var(--c-dark); color: #fff; }
.subscribe__inner { display: grid; gap: 24px; }
.subscribe__title { color: #fff; font-size: clamp(1.5rem, 5vw, 2.2rem); margin-bottom: 8px; }
.subscribe__text { color: rgba(255,255,255,.7); font-size: .92rem; }
.subscribe__form { display: grid; gap: 10px; }
.subscribe__input {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 15px 18px;
  font: inherit;
  width: 100%;
}
.subscribe__input::placeholder { color: rgba(255,255,255,.45); }
.subscribe__input:focus { outline: none; border-color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.7);
  padding: 56px 0 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer__grid { display: grid; gap: 36px; }
.footer__logo {
  display: inline-block;
  color: #fff;
  margin-bottom: 14px;
}
.footer__logo-mark { height: 52px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer__addr { font-size: .88rem; }
.footer__head {
  color: #fff;
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 16px;
}
.footer__list { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.footer__list a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
}
.footer__social a:hover { border-color: #fff; color: #fff; }
.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   Tablet ≥ 640px
   ============================================================ */
@media (min-width: 640px) {
  .about__stats { grid-template-columns: repeat(4, 1fr); }
  .offers__grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex-basis: 42%; }
  .subscribe__form { grid-template-columns: 1fr auto; }
  .events__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .hero__booking-submit span { display: inline; }
}

/* ============================================================
   Desktop ≥ 1024px
   ============================================================ */
@media (min-width: 1024px) {
  :root { --header-h: 84px; --pad: 56px; }

  .topbar { display: block; }
  .topbar + .header { top: 40px; }
  .topbar + .header.is-scrolled,
  .topbar + .header.header--solid { top: 0; }

  .burger, .nav__close, .nav__contacts { display: none; }
  .header__nav {
    position: static;
    transform: none;
    background: transparent;
    padding: 0;
    flex-direction: row;
    color: inherit;
  }
  .nav__list { flex-direction: row; gap: 32px; }
  .nav__link {
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
  }
  .nav__link:hover { opacity: .65; color: inherit; }
  .header__phones { display: block; }
  .header__phone, .header__book { display: inline-flex; }
  .header__phones > .header__phone { display: flex; }
  .header__phone-icon { display: none; }

  .hero { padding-top: 180px; }
  .hero__title { font-size: 3.2rem; margin-bottom: 40px; }
  .hero__cta { padding: 18px 40px; font-size: .78rem; }
  .hero__stories { bottom: 60px; }
  .hero__booking {
    left: auto;
    right: 0;
    width: min(560px, 46vw);
  }
  .hero__booking-field { padding: 16px 22px; }
  .hero__booking-submit { padding: 0 30px; }

  .about { padding: 120px 0; }
  .about__panel { padding: 56px; }

  .section { padding: 110px 0; }
  .section__head { margin-bottom: 56px; }

  .rooms__grid { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .rooms__info {
    padding: 96px 56px 96px max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad)));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .rooms__item a { font-size: 1.6rem; }
  .rooms__media { min-height: 100%; }

  /* зеркальный сплит: фото слева, список справа */
  .rooms--mirror .rooms__info {
    padding: 96px max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad))) 96px 56px;
  }

  .transfer__grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .transfer__media { min-height: 480px; height: 100%; }
  .transfer__body { padding: 96px 56px; }

  .offers__grid { grid-template-columns: repeat(4, 1fr); }

  .review-card { flex-basis: calc((100% - 4px) / 3); }

  .subscribe__inner { grid-template-columns: 1fr auto; align-items: center; }
  .subscribe__form { min-width: 440px; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

}

/* Компактный hero для невысоких экранов: подтягиваем только сторис и их отступы,
   размер заголовка и кнопки остаются фиксированными */
@media (max-height: 820px) {
  .hero__stories { margin-top: 28px; gap: 10px; }
  .story { width: 64px; height: 64px; }
  .story__label { font-size: .5rem; max-width: 52px; }
}
@media (max-height: 720px) {
  .hero__stories { margin-top: 20px; }
  .story { width: 58px; height: 58px; }
  .story__label { font-size: .46rem; max-width: 48px; letter-spacing: .08em; }
}

/* ============================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (шаблон)
   ============================================================ */

/* Page hero — компактный, только фото + заголовок */
.page-hero {
  position: relative;
  min-height: 420px;
  padding-top: 200px;
  padding-bottom: 80px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.55) 100%);
  z-index: 0;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__crumbs {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 22px;
}
.page-hero__crumbs a { color: rgba(255,255,255,.7); }
.page-hero__crumbs a:hover { color: #fff; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1.05;
  color: #fff;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Баннер-сервис (тёмный центрированный блок) */
.callout {
  background: #f4f1ec;
  color: #1a1a1a;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.callout__inner {
  max-width: 760px;
  text-align: center;
  padding: 0 24px;
  margin: 0 auto;
  position: relative;
}
.callout__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 22px;
  color: rgba(26,26,26,.35);
}
.callout__ornament::before,
.callout__ornament::after {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
}
.callout__ornament span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: rgba(26,26,26,.55);
}
.callout__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.1;
  letter-spacing: .01em;
  margin: 0 0 18px;
}
.callout__text {
  font-size: .98rem;
  line-height: 1.7;
  color: rgba(26,26,26,.7);
  margin: 0 auto 10px;
  max-width: 600px;
}
.callout__actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (min-width: 900px) {
  .callout { padding: 72px 0; }
  .callout__title { font-size: 2.8rem; }
}

/* Медиа-слайдер (в split__media) */
.media-slider { position: relative; overflow: hidden; border-radius: 4px; }
.split__media.media-slider { min-height: 420px; }
.media-slider__track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform .55s cubic-bezier(.6,.05,.28,1);
}
.media-slider__slide {
  flex: 0 0 100%;
  background-size: cover;
  background-position: center;
}
.media-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px;
  background: rgba(15,20,26,.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  z-index: 2;
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  cursor: pointer;
}
.media-slider__nav::before {
  content: "";
  width: 10px; height: 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transition: transform .25s ease;
}
.media-slider__nav--prev::before { transform: rotate(-135deg); margin-left: 3px; }
.media-slider__nav--next::before { transform: rotate(45deg); margin-right: 3px; }
.media-slider__nav:hover {
  background: #0f141a;
  border-color: rgba(255,255,255,.28);
  transform: translateY(-50%) scale(1.05);
}
.media-slider__nav--prev:hover::before { transform: rotate(-135deg) translate(-2px, -2px); }
.media-slider__nav--next:hover::before { transform: rotate(45deg) translate(2px, -2px); }
.media-slider__nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.media-slider__nav--prev { left: 16px; }
.media-slider__nav--next { right: 16px; }
.media-slider__nav[hidden] { display: none; }

/* Меню PDF */
.menu-pdf { background: var(--c-bg); }
.menu-pdf__inner {
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .menu-pdf__inner { grid-template-columns: 1.1fr .9fr; gap: 80px; }
}
.menu-pdf__text {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(15,20,26,.75);
  margin: 18px 0 28px;
  max-width: 520px;
}
.menu-pdf__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.menu-pdf__meta {
  margin-top: 18px;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15,20,26,.45);
}
.menu-pdf__card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 24px 50px rgba(15,20,26,.15), 0 3px 10px rgba(15,20,26,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.menu-pdf__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px rgba(15,20,26,.2), 0 5px 14px rgba(15,20,26,.08);
}

/* Заглушка «здесь будет фото» */
.is-ph { position: relative; overflow: hidden; }
.is-ph::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 12px, rgba(255,255,255,0) 12px 24px);
  pointer-events: none;
}
.is-ph::after {
  content: 'ФОТО';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body, sans-serif);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: rgba(255,255,255,.85);
  pointer-events: none;
}

/* Split — картинка + текст */
.split { padding: 80px 0; background: var(--c-bg); }
.split + .split { padding-top: 0; }
.split__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.split__media {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}
/* На мобильной ширине всегда: текст сверху, картинка снизу — независимо от split--mirror */
.split--mirror .split__body { order: 1; }
.split--mirror .split__media { order: 2; }
.split__title {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
.split__text {
  color: var(--c-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.split__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.split__list li {
  position: relative;
  padding-left: 22px;
  color: var(--c-ink);
  font-size: .95rem;
}
.split__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 1px;
  background: var(--c-ink);
}
.split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Тёмная CTA-полоса */
.cta-band {
  background: var(--c-dark, #0f141a);
  color: #fff;
  padding: 72px 0;
}
.cta-band__inner {
  display: grid;
  gap: 32px;
}
.cta-band__title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1.15;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Outline-варианты кнопок */
.btn-square--outline {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
}
.btn-square--outline:hover { background: var(--c-ink); color: #fff; }
.btn-square--light-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
}
.btn-square--light-outline:hover { background: #fff; color: var(--c-ink); border-color: #fff; }

/* ===== Side panel (form) ===== */
.side-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.side-panel.is-open { visibility: visible; pointer-events: auto; }
.side-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,20,26,.55);
  opacity: 0;
  transition: opacity .35s ease;
}
.side-panel.is-open .side-panel__backdrop { opacity: 1; }
.side-panel__body {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: 100%;
  max-width: 520px;
  background: #fff;
  color: var(--c-ink);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,.0,.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,.18);
}
.side-panel.is-open .side-panel__body { transform: translateX(0); }
.side-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--c-line);
}
.side-panel__kicker {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15,20,26,.55);
}
.side-panel__close {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  background: transparent;
  color: var(--c-ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.side-panel__close:hover { background: var(--c-ink); color: #fff; }
.side-panel__content { padding: 32px; }
.side-panel__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.05;
  margin: 0 0 12px;
}
.side-panel__text {
  color: rgba(15,20,26,.7);
  margin: 0 0 28px;
  font-size: .95rem;
}
.side-panel__form { display: flex; flex-direction: column; gap: 16px; }
.side-panel__field { display: flex; flex-direction: column; gap: 6px; }
.side-panel__field > span {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(15,20,26,.55);
}
.side-panel__field input,
.side-panel__field textarea,
.side-panel__field select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--c-ink);
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  background: #fafaf7;
  outline: none;
  transition: border-color .2s, background .2s;
  border-radius: 0;
  width: 100%;
}
.side-panel__field textarea { resize: vertical; min-height: 96px; }
.side-panel__field input:focus,
.side-panel__field textarea:focus,
.side-panel__field select:focus {
  border-color: var(--c-ink);
  background: #fff;
}
.side-panel__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.side-panel__submit {
  margin-top: 8px;
  padding: 18px 28px;
  background: var(--c-ink);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.side-panel__submit:hover { background: #000; }
.side-panel__note {
  font-size: .75rem;
  color: rgba(15,20,26,.55);
  margin: 6px 0 0;
}
.side-panel__note a { text-decoration: underline; }
@media (max-width: 640px) {
  .side-panel__body { max-width: 100%; }
  .side-panel__head { padding: 18px 20px; }
  .side-panel__content { padding: 24px 20px 40px; }
  .side-panel__title { font-size: 1.7rem; }
  .side-panel__row { grid-template-columns: 1fr; }
}
body.panel-open { overflow: hidden; }

/* ===== Modal variant (centered) — used for map ===== */
.side-panel--modal .side-panel__body {
  position: absolute;
  top: 50%; left: 50%; right: auto; bottom: auto;
  transform: translate(-50%, -50%) scale(.96);
  opacity: 0;
  width: min(1040px, calc(100vw - 48px));
  max-width: none;
  height: auto;
  max-height: calc(100vh - 48px);
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s;
}
.side-panel--modal.is-open .side-panel__body {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.map-modal { padding: 0; overflow: hidden; }
.map-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  background: #fff;
}
.map-modal__map {
  width: 100%;
  height: 460px;
  background: #eee;
}
.map-modal__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-modal__info {
  padding: 28px 32px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.map-modal__title { margin: 4px 0 8px; font-size: 1.8rem; }
.map-modal__address {
  color: rgba(15,20,26,.7);
  margin: 0 0 12px;
  font-size: .95rem;
}
.map-modal__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.map-modal__phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.map-modal__phone span {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(15,20,26,.55);
}
.map-modal__phone b {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-ink);
}
.map-modal__phone:hover b { color: #000; text-decoration: underline; }

@media (min-width: 900px) {
  .map-modal {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    max-height: min(640px, calc(100vh - 48px));
  }
  .map-modal__map { height: 100%; min-height: 480px; }
  .map-modal__info {
    border-top: none;
    border-left: 1px solid var(--c-line);
    padding: 40px 40px;
    justify-content: center;
  }
  .map-modal__title { font-size: 2.2rem; }
}
@media (max-width: 640px) {
  .side-panel--modal .side-panel__body {
    width: 100vw;
    max-height: 100vh;
    height: 100%;
    top: 0; left: 0;
    transform: translate(0, 0) scale(1);
    border-radius: 0;
  }
  .side-panel--modal.is-open .side-panel__body { transform: translate(0, 0); }
  .map-modal__map { height: 55vh; }
}

/* ===== Detail modal (rooms / infrastructure) ===== */
.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  visibility: hidden;
  pointer-events: none;
}
.detail-modal.is-open { visibility: visible; pointer-events: auto; }
.detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,20,26,.6);
  opacity: 0;
  transition: opacity .3s ease;
}
.detail-modal.is-open .detail-modal__backdrop { opacity: 1; }
.detail-modal__body {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  opacity: 0;
  width: 80vw;
  max-width: 1280px;
  height: 80vh;
  max-height: 80vh;
  background: #fff;
  color: var(--c-ink);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s;
}
.detail-modal.is-open .detail-modal__body {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.detail-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 4;
  width: 44px; height: 44px;
  background: #fff;
  border: 1px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.detail-modal__close:hover { background: var(--c-ink); color: #fff; }

.detail-modal__slider {
  position: relative;
  background: #eee;
  overflow: hidden;
}
.detail-slider__track {
  position: absolute; inset: 0;
}
.detail-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.detail-slide[data-active] {
  opacity: 1;
  pointer-events: auto;
}
.detail-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  border: none;
  background: rgba(255,255,255,.85);
  color: var(--c-ink);
  font-size: 1.6rem;
  cursor: pointer;
  transition: background .2s;
}
.detail-slider__nav:hover { background: #fff; }
.detail-slider__nav--prev { left: 16px; }
.detail-slider__nav--next { right: 16px; }
.detail-slider__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.detail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.55);
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.detail-dot.is-active { background: #fff; transform: scale(1.3); }

.detail-modal__info {
  padding: 32px 40px;
  overflow-y: auto;
  border-top: 1px solid var(--c-line);
}
.detail-modal__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.05;
  margin: 8px 0 4px;
  color: var(--c-ink);
}
.detail-modal__subtitle {
  color: rgba(15,20,26,.6);
  margin: 0 0 16px;
  font-size: .95rem;
}
.detail-modal__text {
  margin: 0 0 20px;
  color: rgba(15,20,26,.8);
  line-height: 1.55;
}
.detail-modal__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.detail-modal__features li {
  position: relative;
  padding-left: 18px;
  font-size: .92rem;
  color: rgba(15,20,26,.75);
}
.detail-modal__features li::before {
  content: '';
  position: absolute;
  left: 0; top: .5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-ink);
}
.detail-modal__book { align-self: flex-start; }

@media (min-width: 900px) {
  .detail-modal__body {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr;
  }
  .detail-modal__slider { border-right: 1px solid var(--c-line); }
  .detail-modal__info {
    border-top: none;
    padding: 48px 48px;
  }
  .detail-modal__title { font-size: 2.6rem; }
}

@media (max-width: 640px) {
  .detail-modal__body {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    top: 0; left: 0;
    transform: translate(0,0) scale(1);
    grid-template-rows: 45vh 1fr;
  }
  .detail-modal.is-open .detail-modal__body { transform: translate(0,0); }
  .detail-modal__info { padding: 24px 20px 32px; }
  .detail-modal__title { font-size: 1.7rem; }
  .detail-modal__features { grid-template-columns: 1fr; }
  .detail-slider__nav { width: 40px; height: 40px; }
}

/* ===== Каталоги (rooms / infrastructure) ===== */
.catalog-intro { padding: 15vh 0 40px; background: #fff; }
.catalog-intro__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0 40px;
}
.catalog-intro__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.05;
  color: var(--c-ink);
  margin: 12px 0 0;
}
.catalog-intro__lead {
  color: rgba(15,20,26,.7);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 520px;
  margin: 0;
}
.catalog-intro__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
}
.chip {
  padding: 10px 16px;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-ink);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--c-ink); }
.chip.is-active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-top: 8px;
}
.stats-strip__item {
  padding: 24px 20px;
  border-right: 1px solid var(--c-line);
}
.stats-strip__item:nth-child(2n) { border-right: none; }
.stats-strip__item b {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2.2rem;
  color: var(--c-ink);
  display: block;
  line-height: 1;
}
.stats-strip__item span {
  display: block;
  margin-top: 6px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(15,20,26,.55);
}

.catalog { padding: 40px 0 100px; background: #fff; }

/* ---- Rooms grid ---- */
.catalog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.room-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  background: #fff;
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
}
.room-card__media {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #eee;
}
.room-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  background: rgba(255,255,255,.92);
  color: var(--c-ink);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.room-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.room-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.05;
  color: var(--c-ink);
  margin: 0;
}
.room-card__params {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.room-card__params li {
  padding: 4px 10px;
  background: #fafaf7;
  border: 1px solid var(--c-line);
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(15,20,26,.75);
}
.room-card__desc {
  color: rgba(15,20,26,.7);
  font-size: .92rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.room-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--c-line);
  padding-top: 16px;
}
.room-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--c-ink);
}
.room-card__btn { padding: 12px 20px; font-size: .7rem; }

.room-card--dark { background: var(--c-ink); color: #fff; }
.room-card--dark .room-card__title { color: #fff; }
.room-card--dark .room-card__desc { color: rgba(255,255,255,.75); }
.room-card--dark .room-card__params li {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.8);
}
.room-card--dark .room-card__foot { border-top-color: rgba(255,255,255,.16); }
.room-card--dark .room-card__price { color: #fff; }

/* ---- Infrastructure masonry ---- */
.infra-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 60px;
}
.infra-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--c-line);
  background: #eee;
}
.infra-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.infra-card:hover .infra-card__media { transform: scale(1.05); }
.infra-card__overlay {
  position: absolute;
  inset: 0;
  padding: 28px;
  color: #fff;
  background: linear-gradient(180deg, rgba(15,20,26,0) 30%, rgba(15,20,26,.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.infra-card__num {
  position: absolute;
  top: 20px; left: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  opacity: .8;
}
.infra-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1.05;
  margin: 0;
}
.infra-card__meta {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin: 0;
}
.infra-card__desc {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  line-height: 1.45;
  margin: 6px 0 0;
  max-width: 480px;
}
.infra-card__more {
  display: none;
  margin-top: 8px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 4px;
  align-self: flex-start;
}
.infra-card:hover .infra-card__more { border-bottom-color: #fff; }
.offer-card .btn-line { display: none; }

.infra-extras { margin-top: 20px; }
.infra-extras__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.infra-extras__list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
}
.infra-extras__list svg { color: var(--c-ink); }
.infra-extras__list b {
  grid-column: 2;
  font-weight: 600;
  color: var(--c-ink);
  display: block;
}
.infra-extras__list span {
  grid-column: 2;
  color: rgba(15,20,26,.6);
  font-size: .9rem;
  margin-top: 2px;
}

@media (min-width: 700px) {
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .infra-card--wide, .infra-card--tall { grid-column: auto; grid-row: auto; }
  .infra-card--wide { grid-column: span 2; min-height: 380px; }
  .infra-extras__list { grid-template-columns: repeat(2, 1fr); }
  .infra-extras__list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--c-line); }
  .infra-extras__list li:nth-child(odd) { border-right: 1px solid var(--c-line); padding-right: 24px; }
  .infra-extras__list li:nth-child(even) { padding-left: 24px; }
  .stats-strip { grid-template-columns: repeat(4, 1fr); }
  .stats-strip__item { border-right: 1px solid var(--c-line); }
  .stats-strip__item:last-child { border-right: none; }
}

@media (min-width: 1024px) {
  .catalog-intro__head { grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
  .catalog-intro__title { font-size: 4rem; }
  .catalog__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .room-card { grid-template-rows: 240px 1fr; }
  .stats-strip__item b { font-size: 3rem; }

  .infra-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .infra-card { min-height: 380px; }
}

/* ===== Prices page ===== */
.prices { padding: 80px 0 120px; background: #fff; }
.prices .container > .booking-widget__text { max-width: 720px; margin-bottom: 40px; }

.prices__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.prices__season {
  padding: 12px 18px;
  border: 1px solid var(--c-line);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink);
  background: #fafaf7;
  position: relative;
  padding-left: 34px;
}
.prices__season::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
}
.prices__season em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: none;
  color: rgba(15,20,26,.55);
  margin-top: 2px;
}
.prices__season--low { color: #7a8ca3; }
.prices__season--mid { color: #c8a24b; }
.prices__season--high { color: #b8593a; }

.prices__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  margin-bottom: 60px;
}
.prices__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: .95rem;
}
.prices__table thead th {
  padding: 18px 20px;
  text-align: left;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(15,20,26,.55);
  background: #fafaf7;
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}
.prices__table thead th:nth-child(n+2) { text-align: center; }
.prices__table tbody td {
  padding: 22px 20px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: middle;
}
.prices__table tbody tr:last-child td { border-bottom: none; }
.prices__table tbody tr:hover { background: #fafaf7; }
.prices__table tbody td:nth-child(n+2) { text-align: center; font-weight: 500; }
.prices__table tbody td:nth-child(3) { color: #7a8ca3; }
.prices__table tbody td:nth-child(4) { color: #a3822d; }
.prices__table tbody td:nth-child(5) { color: #b8593a; font-weight: 600; }
.prices__room {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.1;
}
.prices__desc {
  display: block;
  font-size: .82rem;
  color: rgba(15,20,26,.55);
  margin-top: 4px;
}

.prices__extras { margin-bottom: 60px; }
.prices__extras-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--c-ink);
  margin: 0 0 24px;
}
.prices__extras-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--c-line);
}
.prices__extras-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: .95rem;
}
.prices__extras-list li span { color: rgba(15,20,26,.75); }
.prices__extras-list li b { font-weight: 600; color: var(--c-ink); white-space: nowrap; }

.prices__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 1024px) {
  .prices { padding: 120px 0 160px; }
  .prices__extras-title { font-size: 2.4rem; }
}

/* ===== Booking widget page ===== */
.booking-widget { padding: 80px 0 120px; background: #fff; }
.booking-widget--top { padding-top: 15vh; }
.booking-widget__crumbs {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15,20,26,.55);
  margin: 0 0 24px;
}
.booking-widget__crumbs a { color: rgba(15,20,26,.55); }
.booking-widget__crumbs a:hover { color: var(--c-ink); }
.booking-widget__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 3rem;
  line-height: 1.05;
  color: var(--c-ink);
  margin: 0 0 24px;
}
.booking-widget__text {
  max-width: 640px;
  color: rgba(15,20,26,.7);
  margin: 0 0 40px;
}
.booking-widget__slot {
  min-height: 520px;
  border: 1px dashed rgba(15,20,26,.18);
  border-radius: 4px;
  background: #fafaf7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-widget__placeholder {
  color: rgba(15,20,26,.45);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Слот со встроенным iframe (виджет бронирования) */
.booking-widget__slot--frame {
  position: relative;
  z-index: 1;
  isolation: isolate;
  border: 0;
  background: transparent;
  border-radius: 8px;
  overflow: visible;
  padding: 0;
  min-height: 0;
  height: 1000px;
  display: block;
}
.booking-widget__slot--frame iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 1000px;
  border: 0;
  pointer-events: auto;
  touch-action: auto;
}

@media (max-width: 767px) {
  .booking-widget--top { padding: 88px 0 24px; }
  .booking-widget__crumbs { margin-bottom: 12px; font-size: .7rem; }
  .booking-widget__title { font-size: 1.9rem; margin-bottom: 8px; }
  .booking-widget__text { margin-bottom: 16px; font-size: .92rem; }
  .booking-widget__slot--frame { border-radius: 4px; }
  .booking-widget .container { padding-left: 12px; padding-right: 12px; }
}

/* Десктоп: сплит в 2 колонки, CTA-полоса — в одну строку */
@media (min-width: 1024px) {
  .page-hero { min-height: 520px; padding-top: 260px; padding-bottom: 100px; }
  .page-hero__title { font-size: 4.6rem; }
  .booking-widget { padding: 120px 0 160px; }
  .booking-widget--top { padding-top: 15vh; }
  .booking-widget__title { font-size: 4.6rem; }
  .booking-widget__slot { min-height: 640px; }

  .split { padding: 120px 0; }
  .split__grid { grid-template-columns: 1fr 1fr; gap: 80px; min-height: 520px; }
  .split--mirror .split__body { order: 2; }
  .split--mirror .split__media { order: 1; }
  .split__title { font-size: 3rem; }
  .split__media { min-height: 520px; }

  .cta-band { padding: 96px 0; }
  .cta-band__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
  }
  .cta-band__title { font-size: 2.8rem; }
}
