/* Гостиница «Каскад» — базовый «уютный» вид (12.09.2026, по просьбе владельца «добавить уюта» к утверждённому прототипу).
   Тёплая палитра: кремовый фон #FBF7F0, песочный #F3EAD9, тёплое дерево #4A3728 / #2F241B (вместо navy), терракота #BF5A24 (акцент, кнопка брони), шалфей #4E7D4B.
   Заголовки — Playfair Display (как в утверждённом прототипе; выбор Владимира 17.09, до этого был Lora), фолбэк Lora/Georgia; текст — Manrope. Скругления 14–20px, тёплые мягкие тени.
   Переменные названы как в прототипе (--navy и т.д.), чтобы темы ?style=a..e продолжали ложиться поверх. Декор только для базового вида — под body:not([class*="style-"]). */
:root {
  --bg: #fbf7f0; --bg-alt: #f3ead9; --surface: #fffdf9;
  --navy: #4a3728; --navy-deep: #2f241b; --ink: #2e2620; --muted: #7a6a5a; --line: #e7dccb;
  --accent: #bf5a24; --accent-hover: #a04818; --green: #4e7d4b;
  --peach: #fbeee0; --sand: #efe3cf;
  --radius: 14px; --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(74,55,40,.05), 0 8px 24px rgba(74,55,40,.08);
  --shadow-lift: 0 2px 4px rgba(74,55,40,.06), 0 16px 40px rgba(74,55,40,.14);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "DejaVu Sans", sans-serif;
  --font-head: "Playfair Display", "Lora", Georgia, "Times New Roman", "Liberation Serif", "DejaVu Serif", serif;
  /* Ручки типографики: пары шрифтов (?font=1..3) отличаются метрикой, а не только рисунком,
     поэтому кегль, интерлиньяж и трекинг вынесены в переменные. --head-scale — множитель для
     всего, что набрано заголовочной антиквой (заголовки, цены, цитаты, логотип). */
  --head-scale: 1; --head-weight: 600; --head-lh: 1.2; --head-ls: -.005em;
  --text-size: 16px; --text-lh: 1.55; --text-ls: normal;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: var(--text-size)/var(--text-lh) var(--font); letter-spacing: var(--text-ls); color: var(--ink); background: var(--bg); padding-bottom: 64px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); line-height: var(--head-lh); margin: 0 0 .5em; color: var(--navy-deep); font-weight: var(--head-weight); letter-spacing: var(--head-ls); }
h1 { font-size: clamp(calc(1.8rem * var(--head-scale)), calc(5.5vw * var(--head-scale)), calc(2.7rem * var(--head-scale))); line-height: calc(var(--head-lh) * .96); }
h2 { font-size: clamp(calc(1.45rem * var(--head-scale)), calc(4vw * var(--head-scale)), calc(2rem * var(--head-scale))); }
h3 { font-size: calc(1.2rem * var(--head-scale)); }
p { margin: 0 0 .8em; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 760px; }
.section { padding: 40px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead, .lead { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.center { text-align: center; }
.note { color: var(--muted); font-size: .9rem; }
.big { font-size: 1.3rem; }
.crumbs { color: var(--muted); font-size: .9rem; }
.prose p { max-width: 70ch; }
.prose em { color: var(--muted); }

/* Кнопки — мягкие «пилюли»; кнопка брони самая заметная: терракота на кремовом */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; line-height: 1.2; text-align: center; transition: background .15s, box-shadow .15s, transform .15s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(191,90,36,.28); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(191,90,36,.34); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .95rem; }

/* Шапка */
.site-header { background: rgba(251,247,240,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 62px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: var(--head-weight); font-size: calc(1.35rem * var(--head-scale)); letter-spacing: .06em; text-transform: uppercase; color: var(--navy-deep); }
.logo-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.15rem; }
.nav-toggle { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; color: var(--ink); }
.nav { display: none; width: 100%; flex-direction: column; gap: 4px; padding: 8px 0 12px; }
.nav.open { display: flex; }
.nav a { text-decoration: none; padding: 8px 4px; font-weight: 600; }
.nav a[aria-current] { color: var(--accent); }
.header-contacts { display: none; }
.header-phone { font-weight: 700; text-decoration: none; font-size: 1.05rem; white-space: nowrap; }
.header-note { color: var(--muted); font-size: .8rem; }
.messengers { display: inline-flex; gap: 6px; }
.msgr { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .7rem; font-weight: 700; text-decoration: none; }
.msgr-wa { background: #25d366; } .msgr-tg { background: #229ed9; }

/* Первый экран: тёплый градиент, фото со скруглением и мягким тёплым тоном */
.hero { background: var(--surface); padding: 28px 0 36px; }
.hero-grid { display: grid; gap: 22px; }
.hero-photo { order: -1; position: relative; }
.hero-photo .photo-placeholder { aspect-ratio: 16/10; }
.hero-photo img { border-radius: var(--radius-lg); }
.hero .lead { color: var(--ink); opacity: .85; }
.hero-badge { display: none; }
.conditions { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* Форма бронирования */
.booking-form { display: grid; gap: 10px; background: var(--surface); padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-height: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.booking-form .btn { min-height: 48px; font-size: 1.05rem; border-radius: 12px; }
.promo-hint { font-size: .9rem; color: var(--green); }
.booking-bottom .booking-form { max-width: 900px; }

/* Заглушки фото — тёплые полосы */
.photo-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; background: repeating-linear-gradient(135deg, #efe4d2 0 12px, #f5ecdf 12px 24px); color: var(--muted); border-radius: var(--radius); min-height: 180px; width: 100%; font-size: .95rem; padding: 12px; }
.photo-placeholder.tall { min-height: 320px; }
.photo-placeholder small { font-size: .8rem; }

/* Рейтинг и отзывы — цитаты на кремовых карточках */
.rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 16px; }
.rating-badge { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; box-shadow: var(--shadow); }
.rating-value { font-family: var(--font-head); font-size: calc(2.3rem * var(--head-scale)); font-weight: var(--head-weight); color: var(--green); line-height: 1; }
.rating-label { color: var(--muted); font-size: .9rem; max-width: 22ch; }
.reviews-widget { min-height: 80px; margin-bottom: 16px; }
.widget-placeholder { border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; color: var(--muted); text-align: center; background: rgba(255,253,249,.6); }
.reviews-grid { display: grid; gap: 14px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--shadow); }
.review p { margin: 0 0 10px; }
.review footer { color: var(--muted); font-size: .85rem; }

/* Номера */
.rooms-grid { display: grid; gap: 18px; }
.room-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.room-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.room-photo { display: block; aspect-ratio: 4/3; overflow: hidden; text-decoration: none; }
.room-photo img, .room-photo .photo-placeholder { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.room-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.room-body h3 a { text-decoration: none; }
.room-meta { color: var(--muted); font-size: .9rem; margin: 0; }
.room-features { list-style: none; margin: 0; padding: 0; font-size: .95rem; color: var(--ink); }
.room-features li { padding: 3px 0 3px 18px; position: relative; }
.room-features li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.room-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.room-price strong { font-family: var(--font-head); font-size: calc(1.35rem * var(--head-scale)); font-weight: var(--head-weight); color: var(--navy-deep); display: block; line-height: 1.1; }
.room-price span { color: var(--muted); font-size: .8rem; }
.room-price.big strong { font-size: 1.9rem; }
.room-page { display: grid; gap: 20px; }
.gallery { display: grid; gap: 8px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; }
.room-side { display: grid; gap: 14px; align-content: start; }

/* Удобства */
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.amenity { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 2px; font-size: .9rem; box-shadow: var(--shadow); }
.amenity span:last-child { color: var(--muted); }
.amenity-icon { width: 24px; height: 24px; border-radius: 8px; background: var(--navy); opacity: .85; margin-bottom: 6px; }

/* Документы, маршрут, контакты */
.docs-grid, .directions-grid, .contacts-grid { display: grid; gap: 20px; }
.docs-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 36px; margin: 0; align-self: start; box-shadow: var(--shadow); }
.docs-list li { padding: 4px 0; }
.map-box { min-height: 260px; }
.map-box .photo-placeholder { height: 100%; min-height: 260px; }
.map-box iframe { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); }
.requisites { white-space: pre-wrap; font: inherit; background: var(--surface); border: 1px solid var(--line); padding: 12px; border-radius: 10px; }
.messengers-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Форма заявки */
.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.lead-grid { display: grid; gap: 10px; }
.consent { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.consent input { margin-top: 3px; }
.form-error { color: #b91c1c; font-size: .9rem; }
.hp { position: absolute; left: -9999px; }

/* Подвал — тёплый тёмный «дерево» */
.site-footer { background: var(--navy-deep); color: #e2d6c4; padding: 36px 0 16px; margin-top: 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 20px; }
.footer-title { color: #fff; font-family: var(--font-head); font-weight: var(--head-weight); font-size: calc(1.1rem * var(--head-scale)); margin-bottom: 8px; }
.footer-tagline { color: #cdbfa9; margin-bottom: 12px; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 20px; padding-top: 12px; font-size: .85rem; color: #a8987f; }

/* Липкая кнопка звонка (мобильный) */
.sticky-call { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: var(--green); color: #fff; text-align: center; padding: 14px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(47,36,27,.28); }

/* ===== Уютный декор только для базового вида (темы ?style=a..e его не получают) ===== */
body:not([class*="style-"]) .hero { position: relative; isolation: isolate; background: linear-gradient(180deg, #fbf1e3 0%, var(--bg) 100%); }
/* Фото шапки теперь подложка (см. блок «Фото-подложка в шапке» ниже): старая колонка с картинкой
   и тёплый радиальный декор в базовом виде не нужны, но остаются у тем ?style=b/d. */
body:not([class*="style-"]) .hero::before { content: none; }
body:not([class*="style-"]) .hero-photo { display: none; }
body:not([class*="style-"]) .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,253,249,.94); color: var(--navy-deep); border-radius: 999px; padding: 8px 14px 8px 10px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow); margin: 0 0 18px; }
body:not([class*="style-"]) .hero-badge .star { color: #e0a127; font-size: 1.1rem; line-height: 1; }
body:not([class*="style-"]) .hero-badge small { font-weight: 500; color: var(--muted); }
body:not([class*="style-"]) .hero .lead { font-size: 1.12rem; }
/* Тёплая полоска под заголовками разделов */
body:not([class*="style-"]) .section h2::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--accent); margin-top: 10px; opacity: .8; }
body:not([class*="style-"]) .page-head h2::after, body:not([class*="style-"]) .booking-bottom h2::after { display: none; }
/* Лёгкая льняная текстура на песочных секциях */
body:not([class*="style-"]) .section-alt { background-color: var(--bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body:not([class*="style-"]) .page-head { background: linear-gradient(180deg, #f7ecdb 0%, var(--bg) 100%); }
/* Отзывы — тёплые цитаты с кавычкой и инициалом автора */
body:not([class*="style-"]) .review { position: relative; padding-top: 44px; font-family: var(--font-head); font-size: calc(1.02rem * var(--head-scale)); line-height: 1.55; }
body:not([class*="style-"]) .review::before { content: "\201C"; position: absolute; top: 4px; left: 16px; font-family: var(--font-head); font-size: calc(3.6rem * var(--head-scale)); line-height: 1; color: var(--accent); opacity: .5; }
body:not([class*="style-"]) .review footer { font-family: var(--font); display: flex; align-items: center; gap: 10px; margin-top: 4px; }
body:not([class*="style-"]) .review footer::before { content: attr(data-initial); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
/* Иконки удобств — тёплые линейные на кремовом кружке */
body:not([class*="style-"]) .amenity-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--peach); opacity: 1; margin-bottom: 8px; position: relative; }
body:not([class*="style-"]) .amenity-icon::before { content: ""; position: absolute; inset: 9px; background: var(--accent);
  -webkit-mask: var(--icon, none) center / contain no-repeat; mask: var(--icon, none) center / contain no-repeat; }
body:not([class*="style-"]) .icon-wifi { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 9a15 15 0 0 1 20 0M5.5 12.5a10 10 0 0 1 13 0M9 16a5 5 0 0 1 6 0'/%3E%3Ccircle cx='12' cy='19.5' r='1' fill='%23000'/%3E%3C/svg%3E"); }
body:not([class*="style-"]) .icon-parking { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Cpath d='M9 17V7h4a3 3 0 0 1 0 6H9'/%3E%3C/svg%3E"); }
body:not([class*="style-"]) .icon-breakfast { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h12v6a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5z'/%3E%3Cpath d='M16 10h2a2 2 0 0 1 0 4h-2M7 4v2M11 4v2'/%3E%3C/svg%3E"); }
body:not([class*="style-"]) .icon-laundry { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='3'/%3E%3Ccircle cx='12' cy='13' r='4.5'/%3E%3Cpath d='M8 6.5h.01M11 6.5h2'/%3E%3C/svg%3E"); }
body:not([class*="style-"]) .icon-iron { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17h18v-4a5 5 0 0 0-5-5H9a3 3 0 0 0-3 3v2H3z'/%3E%3Cpath d='M9 8V7a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E"); }
body:not([class*="style-"]) .icon-clock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
body:not([class*="style-"]) .icon-docs { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l5 5v13H6z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E"); }
body:not([class*="style-"]) .icon-taxi { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16l1.5-6a2 2 0 0 1 2-1.5h7a2 2 0 0 1 2 1.5L19 16'/%3E%3Crect x='3' y='16' width='18' height='4' rx='1.5'/%3E%3Cpath d='M7 20v1M17 20v1M9 8V6h6v2'/%3E%3C/svg%3E"); }
body:not([class*="style-"]) .amenity strong { font-family: var(--font-head); font-weight: var(--head-weight); font-size: calc(1rem * var(--head-scale)); }
/* Тёплый оттенок на временных фото номеров и галереи */
body:not([class*="style-"]) .room-photo img, body:not([class*="style-"]) .gallery-item img { filter: sepia(.12) saturate(1.06); }

/* ≥ 700px */
@media (min-width: 700px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .lead-grid { grid-template-columns: repeat(2, 1fr); }
  .field-wide { grid-column: 1 / -1; }
  .booking-form { grid-template-columns: repeat(2, 1fr); }
  .booking-form .btn { grid-column: 1 / -1; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid, .directions-grid, .contacts-grid { grid-template-columns: 1fr 1fr; }
}
/* ≥ 960px: десктоп */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .sticky-call { display: none; }
  .nav-toggle { display: none; }
  .nav { display: flex; flex-direction: row; width: auto; gap: 22px; padding: 0; margin-left: 28px; }
  .header-contacts { display: flex; margin-left: auto; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .header-note { max-width: 18ch; text-align: right; line-height: 1.2; }
  .hero { padding: 52px 0 60px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 44px; }
  .hero-photo { order: 0; }
  .booking-form { grid-template-columns: 1fr 1fr 1fr 1.2fr auto; align-items: end; }
  .booking-form .btn { grid-column: auto; }
  /* В первом экране колонка узкая (~600px): даты и гости в ряд, ниже — тип номера и кнопка */
  .hero .booking-form { grid-template-columns: 1fr 1fr .9fr; }
  .hero .booking-form .field:nth-of-type(4) { grid-column: 1 / 3; }
  .hero .booking-form .btn { grid-column: 3; }
  .rooms-grid { grid-template-columns: repeat(3, 1fr); }
  .amenities { grid-template-columns: repeat(4, 1fr); }
  .room-page { grid-template-columns: 1.4fr 1fr; }
  .room-desc { grid-column: 1 / -1; }
  .room-side .booking-form { grid-template-columns: 1fr 1fr; }
  .room-side .booking-form .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .section { padding: 60px 0; }
}

/* Факты-расстояния (главная «как добраться», контакты) и юридические ссылки в подвале */
.facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.facts li { padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.facts strong { font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.footer-legal a { color: #cdbfa9; }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul { padding-left: 20px; max-width: 70ch; }
.prose li { margin-bottom: 4px; }

/* Мобильный: grid-ячейки и поля не должны раздвигать колонку шире экрана (min-content у input[type=date/tel]) */
.contacts-grid > *, .docs-grid > *, .directions-grid > *, .hero-grid > *, .room-page > *, .lead-form, .lead-grid, .booking-form, .field { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }

/* Замечания по скринам 13.09: отзывы в 3 колонки на десктопе, карточки удобств по верху, текст-характер номера под буллетами */
.amenity { align-content: start; }
.room-text { margin: 0; color: var(--muted); font-size: .92rem; }
.footer-social { margin-top: 8px; }
@media (min-width: 960px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Фото-подложка в шапке (15.09.2026, правка владельца: «фото во всю ширину, справа чёткое,
   влево уходит в размытие, как подложка»). Фото лежит слоем под содержимым .hero; слева его гасят
   .hero-blurpane (размытие) и .hero-scrim (вуаль), чтобы текст читался при любой ширине.
   Варианты ?hero=1..3 (cookie ks_hero) отличаются шириной чёткой части, силой размытия и вуали:
     1 (по умолчанию) — светлая кремовая вуаль, тёмный текст, фото уходит в размытие плавно;
     2 — плотная тёмная вуаль, белый текст, размытие шире (максимальная читаемость);
     3 — исходный вертикальный кадр: размытая копия во всю ширину + чёткая справа (запасной, без нейро-дорисовки).
   Мобильный: фото видно сверху, ниже плавно переходит в вуаль — текст всегда на ровном фоне.
   Темы ?style=a..e подложку не получают: у них своя шапка. ===== */
body:not([class*="style-"]) .hero {
  --hero-blur: 14px;              /* сила размытия под текстом */
  --hero-blur-solid: 18%;         /* докуда размытие в полную силу (десктоп, слева направо) */
  --hero-blur-end: 48%;           /* где размытие полностью сходит на нет: до изножья кровати */
  --hero-blur-mob: 6px;
  --hero-sharp-w: 54%;            /* ширина чёткого слоя, только вариант 3 */
  --hero-sharp-fade: 44%;         /* какая часть чёткого слоя непрозрачна, дальше растворяется */
  --hero-fg: var(--navy-deep); --hero-fg-soft: #4a3b2e; --hero-fg-dim: var(--muted);
  --hero-scrim: linear-gradient(94deg, rgba(251,244,233,.95) 0%, rgba(251,244,233,.92) 32%, rgba(251,244,233,.7) 50%, rgba(251,244,233,.2) 70%, rgba(251,244,233,0) 88%),
                linear-gradient(180deg, rgba(251,244,233,0) 70%, rgba(251,247,240,.75) 100%);
  --hero-scrim-mob: linear-gradient(180deg, rgba(251,244,233,.06) 0%, rgba(251,244,233,.2) 40%, rgba(251,244,233,.84) 80%, rgba(251,244,233,1) 100%);
  --hero-band: clamp(270px, 66vw, 400px);   /* высота фото-полосы на узком экране */
  overflow: hidden;
}
body:not([class*="style-"]) .hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
body[class*="style-"] .hero-media { display: none; }
body:not([class*="style-"]) .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 38%; border-radius: 0; }
/* Вариант 3: нижний слой — заранее размытая копия, растянутая на всю ширину (замыленность там уместна) */
body:not([class*="style-"]) .hero-media-blur { filter: blur(var(--hero-blur)); transform: scale(1.14); }
/* Размытие левой части: один слой поверх фото, гасится маской слева направо. Если backdrop-filter
   не поддерживается — просто остаётся вуаль, шапка не ломается. */
body:not([class*="style-"]) .hero-blurpane { position: absolute; inset: 0; display: block;
  -webkit-backdrop-filter: blur(var(--hero-blur-mob)); backdrop-filter: blur(var(--hero-blur-mob));
  -webkit-mask-image: linear-gradient(180deg, transparent 38%, #000 80%); mask-image: linear-gradient(180deg, transparent 38%, #000 80%); }
body:not([class*="style-"]) .hero-scrim { position: absolute; inset: 0; display: block; background-image: var(--hero-scrim-mob); }
body:not([class*="style-"]) .hero h1, body:not([class*="style-"]) .hero .lead { color: var(--hero-fg); }
body:not([class*="style-"]) .hero .lead { opacity: 1; color: var(--hero-fg-soft); }
body:not([class*="style-"]) .hero .conditions { color: var(--hero-fg-dim); }

/* Вариант 2 — тёмная вуаль и белый текст: фото читается как фотография, текст как подпись на ней */
body.hero-v2:not([class*="style-"]) .hero {
  --hero-blur: 20px; --hero-blur-solid: 26%; --hero-blur-end: 58%; --hero-blur-mob: 9px;
  --hero-fg: #fff; --hero-fg-soft: rgba(255,255,255,.9); --hero-fg-dim: rgba(255,255,255,.72);
  --hero-scrim: linear-gradient(94deg, rgba(31,24,19,.9) 0%, rgba(31,24,19,.86) 36%, rgba(31,24,19,.56) 58%, rgba(31,24,19,.22) 78%, rgba(31,24,19,.06) 100%),
                linear-gradient(180deg, rgba(31,24,19,0) 68%, rgba(31,24,19,.35) 100%);
  --hero-scrim-mob: linear-gradient(180deg, rgba(31,24,19,.1) 0%, rgba(31,24,19,.28) 40%, rgba(31,24,19,.86) 80%, rgba(31,24,19,1) 100%);
  background: #1f1813;
}
body.hero-v2:not([class*="style-"]) .hero h1 { text-shadow: 0 2px 14px rgba(0,0,0,.35); }

/* Вариант 3 — исходный вертикальный кадр двумя слоями, вуаль светлая как в варианте 1 */
body.hero-v3:not([class*="style-"]) .hero { --hero-blur: 18px; --hero-sharp-w: 54%; --hero-sharp-fade: 44%; }
body.hero-v3:not([class*="style-"]) .hero-media-sharp { object-position: 50% 42%; }

/* Узкий экран: фото — полосой сверху, ниже оно плавно уходит в фон, на котором лежит текст.
   Так кадр видно целиком и осмысленно (кровать, а не потолок), а текст всегда на ровной заливке. */
@media (max-width: 959px) {
  body:not([class*="style-"]) .hero { padding-top: calc(var(--hero-band) - 26px); }
  body:not([class*="style-"]) .hero-media { bottom: auto; height: var(--hero-band); }
  body:not([class*="style-"]) .hero-media img { object-position: 56% 50%; }
  body.hero-v3:not([class*="style-"]) .hero-media-sharp { object-position: 50% 44%; }
}

/* Десктоп: фото во всю ширину, текст слева на притемнённой и размытой части */
@media (min-width: 960px) {
  body:not([class*="style-"]) .hero { min-height: 560px; display: flex; align-items: center; padding: 56px 0 64px; }
  body:not([class*="style-"]) .hero-grid { grid-template-columns: minmax(0, 620px); gap: 0; }
  body:not([class*="style-"]) .hero-media img { object-position: 50% 50%; }
  body:not([class*="style-"]) .hero-blurpane {
    -webkit-backdrop-filter: blur(var(--hero-blur)); backdrop-filter: blur(var(--hero-blur));
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 var(--hero-blur-solid), transparent var(--hero-blur-end));
    mask-image: linear-gradient(90deg, #000 0%, #000 var(--hero-blur-solid), transparent var(--hero-blur-end)); }
  body:not([class*="style-"]) .hero-scrim { background-image: var(--hero-scrim); }
  /* Вариант 3: чёткий слой справа в своих пропорциях, влево растворяется в размытой подложке */
  body.hero-v3:not([class*="style-"]) .hero-media-sharp { inset: 0 0 0 auto; width: var(--hero-sharp-w);
    -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 var(--hero-sharp-fade), transparent 100%);
    mask-image: linear-gradient(270deg, #000 0%, #000 var(--hero-sharp-fade), transparent 100%); }
}

/* ===== Пары шрифтов на выбор (?font=1..3, cookie ks_font; ?font= — вернуться к базовой Lora).
   Шрифты локальные, подключение и удаление лишних пар — public/css/fonts.css.
   Метрика у пар разная, поэтому каждая настроена отдельно, а не просто «тот же макет другим шрифтом»:
   Cormorant лёгкий и мелкий на кегль — ему нужен запас размера и плотный интерлиньяж;
   Playfair крупный в очке и контрастный — ему хватает почти базового кегля;
   Montserrat шире и крупнее Inter — текстовый кегль чуть убавлен, чтобы строка не разъезжалась. ===== */

/* Пара 1 — Cormorant Garamond + Manrope: самая «тихая», много воздуха */
body.font-1 {
  --font-head: "Cormorant Garamond", "Lora", Georgia, "Liberation Serif", serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "DejaVu Sans", sans-serif;
  --head-scale: 1.2; --head-weight: 600; --head-lh: 1.12; --head-ls: 0;
  --text-size: 16px; --text-lh: 1.62; --text-ls: -.002em;
}

/* Пара 2 — Playfair Display + Inter: самая контрастная и «журнальная» */
body.font-2 {
  /* Lora вторым номером не случайно: у Playfair Display нет знака рубля, цены иначе съедут на системный шрифт */
  --font-head: "Playfair Display", "Lora", Georgia, "Liberation Serif", serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "DejaVu Sans", sans-serif;
  --head-scale: 1.02; --head-weight: 600; --head-lh: 1.18; --head-ls: -.012em;
  --text-size: 16px; --text-lh: 1.58; --text-ls: -.006em;
}

/* Пара 3 — Cormorant Garamond + Montserrat: антиква та же, гротеск шире и геометричнее */
body.font-3 {
  --font-head: "Cormorant Garamond", "Lora", Georgia, "Liberation Serif", serif;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, "DejaVu Sans", sans-serif;
  --head-scale: 1.2; --head-weight: 600; --head-lh: 1.12; --head-ls: 0;
  --text-size: 15.5px; --text-lh: 1.62; --text-ls: -.004em;
}

/* Cormorant в мелких размерах бледнит — цены, названия удобств и логотип набираем плотнее */
body.font-1 .logo, body.font-3 .logo,
body.font-1 .room-price strong, body.font-3 .room-price strong,
body.font-1 .amenity strong, body.font-3 .amenity strong,
body.font-1 .rating-value, body.font-3 .rating-value { font-weight: 700; }
/* и на узком экране добавляем заголовкам ещё немного кегля, иначе тонкие штрихи рассыпаются */
@media (max-width: 599px) {
  body.font-1, body.font-3 { --head-scale: 1.26; }
}
/* У Cormorant и Playfair цифры по умолчанию минускульные («старого стиля», с выносными элементами) —
   в тексте красиво, но цена должна читаться однозначно, поэтому в ценах включаем прописные цифры */
body.font-1 .room-price strong, body.font-2 .room-price strong, body.font-3 .room-price strong,
body.font-1 .price-from, body.font-2 .price-from, body.font-3 .price-from { font-variant-numeric: lining-nums; }
