/* Огни Ямала, версия 4: по референсу «Tenir Eco Hotel» (Behance).
   Размеры на широком экране считаются от ширины макета референса (875 px = вся ширина окна), поэтому
   пропорции совпадают с картинками референса при любой ширине. На телефоне раскладка как на мокапе телефона. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: block; src: url(fonts/Onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: block; src: url(fonts/Onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/Playfair-cyrillic-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/Playfair-latin-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* палитра из референса */
  --cream: #F3EBDA;   /* бежевый фон вместо почти белого (правка 14) */
  --blue: #8EA2C2;    /* #8EA2C2 */
  --ink: #313131;          /* #313131 */
  --mist: #C5CCD7;    /* #C5CCD7 */
  --olive: #616154;   /* #616154 */
  --rose: #B0897D;     /* розово-коричневая точка с макета */
  --blue-ink: #4F6A98; /* тёмный голубой для значков на светлом */

  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, serif;

  /* 1 px макета референса: ширина окна / 875 (на очень широких экранах ограничена) */
  --px: calc(min(100vw, 1800px) / 875);
  --gut: 1rem;
  --head-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-sticky: 10; --z-menu: 20; --z-dialog: 40; --z-grain: 60;
}
@media (min-width: 62rem) { :root { --gut: calc(var(--px) * 15); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.5; overflow-x: hidden; padding-bottom: 5rem; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.split__dark :focus-visible, .mood :focus-visible, .reviews :focus-visible, .mobile-menu :focus-visible, .site-header:not(.is-solid) .nav :focus-visible { outline-color: var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--cream); padding: 0.6rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
section[id] { scroll-margin-top: var(--head-h); }
h1, h2, h3 { overflow-wrap: anywhere; }

/* зерно, как на макете */
body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* курсивные слова внутри заголовков: как Monotype Corsiva в референсе */
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; font-size: 1.1em; line-height: 0.9; }
h2 { font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }

/* кнопки-таблетки */
.pill { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 0.5rem; min-height: 3.25rem; padding: 0.8rem 1.75rem; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 500; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.pill:hover { background: var(--ink); color: var(--cream); }
.pill:active { transform: scale(0.98); }
.pill--blue { background: var(--blue); border-color: var(--blue); }
.pill--blue:hover { background: var(--ink); border-color: var(--ink); }
.pill--cream { background: var(--cream); border-color: var(--cream); }
.pill--cream:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.pill--sm { min-height: 2.75rem; padding: 0.55rem 1.25rem; font-size: 0.95rem; }
.pill--xs { min-height: 2.25rem; padding: 0.3rem 1rem; font-size: 0.82rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ===== шапка: на телефоне логотип и бургер, на широком экране как на макете ===== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); padding-inline: var(--gut); transition: background-color 0.3s var(--ease); }
.site-header.is-solid .site-header__bar { background: var(--cream); }
.logo { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--blue); display: grid; place-items: center; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.8rem; letter-spacing: -0.03em; }
.hdr-r { display: none; }
.menu-btn { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 0; color: var(--blue-ink); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 1.9rem; height: 3px; border-radius: 8px; background: currentColor; position: relative; transition: transform 0.25s var(--ease), background-color 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -8px; } .menu-btn span::after { top: 8px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--head-h) 0 0 0; z-index: var(--z-menu); background: var(--cream); padding: 2rem var(--gut); display: none; flex-direction: column; gap: 0.25rem; overflow-y: auto; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a:not(.pill) { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 500; letter-spacing: -0.04em; text-decoration: none; padding-block: 0.45rem; border-bottom: 1.5px solid var(--ink); }
.mobile-menu .pill { margin-top: 1.5rem; }

@media (min-width: 62rem) {
  .site-header__bar { display: grid; grid-template-columns: minmax(0, 33.4fr) minmax(0, 66.6fr); align-items: start; height: auto; padding: 0; }
  .logo { margin: calc(var(--px) * 18) 0 0 calc(var(--px) * 15); width: max(2.75rem, calc(var(--px) * 40)); height: max(2.75rem, calc(var(--px) * 40)); font-size: max(0.8rem, calc(var(--px) * 9)); }
  .hdr-r { display: flex; justify-content: space-between; align-items: flex-start; padding: calc(var(--px) * 18) calc(var(--px) * 15) 0 24.9%; }
  .nav { display: flex; flex-direction: column; gap: 0.1em; font-size: max(0.8125rem, calc(var(--px) * 9)); line-height: 1.4; color: var(--cream); text-shadow: 0 1px 10px rgba(22, 22, 22, 0.55); }
  .nav a { text-decoration: none; width: max-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
  .nav a:hover, .nav a:focus-visible { background-size: 100% 1px; }
  .menu-btn, .mobile-menu { display: none !important; }
  /* после прокрутки: обычная полоса с фоном */
  .site-header.is-solid .site-header__bar { align-items: center; height: var(--head-h); }
  .site-header.is-solid .logo { margin: 0 0 0 var(--gut); width: 2.75rem; height: 2.75rem; }
  .site-header.is-solid .hdr-r { align-items: center; padding: 0 var(--gut) 0 0; }
  .site-header.is-solid .nav { flex-direction: row; gap: 1.75rem; color: var(--ink); text-shadow: none; font-size: 0.95rem; }
}

/* ===== 2. первый экран ===== */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); grid-template-areas: "photo photo" "tags tags" "title title" "small text" "small cta"; padding-bottom: 1.75rem; align-content: start; }
.hero__photo { grid-area: photo; height: clamp(15rem, 70vw, 26rem); overflow: hidden; background: var(--mist); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__tags { grid-area: tags; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 0.75rem; padding: 1.1rem var(--gut) 0; font-size: 0.72rem; color: var(--olive); }
.hero__tags li::before { content: "\2022\00a0"; color: var(--ink); } .hero__tags li::after { content: "\00a0\2022"; color: var(--ink); }
.hero__title { grid-area: title; padding: 0.6rem var(--gut) 0; font-size: clamp(3.6rem, 18vw, 6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.92; }
.hero__title .t1, .hero__title .t2 { display: block; }
.hero__title .t2 { padding-left: 0.5em; }
.hero__small { grid-area: small; align-self: start; margin: 1.1rem 0 0 var(--gut); height: min(32vw, 9.5rem); overflow: hidden; }
.hero__small img { width: 100%; height: 100%; object-fit: cover; }
.hero__text { grid-area: text; padding: 1.1rem var(--gut) 0 0.9rem; font-size: 0.82rem; line-height: 1.3; }
.hero__cta { grid-area: cta; margin: 0.75rem var(--gut) 0 0.9rem; align-self: start; min-height: 2.75rem; padding-inline: 0.9rem; font-size: 0.85rem; }

@media (min-width: 62rem) {
  .hero { grid-template-areas: none; grid-template-columns: minmax(0, 33.4fr) minmax(0, 66.6fr); grid-template-rows: 58% 15% minmax(0, 1fr); height: clamp(38rem, 100vh, calc(var(--px) * 620)); height: clamp(38rem, 100svh, calc(var(--px) * 620)); padding: 0; }
  .hero > .hero__photo { grid-area: unset; grid-column: 2; grid-row: 1; height: auto; }
  .hero > .hero__tags { grid-area: unset; grid-column: 1; grid-row: 1 / -1; justify-self: end; align-self: stretch; flex-wrap: nowrap; justify-content: space-between; writing-mode: vertical-rl; transform: rotate(180deg); margin: calc(var(--px) * 40) calc(var(--px) * 14) calc(var(--px) * 86) 0; padding: 0; gap: 0; font-size: max(0.72rem, calc(var(--px) * 8)); }
  .hero__tags li { white-space: nowrap; }
  /* Слова не через subgrid: иначе первый кадр рисует их стопкой по центру, потом прыжок. */
  .hero > .hero__title { grid-area: unset; grid-column: 1 / -1; grid-row: 1 / 3; display: block; position: relative; padding: 0; font-size: calc(var(--px) * 80); line-height: 0.9; pointer-events: none; overflow-wrap: normal; }
  .hero__title .t1, .hero__title .t2 { position: absolute; display: block; white-space: nowrap; animation: none; }
  .hero__title .t1 { left: 0; width: 33.4%; bottom: calc(100% * 15 / 73); padding-right: calc(var(--px) * 37); text-align: right; transform: translateY(0.06em); }
  .hero__title .t2 { left: 33.4%; top: calc(100% * 58 / 73); padding: calc(var(--px) * 12) 0 0; }
  .hero > .hero__small { grid-area: unset; grid-column: 1; grid-row: 3; align-self: end; width: 87.7%; height: calc(var(--px) * 143); margin: 0 0 calc(var(--px) * 15); }
  .hero > .hero__text { grid-area: unset; grid-column: 2; grid-row: 3; justify-self: end; align-self: start; width: calc(var(--px) * 194); margin: calc(var(--px) * -4) calc(var(--px) * 15) 0 0; padding: 0; font-size: max(0.875rem, calc(var(--px) * 10)); text-wrap: pretty; }
  .hero > .hero__cta { grid-area: unset; grid-column: 2; grid-row: 3; align-self: end; justify-self: start; width: calc(var(--px) * 324); min-height: max(3.25rem, calc(var(--px) * 48)); margin: 0 0 calc(var(--px) * 15); padding: 0; font-size: max(1.05rem, calc(var(--px) * 17)); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: photo-in 1.4s var(--ease) both; }
  @keyframes photo-in { from { transform: scale(1.12); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0); } }
}

/* ===== бронь: полоса с формой и результаты виджета ===== */
.finder-sec { background: var(--blue); scroll-margin-top: var(--head-h); }
.finder-sec__in { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
.finder__title { font-size: clamp(2rem, 4.4vw, 3.6rem); overflow-wrap: normal; }
.finder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; align-items: end; }
.finder[hidden], .booking-summary[hidden] { display: none; }
.finder__room { grid-column: 1 / -1; font-weight: 500; }
.finder .field:nth-of-type(-n+2) { grid-column: 1 / -1; }
.finder .pill, .finder .form__status { grid-column: 1 / -1; }
.finder .form__status:empty { display: none; }
.field { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 500; }
.field input, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; width: 100%; min-height: 3.25rem; padding: 0.7rem 1.2rem; border: 1.5px solid transparent; border-radius: 999px; background: var(--cream); color: var(--ink); }
.field textarea { border-radius: 1rem; min-height: 6rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.form__status { min-height: 1.4rem; font-size: 0.9rem; font-weight: 500; }
.form__status[data-state="error"] { text-decoration: underline wavy 1px; text-underline-offset: 0.25em; }
.booking-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.booking-summary p { font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 500; letter-spacing: -0.02em; }
@media (min-width: 40rem) { .finder { grid-template-columns: repeat(4, minmax(0, 1fr)); } .finder .field:nth-of-type(-n+2) { grid-column: auto; } .finder .pill { grid-column: 1 / -1; justify-self: start; } }
@media (min-width: 62rem) {
  .finder-sec__in { grid-template-columns: minmax(20rem, 28rem) minmax(0, 42rem); justify-content: start; align-items: start; gap: var(--gut); }
  .finder { grid-template-columns: minmax(10.5rem, 1.5fr) minmax(10.5rem, 1.5fr) minmax(4.5rem, 0.7fr) minmax(5.5rem, 0.8fr) auto; }
  .finder .pill { grid-column: auto; justify-self: stretch; }
  .finder__room, .finder .form__status { grid-column: 1 / -1; }
  .booking-summary { grid-column: 2; }
}
.booking-inline { background: var(--mist); padding: clamp(1.5rem, 4vw, 3rem) var(--gut) clamp(2rem, 5vw, 4rem); scroll-margin-top: var(--head-h); }
.booking-inline[hidden] { display: none; }
.booking-inline__in { background: #fff; border-radius: 1.75rem; padding: clamp(0.75rem, 2vw, 1.5rem); }
.widget-slot[hidden], .widget-fallback[hidden], .widget-loading[hidden] { display: none; }
.widget-slot iframe { display: block; width: 100%; border: 0; min-height: 16rem; height: 16rem; background: #fff; }
@media (min-width: 62rem) {
  .booking-inline__in { padding: 1rem 1.25rem 1.1rem; width: 100%; }
  .widget-slot iframe { min-height: 11.5rem; height: 11.5rem; }
}
.widget-loading { padding: 2rem; color: var(--olive); }
.widget-fallback { padding: 1.25rem; border: 1.5px solid var(--ink); border-radius: 1rem; background: var(--cream); }
.widget-fallback .pill-row { margin-top: 1rem; }
.widget-note { margin-top: 1rem; font-size: 0.9rem; color: var(--olive); }
.widget-note a { color: var(--ink); }

/* ===== 3. фото на весь экран, заголовок поверх, пузыри ===== */
.mood { position: relative; isolation: isolate; color: var(--cream); overflow: hidden; min-height: 40rem; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 1rem; padding: 6rem var(--gut) 2rem; }
.mood__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(0.8); }
.mood::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(35, 41, 51, 0.72), rgba(35, 41, 51, 0.25) 50%, rgba(35, 41, 51, 0.05)); }
.mood__title { font-size: clamp(2.1rem, 9vw, 3.4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.25; text-wrap: initial; }
.mood__title .ml { display: block; }
.mood__title .ml1 { padding-left: 1.2em; }
.mood__title em { font-size: 1.25em; }
.inl-photo { display: inline-block; width: 2.5em; height: 0.78em; vertical-align: -0.05em; border-radius: 8px; overflow: hidden; margin-right: 0.1em; }
.inl-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.bubble { background: var(--cream); color: var(--ink); border-radius: 1rem; padding: 0.9rem 1rem; font-size: 0.9rem; line-height: 1.45; max-width: 22rem; text-wrap: pretty; }
.bubble--a { justify-self: start; margin-top: 1.5rem; }
.bubble--a b { display: block; font-weight: 700; font-size: 1.18em; letter-spacing: -0.03em; line-height: 1.22; margin-bottom: 0.4em; }
.bubble--a em { font-size: 1.12em; }
.bubble--b { justify-self: end; display: grid; gap: 0.5rem; margin-top: 1rem; }
.slashes li::before { content: "// "; color: var(--olive); }
@media (min-width: 62rem) {
  .mood { display: block; aspect-ratio: 875 / 712; min-height: 0; padding: 0; }
  .mood__title { position: absolute; left: 17.5%; top: calc(var(--px) * 52); width: calc(var(--px) * 590); font-size: calc(var(--px) * 42); line-height: 1.38; }
  .mood__title .ml1 { padding-left: calc(var(--px) * 72); }
  .bubble { position: absolute; max-width: none; margin: 0; border-radius: max(1rem, calc(var(--px) * 14)); padding: calc(var(--px) * 14) calc(var(--px) * 15); font-size: max(0.875rem, calc(var(--px) * 9.5)); }
  .bubble--a { left: 9.7%; top: 44.8%; width: max(15rem, calc(var(--px) * 171)); font-size: max(0.9rem, calc(var(--px) * 10)); line-height: 1.45; }
  .bubble--b { left: 50%; top: 75.6%; width: max(17rem, calc(var(--px) * 190)); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bubble { animation: bubble-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes bubble-in { from { opacity: 0; translate: 0 2rem; } to { opacity: 1; translate: 0 0; } }
  }
}

/* ===== 4. номера: список со стрелками, слева превью ===== */
.rooms { padding: 4.5rem var(--gut) 4rem; }
.rooms__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.rooms h2, .about h2, .faq h2 { font-size: clamp(2.1rem, 8vw, 3rem); line-height: 1.02; }
.rooms__lead { color: var(--olive); max-width: 26rem; font-size: 0.95rem; }
.rooms__ui { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
.rooms__view { display: grid; }
.rv { grid-area: 1 / 1; aspect-ratio: 1.22; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s 0.5s; }
.rv.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.rv img { width: 100%; height: 100%; object-fit: cover; }
.rooms__list { border-top: 1.5px solid var(--ink); align-self: start; }
.rm { border-bottom: 1.5px solid var(--ink); }
.rm__row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.15rem 1rem; text-align: left; background: none; border: 0; padding: 0.9rem 0; color: var(--olive); transition: color 0.3s; }
.rm__row:hover, .rm.is-open .rm__row { color: var(--ink); }
.rm__name { font-size: clamp(1.5rem, 6vw, 2.2rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.rm__price { grid-column: 1; font-size: 0.95rem; }
.rm__price small { font-size: 0.82rem; color: var(--olive); }
.arrow { grid-column: 2; grid-row: 1 / span 2; width: 1.5rem; height: 1.5rem; flex: none; transition: transform 0.35s var(--ease); }
.rm.is-open .arrow { transform: rotate(-90deg); }
.rm__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.rm.is-open .rm__body { grid-template-rows: 1fr; }
.rm__body > div { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; justify-items: start; min-height: 0; }
.rm.is-open .rm__body > div { padding-bottom: 1.4rem; }
.rm__body p { max-width: 42ch; color: var(--olive); font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { background: var(--mist); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.85rem; }
html:not(.js) .rm__body { grid-template-rows: 1fr; }
html:not(.js) .rv { opacity: 1; visibility: visible; grid-area: auto; margin-bottom: 1rem; }
.rooms__line { margin-top: 3.5rem; font-size: clamp(1.5rem, 6.4vw, 2.2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.12; }
.rooms__line .l1 { display: block; text-align: right; }
.rooms__line .l2 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0.25rem 1rem; }
.rooms__line .l2 em { font-size: 1.2em; line-height: 0.95; }
@media (min-width: 62rem) {
  .rooms { padding: calc(var(--px) * 68) var(--gut) calc(var(--px) * 56); }
  .rooms__head { grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: calc(var(--px) * 62); }
  .rooms h2, .about h2, .faq h2 { font-size: max(2rem, calc(var(--px) * 27)); }
  .rooms__lead { font-size: max(0.875rem, calc(var(--px) * 9.5)); width: 86%; max-width: none; margin-top: calc(var(--px) * 6); }
  .rooms__ui { grid-template-columns: 1fr 1fr; gap: 0; }
  .rooms__view { padding: calc(var(--px) * 12) 36% 0 17%; align-self: start; position: sticky; top: calc(var(--head-h) + 1.5rem); }
  .rm__row { padding: calc(var(--px) * 7) 0; }
  .rm__name { font-size: max(1.4rem, calc(var(--px) * 21)); }
  .rm__price { font-size: max(0.875rem, calc(var(--px) * 9.5)); }
  .arrow { width: max(1.2rem, calc(var(--px) * 16)); height: max(1.2rem, calc(var(--px) * 16)); }
  .rm__body p { font-size: max(0.875rem, calc(var(--px) * 9.5)); }
  .rooms__line { margin-top: calc(var(--px) * 80); font-size: max(1.5rem, calc(var(--px) * 27)); }
  .rooms__line .l1 { text-align: left; margin-left: 49.6%; }
  .rooms__line .l2 { flex-wrap: nowrap; }
}

/* ===== 5. для бизнеса: туманно-голубой лист ===== */
.biz { background: var(--mist); position: relative; padding: 4.5rem var(--gut) 3rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; justify-items: start; }
.biz h2 { display: contents; }
.biz h2 .a, .biz h2 .b { font-size: clamp(2.3rem, 10vw, 3.4rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; display: block; }
.biz h2 .b { margin-left: 1.2em; }
.biz h2 .a { order: 0; } .biz h2 .b { order: 1; }
.biz__photo { order: 4; width: 100%; } .biz__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border-radius: 1rem; }
.biz__lines { display: none; }
.biz__items { order: 3; display: grid; gap: 1.1rem; font-size: 0.95rem; }
.biz__items { min-width: 0; max-width: 100%; }
.biz__items li { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; }
.biz__items li span { min-width: 0; overflow-wrap: anywhere; }
.th { flex: none; object-fit: cover; }
.th--sq { width: 3.6rem; height: 2.4rem; border-radius: 8px; }
.th--round { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.biz__cta { order: 6; justify-self: stretch; text-align: center; }
@media (min-width: 62rem) {
  .biz { padding: calc(var(--px) * 40) var(--gut) calc(var(--px) * 36); grid-template-columns: 1fr 1fr; grid-template-areas: "ha items" "photo items" "photo hb" "photo cta"; gap: 0; align-content: start; }
  .biz h2 .a, .biz h2 .b { font-size: max(2.4rem, calc(var(--px) * 56)); line-height: 0.98; }
  .biz h2 .a { grid-area: ha; margin: 0; } .biz h2 .b { grid-area: hb; margin: calc(var(--px) * 56) 0 0; }
  .biz__photo { grid-area: photo; margin: calc(var(--px) * 22) 36% 0 17%; width: auto; }
  .biz__lines { display: block; grid-area: photo; align-self: start; justify-self: end; width: calc(var(--px) * 122); height: calc(var(--px) * 118); margin-top: calc(var(--px) * 18); color: var(--ink); overflow: visible; }
  .biz__items { grid-area: items; align-self: start; margin: calc(var(--px) * 12) 0 0 17%; gap: calc(var(--px) * 22); font-size: max(0.875rem, calc(var(--px) * 9.5)); }
  .th--sq { width: max(3.6rem, calc(var(--px) * 57)); height: max(2.4rem, calc(var(--px) * 37)); border-radius: calc(var(--px) * 8); }
  .th--round { width: max(2.5rem, calc(var(--px) * 35)); height: max(2.5rem, calc(var(--px) * 35)); }
  .biz__cta { justify-self: start; grid-area: cta; margin: calc(var(--px) * 30) 0 0 17%; }
}

.band { background: var(--blue); display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.1rem var(--gut); }
.band p { font-size: clamp(1.05rem, 4.6vw, 1.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.band .b1, .band .b2 { display: block; } .band b { font-weight: 700; }
.band img { flex: none; width: 3.2rem; height: 3.6rem; border-radius: 8px; object-fit: cover; }
@media (min-width: 62rem) {
  .band { padding: calc(var(--px) * 10) var(--gut); min-height: max(5rem, calc(var(--px) * 64)); }
  .band p { width: 100%; font-size: max(1.1rem, calc(var(--px) * 17)); }
  .band .b1 { margin-left: 17.5%; } .band .b2 { margin-left: 17.5%; font-weight: 400; }
  .band img { width: calc(var(--px) * 57); height: calc(var(--px) * 63); border-radius: calc(var(--px) * 8); }
}

/* ===== 6. две половины и круглая кнопка на стыке ===== */
.split { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.split__photo { aspect-ratio: 1; overflow: hidden; }
.split__photo img { width: 100%; height: 100%; object-fit: cover; }
.split__dark { position: relative; isolation: isolate; background: var(--ink); color: var(--cream); overflow: hidden; min-height: 32rem; padding: 6rem var(--gut) 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 1.5rem; }
.split__dark > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) brightness(0.6) contrast(0.95); opacity: 0.24; }
.split__note { display: grid; gap: 0.6rem; font-size: 0.9rem; max-width: 24rem; }
.split__title { font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.12; letter-spacing: -0.04em; }
.split__title span { display: block; }
.split__title em { font-size: 1.22em; } .split__title .s4 em { color: var(--blue); }
.split__title .s2 { margin-left: 12%; } .split__title .s3 { margin-left: 14%; } .split__title .s4 { margin-left: 24%; }
.split__cap { font-size: 0.8rem; color: var(--mist); }
.dot { position: absolute; width: max(2.2rem, calc(var(--px) * 36)); height: max(2.2rem, calc(var(--px) * 36)); border-radius: 50%; }
.dot--cream { background: var(--cream); } .dot--blue { background: var(--blue); } .dot--olive { background: var(--olive); } .dot--rose { background: var(--rose); } .dot--mist { background: var(--mist); }
.split__dark .dot { display: none; }
.split__circle { position: absolute; left: 50%; top: 100vw; transform: translate(-50%, -50%); width: 9.5rem; height: 9.5rem; border-radius: 50%; border: 0; background: var(--mist); color: var(--ink); font-weight: 500; line-height: 1.2; padding: 1rem; transition: transform 0.4s var(--ease), background-color 0.25s; }
.split__circle:hover { background: var(--blue); transform: translate(-50%, -50%) scale(1.06); }
@media (min-width: 62rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split__dark { aspect-ratio: 1; min-height: 0; padding: 0; display: block; }
  .split__note { position: absolute; left: 51%; top: 11%; width: 45%; max-width: none; font-size: max(0.8125rem, calc(var(--px) * 8.5)); gap: calc(var(--px) * 6); }
  .split__title { position: absolute; left: 5.7%; top: 40%; font-size: calc(var(--px) * 35); line-height: 1.22; overflow-wrap: normal; }
  .split__title span { white-space: nowrap; }
  .split__title .s1 { margin-left: calc(var(--px) * 72); }
  .split__title .s2 { margin-left: calc(var(--px) * 98); }
  .split__title .s3 { margin-left: calc(var(--px) * 110); }
  .split__title .s4 { margin-left: calc(var(--px) * 200); }
  .split__cap { position: absolute; left: 18%; bottom: 3.5%; font-size: max(0.75rem, calc(var(--px) * 8)); }
  .split__dark .dot { display: block; }
  .split__dark .dot--cream { left: 36%; top: 25%; } .split__dark .dot--blue { left: 91%; top: 43%; }
  .split__circle { left: 47%; top: 66%; width: max(9rem, calc(var(--px) * 175)); height: max(9rem, calc(var(--px) * 175)); font-size: max(0.95rem, calc(var(--px) * 14)); }
}

/* ===== 7. расположение: огромный заголовок под фото ===== */
.place { padding-top: 1.5rem; }
.place h2 { position: relative; padding-inline: var(--gut); font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; color: var(--mist); margin-bottom: -0.03em; text-wrap: initial; }
.place__photo { position: relative; z-index: 1; aspect-ratio: 4 / 3; overflow: hidden; }
.place__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.place__photo .dot--cream { top: 14%; left: 60%; } .place__photo .dot--olive { top: 46%; left: 24%; } .place__photo .dot--rose { top: 58%; right: 4%; } .place__photo .dot--mist { bottom: 5%; left: 7%; }
.place__info { padding: 1.75rem var(--gut) 4rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.place__addr { font-size: clamp(1.15rem, 4.6vw, 1.7rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.25; max-width: 32ch; }
@media (min-width: 62rem) {
  .place { padding-top: calc(var(--px) * 14); }
  .place h2 { font-size: calc(var(--px) * 56); }
  .place__photo { aspect-ratio: 875 / 409; }
  .place__photo .dot--cream { top: 17.6%; left: 60.3%; } .place__photo .dot--olive { top: 49%; left: 24.6%; } .place__photo .dot--rose { top: 62%; right: 4%; left: auto; } .place__photo .dot--mist { top: 93%; left: 7.8%; bottom: auto; transform: translateY(-100%); }
  .place__info { grid-template-columns: 1fr 1fr; padding: calc(var(--px) * 40) var(--gut) calc(var(--px) * 70); }
  .place__addr, .place__info .pill-row { grid-column: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .place__photo .dot { animation: float 9s ease-in-out infinite alternate; }
  .place__photo .dot--olive { animation-duration: 11s; } .place__photo .dot--rose { animation-duration: 13s; animation-delay: -4s; } .place__photo .dot--mist { animation-duration: 10s; animation-delay: -2s; }
  @keyframes float { from { translate: 0 0; } to { translate: 0.6rem -0.9rem; } }
}

/* ===== 8. коротко о гостинице ===== */
.about { padding: 0 var(--gut) 4.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.about__text { max-width: 40rem; color: var(--olive); font-size: 1.02rem; }
.about__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; align-items: start; margin-top: 1.5rem; }
.about__grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__grid .g2 { margin-top: 2.5rem; } .about__grid .g4 { margin-top: 1.5rem; }
@media (min-width: 62rem) {
  .about { grid-template-columns: 1fr 1fr; padding-bottom: calc(var(--px) * 80); }
  .about__text { font-size: max(1rem, calc(var(--px) * 10.5)); width: 86%; align-self: start; margin-top: calc(var(--px) * 6); }
  .about__grid { grid-column: 1 / -1; grid-template-columns: 1fr 1.25fr 0.9fr 1.1fr; gap: calc(var(--px) * 14); margin-top: calc(var(--px) * 40); }
  .about__grid .g1 { margin-top: calc(var(--px) * 50); } .about__grid .g2 { margin-top: 0; } .about__grid .g3 { margin-top: calc(var(--px) * 80); } .about__grid .g4 { margin-top: calc(var(--px) * 24); }
}

/* ===== 9. отзывы: пузыри на фото ===== */
.reviews { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); padding: 4.5rem var(--gut); }
.reviews__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(0.6); }
.reviews::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(40, 46, 56, 0.72); }
.reviews h2 { font-size: clamp(2.1rem, 8vw, 3rem); margin-bottom: 2rem; }
.quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
.q { background: var(--cream); color: var(--ink); border-radius: 1rem; padding: 1.1rem 1.25rem; max-width: 34rem; }
.q p { font-size: 0.95rem; line-height: 1.35; }
.q figcaption { margin-top: 0.8rem; font-size: 0.8rem; color: var(--olive); font-weight: 500; }
.q--2 { justify-self: end; max-width: 26rem; }
@media (min-width: 62rem) {
  .reviews { padding: calc(var(--px) * 68) var(--gut) calc(var(--px) * 90); }
  .reviews h2 { font-size: calc(var(--px) * 42); margin-bottom: calc(var(--px) * 50); }
  .quotes { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: calc(var(--px) * 20); align-items: start; }
  .q { border-radius: max(1rem, calc(var(--px) * 14)); padding: calc(var(--px) * 14) calc(var(--px) * 15); }
  .q p { font-size: max(0.9rem, calc(var(--px) * 10)); }
  .q--1 { grid-column: 2 / span 5; } .q--2 { grid-column: 8 / span 4; margin-top: calc(var(--px) * 60); justify-self: start; } .q--3 { grid-column: 4 / span 5; margin-top: calc(var(--px) * -10); }
}

/* ===== 10. вопросы ===== */
.faq { padding: 4.5rem var(--gut); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; padding-block: 0.9rem; cursor: pointer; font-size: clamp(1.1rem, 4.4vw, 1.5rem); font-weight: 500; letter-spacing: -0.03em; overflow-wrap: anywhere; color: var(--olive); transition: color 0.3s; }
.faq summary:hover, .faq details[open] summary { color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] .arrow { transform: rotate(-90deg); }
.faq details p { padding: 0 0 1.3rem; max-width: 52ch; color: var(--olive); overflow-wrap: anywhere; }
@media (min-width: 62rem) {
  .faq { grid-template-columns: 1fr 1fr; gap: 0; padding: calc(var(--px) * 60) var(--gut); align-items: start; }
  .faq summary { font-size: max(1.3rem, calc(var(--px) * 21)); padding-block: calc(var(--px) * 7); min-height: 0; }
  .faq details p { font-size: max(0.9rem, calc(var(--px) * 9.5)); }
}

/* ===== 11. финальный призыв ===== */
.final { background: var(--blue); position: relative; overflow: hidden; padding: 4.5rem var(--gut); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.final h2 { font-size: clamp(2.3rem, 10vw, 3.8rem); max-width: 14ch; }
.final h2 em { font-size: 1.15em; }
.final__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-content: start; }
.prices { border-top: 1.5px solid var(--ink); max-width: 30rem; }
.prices li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; border-bottom: 1.5px solid var(--ink); font-size: 1.1rem; flex-wrap: wrap; }
.prices strong { font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; }
.prices__note { font-size: 0.9rem; margin-top: -0.75rem; }
.final__door { width: min(100%, 20rem); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; justify-self: start; }
.outline { display: none; font-family: var(--serif); font-style: italic; font-weight: 500; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--cream); pointer-events: none; user-select: none; }
@media (min-width: 62rem) {
  .final { grid-template-columns: minmax(0, 66fr) minmax(0, 34fr); align-items: end; padding: calc(var(--px) * 68) var(--gut); }
  .final h2 { font-size: calc(var(--px) * 50); }
  .final__door { justify-self: end; width: min(100%, calc(var(--px) * 220)); }
}
@media (min-width: 75rem) { .outline { display: block; position: absolute; left: 40%; top: 44%; font-size: clamp(5.5rem, 10vw, 9rem); } }

/* ===== 12. контакты (по подвалу макета) и подвал ===== */
.contacts { padding: 4.5rem var(--gut) 2rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.contacts__l { display: grid; gap: 0.3rem; font-size: clamp(1.3rem, 5vw, 1.7rem); }
.contacts__l a { color: var(--olive); text-decoration: none; letter-spacing: -0.02em; transition: color 0.25s; }
.contacts__l a:hover { color: var(--ink); }
.contacts__c img { width: 5.1rem; height: 5.1rem; object-fit: cover; }
.contacts__soc { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 0.7rem; font-size: 0.8rem; }
.contacts__soc a { color: var(--blue-ink); text-decoration: none; }
.contacts__soc a:hover { text-decoration: underline; }
.contacts__r { display: grid; gap: 1rem; font-size: 1.05rem; }
.contacts__r dt { font-size: 0.78rem; color: var(--olive); }
.contacts__r a { text-decoration: none; font-weight: 500; }
@media (min-width: 62rem) {
  .contacts { grid-template-columns: 1fr auto 1fr; align-items: start; padding: calc(var(--px) * 10) var(--gut) calc(var(--px) * 24); }
  .contacts__l { font-size: max(1.2rem, calc(var(--px) * 17)); gap: calc(var(--px) * 6); }
  .contacts__c { justify-self: center; text-align: center; }
  .contacts__c img { width: calc(var(--px) * 81); height: calc(var(--px) * 81); }
  .contacts__soc { align-items: center; font-size: max(0.8rem, calc(var(--px) * 9)); }
  .contacts__r { text-align: right; justify-items: end; font-size: max(1rem, calc(var(--px) * 14)); }
}
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1.25rem var(--gut) 1.5rem; font-size: 0.82rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (min-width: 62rem) { .site-footer { font-size: max(0.8rem, calc(var(--px) * 9)); padding-bottom: calc(var(--px) * 20); } }

/* ===== нижняя панель на телефоне ===== */
.dock { position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); display: flex; gap: 0.6rem; padding: 0.6rem var(--gut) calc(0.6rem + env(safe-area-inset-bottom)); background: var(--cream); border-top: 1.5px solid var(--ink); }
.dock .pill { flex: 1; }
.dock .pill--call { flex: none; width: 3.25rem; padding: 0; }
body.is-booking .dock, body.dock-off .dock { display: none; } /* пока открыт виджет брони: панель закрывала поля формы */
@media (min-width: 62rem) { .dock { display: none; } body { padding-bottom: 0; } }

/* ===== окно заявки ===== */
dialog { width: min(100% - 2rem, 34rem); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); padding: 0; border: 1.5px solid var(--ink); border-radius: 1.75rem; background: var(--cream); color: var(--ink); z-index: var(--z-dialog); }
dialog::backdrop { background: rgba(40, 46, 56, 0.6); }
.dialog__head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.5rem 0; }
.dialog__head h2 { font-size: 1.9rem; }
.dialog__close { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: none; font-size: 1.5rem; line-height: 1; }
.dialog__body { padding: 1.5rem; display: grid; gap: 1.5rem; }
.fallback p { max-width: 40ch; }
.fallback .pill-row { margin-top: 1.25rem; }
.fallback[hidden], .form[hidden] { display: none; }
.form { display: grid; gap: 1rem; }
dialog .field input, dialog .field textarea { border-color: var(--ink); background: #fff; }
@media (max-width: 46rem) { dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 1.75rem 1.75rem 0 0; max-height: 92vh; max-height: 92dvh; } }

/* ===== служебные страницы: реквизиты, политика ===== */
.doc { max-width: 46rem; margin: 0 auto; padding: calc(var(--head-h) + 3rem) var(--gut) 4rem; }
.doc__back { margin-bottom: 1.5rem; font-size: 0.95rem; }
.doc h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; margin-bottom: 0.75rem; }
.doc h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.doc h3 { font-size: 1.05rem; font-weight: 600; margin: 1.35rem 0 0.5rem; letter-spacing: -0.02em; }
.doc p, .doc li { margin-bottom: 0.9rem; color: var(--olive); max-width: 62ch; }
.doc ul, .doc ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.doc li { margin-bottom: 0.4rem; }
.doc__meta { color: var(--olive); font-size: 0.95rem; margin-bottom: 2rem; max-width: 62ch; }
.doc a { text-underline-offset: 0.18em; }
.doc code { font-size: 0.88em; overflow-wrap: anywhere; }
.form__legal { font-size: 0.85rem; line-height: 1.4; color: var(--olive); max-width: 36em; }
.form__legal a { color: inherit; }
.req div { border-top: 1.5px solid var(--ink); padding: 0.9rem 0; display: grid; gap: 0.2rem; }
.req div:last-child { border-bottom: 1.5px solid var(--ink); }
.req dt { font-size: 0.8rem; color: var(--olive); }
.req dd { font-size: 1.1rem; overflow-wrap: anywhere; }
.doc-page { padding-bottom: 0; }

/* на очень крупном шрифте и узком экране ничего не уезжает */
img, svg, iframe { max-width: 100%; }
.biz__lines { max-width: none; }
.biz__lines path { fill: none; stroke-linecap: round; }
.biz__lines .r1 { stroke: var(--ink); }
.biz__lines .r2 { stroke: var(--blue-ink); }
.biz__lines .r3 { stroke: var(--rose); stroke-width: 2.4; }

/* ===== v5: правки по critique (читаемость, контраст, воздух, лишний декор) ===== */
:root { --olive: #4F4E41; }
.place h2 { color: var(--blue-ink); }
.hero__tags { font-size: 0.8125rem; }
.hero__text { font-size: 1rem; line-height: 1.4; }
.rm__price small, .contacts__r dt, .field { font-size: 0.875rem; }
.rooms__lead, .rm__body p, .biz__lead, .about__text, .widget-note { font-size: 1rem; line-height: 1.45; }
.mobile-menu a:not(.pill) { padding-block: 0.8rem; }
.faq summary { min-height: 3.25rem; }
.contacts__l a, .contacts__r a, .contacts a { display: inline-block; padding-block: 0.6rem; }
.menu-btn { width: 3rem; height: 3rem; }
.pill--xs { min-height: 2.75rem; }
.reviews .q p, .q blockquote p { font-size: 1rem; line-height: 1.45; }

.mobile-menu { z-index: calc(var(--z-sticky) + 20); }

/* убрали точки с вывеской и контурное «тепло»: вывеска должна читаться */
.place__photo .dot { display: none; }
.final .outline { display: none; }

@media (min-width: 62rem) {
  .hdr-r .nav { font-size: max(0.9375rem, calc(var(--px) * 9.5)); line-height: 1.55; }
  .hero__text { font-size: max(1rem, calc(var(--px) * 10)); }
  .rooms__view { padding: calc(var(--px) * 12) 22% 0 8%; }
  .rooms__line { margin-top: calc(var(--px) * 48); }
  .biz__lead, .biz__items { font-size: max(1rem, calc(var(--px) * 10)); }
  .biz__lead { width: calc(var(--px) * 230); }
  .biz__items { margin-top: calc(var(--px) * 40); }
  .biz h2 .b { margin-top: calc(var(--px) * 40); }
  .split__note, .rm__price, .rm__body p { font-size: max(0.9375rem, calc(var(--px) * 9.5)); }
}

@media (min-width: 62rem) {
  .rooms__line { max-width: calc(var(--px) * 640); margin-left: auto; }
  .rooms__line .l2 { gap: 0.25rem calc(var(--px) * 24); }
  .rooms__head { margin-bottom: calc(var(--px) * 40); }
  .rooms { padding-bottom: calc(var(--px) * 44); }
}

/* значки возле текстовых блоков */
.ico { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); }
.ico svg { width: 1.35rem; height: 1.35rem; }
.biz__lead { display: flex; align-items: flex-start; gap: 1rem; font-weight: 400; max-width: 32rem; }
.biz__lead span:not(.ico) { min-width: 0; }
.biz__items li { align-items: center; }
.inl-ico { display: inline-grid; place-items: center; width: 1.9em; height: 0.8em; vertical-align: 0.02em; border: 1.5px solid var(--cream); border-radius: 999px; margin-right: 0.1em; }
.inl-ico svg { height: 0.62em; width: auto; }
@media (min-width: 62rem) {
  .biz__lead { width: calc(var(--px) * 250); gap: calc(var(--px) * 10); font-size: max(1rem, calc(var(--px) * 10)); line-height: 1.4; }
  .biz__items { margin-left: 17%; gap: calc(var(--px) * 26); }
  .biz__items li:last-child { margin-left: 0; }
  .ico { width: max(2.75rem, calc(var(--px) * 32)); height: max(2.75rem, calc(var(--px) * 32)); }
  .ico svg { width: 55%; height: 55%; }
}

/* ===== совместимость: iPhone/Safari, старые браузеры ===== */
html { overflow-x: hidden; overflow-x: clip; max-width: 100%; overscroll-behavior-x: none; touch-action: pan-y pinch-zoom; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; max-width: 100%; position: relative; }
img, svg, video, iframe { max-width: 100%; }
.field input { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; }
.field input[type="date"] { display: block; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.4em; }
button, .pill { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }
summary { -webkit-tap-highlight-color: transparent; }
summary::-webkit-details-marker { display: none; }
.mood__img, .reviews__img, .split__dark > img { transform: translateZ(0); }


/* ===== правки 2026-11-06 ===== */
/* лого: кривой круг с выпуклостями, «Огни» прописью */
.logo { position: relative; background: none; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.05rem; letter-spacing: 0; width: 3.1rem; height: 3.1rem; }
.logo__blob { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--blue); transform: rotate(-8deg); }
.logo span { position: relative; transform: rotate(-6deg); }

/* галерея номеров */
.rv[data-gallery] { cursor: zoom-in; position: relative; }
.rv__more { position: absolute; right: 0.6rem; bottom: 0.6rem; z-index: 2; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 0.8rem; font-weight: 500; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(22, 22, 22, 0.92); display: grid; place-items: center; touch-action: pan-y; }
.lb[hidden] { display: none; }
.lb__img { max-width: min(92vw, 70rem); max-height: 84vh; object-fit: contain; border-radius: 0.5rem; }
.lb__close, .lb__nav { position: absolute; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--cream); background: rgba(22, 22, 22, 0.4); color: var(--cream); font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb__close { top: 1rem; right: 1rem; }
.lb__prev { left: 1rem; top: 50%; transform: translateY(-50%); } .lb__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 1.25rem; left: 0; right: 0; text-align: center; color: var(--cream); font-size: 0.9rem; }
@media (max-width: 40rem) { .lb__prev { left: 0.4rem; } .lb__next { right: 0.4rem; } .lb__nav { width: 2.5rem; height: 2.5rem; } }

@media (min-width: 62rem) { .biz__photo img { aspect-ratio: 4 / 5; border-radius: 0; object-position: 50% 50%; } }
@media (min-width: 62rem) { .hero__photo img { width: 108%; max-width: none; } }

/* лого: неровное пятно + надпись «Огни» шрифтом вывески отеля */
.logo { width: 3.6rem; height: 3.6rem; }
.logo__blob { transform: rotate(-12deg); overflow: visible; }
.logo__blob .fill { fill: var(--blue); }
.logo__blob .line { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; opacity: 0.8; }
.logo img { position: relative; width: 66%; height: auto; transform: rotate(-7deg) translateY(-2%); }
@media (max-width: 61.99rem) { .hero__tags { justify-content: center; gap: 0.35rem 1.1rem; text-align: center; } }
