/* ==========================================================
   Глэмпинг «Горизонт» — тема в языке «Алтай» (референс заказчика SLUMO, 2026-11-13).
   Графит барнов + лён + песок. Цвет даёт фото; единственный «свет» —
   солнце на линии горизонта и гирлянды. Знак и заголовки — Poiret One
   (брендбук), текст — Jost. Углы 0, линии 1 px.
   Макет главной: E:\Station\Projects\Gorizont\gorizont-v2 (статический).
   ========================================================== */

:root {
  --graphite: #2f2f2e;   /* фасады барнов; тот же графит у боевого .рф и у SLUMO */
  --graphite-2: #252524; /* подвал */
  --linen: #f2ece2;      /* основной светлый фон */
  --sand: #e4d9c7;       /* песок пляжа: калькулятор, тарифы */
  --paper: #fbf8f3;      /* поля, карточки на светлом */
  --ink: #262523;
  --ink-2: #6c675f;
  --mist: #b3ada3;       /* второстепенный текст на графите */
  --lamp: #e6c38c;       /* свет: солнце, гирлянды, активный фильтр */
  --line: rgba(38, 37, 35, .18);
  --line-d: rgba(242, 236, 226, .2);
  --wrap: 1240px;
  --text-w: 760px;
  --gut: clamp(16px, 4vw, 40px);
  --head-h: 72px;
  --f-brand: "Poiret One", "Jost", system-ui, sans-serif;
  --f-text: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ico { width: 20px; height: 20px; flex: none; }
svg:not(.ico) { fill: currentColor; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 300; background: var(--paper); padding: 10px 16px; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--text { max-width: calc(var(--text-w) + 2 * var(--gut)); }
.section { padding: clamp(72px, 9vw, 136px) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--dark { background: var(--graphite); color: var(--linen); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }

/* ---------- типографика ---------- */
.h1, .h2, .hero__title {
  font-family: var(--f-brand); font-weight: 400; text-transform: uppercase;
  letter-spacing: .045em; line-height: 1.1;
}
.h1 { font-size: clamp(34px, 4.6vw, 66px); max-width: 18ch; text-wrap: balance; }
.h1--post { font-size: clamp(30px, 3.6vw, 50px); max-width: 24ch; }
.h2 { font-size: clamp(30px, 3.7vw, 52px); margin-bottom: clamp(28px, 3.6vw, 52px); max-width: 18ch; }
.h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.3; font-weight: 500; }
.h4 { font-size: 18px; line-height: 1.35; font-weight: 500; margin-bottom: 16px; }
.lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; }
.small { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.section--dark .small { color: var(--mist); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1px solid transparent;
  font: 500 15px/1 var(--f-text); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn .ico { width: 18px; height: 18px; }
.btn--light { background: var(--paper); color: var(--graphite); }
.btn--light:hover { background: #fff; }
.btn--line { border-color: rgba(251, 248, 243, .65); color: var(--paper); }
.btn--line:hover { background: rgba(251, 248, 243, .12); border-color: var(--paper); }
.btn--dark { background: var(--graphite); color: var(--linen); }
.btn--dark:hover { background: #45443f; }
.btn--line-dark { border-color: var(--graphite); color: var(--graphite); }
.btn--line-dark:hover { background: var(--graphite); color: var(--linen); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--paper); transition: background-color .35s, box-shadow .35s; }
.header.is-solid, .header.is-open, body:not(.has-cover) .header { background: var(--graphite); box-shadow: 0 1px 0 var(--line-d); }
body:not(.has-cover) main { padding-top: var(--head-h); }
.header__bar { height: var(--head-h); display: flex; align-items: center; gap: 36px; }
.logo { display: block; flex: none; }
.logo__img { display: block; width: 104px; aspect-ratio: 325 / 134; background: currentColor;
  -webkit-mask: url("../img/logo.svg") center / contain no-repeat; mask: url("../img/logo.svg") center / contain no-repeat; }
.nav { display: flex; gap: 28px; margin-right: auto; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav__link:hover, .nav__link[aria-expanded="true"] { border-color: currentColor; }
.nav__link .ico { width: 14px; height: 14px; transition: transform .25s; }
.nav__link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.drop { position: relative; }
.drop__panel { position: absolute; left: -24px; top: calc(100% + 18px); width: 380px; background: var(--graphite); color: var(--linen); padding: 10px 24px 18px; box-shadow: 0 1px 0 var(--line-d), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.drop__panel a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 11px 0; border-bottom: 1px solid var(--line-d); text-decoration: none; font-size: 15px; }
.drop__panel a:last-child { border-bottom: 0; }
.drop__panel a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.drop__panel b { font-weight: 400; }
.drop__panel small { color: var(--mist); font-size: 13.5px; white-space: nowrap; }
.drop__panel .drop__all { display: block; color: var(--mist); }
.header__right { display: flex; align-items: center; gap: 22px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; white-space: nowrap; }
.header__phone .ico { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line-d); }
.mnav { background: var(--graphite); border-top: 1px solid var(--line-d); max-height: calc(100svh - var(--head-h)); overflow: auto; }
.mnav__in { display: grid; padding-top: 12px; padding-bottom: 28px; }
.mnav__in > a, .mnav summary { text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 18px; }
.mnav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary .ico { transform: rotate(180deg); }
.mnav details ul { padding: 4px 0 10px 16px; border-bottom: 1px solid var(--line-d); }
.mnav details a { display: block; padding: 8px 0; text-decoration: none; color: var(--mist); }
.mnav__tel { font-size: 20px !important; border: 0 !important; padding-top: 22px !important; }
.mnav__note { color: var(--mist); font-size: 14px; }

/* ---------- первый экран главной ---------- */
.hero { position: relative; min-height: clamp(600px, 100svh, 980px); display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; background: var(--graphite); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(28, 27, 26, .55) 0, rgba(28, 27, 26, 0) 22%),
  linear-gradient(0deg, rgba(28, 27, 26, .78) 0, rgba(28, 27, 26, .35) 45%, rgba(28, 27, 26, .05) 75%); }
.hero__in { position: relative; padding-top: calc(var(--head-h) + 40px); padding-bottom: clamp(96px, 12vh, 140px); }
.hero__title { font-size: clamp(36px, 5.4vw, 80px); max-width: 15ch; text-wrap: balance; }
.hero__sub { font-size: clamp(17px, 1.4vw, 20px); margin: 18px 0 30px; opacity: .92; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* горизонт: линия лежит на кромке поля на фото (top считает JS по кадрированию), солнце идёт по ней */
.horizon { position: absolute; left: 0; right: 0; top: var(--hz, 33%); height: 1px; pointer-events: none; }
.horizon i { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 248, 243, .1), rgba(251, 248, 243, .7) 30%, rgba(251, 248, 243, .7) 70%, rgba(251, 248, 243, .1)); transform-origin: 0 50%; }
.horizon__sun { position: absolute; bottom: 0; left: clamp(24px, calc(var(--x) * 100%), calc(100% - 24px)); width: 48px; height: 30px; margin-left: -24px; overflow: hidden; }
.horizon__sun b { position: absolute; left: 50%; bottom: -6px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%;
  background: var(--lamp); box-shadow: 0 0 18px 6px rgba(230, 195, 140, .6); transform: translateY(26px); transition: transform 1.6s var(--ease) .6s; }
.is-ready .horizon__sun b { transform: none; }
.is-ready .horizon.is-set .horizon__sun b { transform: translateY(26px); }
.horizon__time { position: absolute; bottom: 10px; left: clamp(24px, calc(var(--x) * 100%), calc(100% - 24px)); margin-left: 18px; white-space: nowrap; font: 400 14px/1.3 var(--f-text); color: rgba(251, 248, 243, .9); text-shadow: 0 1px 8px rgba(0, 0, 0, .45); opacity: 0; transition: opacity .8s 1.6s; }
.horizon.is-flip .horizon__time { margin-left: 0; transform: translateX(calc(-100% - 18px)); }
.is-ready .horizon__time { opacity: 1; }
.horizon.is-off { display: none; }
@media (max-width: 640px) {
  .horizon__time, .horizon.is-flip .horizon__time { left: var(--gut); bottom: auto; top: 10px; margin-left: 0; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .horizon i { animation: draw 1.4s var(--ease) both; }
}
@keyframes draw { from { transform: scaleX(0); } }

/* ---------- поиск дат: модуль Bnovo в бумажной плашке ---------- */
.search { position: relative; z-index: 2; margin-top: -44px; }
.bnovo { background: var(--paper); box-shadow: 0 30px 60px -40px rgba(30, 28, 25, .45); padding: 14px 18px; }
.bnovo__head { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin: 2px 4px 8px; }
.bnovo__head b { font-weight: 500; font-size: 15px; }
.bnovo__head small { color: var(--ink-2); font-size: 14px; }
.bnovo__frame { min-height: 64px; }
.bnovo__frame iframe { display: block; }
#_bnovo_link_ { font-size: 12px; color: var(--ink-2); }
.search__facts { display: flex; flex-wrap: wrap; gap: 6px 36px; padding: 22px 0 0; font-size: 15px; color: var(--ink-2); }

/* ---------- о нас ---------- */
.about { padding-top: clamp(80px, 9vw, 128px); }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text p { max-width: 58ch; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.points > div { border-top: 1px solid var(--line); padding-top: 18px; }
.points h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.points p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.about__photos { display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: auto auto; gap: 12px; }
.about__photos img { width: 100%; height: 100%; object-fit: cover; }
.about__p1 { grid-row: span 2; aspect-ratio: 3 / 4; }
.about__p2, .about__p3 { aspect-ratio: 4 / 3.4; }
.ticks { columns: 2; column-gap: clamp(32px, 6vw, 96px); }
.about .ticks { margin-top: clamp(48px, 6vw, 88px); }
.ticks li { break-inside: avoid; padding: 14px 0 14px 26px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 1px; background: currentColor; }

/* ---------- дома ---------- */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.6vw, 52px); }
.head-row .h2 { margin-bottom: 0; }
.filter { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.filter button { padding: 6px 0; font-size: 15px; color: var(--mist); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.filter button:hover { color: var(--linen); }
.filter button.is-on { color: var(--linen); border-color: var(--lamp); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
.card { display: flex; flex-direction: column; }
.card__ph { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 18px; background: #3a3937; }
.card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__ph img { transform: scale(1.04); }
.card__num { position: absolute; left: 0; top: 0; min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; background: var(--graphite); color: var(--linen); font-family: var(--f-brand); font-size: 20px; }
.card__kind { font-size: 14px; color: var(--mist); margin: 0 0 6px; }
.card__name { font-family: var(--f-brand); text-transform: uppercase; letter-spacing: .045em; font-size: 23px; line-height: 1.15; margin-bottom: 14px; }
.card__name a { text-decoration: none; }
.card__spec { display: flex; gap: 20px; font-size: 14.5px; margin-bottom: 14px; color: var(--linen); }
.card__spec li { display: inline-flex; align-items: center; gap: 7px; }
.card__spec .ico { width: 18px; height: 18px; color: var(--mist); }
.card__price { font-size: 19px; margin: auto 0 16px; }
.card__price small { font-size: 14px; color: var(--mist); }
.card__btns { display: flex; gap: 8px; }
.card__btns .btn { flex: 1; padding: 0 10px; }
.houses__note { margin: 52px 0 0; max-width: 70ch; font-size: 15px; color: var(--mist); }

/* ---------- калькулятор ---------- */
.calc__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.calc__intro .lead { max-width: 40ch; }
.calc__ph { margin: 40px 0 0; aspect-ratio: 3 / 2; overflow: hidden; background: #d6cab5; }
.calc__ph img { width: 100%; height: 100%; object-fit: cover; }
.calc__box { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--paper); padding: clamp(22px, 3vw, 40px); }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); }
.field input.is-bad { border-color: #b3261e; }
.field legend { padding: 0; margin-bottom: 6px; }
.field--light { color: var(--mist); }
.field--light input { background: transparent; border-color: rgba(251, 248, 243, .4); color: var(--paper); }
.field--light input:focus { border-color: var(--paper); }
.field--light input::placeholder { color: rgba(251, 248, 243, .45); }
.stepper { display: grid; grid-template-columns: 50px 1fr 50px; border: 1px solid var(--line); background: #fff; min-height: 50px; }
.stepper button { display: grid; place-items: center; color: var(--ink); }
.stepper button:hover { background: var(--linen); }
.stepper b { display: grid; place-items: center; font-weight: 500; font-size: 17px; color: var(--ink); }
.extras { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.extras legend { width: 100%; }
.tog { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15.5px; cursor: pointer; }
.tog input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tog i { width: 20px; height: 20px; border: 1px solid var(--graphite); display: grid; place-items: center; flex: none; }
.tog input:checked + i { background: var(--graphite); }
.tog input:checked + i::after { content: ""; width: 9px; height: 5px; border: solid var(--paper); border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
.tog input:focus-visible + i { outline: 2px solid var(--graphite); outline-offset: 2px; }
.calc__nights { display: grid; gap: 0; border-top: 1px solid var(--line); }
.calc__nights li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.calc__nights li b { font-weight: 500; color: var(--ink); }
.calc__nights li span:last-child { color: var(--ink); white-space: nowrap; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc__total span { color: var(--ink-2); }
.calc__total b { font-weight: 500; font-size: clamp(28px, 2.6vw, 36px); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- услуги ---------- */
.tiles { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, clamp(240px, 21vw, 320px)); gap: 12px; }
.tile { position: relative; overflow: hidden; display: block; color: var(--paper); text-decoration: none; background: var(--graphite); }
.tile--big { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 27, 26, .88), rgba(28, 27, 26, .55) 30%, rgba(28, 27, 26, 0) 62%); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 24px; display: grid; gap: 6px; }
.tile__cap b { font-family: var(--f-brand); font-weight: 400; text-transform: uppercase; letter-spacing: .045em; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.15; }
.tile--big .tile__cap b { font-size: clamp(24px, 2.4vw, 34px); }
.tile__cap small { font-size: 14.5px; opacity: .88; max-width: 42ch; }
.tiles--row { grid-template-columns: none; grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: 1fr; grid-auto-rows: clamp(220px, 20vw, 280px); }
.section--flush { padding-top: 0; }

/* ---------- вечер у реки ---------- */
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 12px; padding: 0 12px; }
.strip img { width: 100%; height: clamp(240px, 26vw, 400px); object-fit: cover; }
.facts3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.facts3 li { border-top: 1px solid var(--line); padding-top: 16px; font-size: 17px; max-width: 32ch; }

/* ---------- день ---------- */
.day__track { overflow-x: auto; scrollbar-width: none; }
.day__list { display: grid; grid-template-columns: repeat(6, minmax(210px, 1fr)); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) 8px; position: relative; }
.day__list::before { content: ""; position: absolute; left: var(--gut); right: var(--gut); top: 54px; height: 1px; background: var(--line-d); }
.day__list li { position: relative; padding-right: 24px; }
.day__list time { display: block; font-family: var(--f-brand); font-size: 34px; line-height: 1; height: 54px; letter-spacing: .02em; }
.day__list li::before { content: ""; position: absolute; left: 0; top: 50px; width: 9px; height: 9px; border-radius: 50%; background: var(--graphite); border: 1px solid var(--mist); }
.day__list li.is-sun::before { background: var(--lamp); border-color: var(--lamp); box-shadow: 0 0 16px 4px rgba(230, 195, 140, .5); }
.day__list li.is-sun time { color: var(--lamp); }
.day__list h3 { font-size: 18px; font-weight: 500; margin: 26px 0 8px; }
.day__list p { font-size: 15px; color: var(--mist); margin: 0; }

/* ---------- как забронировать ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps li { border-top: 1px solid var(--graphite); padding-top: 18px; }
.steps span { display: block; font-family: var(--f-brand); font-size: 30px; line-height: 1; margin-bottom: 18px; }
.steps h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.steps a { white-space: nowrap; }
.ready { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); padding: 28px 32px; border: 1px solid var(--graphite); }
.ready p { margin: 4px 0 0; color: var(--ink-2); }
.section--dark .ready { border-color: var(--line-d); }
.section--dark .ready p { color: var(--mist); }

/* ---------- день рождения ---------- */
.bday { position: relative; color: var(--paper); padding: clamp(80px, 10vw, 150px) 0; background: var(--graphite); overflow: hidden; }
.bday__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bday::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 27, 26, .86), rgba(28, 27, 26, .55)); }
.bday__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.bday .h2 { max-width: 16ch; margin: 0; }
.bday__form { display: grid; gap: 14px; }
.bday__form .btn { justify-self: start; }
.consent { font-size: 13px; line-height: 1.5; opacity: .75; margin: 0; }
.consent a { color: inherit; }

/* ---------- отзывы ---------- */
/* что отмечают гости */
.rating { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; padding: 10px 18px 10px 0; }
.rating b { font-family: var(--f-brand); font-weight: 400; font-size: 48px; line-height: 1; }
.rating span { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.rating .ico { color: var(--ink-2); transition: transform .25s; }
.rating:hover .ico { transform: translateX(4px); }
.reviews__grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 48px); }
.themes li { border-top: 1px solid var(--line); padding: 18px 0 22px; }
.themes h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.themes p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.quotes { display: grid; gap: 12px; }
.quote { margin: 0; background: var(--paper); padding: 24px 26px; }
.quote blockquote { margin: 0 0 12px; font-size: 17px; line-height: 1.55; }
.quote figcaption { font-size: 14px; color: var(--ink-2); }

/* ---------- контакты ---------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.clist li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-d); }
.clist .ico { color: var(--mist); margin-top: 3px; }
.clist div { flex: 1; display: grid; }
.clist small { font-size: 13.5px; color: var(--mist); }
.clist b { font-weight: 400; font-size: 18px; }
.clist a { text-decoration: none; }
.copy { width: 38px; height: 38px; display: grid; place-items: center; color: var(--mist); border: 1px solid var(--line-d); flex: none; }
.copy:hover { color: var(--paper); border-color: var(--paper); }
.copy .ico { width: 17px; height: 17px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.soc { display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; min-height: 44px; border: 1px solid var(--line-d); text-decoration: none; font-size: 15px; transition: border-color .2s, background-color .2s; }
.soc svg { width: 18px; height: 18px; }
.soc:hover { border-color: var(--paper); background: rgba(251, 248, 243, .06); }
.contacts__side { display: grid; gap: 28px; align-content: start; }
.contacts__legal { margin-top: 24px; }
.map { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: #3a3937; }
.map img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.map .btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cform { display: grid; gap: 14px; }
.cform p { margin: 0; color: var(--mist); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform .btn { justify-self: start; }

/* ==========================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ========================================================== */

/* крошки */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-current] { color: var(--ink); }

/* обложка дома или услуги: фото во весь экран, как у /lumo-villa */
.cover { position: relative; min-height: clamp(520px, 82svh, 860px); display: flex; align-items: flex-end; color: var(--paper); background: var(--graphite); overflow: hidden; }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(28, 27, 26, .7) 0, rgba(28, 27, 26, .25) 14%, rgba(28, 27, 26, 0) 30%),
  linear-gradient(0deg, rgba(28, 27, 26, .82) 0, rgba(28, 27, 26, .4) 42%, rgba(28, 27, 26, 0) 72%); }
.cover__in { position: relative; z-index: 1; padding-top: calc(var(--head-h) + 40px); padding-bottom: clamp(96px, 11vh, 132px); }
.cover .crumbs { color: rgba(251, 248, 243, .78); }
.cover .crumbs span[aria-current] { color: var(--paper); }
.cover__num { display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; margin-bottom: 18px; border: 1px solid rgba(251, 248, 243, .6); font-family: var(--f-brand); font-size: 24px; }
.cover .lead { max-width: 52ch; margin: 18px 0 0; opacity: .92; }

/* плашка под обложкой: факты + цена + кнопки */
.bar { position: relative; z-index: 2; margin-top: -48px; }
.bar__box { display: grid; grid-template-columns: repeat(3, auto) 1fr auto; align-items: stretch; background: var(--paper); box-shadow: 0 30px 60px -40px rgba(30, 28, 25, .45); }
.bar__fact { display: grid; align-content: center; gap: 2px; padding: 18px 28px; border-right: 1px solid var(--line); }
.bar__fact small { font-size: 13px; color: var(--ink-2); }
.bar__fact b { font-weight: 400; font-size: 18px; white-space: nowrap; }
.bar__price { align-self: center; margin: 0; padding: 18px 28px; text-align: right; font-size: 22px; white-space: nowrap; }
.bar__price small { font-size: 14px; color: var(--ink-2); }
.bar__btns { display: flex; }
.bar__btns .btn { min-height: 84px; padding: 0 30px; }

.bar--flat { margin-top: 0; }
.bar__box--svc { display: flex; flex-wrap: wrap; }
.bar__box--svc .bar__price { flex: 1; border-top: 0; }
.tiles--grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; grid-auto-rows: clamp(220px, 20vw, 280px); }
.also__more { margin-top: clamp(48px, 5vw, 72px); max-width: 640px; }

/* шапка страницы без обложки (блог, статья, документ, бронь) */
.phead { padding: clamp(48px, 6vw, 88px) 0 clamp(28px, 3vw, 44px); }
.phead .lead { max-width: 60ch; margin: 18px 0 0; color: var(--ink-2); }
.phead__meta { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.phead .h1 { margin: 0; }

/* дом: о доме */
.intro { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__hook { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; margin-bottom: 24px; }
.intro__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.intro__tags span { padding: 6px 12px; border: 1px solid var(--line); font-size: 14px; }
.intro__who { color: var(--ink-2); max-width: 58ch; }
.intro__who h2 { color: var(--ink); font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.shots { display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: auto auto; gap: 12px; }
.shots button { display: block; overflow: hidden; background: var(--sand); }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shots button:hover img { transform: scale(1.03); }
.shots button:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.shots button:not(:first-child) { aspect-ratio: 4 / 3.4; }

/* удобства в рамке-«паспарту» */
.frame { border: 1px solid var(--graphite); padding: clamp(28px, 4vw, 56px); }
.frame .h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.frame__sub { margin-top: clamp(32px, 4vw, 52px); }
.calc__grid--house { margin-top: clamp(48px, 6vw, 80px); }
.calc__grid--house .lead { margin: 12px 0 24px; }
.amen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.amen li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; }
.amen .ico { width: 24px; height: 24px; color: var(--ink-2); margin-top: 1px; }

/* характеристики (и в карточках услуг из редактора) */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 4vw, 56px); margin: 0 0 1.5em; }
.specs div { padding: 14px 0; border-top: 1px solid var(--line); }
.specs dt { font-size: 14px; color: var(--ink-2); margin-bottom: 2px; }
.specs dd { margin: 0; }

/* тарифы */
.tariffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tariff { background: var(--paper); padding: 26px 28px; display: grid; gap: 6px; align-content: start; }
.tariff small { font-size: 14px; color: var(--ink-2); }
.tariff b { font-weight: 500; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; font-variant-numeric: tabular-nums; }
.tariff span { font-size: 15px; color: var(--ink-2); }
.tariff em { font-style: normal; font-size: 15px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.price__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.price__note { margin-top: 20px; }

/* галерея и лайтбокс */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal button { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.gal button:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal button:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; background: rgba(20, 20, 19, .96); color: var(--paper); }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100svh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox__close { position: absolute; right: 12px; top: 12px; width: 48px; height: 48px; display: grid; place-items: center; }
.lightbox__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border: 1px solid var(--line-d); }
.lightbox__nav:hover { border-color: var(--paper); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--mist); }

/* вопросы — аккордеон (и на графите, как у /lumo-villa) */
.faq { border-bottom: 1px solid var(--line); margin-bottom: 1.5em; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 18px; font-weight: 500; line-height: 1.4; }
.faq__item summary .ico { transition: transform .3s var(--ease); }
.faq__item[open] summary .ico { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 48px 22px 0; color: var(--ink-2); }
.prose .faq__item summary h3 { margin: 0; }
.prose .faq__item summary { padding: 18px 0; }
.section--dark .faq, .section--dark .faq__item { border-color: var(--line-d); }
.section--dark .faq__item p { color: var(--mist); }
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }

/* смотрите также */
.also__grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 5vw, 80px); }
.links { border-bottom: 1px solid var(--line); }
.links li { border-top: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; }
.links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.links .ico { width: 18px; height: 18px; flex: none; color: var(--ink-2); }

/* другие дома: лента карточек на графите */
.track { --tp: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((min(100%, var(--wrap)) - 2 * var(--gut) - 72px) / 4)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--tp); scrollbar-width: none; padding: 0 var(--tp); }
.track::-webkit-scrollbar, .day__track::-webkit-scrollbar { display: none; }
.track .card { scroll-snap-align: start; }
.track__nav { display: flex; gap: 8px; }
.track__nav button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-d); }
.track__nav button:hover:not(:disabled) { border-color: var(--paper); }
.track__nav button:disabled { opacity: .35; cursor: default; }

/* услуга: текст + боковая карточка */
.svc-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.aside-card { position: sticky; top: calc(var(--head-h) + 24px); background: var(--paper); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.aside-card .h3 { margin: 0; }
.aside-card p { margin: 0; color: var(--ink-2); }
.aside-card__price { font-size: 24px; color: var(--ink) !important; }
.alt-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.alt-links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.alt-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.alt-links svg { width: 17px; height: 17px; }

/* текст из редактора: услуги, статьи, документы */
.prose { font-size: 17.5px; line-height: 1.7; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .svc-content > h2 { font-family: var(--f-brand); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; margin: 2em 0 .7em; }
.svc-content > h2.h3 { font-family: var(--f-text); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: clamp(21px, 1.8vw, 26px); margin: 2.2em 0 .8em; }
.svc-content > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; font-weight: 500; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul:not(.ticks) li, .prose ol li { position: relative; padding-left: 26px; margin-bottom: .45em; }
.prose ul:not(.ticks) li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; height: 1px; background: currentColor; }
.prose ol { counter-reset: n; }
.prose ol li::before { counter-increment: n; content: counter(n) "."; position: absolute; left: 0; color: var(--ink-2); }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong, .prose b { font-weight: 500; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--graphite); font-size: 19px; }
.prose img { margin: 1.6em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .ticks { columns: 1; }
.prose--legal { font-size: 16px; }
.prose--legal h2 { font-family: var(--f-text); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 21px; }
.post__cover { margin: 0 0 clamp(36px, 4vw, 56px); aspect-ratio: 16 / 8; overflow: hidden; background: var(--sand); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post__rel { margin-top: 48px; }
.post__rel .h4 { margin-bottom: 8px; }

/* карточки статей */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.pcard { display: grid; align-content: start; gap: 8px; text-decoration: none; }
.pcard__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); margin-bottom: 10px; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard small { font-size: 14px; color: var(--ink-2); }
.pcard b { font-weight: 500; font-size: 20px; line-height: 1.35; }
.pcard:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pcard__ex { font-size: 15.5px; color: var(--ink-2); }
.posts--first .pcard:first-child { grid-column: span 2; }
.posts--first .pcard:first-child .pcard__img { aspect-ratio: 16 / 9; }
.posts--first .pcard:first-child b { font-size: 26px; }

/* бронирование: модуль Bnovo */
.booking-frame { position: relative; min-height: 420px; padding-bottom: 30px; }
.booking-frame__copy { position: absolute; right: 0; bottom: 0; font-size: 12px; opacity: .5; }

/* ---------- подвал ---------- */
.footer { background: var(--graphite-2); color: var(--linen); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer__mark { border-bottom: 1px solid var(--line-d); padding-bottom: 32px; margin-bottom: 40px; }
.footer__logo { display: block; width: 168px; aspect-ratio: 325 / 134; background: var(--linen);
  -webkit-mask: url("../img/logo.svg") left center / contain no-repeat; mask: url("../img/logo.svg") left center / contain no-repeat; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1.1fr; gap: 32px; font-size: 15px; }
.footer__grid p { margin: 0; color: var(--mist); }
.footer__grid a { display: block; text-decoration: none; padding: 3px 0; }
.footer__grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__h { color: var(--linen) !important; font-weight: 500; margin-bottom: 10px !important; }
.footer__h--gap { margin-top: 22px !important; }
.footer__legal { margin: 48px 0 0; font-size: 13px; color: var(--mist); display: flex; flex-wrap: wrap; gap: 6px 28px; }

/* ---------- окно заявки, уведомление, cookie, нижняя панель ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(28, 27, 26, .6); }
.modal__box { position: relative; width: min(100%, 640px); max-height: calc(100svh - 32px); overflow: auto; background: var(--linen); padding: clamp(24px, 4vw, 44px); }
.modal__box .h3 { margin: 0 40px 18px 0; }
.modal__close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center; }
.modal__online { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 18px; border: 1px solid var(--graphite); text-decoration: none; }
.modal__online span { display: grid; flex: 1; }
.modal__online b { font-weight: 500; }
.modal__online small { font-size: 14px; color: var(--ink-2); }
.modal__online:hover { background: var(--paper); }
.modal__sub { font-size: 15px; color: var(--ink-2); }
.mform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-done { padding: 20px 0; }
.form-done b { display: block; font-family: var(--f-brand); text-transform: uppercase; letter-spacing: .045em; font-size: 26px; font-weight: 400; margin-bottom: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 250; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 14px 20px; background: var(--graphite); color: var(--linen); font-size: 15px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 150; max-width: 440px; display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px rgba(0, 0, 0, .4); font-size: 13.5px; line-height: 1.45; }
.cookie p { margin: 0; }
.cookie .btn { flex: none; }
.mbar { display: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 20px; }
  .header__phone span { display: none; }
  .amen { grid-template-columns: repeat(2, 1fr); }
  .bar__box { grid-template-columns: repeat(3, 1fr); }
  .bar__fact:nth-child(3) { border-right: 0; }
  .bar__price { grid-column: 1 / 3; text-align: left; border-top: 1px solid var(--line); }
  .bar__btns { border-top: 1px solid var(--line); }
  .bar__btns .btn { min-height: 64px; flex: 1; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .header__phone span { display: inline; }
  .burger { display: grid; }
  .header__bar { gap: 16px; }
  .header__right { margin-left: auto; }
  .about__grid, .calc__grid, .bday__in, .contacts__grid, .intro, .price__grid, .faq-grid, .also__grid, .svc-grid, .reviews__grid { grid-template-columns: 1fr; }
  .calc__ph { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .tiles, .tiles--row, .tiles--grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-flow: row; grid-auto-rows: 260px; }
  .tile--big { grid-column: 1 / -1; grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(4, 72vw); overflow-x: auto; scroll-snap-type: x mandatory; }
  .strip img { scroll-snap-align: start; }
  .tariffs { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .gal button:nth-child(5n + 1) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .aside-card { position: static; }
  .track { grid-auto-columns: 62vw; }
  body { padding-bottom: 72px; }
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; background: var(--graphite); color: var(--linen); border-top: 1px solid var(--line-d); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a, .mbar button { display: grid; justify-items: center; gap: 3px; padding: 10px 4px 9px; font-size: 12.5px; text-decoration: none; }
  .mbar svg { width: 20px; height: 20px; }
  .mbar__main { background: var(--paper); color: var(--graphite); }
  .cookie { bottom: 80px; right: 16px; max-width: none; }
  .toast { bottom: 88px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__phone span { display: none; }
  .header__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-d); }
  .hero { min-height: max(640px, 100svh); }
  .hero__in { padding-bottom: 84px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .search { margin-top: -36px; }
  .search__facts { gap: 4px 20px; font-size: 14px; }
  .bnovo { padding: 12px; }
  .points, .facts3, .amen, .specs, .themes { grid-template-columns: 1fr; }
  .ticks { columns: 1; }
  .cards { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .tiles, .tiles--row, .tiles--grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .bar__box--svc .bar__fact { flex: 1 1 45%; }
  .bar__box--svc .bar__price { flex: 1 1 100%; border-top: 1px solid var(--line); }
  .bar__box--svc .bar__btns { flex: 1 1 100%; }
  .calc__box, .mform, .cform__row { grid-template-columns: 1fr; }
  .ready { padding: 22px; }
  .ready .btn, .bday__form .btn, .cform .btn { justify-self: stretch; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .strip { grid-template-columns: repeat(4, 84vw); }
  .map { aspect-ratio: 4 / 3; }
  .cover { min-height: max(560px, 88svh); }
  .cover__in { padding-bottom: 84px; }
  .bar { margin-top: -36px; }
  .bar__box { grid-template-columns: 1fr 1fr; }
  .bar__fact { padding: 14px 18px; }
  .bar__fact:nth-child(2) { border-right: 0; }
  .bar__fact:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .bar__price { grid-column: 1 / -1; padding: 14px 18px; }
  .bar__btns { grid-column: 1 / -1; }
  .posts { grid-template-columns: 1fr; }
  .posts--first .pcard:first-child { grid-column: auto; }
  .posts--first .pcard:first-child b { font-size: 22px; }
  .gal { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shots { gap: 8px; }
  .track { grid-auto-columns: 80vw; gap: 16px; }
  .faq__item p { padding-right: 0; }
  .lightbox__nav { top: auto; bottom: 8px; margin: 0; }
  .lightbox__count { bottom: 22px; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
