/* «Синий час» — демо глэмпинга. Арт-дирекшен «Кадр из фильма». */
:root {
  --bg: #12110E;
  --surface: #1C1A16;
  --surface-2: #1E2621;
  --text: #EEE6D8;
  --muted: #A59C8E;
  --line: #36312A;
  --accent: #E6A457;
  --accent-hi: #EDB06A;
  --accent-ink: #16120C;
  --err: #E0735A;
  --lake: #16201F;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --hdr: 72px;
  --pad: 60px;
  --sec: 160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 767px) {
  :root { --hdr: 56px; --pad: 16px; --sec: 88px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--sans);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1320px, 100% - var(--pad) * 2); margin-inline: auto; }
.section { padding-block: var(--sec) 0; }

/* Типографика */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 500 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5; flex: none; }
.eyebrow-light { color: rgba(238, 230, 216, .82); }
.h2 { font: 300 56px/1.05 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.h3 { font: 300 26px/1.2 var(--serif); }
.sec-head { max-width: 760px; margin-bottom: 64px; }
.sec-sub { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 620px; text-wrap: pretty; }
em, i { font-style: italic; }
.link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--text); text-decoration: underline; text-decoration-color: rgba(238,230,216,.35);
  text-underline-offset: 5px; text-decoration-thickness: 1px;
  font: 500 16px/1.2 var(--sans); letter-spacing: .02em;
}
.link:hover { text-decoration-color: var(--text); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 2px; border: 1px solid transparent;
  font: 500 16px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, opacity .2s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-primary[disabled], .btn-primary[aria-disabled="true"] { background: var(--line); color: var(--muted); cursor: not-allowed; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { height: 44px; padding: 0 20px; }
.btn-block { width: 100%; }
.btn-wide { min-width: 320px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  background: none; border: 0; border-radius: 2px; color: var(--text); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: rgba(238,230,216,.06); }

/* Шапка */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(18, 17, 14, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.header-in { height: 100%; display: flex; align-items: center; gap: 32px; width: min(1320px, 100% - var(--pad) * 2); margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: italic 300 22px/1 var(--serif); color: var(--text); min-height: 44px; }
.logo-mark { color: var(--text); opacity: .9; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: .02em;
  color: rgba(238,230,216,.82); padding: 14px 0;
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.only-mob { display: none; }
@media (max-width: 1099px) {
  .nav, .header-phone { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .only-mob { display: inline-grid; }
}
@media (max-width: 767px) {
  .header-actions .btn { display: none; }
  .logo { font-size: 21px; }
}

/* Мобильное меню */
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); }
.mnav-top { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.mnav-links { display: flex; flex-direction: column; margin-top: 32px; }
.mnav-links a { font: 300 32px/1.2 var(--serif); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mnav-foot { margin-top: auto; display: grid; gap: 16px; }
.mnav-phone { font: 500 20px/1 var(--sans); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
/* планшет: меню на тех же полях, что и страница */
@media (min-width: 768px) {
  .mnav { padding-inline: var(--pad); }
  .mnav-top { height: var(--hdr); }
  .mnav-links a { font-size: 44px; padding: 16px 0; }
  .mnav-foot { grid-template-columns: auto 320px; justify-content: space-between; align-items: center; }
}

/* Hero */
.hero {
  position: relative; margin-top: calc(var(--hdr) * -1);
  height: max(620px, calc(100vh - 36px)); max-height: 1080px;
  overflow: hidden; background: #0c0c0a; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(18,17,14,.92) 0%, rgba(18,17,14,.5) 40%, rgba(18,17,14,0) 66%),
  linear-gradient(to right, rgba(18,17,14,.62) 0%, rgba(18,17,14,.25) 42%, rgba(18,17,14,0) 62%),
  linear-gradient(to bottom, rgba(18,17,14,.55) 0%, rgba(18,17,14,0) 22%); }
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .04; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.hero-in { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 64px; }
.hero-copy { max-width: 1200px; }
.hero h1 { font: 200 84px/1.02 var(--serif); letter-spacing: -.015em; max-width: 1200px; }
.hero h1 .l2 { display: block; }
.hero h1 em { font-weight: 300; }
.hero-sub { margin-top: 28px; font-size: 20px; line-height: 1.45; max-width: 560px; color: rgba(238,230,216,.9); }
.hero-sub-short { display: none; }
.hero-sub b { font-weight: 500; color: var(--text); }
.hero-cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-cta .btn-ghost { border-color: rgba(238,230,216,.3); }
.hero-credit { position: absolute; right: 0; bottom: 78px; max-width: 300px; text-align: right; font-size: 14px; line-height: 1.5; color: var(--muted); }
.hero-credit i { font-family: var(--serif); color: var(--text); }
@media (max-width: 1280px) { .hero h1 { font-size: 72px; } }
@media (max-width: 1099px) {
  .hero-credit { display: none; } .hero h1 { font-size: 64px; }
  /* без титра кадра цена должна быть в подзаголовке */
  .hero-sub-long { display: none; } .hero-sub-short { display: block; }
}
@media (max-width: 767px) {
  .hero { height: calc(100svh - 36px); min-height: 600px; max-height: none; }
  .hero-media img { object-position: 82% 50%; }
  .hero-shade { background:
    linear-gradient(to top, rgba(18,17,14,.95) 0%, rgba(18,17,14,.7) 40%, rgba(18,17,14,0) 72%),
    linear-gradient(to bottom, rgba(18,17,14,.6) 0%, rgba(18,17,14,0) 18%); }
  .hero-in { padding-bottom: 28px; }
  .hero h1 { font-size: 44px; line-height: 1.02; }
  .hero h1 .l2 { display: inline; }
  .hero-sub-short { font-size: 17px; margin-top: 18px; }
  .hero-cta { flex-direction: column; gap: 4px; margin-top: 24px; }
  .hero-cta .btn-primary { width: 100%; }
  .hero-cta .hero-second { border: 0; height: 44px; padding: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(238,230,216,.4); }
}

/* Ken Burns и титры */
.frame-roll img { transform: scale(1); transition: transform 12s ease-out; will-change: transform; }
.frame-roll.is-rolling img { transform: scale(1.06); }
.js .titles .t1, .js .titles .t2 { opacity: 0; letter-spacing: .2em; transition: opacity .9s var(--ease), letter-spacing .9s var(--ease); }
.js .titles .t2 { transition-delay: .15s; }
.js .is-shown .titles .t1, .js .is-shown .titles .t2 { opacity: 1; letter-spacing: .02em; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-shown { opacity: 1; transform: none; }

/* О месте */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.about-head { grid-column: 1 / span 6; }
.about-title { font-size: 48px; line-height: 1.1; }
.about-text { grid-column: 7 / span 6; display: grid; gap: 20px; padding-top: 40px; color: rgba(238,230,216,.88); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 88px; border-top: 1px solid var(--line); }
.facts li { padding-top: 28px; display: grid; gap: 8px; }
.facts b { font: 300 40px/1.1 var(--serif); }
.facts span { font-size: 15px; color: var(--muted); max-width: 300px; }

/* Домики-кадры */
.stay + .stay { margin-top: 120px; }
.frame { position: relative; aspect-ratio: 2.39 / 1; overflow: hidden; background: var(--surface-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,17,14,.85) 0%, rgba(18,17,14,0) 50%); }
.titles { position: absolute; left: 48px; right: 48px; bottom: 40px; }
.t1 { font: italic 300 56px/1.05 var(--serif); }
.t2 { margin-top: 8px; font-size: 17px; color: rgba(238,230,216,.9); }
.stay-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 36px; align-items: start; }
.stay-desc { grid-column: 1 / span 5; color: rgba(238,230,216,.88); }
.stay-list { grid-column: 7 / span 3; font-size: 16px; color: var(--muted); }
.stay-list li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.stay-list li:first-child { padding-top: 0; }
.stay-act { grid-column: 10 / span 3; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.stay-act .btn { width: 100%; }
.stay.is-pulse .frame { outline: 1px solid var(--text); outline-offset: 6px; }
/* ритм кадров: на десктопе кадры идут «лесенкой», у чётных титр справа, как в финальных титрах */
@media (min-width: 1100px) {
  article.stay:nth-of-type(odd) .frame { margin-right: calc((100% + 24px) / 12); }
  article.stay:nth-of-type(even) .frame { margin-left: calc((100% + 24px) / 12); }
  article.stay:nth-of-type(even) .titles { text-align: right; }
  article.stay:nth-of-type(even) .frame-shade { background: linear-gradient(to top, rgba(18,17,14,.85) 0%, rgba(18,17,14,0) 50%), linear-gradient(to left, rgba(18,17,14,.35) 0%, rgba(18,17,14,0) 45%); }
  article.stay:nth-of-type(even) .stay-desc { grid-column: 2 / span 5; }
  article.stay:nth-of-type(odd) .stay-desc { padding-right: 32px; }
  article.stay:nth-of-type(odd) .stay-list { grid-column: 6 / span 3; }
  article.stay:nth-of-type(odd) .stay-act { grid-column: 9 / span 3; }
}

/* Вечер */
.vecher-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.vecher-big { grid-column: 1 / span 7; aspect-ratio: 5 / 6; overflow: hidden; background: var(--surface-2); }
.vecher-big img { width: 100%; height: 100%; object-fit: cover; }
.vecher-side { grid-column: 9 / span 4; padding-top: 8px; }
/* прайс едет рядом с высоким кадром, а не оставляет под собой пустоту */
@media (min-width: 1100px) { .vecher-side { position: sticky; top: 120px; } }
.price-list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price-list li:first-child { border-top: 1px solid var(--line); }
.price-list b { display: block; font-weight: 500; font-size: 18px; }
.price-list span { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
.price-list em { font-style: normal; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.vecher-note { margin-top: 28px; color: var(--muted); font-size: 15px; }
.vecher-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.frame-sm { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.frame-sm img { width: 100%; height: 100%; object-fit: cover; }
.vecher-small figcaption { margin-top: 14px; font: italic 300 20px/1.3 var(--serif); color: rgba(238,230,216,.9); }

/* Карта */
.map-wrap { position: relative; width: min(100%, 1090px); margin-inline: auto; }
.map-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; color: var(--muted); font-size: 15px; }
.map-bar span { color: var(--text); }
.map-box { position: relative; aspect-ratio: 1000 / 760; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.map-box svg { display: block; width: 100%; height: 100%; }
.m-tree { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linejoin: round; }
.m-lake { fill: var(--lake); }
.m-shore { fill: none; stroke: var(--muted); stroke-opacity: .5; stroke-width: 1.5; }
.m-ripple { stroke: var(--muted); stroke-opacity: .3; stroke-width: 1.5; stroke-linecap: round; }
.m-path { fill: none; stroke: #4a4238; stroke-width: 1.5; stroke-dasharray: 4 7; stroke-linecap: round; }
.m-pier { stroke: var(--muted); stroke-width: 4; stroke-linecap: round; }
.m-obj circle { fill: var(--surface-2); stroke: var(--muted); stroke-width: 1.5; }
.m-obj text { fill: var(--muted); font-family: var(--sans); }
.m-unit { cursor: pointer; outline: none; }
.m-unit .hit { fill: transparent; }
.m-unit .ring { fill: none; stroke: var(--text); stroke-width: 1; opacity: 0; }
.m-unit:hover .ring, .m-unit:focus-visible .ring { opacity: 1; }
.m-unit:focus-visible .ring { stroke-width: 2; }
.m-unit .shape { fill: var(--surface-2); stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round; }
.m-unit .win { fill: var(--text); }
.m-unit .glow { fill: var(--text); opacity: .16; filter: blur(5px); }
.m-unit .nm { fill: var(--text); font-family: var(--serif); font-style: italic; font-weight: 300; text-anchor: middle; }
.m-unit .st { fill: var(--muted); font-family: var(--sans); text-anchor: middle; }
.m-unit.is-busy .shape { stroke: var(--muted); stroke-opacity: .4; }
.m-unit.is-busy .nm { fill: var(--muted); }
.m-unit.is-sel .shape { fill: var(--accent); stroke: var(--accent); }
.m-unit.is-sel .win { fill: var(--accent-ink); }
.m-unit .selring { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.m-unit.is-flash .ring { opacity: 1; animation: flash 1.2s ease-in-out 3; }
@keyframes flash { 50% { opacity: .15; } }
.map-legend { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg-free { fill: none; stroke: var(--text); stroke-width: 1.8; }
.lg-win { fill: var(--text); }
.lg-busy { fill: none; stroke: var(--muted); stroke-opacity: .5; stroke-width: 1.8; }
.lg-sel { fill: var(--accent); stroke: var(--accent); stroke-width: 1.8; }
.map-count { font-size: 15px; color: var(--muted); }
.map-count b { color: var(--text); font-weight: 500; }
.unit-list { margin-top: 20px; border-top: 1px solid var(--line); }
.unit-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; list-style: none; font-weight: 500; }
.unit-list summary::-webkit-details-marker { display: none; }
.unit-list[open] summary svg { transform: rotate(180deg); }
.unit-list summary svg { transition: transform .2s; color: var(--muted); }
.unit-list ul { columns: 2; column-gap: 24px; }
.unit-row {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 4px;
  background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; font-size: 16px; break-inside: avoid;
}
.unit-row i { font-family: var(--serif); font-size: 18px; }
.unit-row .ur-type { color: var(--muted); }
.unit-row .ur-st { margin-left: auto; color: var(--muted); font-size: 14px; }
.unit-row.is-free .ur-st { color: var(--text); }
.unit-row.is-sel { box-shadow: inset 2px 0 0 var(--accent); padding-left: 12px; }
.map-noscript { padding: 24px; display: grid; gap: 8px; color: var(--muted); }
.map-noscript i { color: var(--text); font-family: var(--serif); }

.map-card {
  position: absolute; z-index: 5; width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.map-card { scroll-margin: 84px 0 16px; }
@media (max-width: 1099px) { .map-card { scroll-margin-bottom: 88px; } }
.mc-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.mc-photo img { width: 100%; height: 100%; object-fit: cover; }
.mc-body { padding: 18px 20px 20px; }
.mc-name { font: italic 300 30px/1.1 var(--serif); }
.mc-kind { margin-top: 6px; font-size: 15px; color: var(--muted); }
.mc-place { margin-top: 12px; font-size: 16px; }
.mc-price { margin-top: 12px; font-size: 16px; font-variant-numeric: lining-nums tabular-nums; color: var(--text); }
.mc-body .btn { width: 100%; margin-top: 16px; }
.mc-x { position: absolute; top: 6px; right: 6px; background: rgba(18,17,14,.7); }
@media (max-width: 767px) {
  .map-card { position: fixed; left: 0; right: 0; bottom: 0; top: auto !important; width: auto; border-radius: 10px 10px 0 0; z-index: 85; max-height: 85vh; overflow: auto; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 0 0 100vmax rgba(8,8,6,.6); }
  .map-card .mc-photo { aspect-ratio: 16 / 9; }
  .unit-list ul { columns: 1; }
}

/* Бронь */
.bron-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.bron-main { grid-column: 1 / span 8; display: grid; gap: 64px; }
.bron-side { grid-column: 9 / span 4; position: sticky; top: 96px; }
.sub-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; }
.sub-block > .h3 { margin-bottom: 20px; }
.cal-status { color: var(--muted); font-size: 16px; min-height: 25px; }
.cal-status.is-warn { color: var(--text); }
.cal { position: relative; margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 20px 24px 12px; }
.cal-nav { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.cal-nav .icon-btn { pointer-events: auto; }
.cal-nav .icon-btn[disabled] { opacity: .25; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cal-title { text-align: center; font: 300 20px/44px var(--serif); height: 44px; margin-bottom: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.cal-dow { text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 6px; letter-spacing: .04em; }
.cd {
  position: relative; height: 56px; min-width: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; font-variant-numeric: lining-nums tabular-nums;
}
.cd:focus-visible { outline: none; }
.cd:focus-visible .cd-c { outline: 2px solid var(--text); outline-offset: 2px; }
.cd-band { position: absolute; top: 50%; left: 0; right: 0; height: 44px; transform: translateY(-50%); }
.cd-c {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  transition: background .15s;
}
.cd-n { font-size: 16px; font-weight: 500; }
.cd-p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cd:hover .cd-c { background: rgba(238,230,216,.07); }
.cd.is-wd .cd-c { box-shadow: inset 0 0 0 1px rgba(230,164,87,.18), 0 0 18px -6px rgba(230,164,87,.5); }
.cd.is-off { cursor: default; }
.cd.is-off .cd-n { color: rgba(165,156,142,.45); font-weight: 400; }
.cd.is-off .cd-p { opacity: .4; }
.cd.is-off:hover .cd-c { background: transparent; }
.cd.is-full .cd-n { text-decoration: line-through; color: var(--muted); }
.cd.is-full.is-off .cd-n { color: rgba(165,156,142,.6); }
.cd.in-range .cd-band { background: rgba(230,164,87,.14); }
.cd.is-start .cd-band { left: 50%; }
.cd.is-end .cd-band { right: 50%; }
.cd.is-start.is-end .cd-band { display: none; }
.cd.is-start .cd-c, .cd.is-end .cd-c { background: var(--accent); box-shadow: none; }
.cd.is-start .cd-n, .cd.is-end .cd-n, .cd.is-start .cd-p, .cd.is-end .cd-p { color: var(--accent-ink); }
.cd.in-hover .cd-band { background: rgba(230,164,87,.08); }
.cd.is-hover-end .cd-c { box-shadow: 0 0 0 1px var(--accent); }
.cd-empty { height: 56px; }
.cal-tip {
  position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -100%);
  background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 6px 10px; font-size: 14px; white-space: nowrap;
}
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.lg-item { display: inline-flex; align-items: center; gap: 8px; }
.lg-item s { color: var(--text); }
.lg-halo { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(230,164,87,.35), 0 0 12px -3px rgba(230,164,87,.6); }
.lg-fill { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.cal-reset { margin-left: auto; font-size: 14px; }

.guests { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; max-width: 640px; }
.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.st-btn { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 2px; cursor: pointer; display: grid; place-items: center; }
.st-btn:hover:not([disabled]) { border-color: var(--muted); }
.st-btn[disabled] { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 32px; text-align: center; font: 300 24px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.guests-hint { margin-top: 14px; font-size: 15px; color: var(--muted); }

.types-empty { padding: 20px 24px; margin-bottom: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; }
.types-empty p { margin-bottom: 10px; }
.types { display: grid; gap: 12px; }
.tr { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s, opacity .2s; }
.tr.is-sel { border-color: var(--text); }
.tr.is-dim .tr-main { opacity: .55; }
.tr-main { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 14px; }
.tr-img { width: 120px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; background: var(--surface-2); }
.tr-img img { width: 100%; height: 100%; object-fit: cover; }
.tr-name { font: italic 300 26px/1.1 var(--serif); }
.tr-kind { font-size: 15px; color: var(--muted); margin-top: 2px; }
.tr-status { font-size: 15px; margin-top: 6px; }
.tr-status.is-last { color: var(--text); }
.tr-side { text-align: right; display: grid; justify-items: end; gap: 8px; }
.tr-price { font-size: 17px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tr-price b { font-weight: 500; }
.tr.is-sel .tr-price b { color: var(--accent); }
.tr-side .btn { height: 44px; padding: 0 20px; }
.tr-sub { padding: 0 14px 14px; display: grid; gap: 10px; }
.tr-sub:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 22px; background: transparent; cursor: pointer;
  font: italic 300 17px/1 var(--serif); display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { border-color: var(--text); background: rgba(238,230,216,.08); }
.tr-nights summary { cursor: pointer; font-size: 15px; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; list-style: none; }
.tr-nights summary::-webkit-details-marker { display: none; }
.tr-nights summary svg { transition: transform .2s; }
.tr-nights[open] summary svg { transform: rotate(180deg); }
.tr-nights ul { font-size: 15px; color: var(--muted); display: grid; gap: 2px; padding: 4px 0 2px; }
.tr-nights li b { color: var(--text); font-weight: 400; font-variant-numeric: tabular-nums; }
.nearest { justify-self: start; }

.extras-lock { color: var(--muted); margin: -8px 0 16px; font-size: 15px; }
.extras { border-top: 1px solid var(--line); }
.extras.is-locked { opacity: .45; pointer-events: none; }
.ex { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: 16px 0 16px 16px; border-bottom: 1px solid var(--line); box-shadow: inset 2px 0 0 transparent; transition: box-shadow .2s; }
.ex.is-on { box-shadow: inset 2px 0 0 var(--text); }
.ex.is-na .ex-t, .ex.is-na .ex-price { color: var(--muted); }
.ex-t { font-weight: 500; font-size: 17px; }
.ex-n { font-size: 15px; color: var(--muted); }
.ex-combo { font-size: 14px; color: var(--text); margin-top: 2px; }
.ex-price { font-size: 16px; white-space: nowrap; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.ex-price small { color: var(--muted); font-size: 14px; }
.ex-ctrl { min-width: 132px; display: flex; justify-content: flex-end; }
.tog { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: transparent; border-radius: 2px; cursor: pointer; font-weight: 500; font-size: 15px; white-space: nowrap; }
.tog:hover { border-color: var(--muted); }
.tog[aria-pressed="true"] { border-color: var(--text); background: rgba(238,230,216,.08); }
.tog[disabled] { opacity: .35; cursor: not-allowed; }

.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

/* Билет */
.ticket {
  --notch: 18px;
  position: relative; background: var(--surface); border-radius: 6px; border: 1px solid var(--line);
  padding: 28px 28px 24px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--tear, 150px), transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% var(--tear, 150px), transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 var(--tear, 150px), transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% var(--tear, 150px), transparent 98%, #000) right / 51% 100% no-repeat;
}
.tk-top { min-height: 110px; }
.tk-top .eyebrow { margin-bottom: 14px; }
.tk-dates { font: 300 28px/1.15 var(--serif); font-variant-numeric: lining-nums; }
.tk-empty { font: 300 22px/1.3 var(--serif); color: rgba(238,230,216,.9); }
.tk-guests { margin-top: 8px; color: var(--muted); font-size: 16px; }
.tk-unit { margin-top: 4px; font: italic 300 20px/1.3 var(--serif); }
.tk-tear { position: relative; margin: 22px -28px 20px; border-top: 1px dashed var(--line); }
.tk-lines { display: grid; gap: 8px; font-size: 16px; }
.tk-line { display: flex; justify-content: space-between; gap: 16px; }
.tk-line span:last-child { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.tk-line.is-minus span:last-child { color: var(--text); }
.tk-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.tk-total span:first-child { font-size: 16px; }
.tk-total b { font: 400 32px/1 var(--serif); color: var(--accent); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tk-prepay { margin-top: 10px; font-size: 15px; }
.tk-save { margin-top: 12px; display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.ticket .btn { width: 100%; margin-top: 20px; }
.tk-note { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }

/* Отзывы */
.rev-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev-track:focus-visible { outline-offset: 8px; }
.rev { border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.rev blockquote { font: italic 300 20px/1.5 var(--serif); color: rgba(238,230,216,.92); }
.rev figcaption { font-size: 15px; color: var(--muted); margin-top: auto; }
.rev-rating { margin-top: 48px; color: var(--muted); font-size: 15px; }
.rev-rating b { color: var(--text); font-weight: 500; }

/* Сертификат */
.cert-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.cert-preview-wrap { grid-column: 1 / span 6; grid-row: 1 / span 2; position: sticky; top: 120px; }
.cert-head { grid-column: 8 / span 5; grid-row: 1; }
.cert-form { grid-column: 8 / span 5; grid-row: 2; }
.cert-card {
  position: relative; aspect-ratio: 1.6 / 1; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 36px 40px; display: flex; flex-direction: column;
  background-image: radial-gradient(120% 90% at 100% 0%, rgba(230,164,87,.08), transparent 60%);
}
.cert-card::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(238,230,216,.08); border-radius: 3px; pointer-events: none; }
.cc-top { display: flex; align-items: center; gap: 10px; font: italic 300 26px/1 var(--serif); }
.cc-sum { margin-top: auto; font: 300 48px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.cc-for { margin-top: 10px; font: italic 300 22px/1.2 var(--serif); color: rgba(238,230,216,.9); min-height: 27px; }
.cc-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.fs { border: 0; padding: 0; margin: 28px 0 0; }
.fs legend { padding: 0; font-weight: 500; margin-bottom: 12px; }
.fs .chip { font: 500 16px/1 var(--sans); font-variant-numeric: tabular-nums; }
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fmt { text-align: left; padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; display: grid; gap: 4px; }
.fmt b { font-weight: 500; }
.fmt span { font-size: 14px; color: var(--muted); }
.fmt:hover { border-color: var(--muted); }
.fmt[aria-pressed="true"] { border-color: var(--text); background: rgba(238,230,216,.05); }
.cert-form .field { margin-top: 24px; }
.cert-form .btn { margin-top: 28px; }

/* Поля */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 500; font-size: 15px; }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px;
  background: var(--bg); color: var(--text); font: 400 17px/1.4 var(--sans);
}
.field textarea { resize: vertical; min-height: 72px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--muted); box-shadow: 0 0 0 1px var(--muted); }
.field input::placeholder, .field textarea::placeholder { color: rgba(165,156,142,.6); }
.field.has-err input, .field.has-err textarea { border-color: var(--err); }
.err { color: var(--err); font-size: 14px; min-height: 0; }
.err:empty { display: none; }
.check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.check .link { min-height: 0; font-weight: 400; font-size: 15px; letter-spacing: 0; }
.field.check.has-err label span { color: var(--err); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.faq-grid .sec-head { grid-column: 1 / span 4; }
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 68px; padding: 12px 0;
  cursor: pointer; list-style: none; font: 300 22px/1.3 var(--serif);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { color: var(--muted); flex: none; transition: transform .25s; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list p { padding: 0 48px 24px 0; color: rgba(238,230,216,.85); }

/* Контакты */
.cont-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.cont-photo { grid-column: 1 / span 6; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.cont-photo img { width: 100%; height: 100%; object-fit: cover; }
.cont-text { grid-column: 8 / span 5; }
.cont-text .h2 { font-size: 44px; line-height: 1.1; }
.cont-list { margin-top: 32px; display: grid; gap: 14px; }
.cont-list div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cont-list dt { color: var(--muted); font-size: 15px; padding-top: 2px; }
.cont-list a { text-decoration-color: rgba(238,230,216,.35); text-underline-offset: 4px; }
.cont-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* на десктопе Telegram — третьим, тихим действием отдельной строкой, а не оторванной кнопкой */
@media (min-width: 1100px) {
  .cont-btns .js-tg { flex-basis: 100%; justify-content: flex-start; height: 44px; padding: 0; border: 0; color: var(--muted); }
  .cont-btns .js-tg:hover { color: var(--text); }
}

/* Футер */
.site-footer { margin-top: var(--sec); border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg); }
.foot-in { display: grid; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font: italic 300 20px/1.3 var(--serif); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.foot-nav a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-nav a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.foot-bottom .link { color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }

/* Мини-билет */
.mini {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 320px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px 18px;
  -webkit-mask: radial-gradient(circle 10px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 10px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 10px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 10px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  transition: opacity .3s, transform .3s;
}
.mini.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; }
.mini-t { font-size: 15px; color: var(--muted); padding-right: 28px; }
.mini-sum { margin-top: 4px; font: 300 22px/1.2 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.mini-sum.is-acc { color: var(--accent); }
.mini .btn { width: 100%; margin-top: 12px; height: 44px; }
.mini-x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; border-radius: 2px; }
.mini-x:hover { color: var(--text); }
.mini-pill {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; height: 44px; padding: 0 20px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; font-weight: 500;
  transition: opacity .3s;
}
.mini-pill.is-away { opacity: 0; pointer-events: none; }
@media (max-width: 1099px) { .mini, .mini-pill { display: none !important; } }

/* Нижняя панель */
.mbar { display: none; }
@media (max-width: 1099px) {
  body { padding-bottom: 80px; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; gap: 12px;
    min-height: calc(64px + env(safe-area-inset-bottom)); padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar .call { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 2px; }
  .mbar .btn { height: 48px; }
  .mbar .grow { flex: 1; }
  .mb-info { flex: 1; min-width: 0; line-height: 1.25; }
  .mb-d { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mb-s { font: 400 20px/1.2 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
  .mb-s.is-acc { color: var(--accent); }
}

/* Шторка */
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet-back { position: absolute; inset: 0; background: rgba(8,8,6,.6); }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 85vh; overflow: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 12px 12px 0 0; border-top: 1px solid var(--line);
  padding: 8px 16px calc(20px + env(safe-area-inset-bottom));
  animation: sheetUp .3s var(--ease);
}
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet-grip { width: 44px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 8px; }
.sheet-x { position: absolute; top: 6px; right: 8px; }
.sheet-content { padding-top: 40px; }

/* Модалки */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-back { position: absolute; inset: 0; background: rgba(8,8,6,.72); }
.modal-panel {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 36px 36px 28px;
  animation: pop .25s var(--ease);
}
.modal-sm { width: min(440px, 100%); }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.modal-x { position: absolute; top: 10px; right: 10px; }
.modal-h { font-size: 30px; margin-bottom: 16px; padding-right: 40px; }
.modal-lead { color: var(--muted); margin-bottom: 20px; }
.modal-panel > p { margin-bottom: 20px; }
.book-sum { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.book-sum td { padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.book-sum td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 16px; }
.book-sum tr.bs-total td { font-weight: 500; font-size: 17px; border-bottom: 0; padding-top: 10px; }
.book-sum tr.bs-total td:last-child { color: var(--text); }
.success p { margin-bottom: 20px; color: rgba(238,230,216,.9); }
.success .demo-note, .demo-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.policy { display: grid; gap: 12px; margin-bottom: 24px; color: rgba(238,230,216,.88); font-size: 16px; }

/* Тост */
.toast {
  position: fixed; left: 16px; right: 16px; margin-inline: auto; width: max-content; bottom: 24px; z-index: 110; transform: translateY(20px);
  display: flex; align-items: center; gap: 16px; max-width: min(560px, calc(100vw - 32px));
  padding: 12px 12px 12px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
  font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast:empty { padding: 0; border: 0; }
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast .link { flex: none; font-size: 15px; }
@media (max-width: 1099px) { .toast { bottom: 92px; } }
@media (max-width: 767px) { .toast { width: auto; justify-content: space-between; } }

.static-price { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 24px; }
.static-price table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.static-price th, .static-price td { text-align: left; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.static-price th { color: var(--muted); font-weight: 500; }
.no-js .js-only, html:not(.js) .js-only { display: none; }

/* Адаптив */
@media (max-width: 1099px) {
  .h2 { font-size: 46px; }
  .bron-main { grid-column: 1 / -1; }
  .bron-side { display: none; }
  .stay-desc { grid-column: 1 / span 7; }
  .stay-list { grid-column: 8 / span 5; }
  .stay-act { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 24px; }
  .stay-act .btn { width: auto; }
  .vecher-big { grid-column: 1 / span 6; }
  .vecher-side { grid-column: 7 / span 6; }
  .cert-grid { display: flex; flex-direction: column; }
  .cert-preview-wrap { position: static; width: 100%; max-width: 560px; margin-top: 32px; }
  .faq-grid .sec-head, .faq-list { grid-column: 1 / -1; }
  .cont-photo, .cont-text { grid-column: 1 / -1; }
  .terms { grid-template-columns: 1fr; gap: 10px; }
}
/* планшет и узкий десктоп: два месяца должны влезть в колонку ~645px, иначе календарь распирает бронь */
@media (min-width: 768px) and (max-width: 1279px) {
  .cal { padding-inline: 16px; }
  .cal-months { gap: 24px; }
  .cd { min-width: 0; }
  .cd-c { width: 42px; height: 42px; }
}
@media (max-width: 767px) {
  body { font-size: 17px; }
  .h2 { font-size: 34px; line-height: 1.1; }
  .sec-head { margin-bottom: 40px; }
  .sec-sub { font-size: 17px; }
  .about-head, .about-text { grid-column: 1 / -1; }
  .about-title { font-size: 34px; }
  .about-text { padding-top: 8px; }
  .facts { grid-template-columns: 1fr; gap: 0; margin-top: 48px; }
  .facts li { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .facts b { font-size: 34px; }
  .stay + .stay { margin-top: 72px; }
  .stay .frame { aspect-ratio: 4 / 3; margin-inline: calc(var(--pad) * -1); }
  .titles { left: 16px; right: 16px; bottom: 20px; }
  .t1 { font-size: 32px; }
  .t2 { font-size: 16px; }
  .stay-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .stay-desc, .stay-list, .stay-act { grid-column: 1 / -1; }
  .stay-act { flex-direction: column; align-items: stretch; gap: 4px; }
  .stay-act .btn { width: 100%; }
  .stay-act .link { justify-content: center; }
  .vecher-grid { grid-template-columns: 1fr; }
  .vecher-big, .vecher-side { grid-column: 1 / -1; }
  .vecher-big { aspect-ratio: 4 / 5; }
  .vecher-row { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .vecher-small figcaption { font-size: 18px; }
  .price-list b { font-size: 17px; }
  .cal { padding: 12px 8px 8px; margin-inline: -4px; }
  .cal-nav { top: 12px; left: 4px; right: 4px; }
  .cal-months { grid-template-columns: 1fr; }
  .cd { height: 52px; }
  .cd-empty { height: 52px; }
  .cal-legend { gap: 6px 16px; }
  .cal-reset { margin-left: 0; }
  .guests { grid-template-columns: 1fr; gap: 0; }
  .tr-main { grid-template-columns: 1fr; gap: 12px; }
  .tr-img { width: 100%; aspect-ratio: 2.39 / 1; }
  .tr-side { text-align: left; justify-items: stretch; grid-auto-flow: row; }
  .tr-side .btn { width: 100%; height: 48px; }
  .tr-price { font-size: 18px; }
  .ex { grid-template-columns: 1fr auto; grid-template-areas: "t c" "p c"; gap: 4px 12px; padding-left: 12px; }
  .ex-info { grid-area: t; }
  .ex-price { grid-area: p; text-align: left; }
  .ex-ctrl { grid-area: c; min-width: 0; }
  .terms { margin-top: 48px; }
  .rev-track {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 8px; scroll-padding-inline: var(--pad);
    scrollbar-width: none;
  }
  .rev-track::-webkit-scrollbar { display: none; }
  .rev { flex: 0 0 86%; scroll-snap-align: start; }
  .rev blockquote { font-size: 19px; }
  .cert-card { padding: 22px 22px; }
  .cc-top { font-size: 20px; }
  .cc-sum { font-size: 40px; }
  .cc-for { font-size: 18px; min-height: 22px; }
  .cc-bottom { flex-direction: column; gap: 2px; margin-top: 14px; font-size: 12px; }
  .formats { grid-template-columns: 1fr; }
  .btn-wide { min-width: 0; width: 100%; }
  .faq-list summary { font-size: 20px; }
  .faq-list p { padding-right: 0; }
  .cont-text .h2 { font-size: 32px; }
  .cont-list div { grid-template-columns: 1fr; gap: 2px; }
  .cont-btns .btn { flex: 1 1 100%; }
  .modal { padding: 0; place-items: end stretch; }
  .modal-panel { width: 100%; max-height: 92vh; border-radius: 12px 12px 0 0; padding: 28px 16px calc(20px + env(safe-area-inset-bottom)); }
  .modal-h { font-size: 26px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .frame-roll.is-rolling img { transform: none; }
  .grain { display: none; }
  .js .titles .t1, .js .titles .t2 { opacity: 1; letter-spacing: .02em; }
  .js .reveal { opacity: 1; transform: none; }
}
/* 320–359: семь дней по 44 px не влезают, круг дня 40 px */
@media (max-width: 359px) {
  .cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cd { min-width: 0; }
  .cd-c { width: 40px; height: 40px; }
}
