/* ==================================================================
   Гостиница «Ленинградская» — style.css
   1. Переменные, сброс, типографика, контейнер, кнопки, формы
   ================================================================== */

:root {
  --bg:        #F3EEE7;
  --bg-alt:    #E6E2DB;
  --bg-soft:   #FAF8F4;
  --ink:       #313131;
  --ink-muted: #665E54;
  --line:      #D9D2C7;
  --line-soft: #E3DCD1;
  --dark:      #262626;
  --dark-hover:#3E3A34;
  --accent:    #A08A63;
  --focus:     #313131;

  --serif: "Spectral", "Times New Roman", Georgia, serif;
  --sans:  "Golos Text", "Segoe UI", Arial, sans-serif;

  --container: 1392px;
  --gutter: 24px;
  --readable: 720px;

  --section-y: 112px;
  --gap: 24px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* ------------------------------------------------------------------ */
/*  Сброс                                                              */
/* ------------------------------------------------------------------ */

[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; border: 0; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button { background: none; border: 0; padding: 0; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--bg); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--dark);
  color: var(--bg);
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 13px;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------------ */
/*  Типографика                                                        */
/* ------------------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.h-hero    { font-size: 52px; line-height: 1.1; font-weight: 300; }
.h-page    { font-size: 40px; font-weight: 300; }
.h-section { font-size: 30px; font-weight: 300; }
.h-feature { font-size: 33px; font-weight: 300; }
.h-card    { font-size: 22px; font-weight: 400; line-height: 1.25; }
.h-sub     { font-size: 20px; font-weight: 400; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.muted { color: var(--ink-muted); }

.meta {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.meta--sm { font-size: 12px; }

.prose p { margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 30px; margin: 48px 0 20px; }
.prose h3 { font-size: 20px; font-weight: 400; margin: 36px 0 14px; }
.prose ul { margin: 0 0 20px; }
.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 8px; height: 1px;
  background: var(--accent);
}
.prose ol { margin: 0 0 20px; counter-reset: pr; }
.prose ol li { counter-increment: pr; position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose ol li::before {
  content: counter(pr) ".";
  position: absolute; left: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
}
.prose a { border-bottom: 1px solid var(--line); }
.prose a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  height: 0;
}

.accent-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin-top: 20px;
}

/* ------------------------------------------------------------------ */
/*  Контейнер и сетка                                                  */
/* ------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: var(--bg); }

.section-head { margin-bottom: 48px; }
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head--center { text-align: center; }
.section-head--center .accent-rule { margin-left: auto; margin-right: auto; }

.readable { max-width: var(--readable); margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(12, 1fr); }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.cols-2 { display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
.cols-3 { display: grid; gap: 40px var(--gap); grid-template-columns: repeat(3, 1fr); }
.cols-4 { display: grid; gap: 40px var(--gap); grid-template-columns: repeat(4, 1fr); }

.stack-20 > * + * { margin-top: 20px; }
.stack-32 > * + * { margin-top: 32px; }

/* ------------------------------------------------------------------ */
/*  Кнопки и ссылки                                                    */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 14px 32px;
  border-radius: 0;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
}

.btn--primary {
  background: var(--dark);
  color: var(--bg);
  border-color: var(--dark);
}
.btn--primary:hover { background: var(--dark-hover); border-color: var(--dark-hover); }

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--secondary:hover { background: var(--ink); color: var(--bg); }

.btn--light {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
}
.btn--light:hover { background: var(--bg); color: var(--ink); }

.btn--wide { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Фирменная ссылка-подчёркивание */
.ulink {
  display: inline-block;
  position: relative;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding-bottom: 6px;
}
.ulink::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right center;
  transition: transform 320ms var(--ease);
}
.ulink:hover { color: var(--accent); }
.ulink:hover::after { transform: scaleX(0); transform-origin: right center; }
.ulink:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}
.ulink::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease) 60ms;
}
.ulink--light { color: var(--bg); }

.tlink {
  border-bottom: 1px solid var(--line);
  transition: color 250ms var(--ease), border-color 250ms var(--ease);
}
.tlink:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ------------------------------------------------------------------ */
/*  Формы                                                              */
/* ------------------------------------------------------------------ */

.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.form__row--4 { grid-template-columns: repeat(4, 1fr); }

.field { display: block; }

.field__label {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  height: 46px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 250ms var(--ease), background-color 250ms var(--ease);
}
.field__textarea { height: auto; min-height: 120px; resize: vertical; line-height: 1.6; }

.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E665C' stroke-width='1.25'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field__input:hover,
.field__select:hover,
.field__textarea:hover { border-color: var(--ink-muted); }

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}

.field__input::placeholder,
.field__textarea::placeholder { color: #7B7264; }

.field__input[aria-invalid="true"],
.field__select[aria-invalid="true"],
.field__textarea[aria-invalid="true"] { border-color: #8C4A3C; }

.field__error {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: #8C4A3C;
  margin-top: 6px;
}

.checkbox,
.radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
  cursor: pointer;
}
.checkbox input,
.radio input {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--dark);
}
.checkbox a { border-bottom: 1px solid var(--line); }
.checkbox a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.radio-row { display: flex; flex-wrap: wrap; gap: 20px; }

.form-note {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}

.form-success {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 40px;
  text-align: center;
}
.form-success .h-card { margin-bottom: 12px; }

/* ==================================================================
   2. Шапка, навигация, бургер, мобильное меню, футер
   ================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}

/* Прозрачное состояние — только на главной, до скролла */
.site-header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  height: var(--header-h);
}

.site-header__side {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 0;
  min-width: 0;
}
.site-header__side--right { justify-content: flex-end; }

.hdr-burger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: inherit;
  transition: opacity 250ms var(--ease);
}
.hdr-burger:hover { opacity: .65; }
.hdr-burger__label { line-height: 1; }

.hdr-icon-btn {
  display: inline-flex;
  color: inherit;
  transition: opacity 250ms var(--ease);
}
.hdr-icon-btn:hover { opacity: .65; }

.site-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}
.site-logo__word {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.hdr-phone {
  font-family: var(--sans);
  font-size: 14px;
  color: inherit;
  white-space: nowrap;
  transition: opacity 250ms var(--ease);
}
.hdr-phone:hover { opacity: .65; }

.hdr-book {
  width: 140px;
  height: 40px;
  padding: 0;
  flex: 0 0 auto;
}
.site-header.is-transparent .hdr-book {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
}
.site-header.is-transparent .hdr-book:hover { background: var(--bg); color: var(--ink); }

/* Второй ярус — горизонтальное меню */
.site-nav { border-top: 1px solid transparent; }
.site-header:not(.is-transparent) .site-nav { border-top-color: var(--line); }

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 46px;
}

.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__item + .site-nav__item::before {
  content: "";
  position: absolute;
  left: -16px; top: 50%;
  width: 3px; height: 3px;
  margin-top: -1.5px;
  background: var(--line);
}
.site-header.is-transparent .site-nav__item + .site-nav__item::before { background: rgba(243, 238, 231, .5); }

.site-nav__link {
  position: relative;
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: inherit;
  padding: 6px 0 10px;
  transition: opacity 250ms var(--ease);
}
.site-nav__link:hover { opacity: .65; }

.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
}

/* Поисковая панель */
.hdr-search {
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  padding: 20px 0;
}
.hdr-search__form { display: flex; gap: 12px; }
.hdr-search__input {
  flex: 1 1 auto;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg-soft);
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 14px;
}
.hdr-search__input:focus { outline: none; border-color: var(--ink); background: #fff; }

/* Отступ под фиксированную шапку */
body.is-inner #main { padding-top: calc(var(--header-h) + 47px); }
body.is-home #main { padding-top: 0; }

/* Полноэкранная панель меню */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--bg);
  overflow-y: auto;
  animation: navFade 260ms var(--ease);
}
@keyframes navFade { from { opacity: 0; } to { opacity: 1; } }

.nav-panel__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  padding-bottom: 48px;
}

.nav-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.nav-panel__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.nav-panel__close { color: var(--ink); display: inline-flex; transition: opacity 250ms var(--ease); }
.nav-panel__close:hover { opacity: .6; }

.nav-panel__list { flex: 1 1 auto; }
.nav-panel__list li { border-bottom: 1px solid var(--line); }
.nav-panel__list a {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.2;
  padding: 16px 0;
  transition: color 250ms var(--ease), padding-left 300ms var(--ease);
}
.nav-panel__list a:hover { color: var(--accent); padding-left: 10px; }
.nav-panel__list a[aria-current="page"] { color: var(--accent); }

.nav-panel__foot {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.nav-panel__phone {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
}
.nav-panel__note {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
}
.nav-panel__foot .btn { margin-top: 12px; }

/* ------------------------------------------------------------------ */
/*  Футер                                                              */
/* ------------------------------------------------------------------ */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.subscribe { border-bottom: 1px solid var(--line); }
.subscribe__inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.2fr) auto;
  align-items: center;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.subscribe__title { font-family: var(--serif); font-weight: 300; font-size: 30px; }
.subscribe__text { font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink-muted); }

.subscribe__panel { padding-bottom: 48px; }
.subscribe__form {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.footer-main { padding: 64px 0; }
.footer-main__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px var(--gap);
}

.footer-col__title { margin-bottom: 20px; }
.footer-col__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  text-align: left;
  cursor: default;
}
.footer-col__toggle .ic { display: none; }

.footer-col__list li + li { margin-top: 10px; }
.footer-col__list a,
.footer-contacts a {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
  border-bottom: 1px solid transparent;
  transition: color 250ms var(--ease), border-color 250ms var(--ease);
}
.footer-col__list a:hover,
.footer-contacts a:hover { color: var(--ink); border-bottom-color: var(--line); }

.footer-contacts {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-contacts__phone {
  font-family: var(--sans) !important;
  font-size: 16px !important;
  color: var(--ink) !important;
}
.footer-contacts__hint {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
}
.footer-contacts__addr,
.footer-contacts__time {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: 6px;
}

.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding-top: 28px;
  padding-bottom: 28px;
}
.footer-bottom__logo { color: var(--ink); flex: 0 0 auto; }

.footer-social { display: flex; gap: 18px; }
.footer-social a {
  color: var(--ink);
  display: inline-flex;
  transition: color 250ms var(--ease);
}
.footer-social a:hover { color: var(--accent); }

.footer-legal { text-align: right; }
.footer-legal p {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
}
.footer-legal__disclaimer { font-size: 12px; max-width: 460px; margin-top: 4px; }

/* ==================================================================
   3. Секции
   ================================================================== */

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}

/* ---------- Медиа ---------- */
.media { position: relative; overflow: hidden; background: var(--bg-alt); }
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: filter 500ms var(--ease);
}
.media--32 { aspect-ratio: 3 / 2; }
.media--45 { aspect-ratio: 4 / 5; }
.media--43 { aspect-ratio: 4 / 3; }
.media--169 { aspect-ratio: 16 / 9; }
.media--11 { aspect-ratio: 1 / 1; }
a:hover .media img,
.card:hover .media img { filter: brightness(.92); }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg);
  /* Только по горизонтали: вертикальная обрезка съедала выпадающую панель степпера. */
  overflow-x: clip;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20, 18, 16, .45);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 160px var(--gutter) 200px;
}
.hero .eyebrow { color: rgba(243, 238, 231, .82); display: block; margin-bottom: 24px; }
.hero__title { font-size: 52px; font-weight: 300; line-height: 1.1; }
.hero__sub {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(243, 238, 231, .88);
  margin-top: 24px;
}
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 196px;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--bg);
  display: inline-flex;
  animation: heroArrow 2.4s var(--ease) infinite;
}
@keyframes heroArrow {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ---------- Внутренний заголовок страницы ---------- */
.page-hero {
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
}
.page-hero--photo {
  position: relative;
  border-bottom: 0;
  padding: 0;
  color: var(--bg);
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; }
.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; background: rgba(20, 18, 16, .5); }
.page-hero--photo .container { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 48px; }
.page-hero--photo .breadcrumbs a,
.page-hero--photo .breadcrumbs span { color: rgba(243, 238, 231, .8); }
.page-hero--photo .lead { color: rgba(243, 238, 231, .88); }

.page-hero__title { margin-top: 16px; }
.page-hero .lead { margin-top: 18px; max-width: 720px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
}
.breadcrumbs a { border-bottom: 1px solid transparent; transition: border-color 250ms var(--ease); }
.breadcrumbs a:hover { border-bottom-color: var(--line); }
.breadcrumbs__sep { opacity: .5; }

/* ---------- Booking bar ---------- */
.booking-bar { background: var(--bg-alt); padding: 32px 0; }
.booking-bar--hero {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  background: rgba(243, 238, 231, .94);
  padding: 24px 0;
  /* Герой красит текст в кремовый — внутри светлой полосы нужен обычный ink. */
  color: var(--ink);
}
.booking-bar__form {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 16px;
  align-items: end;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 20px;
}
.booking-bar__form .btn { height: 46px; }

.stepper-wrap { position: relative; }
.stepper-toggle,
.stepper-panel { color: var(--ink); }
.stepper-toggle {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 14px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: border-color 250ms var(--ease);
}
.stepper-toggle:hover { border-color: var(--ink-muted); }
.stepper-panel {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 6px);
  z-index: 20;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 16px;
  display: grid;
  gap: 14px;
  min-width: 240px;
}
.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--sans);
  font-size: 14px;
}
.stepper-ctrl { display: flex; align-items: center; gap: 12px; }
.stepper-ctrl button {
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 250ms var(--ease), background-color 250ms var(--ease);
}
.stepper-ctrl button:hover { border-color: var(--ink); background: var(--bg); }
.stepper-ctrl output { min-width: 20px; text-align: center; font-family: var(--sans); font-size: 14px; }

/* ---------- Карточки ---------- */
.card { display: block; }
.card__body { padding-top: 20px; }
.card .eyebrow { display: block; margin-bottom: 10px; }
.card__title { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; }
.card__text {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-top: 12px;
}
.card__body .ulink { margin-top: 18px; }

/* карточка номера */
.room-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
}
.room-card__price { color: var(--ink); white-space: nowrap; }

/* ---------- Табы ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 48px;
}
.tab {
  position: relative;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  padding-bottom: 14px;
  margin-bottom: -15px;
  transition: color 250ms var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
}

/* ---------- Карусель номеров ---------- */
.carousel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap);
  margin-bottom: 48px;
}
.carousel__nav { display: flex; gap: 12px; flex: 0 0 auto; }
.carousel__btn {
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), opacity 250ms var(--ease);
}
.carousel__btn:hover { background: var(--ink); color: var(--bg); }
.carousel__btn[disabled] { opacity: .3; pointer-events: none; }

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gap) * 3) / 3.4);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }

/* ---------- Оснащение ---------- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px var(--gap);
}
.amenity {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}
.amenity .ic { flex: 0 0 auto; color: var(--ink); }

/* ---------- Плитки (залы, службы, «как добраться») ---------- */
.tile {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  padding: 28px;
}
.tile--flush { padding: 0; }
.tile--flush .tile__body { padding: 28px; }
.tile__title { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 12px; }
.tile__meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.tile__text { font-size: 15px; line-height: 1.6; color: var(--ink-muted); margin-bottom: 22px; }
.tile .ic { color: var(--ink); margin-bottom: 16px; }
.tile__row + .tile__row { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.tile__row-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.tile__row-text { font-size: 15px; line-height: 1.6; }

/* ---------- Полоса чисел ---------- */
.stats-band { background: var(--bg-alt); padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat { border-top: 1px solid var(--line); padding-top: 20px; }
.stat__value { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1.1; }
.stat__label {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 8px;
}

/* ---------- Галерея-лента ---------- */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* ---------- Аккордеон ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  transition: color 250ms var(--ease);
}
.accordion__btn:hover { color: var(--accent); }
.accordion__btn .ic { flex: 0 0 auto; margin-top: 4px; }
.accordion__panel { padding: 0 60px 24px 0; }
.accordion__panel p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ---------- Отзывы ---------- */
.stars { display: flex; gap: 4px; color: var(--accent); }
.stars .ic { width: 16px; height: 16px; }
.stars .ic--dim { color: var(--line); }

.review { border-top: 1px solid var(--line); padding-top: 24px; }
.review__text { font-size: 16px; line-height: 1.65; margin: 16px 0 18px; }
.review__sign {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
}
.review__sign strong { color: var(--ink); font-weight: 500; }

.reviews-list .review { padding: 28px 0; }
.reviews-list .review:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Таблицы ---------- */
.table-wrap { overflow-x: auto; }
.data-table {
  font-family: var(--sans);
  font-size: 14px;
  min-width: 640px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table thead th {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom-color: var(--ink);
  padding-bottom: 12px;
}
.data-table tbody tr:hover { background: rgba(230, 226, 219, .45); }
.data-table td:first-child { font-family: var(--serif); font-size: 16px; }
.table-note {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 20px;
}

/* ---------- Список-прайс (меню ресторана, оборудование) ---------- */
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}
.price-list li span:last-child { color: var(--ink-muted); white-space: nowrap; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}
.check-list .ic { flex: 0 0 auto; margin-top: 2px; }

.plain-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}
.plain-list li:first-child { border-top: 1px solid var(--line); }

.row-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.row-list li:first-child { border-top: 1px solid var(--line); }
.row-list__name { font-size: 16px; }
.row-list__value { font-family: var(--sans); font-size: 13px; color: var(--ink-muted); white-space: nowrap; }

/* ---------- Полоса CTA ---------- */
.cta-band { background: var(--dark); color: var(--bg); padding: 88px 0; }
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.cta-band h2 { font-size: 30px; font-weight: 300; }
.cta-band p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(243, 238, 231, .78);
  margin-top: 14px;
  max-width: 560px;
}

/* ---------- Карта ---------- */
.map-frame { position: relative; aspect-ratio: 16 / 9; background: var(--bg-alt); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-note { margin-top: 16px; }

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-line:first-child { border-top: 1px solid var(--line); }
.contact-line .ic { flex: 0 0 auto; margin-top: 2px; }
.contact-line__body { font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.contact-line__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.phone-xl {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.1;
  display: inline-block;
  transition: color 250ms var(--ease);
}
.phone-xl:hover { color: var(--accent); }
.phone-lg { font-family: var(--serif); font-weight: 300; font-size: 30px; display: inline-block; }
.phone-lg:hover { color: var(--accent); }

/* ---------- Шаги / таймлайн ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.step { border-top: 1px solid var(--line); padding-top: 20px; }
.step__n { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1; color: var(--ink-muted); }
.step__title { font-family: var(--serif); font-size: 20px; font-weight: 400; margin: 16px 0 10px; }
.step__text { font-size: 15px; line-height: 1.6; color: var(--ink-muted); }

/* ---------- Мозаика фото ---------- */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.mosaic__big { grid-column: span 3; }

/* ---------- Галерея номера ---------- */
.room-gallery { display: grid; grid-template-columns: 3fr 2fr; gap: var(--gap); align-items: start; }
.room-gallery__main { position: relative; }
.room-gallery__thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
/* Квадрат 2x2 при 3fr/2fr даёт колонку ровно в высоту главного кадра 3:2. */
.room-gallery__thumb .media { aspect-ratio: 1 / 1; }
.room-gallery__thumb { border: 0; padding: 0; width: 100%; cursor: pointer; }
.room-gallery__thumb[aria-current="true"] .media img { filter: brightness(.8); }
.room-gallery__arrows {
  position: absolute;
  left: 20px; bottom: 20px;
  display: flex;
  gap: 8px;
}
.room-gallery__arrows button {
  width: 44px; height: 44px;
  background: rgba(243, 238, 231, .92);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms var(--ease);
}
.room-gallery__arrows button:hover { background: var(--bg); }

/* ---------- Липкая панель цены ---------- */
.price-panel {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 32px;
}
.price-panel__price { font-family: var(--serif); font-weight: 300; font-size: 33px; line-height: 1.1; }
.price-panel__note {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
  margin: 12px 0 24px;
}
.price-panel .btn { width: 100%; }
.price-panel .ulink { margin-top: 18px; }

/* ---------- Статья ---------- */
.article-figure { margin: 40px 0; }
.article-figure figcaption {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 12px;
}
.pullquote {
  border-left: 1px solid var(--accent);
  padding-left: 28px;
  margin: 40px 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 24px;
  line-height: 1.45;
}
.share-row {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 48px;
}
.share-row__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.share-row a, .share-row button {
  color: var(--ink);
  display: inline-flex;
  transition: color 250ms var(--ease);
}
.share-row a:hover, .share-row button:hover { color: var(--accent); }

/* ---------- Пагинация ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 56px;
}
.pagination__pages { display: flex; gap: 6px; }
.pagination__pages a, .pagination__pages span {
  min-width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
  border: 1px solid transparent;
  transition: border-color 250ms var(--ease), color 250ms var(--ease);
}
.pagination__pages a:hover { color: var(--ink); border-color: var(--line); }
.pagination__pages [aria-current="page"] { color: var(--ink); border-color: var(--ink); }

/* ---------- Оглавление документа ---------- */
.toc li { border-bottom: 1px solid var(--line); }
.toc li:first-child { border-top: 1px solid var(--line); }
.toc a {
  display: block;
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 250ms var(--ease), padding-left 300ms var(--ease);
}
.toc a:hover { color: var(--ink); padding-left: 8px; }

/* ---------- 404 ---------- */
.error-block {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}
.error-block__code { font-family: var(--serif); font-weight: 300; font-size: 72px; line-height: 1; }

/* ---------- Модалка ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(38, 38, 38, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal__dialog {
  background: var(--bg);
  max-width: 520px;
  width: 100%;
  padding: 40px;
  position: relative;
}
.modal__close { position: absolute; top: 16px; right: 16px; color: var(--ink); }
.modal__close:hover { color: var(--accent); }

/* ==================================================================
   4. Адаптив, фокус, доступность, печать
   ================================================================== */

/* ---------- 1440 и ниже ---------- */
@media (max-width: 1440px) {
  .site-nav__list { gap: 24px; }
  .site-nav__item + .site-nav__item::before { left: -14px; }
}

/* ---------- 1280 и ниже ---------- */
@media (max-width: 1280px) {
  :root { --section-y: 96px; }
  .h-hero, .hero__title { font-size: 46px; }
  .carousel__track { grid-auto-columns: calc((100% - var(--gap) * 2) / 2.4); }
  .site-nav__list { gap: 20px; }
  .site-nav__link { font-size: 12px; letter-spacing: 0.06em; }
}

/* ---------- 1100 и ниже: второй ярус меню уходит в бургер ---------- */
@media (max-width: 1100px) {
  .site-nav { display: none; }
  body.is-inner #main { padding-top: var(--header-h); }
  /* Полоса подбора становится в три колонки и вырастает вдвое — стрелке уже не хватает места. */
  .hero__scroll { display: none; }
  .booking-bar__form { grid-template-columns: repeat(3, 1fr); }
  .booking-bar__form .btn { grid-column: span 3; }
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-main__grid { grid-template-columns: repeat(2, 1fr); gap: 48px var(--gap); }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 980 и ниже ---------- */
@media (max-width: 980px) {
  :root { --section-y: 80px; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
  .room-gallery { grid-template-columns: 1fr; }
  .room-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .cta-band__inner { grid-template-columns: 1fr; }
  .subscribe__inner { grid-template-columns: 1fr; gap: 20px; }
  .prose h2 { font-size: 26px; }
}

/* ---------- 900 и ниже ---------- */
@media (max-width: 900px) {
  .hdr-phone { display: none; }
  .h-page, .page-hero__title { font-size: 32px; }
  .h-feature { font-size: 28px; }
  .phone-xl { font-size: 34px; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-legal { text-align: left; }
}

/* ---------- 760 и ниже: мобильный режим ---------- */
@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --section-y: 64px;
    --gap: 16px;
    --header-h: 64px;
  }

  body { font-size: 16px; }

  .h-hero, .hero__title { font-size: 34px; }
  .h-page, .page-hero__title { font-size: 28px; }
  .h-section, .subscribe__title, .cta-band h2 { font-size: 26px; }
  .h-feature { font-size: 26px; }
  .h-card, .card__title, .tile__title { font-size: 20px; }
  .lead, .hero__sub { font-size: 17px; }
  .error-block__code { font-size: 56px; }
  .phone-xl { font-size: 30px; }
  .phone-lg { font-size: 24px; }
  .stat__value, .step__n { font-size: 33px; }
  .pullquote { font-size: 20px; padding-left: 20px; }

  .section-head { margin-bottom: 32px; }
  .hero__inner { padding: 120px var(--gutter) 160px; }
  .hero__scroll { display: none; }

  .cols-2, .cols-3, .cols-4, .stats-grid, .steps,
  .amenities-grid, .gallery-strip, .mosaic,
  .form__row, .form__row--3, .form__row--4 { grid-template-columns: 1fr; }

  .mosaic__big { grid-column: span 1; }
  .room-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }

  .booking-bar__form { grid-template-columns: 1fr; padding: 16px; }
  .booking-bar__form .btn { grid-column: span 1; }
  .booking-bar--hero { position: static; background: var(--bg-alt); padding: 24px 0; }

  .carousel__track { grid-auto-columns: 82%; }
  .carousel__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .carousel__nav { display: none; }

  .tabs { gap: 20px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; }

  .accordion__btn { font-size: 17px; padding: 18px 0; gap: 16px; }
  .accordion__panel { padding-right: 0; }

  .price-panel { padding: 24px; }
  .tile { padding: 20px; }
  .tile--flush .tile__body { padding: 20px; }

  .pagination { flex-direction: column; align-items: flex-start; gap: 20px; }
  .page-hero { padding: 32px 0 32px; }
  .page-hero--photo .container { padding-top: 40px; padding-bottom: 32px; }

  .footer-main__grid { grid-template-columns: 1fr; gap: 0; }
  .footer-main { padding: 40px 0; }

  /* Футер-аккордеон на мобильных */
  .footer-col { border-bottom: 1px solid var(--line); }
  .footer-col__title { margin-bottom: 0; }
  .footer-col__toggle { padding: 18px 0; cursor: pointer; }
  .footer-col__toggle .ic {
    display: block;
    flex: 0 0 auto;
    transition: transform 300ms var(--ease);
  }
  .footer-col__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
  .footer-col__list { padding-bottom: 20px; }
  .footer-contacts { margin-top: 20px; padding-bottom: 24px; }

  .nav-panel__list a { font-size: 22px; padding: 13px 0; }
  .nav-panel__phone { font-size: 26px; }

  .modal__dialog { padding: 28px 20px; }
  .form-success { padding: 28px 20px; }

  .data-table { min-width: 560px; }
}

/* ---------- 400 и ниже ---------- */
@media (max-width: 400px) {
  .site-logo__word { font-size: 14px; letter-spacing: 0.22em; }
  .hdr-burger__label { display: none; }
  .hdr-book { width: 118px; font-size: 12px; }
  .btn { padding: 14px 22px; }
  .btn-row .btn { width: 100%; }
  .carousel__track { grid-auto-columns: 88%; }
}

/* ------------------------------------------------------------------ */
/*  Фокус                                                              */
/* ------------------------------------------------------------------ */

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-header.is-transparent :focus-visible,
.hero :focus-visible,
.page-hero--photo :focus-visible,
.cta-band :focus-visible,
.section--dark :focus-visible {
  outline-color: var(--bg);
}

.btn--primary:focus-visible { outline-color: var(--focus); outline-offset: 3px; }
.btn--light:focus-visible { outline-color: var(--bg); }

/* ------------------------------------------------------------------ */
/*  Сниженная анимация                                                 */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .reveal.is-visible { transition: none; }
  .hero__scroll { animation: none; }
  .carousel__track { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ */
/*  Печать                                                             */
/* ------------------------------------------------------------------ */

@media print {
  :root { --section-y: 24px; }

  body { background: #fff; color: #000; font-size: 12pt; }

  .site-header,
  .nav-panel,
  .site-footer,
  .booking-bar,
  .carousel__nav,
  .hero__scroll,
  .modal,
  .share-row,
  .pagination,
  .tabs,
  .skip-link,
  form { display: none !important; }

  .hero { min-height: auto; color: #000; }
  .hero::after { display: none; }
  .hero__media { display: none; }
  .hero__inner { padding: 0; }

  .page-hero--photo { color: #000; min-height: auto; }
  .page-hero--photo::after, .page-hero--photo .page-hero__bg { display: none; }

  .cta-band, .section--dark { background: #fff !important; color: #000 !important; }
  .section, .section--alt, .section--soft { background: #fff !important; }

  .media, img { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }

  .accordion__panel[hidden] { display: block !important; }
}

/* ==================================================================
   5. Утилиты отступов и ширины, точечные секционные правила
   ================================================================== */

.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }

.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }

.w-560 { max-width: 560px; }
.w-640 { max-width: 640px; }
.w-720 { max-width: 720px; }
.tc { text-align: center; }
.tc .accent-rule { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }

/* Липкая панель цены — только на широких экранах */
@media (min-width: 981px) {
  .sticky-panel { position: sticky; top: calc(var(--header-h) + 70px); }
}

/* Крупный кадр во всю ширину контейнера */
.wide-figure { margin: 0; }
.wide-figure figcaption {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 12px;
}

/* Сетка «текст + фото» с выравниванием по верху */
.grid--top { align-items: start; }
.grid--center { align-items: center; }

/* Строка коротких фактов на главной */
.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 32px;
}
.facts-row__value { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; }
.facts-row__label { font-family: var(--sans); font-size: 13px; color: var(--ink-muted); margin-top: 6px; }

/* Три числа в промо мероприятий */
.figures-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin: 48px 0;
}
.figures-row__value { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1.1; }
.figures-row__label { font-family: var(--sans); font-size: 13px; color: var(--ink-muted); margin-top: 8px; }

/* Колонки услуг без карточек */
.text-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px var(--gap); }
.text-col__title { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 14px; }
.text-col p { font-size: 15px; line-height: 1.65; color: var(--ink-muted); }

/* Пакеты (свадьбы) */
.package {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.package__price { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; margin-top: 8px; }
.package__note { font-family: var(--sans); font-size: 13px; color: var(--ink-muted); margin-top: 8px; }
.package__list { margin: 24px 0; flex: 1 1 auto; }
.package__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}
.package__list li:first-child { border-top: 1px solid var(--line); }

/* Дополнительные сервисы: иконка + подпись */
.extra { }
.extra .ic { color: var(--ink); margin-bottom: 14px; }
.extra__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.extra p { font-size: 15px; line-height: 1.6; color: var(--ink-muted); }

/* Строка «до N гостей · N м²» под фото карточки услуги */
.service-card__price {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.service-card__price a { color: var(--ink-muted); }
.service-card__price a:hover { color: var(--accent); }

/* Знаки платёжных систем */
.pay-marks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pay-mark {
  border: 1px solid var(--line);
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Горизонтальная таблица характеристик номера */
.spec-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.spec__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.spec__value { font-family: var(--sans); font-size: 14px; line-height: 1.5; }

/* Оценка радиокнопками в форме отзыва */
.rating-row { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 1100px) {
  .spec-row { grid-template-columns: repeat(3, 1fr); gap: 24px var(--gap); }
  .text-cols { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 980px) {
  .facts-row { grid-template-columns: repeat(2, 1fr); gap: 24px var(--gap); }
}

@media (max-width: 760px) {
  .facts-row, .figures-row, .spec-row { grid-template-columns: 1fr; gap: 20px; }
  .figures-row { margin: 32px 0; }
  .package { padding: 24px; }
  .figures-row__value { font-size: 33px; }
}

.media { display: block; }
.card__title a { transition: color 250ms var(--ease); }
.card__title a:hover { color: var(--accent); }

.cta-band .btn--primary { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta-band .btn--primary:hover { background: #fff; border-color: #fff; }
.section--dark .btn--primary { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.btn-row--center { justify-content: center; }

.data-table tbody th {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.room-gallery__thumb .media { display: block; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; display: block; }
.error-block .w-560 { margin-left: auto; margin-right: auto; }

/* ---------- 560 и ниже: длинные значения в строках-списках переносятся ---------- */
@media (max-width: 560px) {
  .row-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .row-list__value { white-space: normal; }
  .room-gallery__thumbs { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 520 и ниже: шапка не должна наезжать сама на себя ---------- */
@media (max-width: 520px) {
  .site-header__inner { gap: 12px; }
  .site-header__side { gap: 14px; }
  .hdr-icon-btn { display: none; }
  .hdr-burger__label { display: none; }
  .site-logo { gap: 8px; }
  .site-logo__word { font-size: 11px; letter-spacing: 0.16em; }
  .hdr-book { width: 104px; font-size: 11px; letter-spacing: 0.04em; }
}

@media (max-width: 430px) {
  .site-logo__word { display: none; }
  .hdr-book { width: 118px; font-size: 12px; }
}

/* ---------- Мобильный герой: полоса подбора уходит под текст, а не вбок ---------- */
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero__inner { max-width: none; padding: 132px var(--gutter) 56px; }
  .hero__scroll { display: none; }
  .booking-bar--hero {
    position: relative;
    z-index: 3;
    background: var(--bg-alt);
    padding: 24px 0;
  }
}
