/* ===========================================================================
   Index Hotel & Resorts — дизайн-система
   Палитра: графит + бело-светлый фон + тёплый золотой/песочный акцент
   Шрифты: Manrope (заголовки и текст, sans — как у Mriya)
   =========================================================================== */

:root {
  /* Цвета */
  --ink: #1b1a18;
  --ink-soft: #4d4a44;
  --muted: #716c61; /* затемнён с #8c887f → контраст на белом ~4.8:1 (WCAG AA для текста); раньше ~3.5:1 — не проходил */
  --bg: #fff;
  --bg-alt: #f5f4f1;
  --bg-deep: #161512;
  --line: #e8e5de;
  --gold: #a98545;
  --gold-deep: #8a6c34;
  --gold-soft: #d8c7a3;

  /* Типографика: настоящий Kudryashev Display (как у Mriya) для заголовков + Manrope (≈Euclid) для текста */
  --display: "Kudryashev Display", "SangBleu Kingdom", georgia, "Times New Roman", serif;
  --serif: "Manrope", -apple-system, "Segoe UI", roboto, arial, sans-serif;
  --sans: "Manrope", -apple-system, "Segoe UI", roboto, arial, sans-serif;

  /* Раскладка */
  --container: 1240px;
  --gutter: 24px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 18px 50px -24px rgba(28, 27, 25, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(28, 27, 25, 0.4);
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Сброс ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

/* ДОСТУПНОСТЬ: «перейти к содержимому» — скрыта, появляется при фокусе с клавиатуры (Tab) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--ink, #161512);
  color: #fff;
  padding: 11px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}
#main:focus {
  outline: none;
}

/* ДОСТУПНОСТЬ: уважать «уменьшить движение» — глобально гасим анимации/переходы для таких пользователей */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

.muted {
  color: var(--muted);
  font-size: 0.85em;
}

/* ---------- Типографика ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: 0;
  margin: 0 0 0.4em;
  color: var(--ink);
}

.h2--light {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentcolor;
  flex: none;
}

.eyebrow--light {
  color: var(--gold-soft);
}

.section-head {
  max-width: 760px;
  margin: 0 0 44px;
  text-align: left;
}

.section-head__sub {
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 15px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--solid {
  background: var(--ink);
  color: #fff;
}

.btn--solid:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn--sm {
  padding: 11px 22px;
  font-size: 0.85rem;
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: var(--transition);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

/* Верхняя строка шапки (серая полоса, ссылки по центру — как у Mriya) */
.header__top {
  background: rgba(18, 16, 14, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header__topInner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 9px var(--gutter);
  font-size: 0.8rem;
}

.header__tag,
.header__toplinks a {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.header__toplinks {
  display: flex;
  justify-self: center;
  gap: 26px;
}

.header__topright {
  justify-self: end;
}

/* Вертикальные полосы-разделители (мотив Mriya): Лояльность | Личный кабинет, тел | Забронировать */
.header__bar {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 12px;
  background: rgba(255, 255, 255, 0.32);
  vertical-align: middle;
}
.header__bar--main {
  height: 22px;
  margin: 0 18px;
}

.header.is-scrolled .header__bar {
  background: var(--line);
}

.header__loyal {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.header__loyal:hover {
  color: #fff;
}

/* Тонкая линия-разделитель ПОД шапкой во всю ширину (как у Mriya), на прозрачном состоянии */
.header:not(.is-scrolled)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.header__toplinks a:hover {
  color: #fff;
}

.header.is-scrolled .header__top {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px var(--gutter);
  transition: padding var(--transition);
}

.header.is-scrolled .header__inner {
  padding: 10px var(--gutter);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  flex: none;
}

.logo__text {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
}

.logo__text small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* На прозрачной шапке поверх hero текст светлый */
.header:not(.is-scrolled) .logo__text,
.header:not(.is-scrolled) .nav .nav__top,
.header:not(.is-scrolled) .header__phone {
  color: #fff;
}

.header:not(.is-scrolled) .logo__text small {
  color: rgba(255, 255, 255, 0.7);
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}

.nav a:hover {
  color: var(--gold-deep);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.header__phone {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
}

.header:not(.is-scrolled) .btn--solid {
  background: #fff;
  color: var(--ink);
}

.header:not(.is-scrolled) .btn--solid:hover {
  background: var(--gold);
  color: #fff;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: var(--transition);
}

.header:not(.is-scrolled) .burger span {
  background: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #2a2722 center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

/* Фоновое видео hero (промо «БлагоДачи»); постер — реальное фото */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* На узких экранах видео не грузим — остаётся постер hero__bg */
@media (max-width: 760px) {
  .hero__video {
    display: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(18, 14, 10, 0.72) 0%,
      rgba(18, 14, 10, 0.3) 55%,
      rgba(18, 14, 10, 0) 100%
    ),
    linear-gradient(180deg, rgba(18, 14, 10, 0.15) 0%, rgba(18, 14, 10, 0.55) 100%);
}

/* Тонкие направляющие линии по hero (как у Mriya) */
.hero__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__lines::before {
  content: "";
  position: absolute;
  top: 132px;
  bottom: 0;
  left: 66%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero__lines::after {
  content: "";
  position: absolute;
  left: 66%;
  right: 0;
  top: 48%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 180px;
  padding-bottom: 32px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 18px;
}

.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.9vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300;
  max-width: 620px;
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.9);
}

/* Форма брони */
.booking {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  align-items: end;
  background: rgba(255, 255, 255, 0.96);
  padding: 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 1000px;
}

.booking__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking__field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking__field input,
.booking__field select {
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s;
}

.booking__field input:focus,
.booking__field select:focus {
  outline: none;
  border-color: var(--gold);
}

.booking__submit {
  height: 48px;
}

.booking__hint {
  position: relative;
  z-index: 2;
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  z-index: 2;
}

.hero__scroll::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

/* ---------- Преимущества / цифры ---------- */
.advantages {
  background: var(--bg-deep);
  color: #fff;
  padding: 50px 0;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.stat:last-child {
  border-right: none;
}

.stat__num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--gold-soft);
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

/* ---------- Секции — общие отступы ---------- */
.about,
.rooms,
.services,
.gallery,
.location,
.reviews,
.contacts {
  padding: clamp(70px, 9vw, 120px) 0;
}

.about {
  background: var(--bg);
}

.rooms,
.reviews {
  background: var(--bg-alt);
}

/* ---------- О нас ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__text p {
  color: var(--ink-soft);
  margin: 0 0 1.2em;
}

.about__text .btn {
  margin-top: 10px;
}

.about__media {
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__media .ph {
  height: 100%;
}

/* ---------- Размещение ---------- */
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.room {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.room:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.room__img {
  position: relative;
  height: 280px;
}

.room__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.room__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room__title {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.room__meta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.03em;
  margin: 0 0 12px;
}

.room__desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 20px;
}

.room__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.room__price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.room__price b {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
}

.room__price span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Услуги ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--transition);
  background: #fff;
}

.service:hover {
  border-color: var(--gold-soft);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.service__ic {
  font-size: 1.8rem;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  border-radius: 50%;
  margin-bottom: 18px;
}

.service h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ---------- СПА промо ---------- */
.spa {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 0;
  color: #fff;
  overflow: hidden;
}

.spa__bg {
  position: absolute;
  inset: 0;
  background: #221f1a center/cover no-repeat;
}

.spa__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(18, 16, 13, 0.85) 0%, rgba(18, 16, 13, 0.45) 100%);
}

.spa__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.spa__list {
  margin: 30px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spa__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.spa__item span {
  font-size: 1.05rem;
}

.spa__item b {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-soft);
  white-space: nowrap;
}

/* ---------- Галерея ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.gallery__item:hover {
  transform: scale(1.02);
}

.gallery__item--wide {
  grid-column: span 2;
}

/* ---------- Как добраться ---------- */
.location__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.location__text p {
  color: var(--ink-soft);
}

.location__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
}

.location__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.location__map {
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ---------- Отзывы ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 0;
  box-shadow: var(--shadow-sm);
}

.review p {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 20px;
}

.review footer {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-deep);
}

.review::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 10px;
}

/* ---------- Контакты ---------- */
.contacts {
  background: var(--bg-deep);
  color: #fff;
}

.contacts .h2 {
  color: #fff;
}

.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contacts__list {
  margin-top: 30px;
}

.contacts__line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contacts__line span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.contacts__line b {
  font-weight: 600;
  text-align: right;
}

a.contacts__line:hover b {
  color: var(--gold-soft);
}

/* Форма заявки */
.cform {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.cform__title {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 22px;
}

.cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.cform input,
.cform select,
.cform textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.97rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s;
}

.cform input:focus,
.cform select:focus,
.cform textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.cform textarea {
  resize: vertical;
  margin-bottom: 14px;
}

.cform__check {
  position: relative;
  display: block;
  padding-left: 26px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.45;
}

.cform__check input {
  position: absolute;
  left: 0;
  top: 2px;
  width: auto;
  margin: 0;
}

.cform__submit {
  width: 100%;
}

.cform__status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

.cform__status.is-ok {
  color: var(--gold-deep);
  font-weight: 600;
}

.cform__status.is-err {
  color: #c0392b;
}

/* ---------- Футер ---------- */
.footer {
  background: #100f0d;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  max-width: 320px;
}

.footer__brandHead {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer__brand b {
  color: #fff;
  font-family: var(--display);
  font-size: 1.3rem;
}

.footer__brand p {
  margin: 3px 0 0;
  font-size: 0.9rem;
}

.footer__addr {
  margin: 18px 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer__phone {
  display: inline-block;
  color: #fff;
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.footer__phone:hover {
  color: var(--gold-soft);
}

.footer__socials {
  display: flex;
  gap: 18px;
}

.footer__socials a:hover {
  color: var(--gold-soft);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col h4 {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.footer__col a:hover {
  color: var(--gold-soft);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Плавающая кнопка (моб.) ---------- */
.fab {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  box-shadow: var(--shadow);
  display: none;
}

/* ---------- Плейсхолдеры изображений ---------- */
.ph {
  background: linear-gradient(135deg, #e9e4da 0%, #d9d2c4 100%);
  background-size: cover;
  background-position: center;
  position: relative;
}

/* ---------- Анимация появления ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Тонкие разделители секций («неявные линии» как у Mriya) ---------- */
.about,
.rooms,
.services,
.gallery,
.location,
.reviews,
.section {
  border-top: 1px solid var(--line);
}

/* ===========================================================================
   Адаптив
   =========================================================================== */
@media (max-width: 1024px) {
  .booking {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking__submit {
    grid-column: 1 / -1;
  }

  .about__inner,
  .location__inner,
  .contacts__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  /* Навигация → бургер уже на планшетах/узких ноутбуках */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 96px 28px 28px;
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: var(--transition);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: none;
  }

  .nav__item {
    border-bottom: 1px solid var(--line);
  }

  .nav__top {
    color: var(--ink) !important;
    padding: 16px 0;
  }

  .burger {
    display: flex;
    order: 3;
  }

  .header__top {
    display: none;
  }

  .header__actions .header__phone,
  .header__actions .langswitch,
  .header__actions .btn {
    display: none;
  }

  .fab {
    display: block;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .rooms__grid,
  .services__grid,
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

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

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .fab {
    display: block;
  }

  .room__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .room__foot .btn {
    width: 100%;
  }
}
