/* ===========================================================
   Глэмпинг «Горизонт» — дизайн-система
   Тёплая бумага + графит барнов + закатный оранжевый + речная зелень.
   Тема «Ночь у реки» — [data-theme="night"].
   =========================================================== */

:root {
  --paper: #f6eee2;
  --paper-2: #efe3d1;
  --card: #fffaf2;
  --ink: #261d16;
  --ink-2: #6a5a4c;
  --line: rgba(38, 29, 22, .12);
  --sun: #ee7a2f;
  --sun-2: #f6b04a;
  --sun-ink: #2a1709;
  --river: #1d3a36;
  --river-2: #27504a;
  --moss: #7d8a57;
  --on-dark: #f8efe2;
  --glass: rgba(255, 248, 238, .16);
  --glass-line: rgba(255, 248, 238, .28);
  --shadow: 0 1px 2px rgba(60, 35, 15, .06), 0 12px 40px -12px rgba(60, 35, 15, .22);
  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 40px);
  --head-h: 76px;
  /* Типографика из брендбука: знак «ГОРИЗОНТ» — Poiret One, подпись «глэмпинг на берегу реки» — Jost (футуровский гротеск) */
  --f-brand: "Poiret One", "Jost", system-ui, sans-serif;
  --f-display: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-text: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

[data-theme="night"] {
  --paper: #13110f;
  --paper-2: #1b1815;
  --card: #201c18;
  --ink: #f4e9d9;
  --ink-2: #b7a693;
  --line: rgba(244, 233, 217, .12);
  --river: #0f201e;
  --river-2: #17302c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 50px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .5s, color .5s;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
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: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.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: 999; background: var(--sun); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--tight { padding-top: clamp(32px, 4vw, 56px); }
.section__head { margin-bottom: clamp(28px, 4vw, 52px); max-width: 820px; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; max-width: none; }

/* ---------- типографика ---------- */
.h1, .h2, .hero__title { font-family: var(--f-display); letter-spacing: -.02em; line-height: 1.05; }
.h1 { font-size: clamp(34px, 5.4vw, 72px); font-weight: 500; }
.h2 { font-size: clamp(30px, 4.4vw, 60px); font-weight: 500; }
.h3 { font-family: var(--f-display); font-size: clamp(20px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
.h4 { font-family: var(--f-display); font-size: 17px; margin-bottom: 16px; }
.h2 em, .h1 em, .hero__title em { font-style: normal; color: var(--sun); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--sun); }
.kicker--light { color: rgba(248, 239, 226, .7); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink); }
.lead--body { font-size: 18px; color: var(--ink-2); margin-bottom: 40px; }
.small { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 12px 0 0; }
.hand { font-family: var(--f-hand); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.1; color: var(--sun); font-weight: 500; }

/* ---------- кнопки ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sun { --bg: var(--sun); --fg: #fff; box-shadow: 0 10px 30px -10px rgba(238, 122, 47, .8); }
.btn--sun:hover { box-shadow: 0 14px 36px -10px rgba(238, 122, 47, .95); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--glass { --bg: rgba(255, 248, 238, .16); --fg: #fff; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--glass-line); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1.5px solid var(--sun); padding-bottom: 2px; }

/* ---------- чипсы ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink); line-height: 1.2; }
.chips--glass span { background: rgba(30, 20, 12, .38); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chips--sun span { background: color-mix(in srgb, var(--sun) 14%, transparent); color: var(--sun); }
.chips--filter button { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; box-shadow: inset 0 0 0 1.5px var(--line); transition: .2s; }
.chips--filter button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chips--filter button.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }

.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #5fd17a; display: inline-block; box-shadow: 0 0 0 0 rgba(95, 209, 122, .7); animation: live 2s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(95, 209, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 209, 122, 0); } }

/* ---------- прогресс: солнце идёт по горизонту ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--sun-2), var(--sun)); }
.progress b { position: absolute; top: -4px; left: calc(var(--p, 0) * 100%); width: 11px; height: 11px; margin-left: -6px; border-radius: 50%; background: var(--sun-2); box-shadow: 0 0 14px 4px rgba(246, 176, 74, .7); }

/* ---------- шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: color .35s, transform .4s var(--ease); }
.header::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .35s; }
.header.is-solid, .header.is-open, body:not([data-page="home"]) .header { color: var(--ink); }
.header.is-solid::before, .header.is-open::before, body:not([data-page="home"]) .header::before { opacity: 1; }
.header.is-hidden:not(.is-open) { transform: translateY(-100%); }
.header__bar { position: relative; height: var(--head-h); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 14px; flex: none; }
/* логотип с основного сайта: растр внутри SVG, красим маской — цвет берётся из currentColor */
.logo__img { display: block; width: 118px; 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; }
.logo__tag { font-family: var(--f-hand); font-size: 20px; line-height: 1; opacity: .85; padding-left: 14px; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }

.nav { margin-right: auto; }
.nav > ul { display: flex; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; height: 42px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 15.5px; transition: background .2s; }
.nav__link .ico { width: 16px; height: 16px; transition: transform .25s; }
.nav__link:hover, .nav__mega.is-open > .nav__link { background: color-mix(in srgb, currentColor 12%, transparent); }
.nav__mega.is-open > .nav__link .ico { transform: rotate(180deg); }
.header__right { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; white-space: nowrap; }
.socials { display: flex; gap: 8px; }
.soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: transform .25s var(--ease), background .25s, color .25s; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 28%, transparent); }
.soc svg { width: 19px; height: 19px; }
.soc:hover { transform: translateY(-3px) rotate(-6deg); background: var(--sun); color: #fff; box-shadow: none; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; position: relative; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 28%, transparent); overflow: hidden; }
.theme-toggle .ico { position: absolute; transition: transform .5s var(--ease), opacity .4s; }
.theme-toggle .ico--moon { transform: translateY(26px); opacity: 0; }
[data-theme="night"] .theme-toggle .ico--sun { transform: translateY(-26px); opacity: 0; }
[data-theme="night"] .theme-toggle .ico--moon { transform: none; opacity: 1; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 28%, transparent); }

/* ---------- мегаменю ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; color: var(--ink);
  background: var(--paper); border-radius: 0 0 var(--r-xl) var(--r-xl); box-shadow: 0 30px 60px -20px rgba(40, 20, 5, .35);
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.nav__mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: 1.05fr 1.15fr .8fr; gap: 28px; padding-top: 28px; padding-bottom: 32px; }
.mega__grid--svc { grid-template-columns: 1fr 280px; }
.mm-list { display: grid; gap: 2px; }
.mm-house { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 10px 12px; border-radius: 14px; transition: background .2s; }
.mm-house.is-active, .mm-house:hover { background: var(--paper-2); }
.mm-house__num { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: .2s; }
.mm-house.is-active .mm-house__num { background: var(--sun); color: #fff; box-shadow: none; }
.mm-house__name { font-weight: 700; font-size: 15.5px; }
.mm-house__meta { font-size: 13px; color: var(--ink-2); }
.mm-panes { position: relative; min-height: 380px; }
.mm-pane { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; opacity: 0; transform: scale(.98); transition: opacity .35s, transform .5s var(--ease); pointer-events: none; }
.mm-pane.is-active { opacity: 1; transform: none; pointer-events: auto; }
.mm-pane img { width: 100%; height: 100%; object-fit: cover; }
.mm-pane__body { position: absolute; inset: auto 0 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(20, 12, 6, .78)); display: grid; gap: 10px; }
.mm-pane .hand { color: #fff; font-size: 27px; }
.mm-side { display: grid; gap: 12px; align-content: start; }
.mm-cta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; padding: 18px 20px; border-radius: var(--r-md); background: var(--paper-2); transition: transform .25s var(--ease); }
.mm-cta:hover { transform: translateY(-3px); }
.mm-cta .kicker { grid-column: 1 / -1; margin: 0; font-size: 11px; }
.mm-cta b { font-family: var(--f-display); font-weight: 500; font-size: 17px; line-height: 1.25; }
.mm-cta--sun { background: var(--sun); color: #fff; }
.mm-cta--sun .kicker { color: rgba(255, 255, 255, .8); }
.mm-cta--sun .kicker::before { background: #fff; }
.mm-note { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); margin: 6px 0 0; }
.mm-svcs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mm-svc { display: grid; gap: 4px; position: relative; }
.mm-svc img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); margin-bottom: 8px; transition: transform .5s var(--ease); }
.mm-svc:hover img { transform: translateY(-4px) rotate(-1deg); }
.mm-svc b { font-weight: 700; line-height: 1.25; }
.mm-svc small { font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.mm-svc__badge { position: absolute; top: 10px; left: 10px; font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: var(--paper); }

/* мобильное меню */
.mnav { position: fixed; inset: 0; z-index: 99; background: var(--paper); padding: calc(var(--head-h) + 12px) var(--gut) 120px; overflow-y: auto; }
.mnav__inner { display: grid; gap: 4px; max-width: 560px; margin: 0 auto; }
.mnav details, .mnav > div > a:not(.btn):not(.soc) { border-bottom: 1px solid var(--line); }
.mnav summary, .mnav__inner > a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--f-display); font-size: 22px; list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary .ico { transform: rotate(180deg); }
.mnav details ul { display: grid; gap: 10px; padding: 0 0 18px; }
.mnav details a { font-size: 17px; color: var(--ink-2); }
.mnav__phone { font-weight: 700; }
.mnav .socials { margin: 18px 0; }
.mnav .soc { width: 48px; height: 48px; }

/* ---------- герой ---------- */
.hero { padding: 10px 10px 0; }
.hero__frame { position: relative; min-height: max(640px, 100svh - 20px); border-radius: var(--r-xl); overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; background: #2b1a10; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(calc(1.06 + var(--hp, 0) * .08)); transform-origin: 50% 70%; }
.hero__sky { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgba(25, 12, 4, .55) 0%, rgba(25, 12, 4, 0) 28%, rgba(25, 12, 4, 0) 45%, rgba(20, 10, 4, .75) 100%),
  linear-gradient(90deg, rgba(20, 10, 4, .45), transparent 60%); }
.hero__sun { position: absolute; z-index: -1; left: 27%; top: 37%; width: clamp(240px, 30vw, 460px); aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 236, 180, .55) 0%, rgba(255, 170, 80, .28) 35%, rgba(255, 120, 40, 0) 68%);
  mix-blend-mode: screen; transform: translateY(calc(var(--hp, 0) * 40vh)); opacity: calc(1 - var(--hp, 0) * .8); animation: breathe 6s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { filter: brightness(1.12); } }
.hero__word {
  position: absolute; top: calc(var(--head-h) + 1vw); left: 0; right: 0; margin: 0; text-align: center; z-index: -1;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(64px, 15.2vw, 252px); line-height: .9; letter-spacing: -.045em; text-transform: uppercase;
  color: transparent; background: linear-gradient(180deg, rgba(255, 252, 245, .95) 30%, rgba(255, 236, 205, .35) 100%); -webkit-background-clip: text; background-clip: text;
  transform: translateY(calc(var(--hp, 0) * -60px)); opacity: calc(1 - var(--hp, 0) * 1.3); pointer-events: none; user-select: none;
}
.hero__content { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; padding-bottom: clamp(28px, 4vw, 48px); }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; background: rgba(20, 10, 4, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 20px; }
.hero__title { font-size: clamp(34px, 4.6vw, 66px); font-weight: 500; max-width: 15ch; margin-bottom: 14px; text-wrap: balance; }
.hero__title em { color: var(--sun-2); }
.hero__sub { font-size: 19px; opacity: .9; margin-bottom: 28px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--glass-line); border-radius: var(--r-md); padding: 16px; }
.sunset-card { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; }
.sunset-card .ico { width: 38px; height: 38px; color: var(--sun-2); }
.sunset-card small { display: block; font-size: 13px; opacity: .85; }
.sunset-card b { font-family: var(--f-display); font-size: 30px; font-weight: 500; margin-right: 10px; }
.sunset-card span { font-family: var(--f-hand); font-size: 22px; color: var(--sun-2); }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 13px; line-height: 1.3; opacity: .85; display: block; }
.hero__feats { display: grid; grid-template-columns: 1fr 1.3fr .7fr; gap: 16px; padding-top: 18px; }
.feat { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.feat h4 { font-family: var(--f-display); font-size: 17px; margin-bottom: 6px; }
.feat p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.feat__ico { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--sun) 15%, transparent); color: var(--sun); display: grid; place-items: center; flex: none; }
.feat__ico .ico { width: 24px; height: 24px; }
.feat--hand { background: none; box-shadow: none; align-items: center; justify-content: center; }
.feat--hand .hand { transform: rotate(-4deg); font-size: 30px; }

/* ---------- виджет Bnovo ---------- */
.bnovo { margin-top: 16px; padding: 18px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1.5px color-mix(in srgb, var(--sun) 35%, transparent); }
.bnovo__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 4px 12px; }
.bnovo__head b { font-family: var(--f-display); font-weight: 500; font-size: 18px; }
.bnovo__head small { color: var(--ink-2); font-size: 14px; }
.bnovo__frame { min-height: 72px; border-radius: 18px; overflow: hidden; }
.bnovo__frame iframe { display: block; }
#_bnovo_link_ { font-size: 12px; color: var(--ink-2); }
.house__aside .bnovo { margin: 0 0 14px; }
.house__aside .bnovo__frame { min-height: 260px; }
.aside__or { text-align: center; font-size: 13px; color: var(--ink-2); margin: 0 0 14px; }

/* ---------- бегущая строка ---------- */
.ticker { overflow: hidden; padding: 26px 0; margin-top: 40px; border-block: 1px solid var(--line); }
.ticker__track { display: flex; gap: 28px; width: max-content; animation: tick 40s linear infinite; align-items: center; }
.ticker span { font-family: var(--f-display); font-size: clamp(22px, 3vw, 40px); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.ticker span:nth-of-type(even) { font-family: var(--f-hand); font-weight: 700; color: var(--sun); font-size: clamp(30px, 3.8vw, 52px); }
.ticker i { color: var(--sun); font-style: normal; font-size: 22px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- подбор по настроению ---------- */
.mood__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.mood__tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: .25s var(--ease); }
.mood__tabs button:hover { transform: translateY(-2px); }
.mood__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.mood__stage { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.mood__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.mood__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform 1.2s var(--ease); }
.mood__photo.is-swap img { opacity: 0; transform: scale(1.05); }
.mood__note { position: absolute; left: 22px; bottom: 18px; color: #fff; font-size: 30px; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); transform: rotate(-3deg); }
.mood__side { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.mood__text { font-size: 18px; color: var(--ink-2); margin: 0; }
.mood__list { display: grid; gap: 10px; }
.mood-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; padding: 10px; padding-right: 18px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; animation: rise .5s var(--ease) both; }
.mood-item:nth-child(2) { animation-delay: .06s; } .mood-item:nth-child(3) { animation-delay: .12s; }
.mood-item:hover { transform: translateX(6px); box-shadow: inset 0 0 0 1.5px var(--sun); }
.mood-item img { width: 92px; height: 72px; object-fit: cover; border-radius: 14px; }
.mood-item b { display: block; font-weight: 700; }
.mood-item small { color: var(--ink-2); font-size: 13.5px; }
.mood-item span { font-weight: 700; white-space: nowrap; color: var(--sun); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- каталог ---------- */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.stepper button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.stepper button:hover { background: var(--paper-2); }
.stepper span { font-weight: 600; font-size: 14.5px; min-width: 76px; text-align: center; }
.stepper b { font-family: var(--f-display); font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hcard { background: var(--card); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: opacity .4s, transform .4s var(--ease), filter .4s, box-shadow .3s; }
.hcard:hover { box-shadow: var(--shadow); }
.hcard.is-dim { opacity: .32; filter: grayscale(.7); transform: scale(.98); }
.hcard.is-hidden { display: none; }
.hcard__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; margin: 8px 8px 0; border-radius: 18px; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.card__img.is-on { opacity: 1; }
.hcard__dots { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; gap: 4px; opacity: 0; transition: opacity .25s; }
.hcard__dots i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .45); }
.hcard__dots i.is-on { background: #fff; }
.hcard__media:hover .hcard__dots { opacity: 1; }
.hcard__num { position: absolute; top: 12px; right: 12px; min-width: 48px; height: 48px; padding: 0 8px; border-radius: 14px; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 18px; }
.hcard__tags { position: absolute; left: 12px; top: 12px; right: 70px; }
.hcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hcard__kind { font-size: 13px; color: var(--ink-2); font-weight: 600; margin: 0 0 4px; }
.hcard__title { font-family: var(--f-display); font-size: 21px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 10px; }
.hcard__meta { display: flex; gap: 16px; font-size: 14.5px; color: var(--ink-2); margin-bottom: 8px; }
.hcard__meta span { display: inline-flex; gap: 6px; align-items: center; }
.hcard__meta .ico { width: 17px; height: 17px; }
.hcard__more { border-top: 1px solid var(--line); margin-top: 6px; }
.hcard__more summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.hcard__more summary::-webkit-details-marker { display: none; }
.hcard__more .ico { width: 18px; height: 18px; transition: transform .3s; }
.hcard__more[open] summary .ico { transform: rotate(45deg); }
.hcard__more .ticks li { font-size: 14px; }
.hcard__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.price { font-family: var(--f-display); font-size: 20px; font-weight: 500; margin: 0; white-space: nowrap; }
.price small { font-family: var(--f-text); font-size: 13px; color: var(--ink-2); font-weight: 500; }
.catalog__empty { text-align: center; padding: 40px; font-size: 18px; }

.ticks { display: grid; gap: 8px; margin: 4px 0 14px; }
.ticks li { position: relative; padding-left: 26px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--sun) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ee7a2f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks--two { grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 24px 0 32px; }
.tariff { display: grid; gap: 6px; margin: 0; }
.tariff div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.tariff dt { color: var(--ink-2); }
.tariff dd { margin: 0; font-weight: 700; white-space: nowrap; }

/* ---------- калькулятор ---------- */
.calc { background: var(--paper-2); border-radius: var(--r-xl); margin: 0 10px; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.calc__hand { transform: rotate(-3deg); margin-top: 28px; font-size: 32px; }
.calc__box { background: var(--card); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field.full, .calc__box > .full, .calc__nights, .calc__total, .calc__box > .btn, .calc__box > .small, .calc__alt, .calc__head { grid-column: 1 / -1; }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; appearance: none; }
textarea.input { height: auto; padding: 14px 16px; resize: vertical; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23887766' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--sun); }
.input.is-bad { box-shadow: inset 0 0 0 2px #d9443a; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.stepper--field { height: 52px; width: 100%; justify-content: space-between; border-radius: 14px; background: var(--paper); }
.stepper--field b { font-size: 18px; }
.extras { display: flex; flex-wrap: wrap; gap: 8px; }
.extras > span { width: 100%; }
.tog { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: .2s; }
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog i { width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--ink-2); transition: .2s; }
.tog:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--sun); background: color-mix(in srgb, var(--sun) 10%, var(--paper)); }
.tog input:checked + i { background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.calc__nights { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: thin; }
.calc__nights li { flex: 0 0 auto; min-width: 74px; padding: 8px 10px; border-radius: 12px; background: var(--paper); font-size: 12px; line-height: 1.3; text-align: center; animation: rise .35s var(--ease) both; }
.calc__nights li b { display: block; font-size: 13.5px; }
.calc__nights li.is-wknd { background: color-mix(in srgb, var(--sun) 16%, var(--paper)); }
.calc__nights li.is-extra { background: color-mix(in srgb, var(--river-2) 16%, var(--paper)); }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; border-top: 1px solid var(--line); }
.calc__total span { color: var(--ink-2); font-weight: 600; }
.calc__total b { font-family: var(--f-display); font-size: clamp(28px, 3vw, 38px); font-weight: 500; color: var(--sun); }
.calc__total b.is-pop { animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.08); } }

/* ---------- день в Горизонте ---------- */
.day { overflow: hidden; }
.day__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 18px max(var(--gut), (100vw - var(--wrap)) / 2 + var(--gut)); scrollbar-width: none; cursor: grab; }
.day__track::-webkit-scrollbar { display: none; }
.day__card { flex: 0 0 clamp(250px, 26vw, 340px); min-height: 360px; border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; color: #fff; scroll-snap-align: start; position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.day__card:hover { transform: translateY(-6px) rotate(-.6deg); }
.day__card time { font-family: var(--f-display); font-size: 54px; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin-bottom: auto; }
.day__card h3 { font-family: var(--f-display); font-size: 22px; margin-bottom: 8px; }
.day__card p { font-size: 15px; opacity: .9; margin: 0; }
.day__card::after { content: ""; position: absolute; width: 140px; height: 140px; right: -30px; top: 40%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 245, 210, .9), rgba(255, 200, 120, 0) 70%); }
.day__card--1 { background: linear-gradient(160deg, #6fa6c9, #b9cfa7); }
.day__card--2 { background: linear-gradient(160deg, #e9a25a, #c96b34); }
.day__card--3 { background: linear-gradient(160deg, #f2a057, #c94d4c 60%, #5b2f55); }
.day__card--3::after { top: 62%; width: 200px; height: 200px; background: radial-gradient(circle, #ffe7a1, rgba(255, 140, 60, 0) 70%); }
.day__card--4 { background: linear-gradient(160deg, #26345a, #141a2f); }
.day__card--4::after { background: radial-gradient(circle, rgba(255, 220, 140, .5), transparent 70%); top: 10%; width: 60px; height: 60px; right: 30px; }
.day__card--5 { background: linear-gradient(160deg, #c9d8d6, #e8c8a0); color: #2a2018; }
.day__card--6 { background: linear-gradient(160deg, #e8b067, #f2d5a0); color: #2a2018; }

/* ---------- как забронировать ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--sun) 0 8px, transparent 8px 16px); opacity: .5; }
.steps li { position: relative; }
.steps li > span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 2px var(--sun); color: var(--sun); font-family: var(--f-display); font-weight: 600; margin-bottom: 18px; position: relative; transition: .3s; }
.steps li:hover > span { background: var(--sun); color: #fff; transform: scale(1.08); }
.steps h3 { font-family: var(--f-display); font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15px; }
.steps a { color: var(--ink); font-weight: 700; white-space: nowrap; }
.ready { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: var(--ink); color: var(--paper); }
.ready p { margin: 6px 0 0; opacity: .75; }
.ready--sun { background: linear-gradient(120deg, var(--sun), var(--sun-2)); color: var(--sun-ink); margin: 0; }
.ready--sun .kicker { color: rgba(42, 23, 9, .7); }
.ready--sun .kicker::before { background: var(--sun-ink); }
.ready--sun p { opacity: .85; }

/* ---------- услуги (бенто) ---------- */
.services .hand { transform: rotate(-3deg); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 270px; gap: 16px; }
.svc { position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff; isolation: isolate; display: flex; }
.svc--0 { grid-column: span 3; grid-row: span 2; }
.svc--1 { grid-column: span 3; }
.svc--2 { grid-column: span 3; }
.svc--3 { grid-column: span 3; }
.svc--4 { grid-column: span 3; }
.svc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.svc:hover .svc__img { transform: scale(1.06); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 10, 4, 0) 30%, rgba(20, 10, 4, .8)); }
.svc__body { margin-top: auto; padding: 24px; width: 100%; display: grid; gap: 6px; justify-items: start; }
.svc__badge { font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(255, 248, 238, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: absolute; top: 20px; left: 20px; }
.svc__title { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }
.svc__teaser { margin: 0; opacity: .88; font-size: 15.5px; }
.svc__price { margin: 4px 0 0; font-family: var(--f-display); font-size: 18px; color: var(--sun-2); }
.svc__open { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; font-size: 14.5px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 248, 238, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--glass-line); transition: background .2s; }
.svc__open:hover { background: var(--sun); }
.svc__open .ico { width: 16px; height: 16px; transition: transform .3s; }
.svc.is-open .svc__open .ico { transform: rotate(45deg); }
.svc__more { position: absolute; inset: 0; z-index: 2; padding: 28px; overflow-y: auto; background: rgba(28, 17, 9, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 15px; line-height: 1.6; animation: fade .3s; }
.svc__more p { margin-bottom: .8em; }
.svc__links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.svc__links a { border-bottom: 1.5px solid var(--sun); font-weight: 600; }
.svc__more ~ .svc__body { position: relative; z-index: 3; }
.svc.is-open .svc__body > :not(.svc__open) { visibility: hidden; }
.svc.is-open .svc__badge { visibility: hidden; }
@keyframes fade { from { opacity: 0; } }

/* ---------- вечер у реки ---------- */
.evening { background: var(--river); color: var(--on-dark); border-radius: var(--r-xl); margin: 0 10px; overflow: hidden; }
.evening .h2 { color: var(--on-dark); }
.garland { position: absolute; top: 0; left: 0; width: 100%; height: 120px; overflow: visible; }
.garland__wire { fill: none; stroke: rgba(248, 239, 226, .35); stroke-width: 1.5; }
.bulb { position: absolute; width: 12px; height: 16px; margin: -2px 0 0 -6px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: #574a3b; transition: background .4s, box-shadow .4s; }
.bulb::before { content: ""; position: absolute; top: -5px; left: 3px; width: 6px; height: 6px; border-radius: 2px; background: #2c2620; }
.evening.is-lit .bulb { background: #ffd98a; box-shadow: 0 0 10px 3px rgba(255, 200, 100, .75), 0 0 30px 8px rgba(255, 170, 60, .35); animation: flick 3s infinite; animation-delay: var(--d); }
@keyframes flick { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 50% { opacity: .55; } 53% { opacity: 1; } }
.evening__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.evening__big { margin: 0; position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 460px; }
.evening__big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evening__big figcaption { position: absolute; left: 24px; bottom: 20px; color: #ffd98a; font-size: 32px; transform: rotate(-3deg); text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.evening__list { display: grid; gap: 14px; }
.evening__list li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 12px; border-radius: var(--r-lg); background: rgba(248, 239, 226, .06); box-shadow: inset 0 0 0 1px rgba(248, 239, 226, .12); transition: background .3s; }
.evening__list li:hover { background: rgba(248, 239, 226, .1); }
.evening__list img { width: 120px; height: 104px; object-fit: cover; border-radius: 16px; }
.evening__list b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.evening__list span { font-size: 14.5px; opacity: .7; }

/* ---------- о нас ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__text .h2 { margin-bottom: 22px; }
.about__photos { position: relative; aspect-ratio: 1 / 1.05; }
.about__photos img { position: absolute; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.about__p1 { width: 66%; height: 70%; left: 0; top: 0; transform: rotate(-2deg); }
.about__p2 { width: 54%; height: 46%; right: 0; top: 18%; transform: rotate(3deg); }
.about__p3 { width: 50%; height: 42%; left: 16%; bottom: 0; transform: rotate(-1deg); }
.about__photos:hover .about__p1 { transform: rotate(-4deg) translate(-8px, -6px); }
.about__photos:hover .about__p2 { transform: rotate(5deg) translate(8px, -4px); }
.about__photos:hover .about__p3 { transform: rotate(1deg) translateY(8px); }
.about__note { position: absolute; right: 0; bottom: 10%; transform: rotate(-6deg); max-width: 12ch; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.counters div { padding: 20px; border-radius: var(--r-lg); background: var(--paper-2); }
.counters b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 4vw, 52px); color: var(--sun); line-height: 1; margin-bottom: 8px; }
.counters span { font-size: 14px; color: var(--ink-2); font-weight: 600; }

/* ---------- день рождения ---------- */
.bday__card { position: relative; display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 5vw, 70px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: radial-gradient(120% 140% at 0% 100%, #ffcf7a 0%, var(--sun) 45%, #d65530 100%); color: var(--sun-ink); overflow: hidden; }
.bday__card .kicker { color: rgba(42, 23, 9, .7); }
.bday__card .kicker::before { background: var(--sun-ink); }
.bday__card .h2 { font-size: clamp(26px, 3.2vw, 44px); margin-bottom: 26px; }
.bday__card .h2 em { color: #fff; }
.bday__badge { position: relative; justify-self: center; display: grid; justify-items: center; }
.bday__badge b { font-family: var(--f-display); font-size: clamp(80px, 12vw, 170px); font-weight: 600; line-height: .9; letter-spacing: -.06em; color: #fff; text-shadow: 0 10px 40px rgba(120, 40, 0, .35); }
.bday__candle { width: 18px; height: 70px; border-radius: 6px; background: repeating-linear-gradient(-45deg, #fff 0 8px, #ffd3b0 8px 16px); position: relative; margin-bottom: 8px; }
.bday__candle i { position: absolute; left: 50%; top: -30px; width: 18px; height: 28px; margin-left: -9px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, #fff 0 20%, #ffe17a 40%, #ff9a2a 75%); box-shadow: 0 0 22px 8px rgba(255, 220, 120, .7); animation: flame 1.4s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes flame { 0% { transform: rotate(-4deg) scaleY(1); } 100% { transform: rotate(4deg) scaleY(1.12); } }
.bday__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.bday__form .input { background: rgba(255, 255, 255, .75); box-shadow: none; }
.bday__form .field > span { color: rgba(42, 23, 9, .7); }
.bday__form .btn--sun { --bg: var(--sun-ink); box-shadow: none; }
.bday__form .consent { grid-column: 1 / -1; color: rgba(42, 23, 9, .7); }
.confetti { position: fixed; z-index: 400; width: 9px; height: 13px; pointer-events: none; border-radius: 2px; }

/* ---------- отзывы ---------- */
.reviews__frame { border-radius: var(--r-xl); background: var(--paper-2); min-height: 280px; display: grid; place-items: center; overflow: hidden; }
.reviews__frame iframe { width: 100%; height: 720px; border: 0; }
.reviews__load { display: inline-flex; gap: 10px; align-items: center; padding: 18px 28px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-weight: 700; transition: transform .25s var(--ease); }
.reviews__load .ico { color: #f5b301; fill: #f5b301; }
.reviews__load:hover { transform: translateY(-3px); }

/* ---------- контакты ---------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); }
.contacts__list { display: grid; gap: 4px; margin: 10px 0 26px; }
.contacts__list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contacts__list li > .ico { width: 48px; height: 48px; padding: 13px; border-radius: 14px; background: var(--paper-2); color: var(--sun); }
.contacts__list small { display: block; font-size: 13px; color: var(--ink-2); }
.contacts__list b { font-weight: 700; font-size: 17px; }
.copy { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: .2s; }
.copy:hover { background: var(--paper-2); color: var(--ink); }
.socials--big { flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.socials--big .soc { width: auto; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; gap: 8px; display: inline-flex; align-items: center; font-weight: 700; font-size: 15px; }
.contacts__side { display: grid; gap: 16px; }
.map { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 280px; display: grid; place-items: center; background: var(--paper-2); }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.8); }
.map .btn { position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contacts__form { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.contacts__form > p { color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.consent { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; margin: 12px 0 0; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-done { text-align: center; padding: 24px 8px; animation: rise .4s var(--ease); }
.form-done .hand { font-size: 40px; display: block; margin-bottom: 8px; }

/* ---------- подвал ---------- */
.footer { background: var(--ink); color: var(--paper); margin: 10px; border-radius: var(--r-xl); padding-top: clamp(48px, 6vw, 80px); overflow: hidden; position: relative; }
[data-theme="night"] .footer { background: #0b0a09; color: var(--ink); }
.footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.footer__lead { font-family: var(--f-display); font-size: 20px; line-height: 1.35; max-width: 24ch; margin-bottom: 22px; }
.footer__phone { display: block; font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; }
.footer__mail { display: block; opacity: .7; margin: 6px 0 22px; }
.footer .soc { color: inherit; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer h4, .footer__h { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; opacity: .55; margin-bottom: 16px; font-weight: 600; }
.footer__cols ul { display: grid; gap: 9px; }
.footer__cols a { opacity: .85; font-size: 15px; transition: opacity .2s, color .2s; }
.footer__cols a:hover { opacity: 1; color: var(--sun-2); }
.footer__bar { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; padding: 26px 0; margin-top: 48px; border-top: 1px solid rgba(248, 239, 226, .12); font-size: 13px; opacity: .6; }
.footer__word { position: relative; height: clamp(110px, 21vw, 330px); margin-top: 10px; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; }
.footer__letters { position: relative; z-index: 1; font-family: var(--f-display); font-weight: 600; font-size: clamp(56px, 15.6vw, 250px); line-height: .78; letter-spacing: -.055em; text-transform: uppercase; color: transparent;
  background: linear-gradient(180deg, var(--paper) 10%, color-mix(in srgb, var(--sun-2) 70%, var(--paper)) 70%, var(--sun) 100%); -webkit-background-clip: text; background-clip: text; transform: translateY(18%); white-space: nowrap; }
[data-theme="night"] .footer__letters { background-image: linear-gradient(180deg, var(--ink) 10%, #ffd98a 100%); }
.footer__sun { position: absolute; left: 50%; bottom: 0; width: clamp(160px, 28vw, 440px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ffe9a8 0%, #ffb554 35%, rgba(238, 122, 47, .5) 55%, rgba(238, 122, 47, 0) 70%);
  transform: translate(-50%, calc(80% - var(--fp, 0) * 55%)); transition: transform .2s linear; z-index: 0; filter: blur(2px); }
.footer__waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(26px, 4vw, 56px); z-index: 2; }
.footer__waves path { fill: var(--ink); }
.footer__waves path + path { fill: color-mix(in srgb, var(--ink) 70%, var(--sun)); opacity: .5; }
[data-theme="night"] .footer__waves path { fill: #0b0a09; }
.footer__word:hover .footer__letters { animation: wiggle .8s var(--ease); }
@keyframes wiggle { 30% { letter-spacing: -.04em; } 60% { letter-spacing: -.06em; } }

/* ---------- мобильная панель ---------- */
.mbar { display: none; }

/* ---------- модалка, лайтбокс, тост ---------- */
.modal, .lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(20, 12, 6, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s; }
.modal[hidden], .lightbox[hidden], .mnav[hidden], .cookie[hidden] { display: none; }
.modal__box { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--paper); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); animation: rise .35s var(--ease); }
.modal__box .h3 { margin-bottom: 8px; }
.modal__online { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 14px 0 16px; border-radius: 16px; background: color-mix(in srgb, var(--sun) 12%, var(--card)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sun) 40%, transparent); transition: transform .25s var(--ease); }
.modal__online:hover { transform: translateY(-2px); }
.modal__online > span:nth-child(2) { flex: 1; display: grid; }
.modal__online small { color: var(--ink-2); font-size: 13px; }
.modal__online .ico { color: var(--sun); }
.bnovo.is-pulse { animation: pulse 1.2s var(--ease) 2; }
@keyframes pulse { 50% { box-shadow: var(--shadow), 0 0 0 8px color-mix(in srgb, var(--sun) 30%, transparent); } }
.modal__sub { color: var(--ink-2); font-size: 15.5px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); }
.modal__alt { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14.5px; color: var(--ink-2); }
.modal__alt a { display: inline-flex; gap: 6px; align-items: center; color: var(--ink); font-weight: 700; }
.modal__alt svg { width: 18px; height: 18px; }
.lightbox { background: rgba(14, 9, 5, .94); }
.lightbox img { max-width: min(1400px, 92vw); max-height: 84svh; border-radius: 16px; object-fit: contain; animation: fade .3s; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__close, .lightbox__nav { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--sun); }
.lightbox__nav { position: absolute; top: 50%; margin-top: -26px; }
.lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; opacity: .8; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); transition: transform .4s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 150; max-width: 420px; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); font-size: 13px; line-height: 1.45; }
.cookie p { margin: 0; }
.cookie .btn { flex: none; }
.cookie a { text-decoration: underline; }

/* ---------- светлячки (ночной режим) ---------- */
.fireflies { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; opacity: 0; transition: opacity 1s; }
[data-theme="night"] .fireflies { opacity: 1; }

/* ---------- появление при прокрутке ---------- */

/* ===========================================================
   Страница дома
   =========================================================== */
.phead { padding-top: calc(var(--head-h) + 28px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-2); margin-bottom: 26px; }
.crumbs a:hover { color: var(--sun); }
.phead__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.phead .h1 { margin-bottom: 18px; }
.phead .lead { color: var(--ink-2); margin: 0; max-width: 46ch; }
.phead__facts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.phead__facts span { display: inline-flex; gap: 8px; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.phead__facts b { font-family: var(--f-display); font-weight: 600; }
.phead__facts .ico { color: var(--sun); }
.mosaic { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 10px; border-radius: var(--r-xl); overflow: hidden; }
.mosaic__item { position: relative; overflow: hidden; }
.mosaic__item:first-child { grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .3s; }
.mosaic__item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.mosaic__all { position: absolute; right: 18px; bottom: 18px; --bg: rgba(25, 15, 8, .5); }
.mosaic__num { position: absolute; left: 22px; bottom: 6px; font-family: var(--f-display); font-weight: 600; font-size: clamp(90px, 12vw, 180px); line-height: 1; letter-spacing: -.06em; color: rgba(255, 255, 255, .92); text-shadow: 0 8px 40px rgba(0, 0, 0, .35); pointer-events: none; }
.house__grid { display: grid; grid-template-columns: 1fr 400px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.house__main > .h3 { margin: 48px 0 20px; }
.house__main > .h3:first-of-type { margin-top: 28px; }
.house__hook { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; padding: 22px 26px; border-radius: var(--r-lg); background: var(--paper-2); }
.house__hook .hand { margin: 0; font-size: 28px; flex: 1 1 280px; }
.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inside li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; line-height: 1.35; font-size: 15.5px; transition: transform .25s var(--ease); }
.inside li:hover { transform: translateY(-2px); }
.inside .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: color-mix(in srgb, var(--sun) 14%, transparent); color: var(--sun); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.specs div { padding: 18px 20px; border-radius: 16px; background: var(--paper-2); }
.specs dt { font-size: 13px; color: var(--ink-2); font-weight: 600; margin-bottom: 4px; }
.specs dd { margin: 0; font-weight: 700; }
.tariffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tariff-card { padding: 20px; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 2px; }
.tariff-card small { font-size: 13px; color: var(--ink-2); font-weight: 600; margin-bottom: 8px; }
.tariff-card b { font-family: var(--f-display); font-size: 28px; font-weight: 500; line-height: 1.1; }
.tariff-card span { font-size: 14px; color: var(--ink-2); }
.tariff-card em { font-style: normal; font-size: 13.5px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); line-height: 1.4; }
.tariff-card--sun { background: var(--sun); color: #fff; box-shadow: none; }
.tariff-card--sun small, .tariff-card--sun span { color: rgba(255, 255, 255, .85); }
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: var(--r-md); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: 16.5px; font-weight: 700; }
.faq__item .ico { transition: transform .3s; color: var(--sun); }
.faq__item[open] .ico { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }
.house__aside { align-self: stretch; }
.calc__box--sticky { position: sticky; top: calc(var(--head-h) + 20px); }
.calc__box--sticky { box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.calc__head { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.calc__head p { margin: 0 auto 0 0; font-family: var(--f-display); font-size: 24px; white-space: nowrap; }
.calc__head p small { font-family: var(--f-text); font-size: 14px; color: var(--ink-2); }
.calc__head > small { font-size: 13px; color: var(--ink-2); }
.calc__alt { display: flex; justify-content: center; gap: 18px; font-size: 14px; font-weight: 700; }
.calc__alt a { display: inline-flex; gap: 6px; align-items: center; }
.calc__alt svg { width: 17px; height: 17px; }
.book-strip { padding-top: 0; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; }
.gal__item { border-radius: 18px; overflow: hidden; }
.gal__item:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal__item:hover img { transform: scale(1.06); }
.also { padding-top: 0; }
.also__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.mini-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-svc { display: grid; gap: 2px; }
.mini-svc img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); margin-bottom: 8px; transition: transform .4s var(--ease); }
.mini-svc:hover img { transform: translateY(-4px); }
.mini-svc small { color: var(--ink-2); }
.blog-links { display: grid; gap: 10px; }
.blog-links a { display: block; padding: 18px 20px; border-radius: var(--r-md); background: var(--paper-2); font-weight: 600; line-height: 1.35; transition: background .2s, transform .25s var(--ease); }
.blog-links a:hover { transform: translateX(4px); background: color-mix(in srgb, var(--sun) 14%, var(--paper-2)); }
.others { padding-top: 0; overflow: hidden; }
.others__nav { display: flex; gap: 8px; }
.others__nav button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: .2s; }
.others__nav button:hover { background: var(--ink); color: var(--paper); }
.others__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gut) 10px max(var(--gut), (100vw - var(--wrap)) / 2 + var(--gut)); }
.others__track::-webkit-scrollbar { display: none; }
.other { flex: 0 0 300px; scroll-snap-align: start; position: relative; display: grid; gap: 2px; }
.other img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 10px; transition: transform .5s var(--ease); }
.other:hover img { transform: translateY(-5px) rotate(-1deg); }
.other__num { position: absolute; top: 12px; left: 12px; min-width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); font-family: var(--f-display); font-weight: 600; }
.other b { font-family: var(--f-display); font-weight: 500; font-size: 18px; }
.other small { color: var(--ink-2); }

/* ---------- услуги, блог, документы ---------- */
.svc-card { background: var(--card); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.svc-card .kicker { margin: 0; }
.svc-card p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.svc-card .svc-card__price { font-family: var(--f-display); font-size: 26px; color: var(--ink); }
.prose { font-size: 17.5px; line-height: 1.7; color: var(--ink); max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.01em; font-weight: 500; margin-top: 1.8em; }
.prose h3 { font-family: var(--f-display); font-size: 20px; font-weight: 500; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--sun); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul:not(.ticks), .prose ol { padding-left: 1.3em; }
.prose ul:not(.ticks) { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--sun); }
.prose figure img { width: 100%; border-radius: var(--r-lg); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose td, .prose th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose--svc { font-size: 17px; color: var(--ink-2); }
.prose--svc .ticks { margin: 0; }
.prose--legal { font-size: 16px; }
.prose--legal h2 { font-size: 21px; }
.booking-frame { position: relative; min-height: 420px; padding-bottom: 30px; }
.booking-frame__copy { position: absolute; right: 0; bottom: 0; font-size: 12px; opacity: .5; }
.phead--post .lead a { color: var(--sun); }
.wrap--text { max-width: calc(820px + var(--gut) * 2); }
.phead--post .h1--post { font-size: clamp(28px, 4.2vw, 54px); margin-bottom: 18px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.phead--post .lead { max-width: none; margin-bottom: 32px; }
.post__cover { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post__rel { margin: 48px 0 0; }
.wrap--text .ready { margin-top: 48px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.pcard { display: grid; gap: 8px; align-content: start; }
.pcard__img { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 8px; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pcard b { font-family: var(--f-display); font-weight: 500; font-size: 19px; line-height: 1.25; }
.pcard:hover b { color: var(--sun); }
.pcard__ex { color: var(--ink-2); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===========================================================
   Адаптив
   =========================================================== */
@media (max-width: 1360px) { .logo__tag { display: none; } }
@media (max-width: 1240px) {
  .socials--head { display: none; }
  .mega__grid { grid-template-columns: 1fr 1fr; }
  .mega__grid .mm-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr 1fr; }
  .mega__grid--svc { grid-template-columns: 1fr; }
  .mega__grid--svc .mm-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .nav, .header__phone { display: none; }
  .burger { display: grid; margin-left: auto; }
  .header__right { margin-left: auto; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__cards { max-width: 520px; }
  .hero__feats { grid-template-columns: 1fr 1fr; }
  .feat--hand { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc__grid, .about__grid, .contacts__grid, .evening__grid, .mood__stage { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; row-gap: 32px; }
  .steps::before { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .svc--0 { grid-column: span 2; grid-row: span 1; }
  .svc--1, .svc--2, .svc--3, .svc--4 { grid-column: span 1; }
  .bday__card { grid-template-columns: 1fr; text-align: left; }
  .footer__top { grid-template-columns: 1fr; }
  .house__grid { grid-template-columns: 1fr; }
  .house__aside { position: static; }
  .phead__row { grid-template-columns: 1fr; }
  .phead__facts { justify-content: flex-start; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --head-h: 64px; }
  body { font-size: 16px; padding-bottom: 72px; }
  .header__cta, .theme-toggle { display: none; }
  .logo__img { width: 96px; }
  .logo__tag { display: none; }
  .hero { padding: 6px 6px 0; }
  .hero__frame { min-height: 100svh; border-radius: 26px; }
  .hero__word { font-size: 17vw; top: calc(var(--head-h) + 22px); }
  .hero__sun { display: none; }
  .hero__title { font-size: 33px; }
  .hero__sub { font-size: 16px; margin-bottom: 20px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__cards { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 12px; }
  .stat span { font-size: 11.5px; }
  .sunset-card b { font-size: 24px; }
  .hero__feats { grid-template-columns: 1fr; }
  .ticker { margin-top: 24px; padding: 18px 0; }
  .mood__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 20px; padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .mood__tabs button { flex: none; padding: 12px 18px; }
  .mood-item { grid-template-columns: 72px 1fr; }
  .mood-item img { width: 72px; height: 60px; }
  .mood-item span { grid-column: 2; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .hcard__foot { flex-wrap: wrap; }
  .hero__kicker .km { display: none; }
  .hero__kicker { font-size: 13px; }
  .filters { width: 100%; }
  .chips--filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; scrollbar-width: none; width: calc(100% + var(--gut) * 2); }
  .chips--filter button { flex: none; }
  .calc, .evening { margin: 0 6px; border-radius: 26px; }
  .calc__box { grid-template-columns: 1fr 1fr; padding: 18px; border-radius: 24px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding-bottom: 18px; }
  .steps li > span { grid-row: span 2; margin: 0; }
  .ready { flex-direction: column; align-items: stretch; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .svc--0, .svc--1, .svc--2, .svc--3, .svc--4 { grid-column: span 1; }
  .evening__big { min-height: 320px; }
  .evening__list li { grid-template-columns: 88px 1fr; }
  .evening__list img { width: 88px; height: 88px; }
  .ticks--two { grid-template-columns: 1fr; }
  .counters div { padding: 14px; }
  .counters span { font-size: 12px; }
  .bday__form { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contacts__list li { grid-template-columns: 40px 1fr auto; }
  .contacts__list li > .ico { width: 40px; height: 40px; padding: 10px; }
  .footer { margin: 6px; border-radius: 26px; }
  .footer__word { height: 30vw; }
  .footer__letters { transform: translateY(4%); font-size: 16vw; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 110; padding: 6px; border-radius: 22px; background: color-mix(in srgb, var(--ink) 92%, transparent); color: var(--paper); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); padding-bottom: calc(6px + env(safe-area-inset-bottom) / 2); }
  .mbar a, .mbar button { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 16px; font-size: 11.5px; font-weight: 700; }
  .mbar svg { width: 21px; height: 21px; }
  .mbar__main { background: var(--sun); color: #fff; }
  .cookie { left: 8px; right: 8px; bottom: 84px; max-width: none; }
  .toast { bottom: 90px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; border-radius: 22px; }
  .mosaic__item:first-child { grid-column: span 2; grid-row: span 1; }
  .mosaic__item:nth-child(n + 4) { display: none; }
  .mosaic__num { font-size: 84px; }
  .inside, .specs, .tariffs { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .also__grid { grid-template-columns: 1fr; }
  .mini-svcs { grid-template-columns: repeat(3, 1fr); }
  .other { flex-basis: 76vw; }
  .lightbox__nav { top: auto; bottom: 14px; margin: 0; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .post__cover { aspect-ratio: 4 / 3; border-radius: 22px; }
  .prose { font-size: 16.5px; }
  .prose table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===========================================================
   Типографика бренда и постановка первого экрана (бывший вариант v2)
   =========================================================== */
body { font-size: 17.5px; letter-spacing: .005em; }

/* крупные заголовки — знак бренда */
.h1, .h2, .hero__title, .phead--post .h1--post {
  font-family: var(--f-brand); font-weight: 400; letter-spacing: .01em; line-height: 1.08;
  -webkit-text-stroke: .018em currentColor; paint-order: stroke fill;
}
.hero__title { font-size: clamp(36px, 4.9vw, 72px); }
.h2 em, .h1 em, .hero__title em { -webkit-text-stroke-color: currentColor; }

/* мелкие заголовки и цифры — Jost, плотнее */
.h3, .h4, .feat h4, .stat b, .sunset-card b, .bnovo__head b, .mm-cta b, .mnav summary, .mnav__inner > a,
.pcard b, .other b, .tariff-card b, .svc-card .svc-card__price, .calc__head p, .prose h2, .prose h3 { font-weight: 500; letter-spacing: -.005em; }
.h3 { font-size: clamp(21px, 2.1vw, 28px); }

/* курсив подписи вместо рукописного */
.hand, .logo__tag, .sunset-card span, .ticker span:nth-of-type(even) { font-style: italic; font-weight: 400; }
.hand { font-size: clamp(20px, 1.9vw, 25px); }
.logo__tag { font-size: 15px; }
.sunset-card span { font-size: 16px; }
.ticker span { font-weight: 400; letter-spacing: .02em; }
.ticker span:nth-of-type(odd) { font-family: var(--f-brand); text-transform: uppercase; letter-spacing: .14em; -webkit-text-stroke: .015em currentColor; }
.ticker span:nth-of-type(even) { font-size: clamp(24px, 3vw, 40px); }

/* слово в подвале — как знак, в разрядку */
.footer__letters { font-family: var(--f-brand); font-weight: 400; letter-spacing: .1em; font-size: clamp(44px, 12.4vw, 200px); line-height: .9; }
.mosaic__num { font-family: var(--f-brand); font-weight: 400; }


/* ---------- постановка первого экрана: горизонт и знак ---------- */
.hero__word { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit;
  font-family: var(--f-brand); font-weight: 400; letter-spacing: .14em; text-indent: .14em;
  font-size: var(--hw); top: var(--hw-top); line-height: 1; display: grid; justify-items: center; }
/* размер знака — переменная: под него резервируется место над текстом, наложение невозможно на любом окне */
.hero__frame { --hw: clamp(46px, 11.6vw, 196px); --hw-top: calc(var(--head-h) + 1vw); }
.hero__content { padding-top: calc(var(--hw-top) + var(--hw) * 1.1 + 28px); }
.hero__mask { display: block; overflow: hidden; padding: 0 .05em; }
.hero__letters { display: block; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(180deg, rgba(255, 252, 245, .96) 35%, rgba(255, 228, 190, .55) 100%);
  animation: v2-rise 1.1s .45s cubic-bezier(.2, .7, .1, 1) both; }
.hero__line { display: block; height: 2px; width: min(92vw, 1240px); margin-top: .06em; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 238, 210, .85) 14%, rgba(255, 196, 120, .95) 50%, rgba(255, 238, 210, .85) 86%, transparent);
  transform-origin: 50% 50%; animation: v2-line 1s 0s cubic-bezier(.65, 0, .2, 1) both; }
/* текст и кнопки не ждут знак: видны сразу, лёгкий подъём за полсекунды */
.hero__text > * { animation: v2-fade .5s both; }
.hero__text > :nth-child(2) { animation-delay: .05s; }
.hero__text > :nth-child(3) { animation-delay: .1s; }
.hero__text > :nth-child(4) { animation-delay: .15s; }
.hero__cards { animation: v2-fade .5s .2s both; }
/* невысокие окна ноутбуков: знак и заголовок по высоте окна, чтобы кнопки помещались */
@media (min-width: 761px) and (max-height: 760px) {
  .hero__frame { min-height: max(540px, 100svh - 20px); --hw: min(11.6vw, 12svh); }
  .hero__title { font-size: min(4.9vw, 7svh); }
  .hero__kicker { margin-bottom: 14px; }
  .hero__sub { margin-bottom: 18px; }
}
@keyframes v2-line { from { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } to { transform: scaleX(1); opacity: 1; } }
@keyframes v2-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes v2-fade { from { opacity: .01; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .hero__frame { --hw: 12.4vw; --hw-top: calc(var(--head-h) + 22px); }
  .hero__word { letter-spacing: .1em; text-indent: .1em; }
  .hero__title { font-size: 34px; }
  .footer__letters { font-size: 12.6vw; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__letters, .hero__line, .hero__text > *, .hero__cards { animation: none !important; }
}
