/* Secret Place — стили сайта. Сначала телефон.
   Шрифт Onest (вариативный, 400–800) лежит у нас: без отдельного соединения с Google. */
@font-face { font-family: Onest; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ——— Токены (копия src/styles/tokens.css из дизайн-системы) ——— */
/* Secret Place — токены из дизайн-системы (Бренд/design-system/tokens.json). Тёмная тема по умолчанию. */
:root, [data-theme="dark"] {
  --bg: #0E0B13;
  --surface: #17131E;
  --surface-raised: #221C2B;
  --line: #2E2738;
  --line-strong: #6B6079;
  --ink: #F1EEF5;
  --ink-muted: #A59DB3;
  --green: #4CFF72;
  --green-hover: #86FF9E;
  --on-green: #0E0B13;
  --green-text: #4CFF72;
  --green-soft: #143A20;
  --violet: #A98BFF;
  --violet-soft: #2A2045;
  --danger: #FF7A7A;
  --focus: #A98BFF;
  --glow: 0 10px 28px -8px rgba(76, 255, 114, 0.55);
  --sheet: 0 -12px 32px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F4F3F6;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --line: #E2DEE8;
  --line-strong: #8A8296;
  --ink: #15111B;
  --ink-muted: #5E566B;
  --green: #12B347;
  --green-hover: #0F9E3E;
  --on-green: #0E0B13;
  --green-text: #0B7F31;
  --green-soft: #DDF7E4;
  --violet: #6A3BE4;
  --violet-soft: #ECE6FD;
  --danger: #C2262E;
  --focus: #6A3BE4;
  --glow: 0 8px 20px -8px rgba(18, 179, 71, 0.55);
  --sheet: 0 -8px 24px rgba(21, 17, 27, 0.12);
  color-scheme: light;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --font-sans: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
html.is-locked, html.nav-open { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/24px var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  touch-action: manipulation;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul[role="list"]), .badges, .near-list, .free-list, .facts { list-style: none; padding: 0; }
a { color: var(--violet); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
address { font-style: normal; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* поле-ловушка для ботов в формах брони и заказа: людям не видно, с клавиатуры не достать */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: var(--space-4); top: -100px; z-index: 60; background: var(--surface-raised); color: var(--ink); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); }
.skip:focus { top: var(--space-4); }
.notfound { display: grid; gap: var(--space-6); align-content: center; min-height: 100svh; padding-block: var(--space-12); }

/* Типографика по дизайн-системе */
.display { font-size: 40px; line-height: 40px; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.h1 { font-size: 30px; line-height: 34px; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.price { font-size: 32px; line-height: 36px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--green-text); }
.small { font-size: 14px; line-height: 20px; }
.caption { font-size: 13px; line-height: 18px; font-weight: 600; }
.muted { color: var(--ink-muted); }
.section-lead { color: var(--ink-muted); margin-top: var(--space-3); max-width: 60ch; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--space-4); }
main > section { margin-top: var(--space-16); }
main > section.hero { margin-top: 0; }

/* Иконки */
.i { width: 24px; height: 24px; flex: none; }
.i-s { width: 18px; height: 18px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-6); border-radius: var(--radius-md);
  font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--on-green); box-shadow: var(--glow); }
.btn-primary:hover { background: var(--green-hover); }
.btn-primary:disabled { background: var(--surface-raised); color: var(--ink-muted); box-shadow: none; cursor: not-allowed; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink-muted); padding-inline: var(--space-3); }
.btn-quiet:hover { color: var(--ink); }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md);
  background: transparent; border: 0; color: var(--ink); cursor: pointer; font: 600 22px/1 var(--font-sans); text-decoration: none;
}
.icon-btn:hover { background: var(--surface-raised); }
.icon-btn-line { border: 1px solid var(--line-strong); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; background: transparent; }

.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink);
  padding: 5px 8px; border-radius: var(--radius-sm); background: rgba(14, 11, 19, .55);
  border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ——— Шапка: закреплена, прячется при прокрутке вниз ——— */
.top {
  position: fixed; inset: 0 0 auto; z-index: 30; padding-top: env(safe-area-inset-top);
  transition: transform .35s var(--ease), background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(14, 11, 19, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.top.is-hidden { transform: translateY(-105%); }
.top-in { display: flex; align-items: center; gap: var(--space-4); height: 64px; }
.logo { margin-right: auto; }
.logo img { width: 120px; height: auto; }
.top-contacts { display: flex; align-items: center; gap: var(--space-1); }
.top-phone { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding-inline: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; border-radius: var(--radius-md); }
.top-phone span { display: none; }
.top:not(.is-solid) .top-phone, .top:not(.is-solid) .icon-btn { background: rgba(14, 11, 19, .5); }
.top-phone:hover { background: var(--surface-raised); }
.top-tg { display: none; }

/* иконка меню: две линии, при открытии — крестик */
.burger-lines { position: relative; display: block; width: 22px; height: 10px; }
.burger-lines::before, .burger-lines::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), width .25s var(--ease); }
.burger-lines::before { top: 0; }
.burger-lines::after { top: 8px; width: 14px; }
.burger[aria-expanded="true"] .burger-lines::before { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines::after { width: 22px; transform: translateY(-4px) rotate(-45deg); }

.desk-nav { display: none; }

/* Меню на телефоне: панель «выпрыгивает» из кнопки с пружинкой, пункты появляются по очереди */
.m-nav { position: fixed; inset: 0; z-index: 29; }
.m-nav-bg { position: absolute; inset: 0; background: rgba(5, 4, 8, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in .3s var(--ease) both; }
.m-nav-panel {
  position: absolute; top: calc(64px + env(safe-area-inset-top)); right: var(--space-2); left: var(--space-2);
  max-height: calc(100dvh - 76px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain;
  display: grid; gap: var(--space-4); padding: var(--space-4) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  transform-origin: calc(100% - 28px) -8px; animation: nav-pop .5s cubic-bezier(.34, 1.4, .64, 1) both;
}
@keyframes nav-pop { from { opacity: 0; transform: scale(.35); border-radius: 40px; } 60% { opacity: 1; } }
.m-nav-panel > *, .m-nav-main li, .m-nav-packs li { animation: nav-item .45s var(--ease) both; animation-delay: calc(80ms + var(--i, 0) * 35ms); }
@keyframes nav-item { from { opacity: 0; transform: translateY(10px); } }
.m-nav.is-closing .m-nav-bg { animation: fade-out .22s ease both; }
.m-nav.is-closing .m-nav-panel { animation: nav-close .22s cubic-bezier(.4, 0, 1, 1) both; }
@keyframes nav-close { to { opacity: 0; transform: scale(.6); } }
@keyframes fade-out { to { opacity: 0; } }

.m-nav-main { display: grid; }
.m-nav-main a { display: flex; align-items: center; min-height: 56px; color: var(--ink); text-decoration: none; font-size: 30px; line-height: 34px; font-weight: 800; letter-spacing: -0.025em; }
.m-nav-main a:active { opacity: .6; }
.m-nav-h { color: var(--ink-muted); font-size: 13px; font-weight: 600; padding-top: var(--space-3); border-top: 1px solid var(--line); }
.m-nav-packs { margin-top: calc(-1 * var(--space-3)); }
.m-nav-packs a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 44px; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; }
.m-nav-packs small { font-size: 13px; color: var(--ink-muted); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-nav-rules { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-muted); font-size: 15px; }
.m-nav-actions { display: grid; gap: var(--space-2); }
.m-nav-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.m-nav-contacts .btn { padding-inline: var(--space-3); }
@keyframes fade-in { from { opacity: 0; } }

/* ——— Первый экран: фото — источник света, интерфейс тихий ——— */
.hero { position: relative; }
.hero-photo { position: relative; height: 46svh; min-height: 300px; max-height: 460px; overflow: hidden; background: #000; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; animation: light-on 1.8s var(--ease) both; }
.hero-photo > picture { display: contents; }
.hp-home img, .hp-home video { object-position: 70% 45%; } /* главная: в конце видео парень правее — сдвиг, чтобы на телефоне были видны оба */
/* видео лежит ровно поверх фото (тот же кадр и обрезка) и проявляется, только когда реально пошло — без мигания чёрным */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: 0; transition: opacity .2s; pointer-events: none; }
.hero-video.is-on { opacity: 1; }
.hero-photo::after { /* затухание света к полу комнаты */
  content: ""; position: absolute; inset: auto 0 0; height: 55%;
  background: linear-gradient(to bottom, rgba(14, 11, 19, 0), var(--bg));
}
@keyframes light-on { 0% { filter: brightness(.08) saturate(.4); transform: scale(1.04); } 35% { filter: brightness(.5) saturate(.8); } 100% { filter: none; transform: none; } }
.hero-text { position: relative; margin-top: -88px; display: grid; gap: var(--space-8); }
.hero-info { display: grid; gap: var(--space-4); }
.hero-info > * { animation: rise .8s var(--ease) both; }
.hero-info > h1 { animation-name: rise-solid; } /* заголовок виден сразу — для скорости загрузки (LCP) */
@keyframes rise-solid { from { transform: translateY(14px); } }
.hero-info > :nth-child(2) { animation-delay: .12s; }
.hero-info > :nth-child(3) { animation-delay: .22s; }
.hero-buy { display: grid; gap: var(--space-4); animation: rise .8s var(--ease) .32s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-lead { color: var(--ink); max-width: 34ch; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.hero-price-note { color: var(--ink-muted); font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-actions .btn { flex: 1 1 auto; }
.hero-call { color: var(--ink-muted); font-size: 14px; }
.hero-call a { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.night-only { display: none; }
.is-night .night-only { display: inline; }

/* ——— Ближайшее время ——— */
.near { display: grid; gap: var(--space-4); margin-top: var(--space-12) !important; }
.near-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.near-list li { animation: rise .6s var(--ease) both; animation-delay: calc(.45s + var(--i, 0) * 80ms); }
.near-slot {
  display: grid; gap: 2px; min-height: 64px; padding: var(--space-3); border-radius: var(--radius-md);
  border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.near-slot:hover { border-color: var(--green); background: var(--green-soft); }
.near-day { font-size: 13px; line-height: 18px; color: var(--ink-muted); font-weight: 600; }
.near-time { font-size: 22px; line-height: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.near-list:empty::before { content: "Загружаем свободное время…"; color: var(--ink-muted); }
.link-quiet { color: var(--ink-muted); font-size: 14px; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.link-quiet:hover { color: var(--ink); }

/* ——— Что внутри: лента на телефоне, сетка на десктопе ——— */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--space-3);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: var(--space-6) var(--space-4) var(--space-2); scroll-padding-inline: var(--space-4);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.g-item { scroll-snap-align: start; display: grid; align-content: start; gap: var(--space-2); }
.g-item picture { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-item h3 { font-size: 17px; line-height: 22px; font-weight: 700; margin-top: var(--space-1); }
.g-item p { color: var(--ink-muted); font-size: 14px; line-height: 20px; }

/* ——— Цены: два режима, визуально разные ——— */
.modes { display: grid; gap: var(--space-12); margin-top: var(--space-8); }
.mode-top { display: grid; gap: 2px; }
.mode-top .h2 { font-size: 26px; line-height: 30px; font-weight: 800; }
.mode-sub { color: var(--ink-muted); }

/* По часам — сплошная панель */
.mode-hours { display: grid; gap: var(--space-4); background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); align-content: start; }
.rate-grid { display: grid; font-variant-numeric: tabular-nums; }
.rg-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: end; gap: var(--space-2); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.rg-head { padding-top: 0; }
.rg-head span { font-size: 14px; font-weight: 600; }
.rg-head small { display: block; font-size: 12px; color: var(--ink-muted); font-weight: 400; }
.rg-row [role="rowheader"] { font-size: 15px; font-weight: 600; }
.rg-row b { font-size: 30px; line-height: 32px; font-weight: 800; letter-spacing: -0.02em; }
.free-list { display: grid; gap: var(--space-2); padding-top: var(--space-2); }
.free-list li { position: relative; padding-left: 28px; font-weight: 600; }
.free-list li::before { /* галочка: матовая, не зелёная */
  content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px;
  border-left: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted); transform: rotate(-45deg);
}
.mode-hours .btn { justify-self: start; margin-top: var(--space-2); }

/* Пакеты — отдельные карточки с обводкой */
.mode-packs { display: grid; gap: var(--space-6); align-content: start; }
.pk-list { display: grid; gap: var(--space-3); }
.pk {
  position: relative; display: grid; gap: var(--space-2); padding: var(--space-6) var(--space-4) 0;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); transition: border-color .2s, background-color .2s;
}
.pk:hover { border-color: var(--ink-muted); background: rgba(34, 28, 43, .45); }
.pk-dur { display: flex; align-items: baseline; gap: 2px; font-weight: 700; color: var(--ink-muted); }
.pk-dur b { font-size: 44px; line-height: 40px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.pk-dur span { margin-left: var(--space-2); font-size: 13px; font-weight: 600; }
.pk-name { font-size: 22px; line-height: 28px; font-weight: 800; letter-spacing: -0.01em; margin-top: var(--space-2); }
.pk-name a { color: var(--ink); text-decoration: none; }
.pk-name a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pk-for { color: var(--ink-muted); font-size: 14px; line-height: 20px; max-width: 46ch; }
.pk-price { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-6); margin-top: var(--space-2); font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.pk-price b { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.pk-book {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin: var(--space-3) calc(-1 * var(--space-4)) 0;
  padding: 0 var(--space-4); border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none;
}
.pk-book::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-muted); border-top: 2px solid var(--ink-muted); transform: rotate(45deg); transition: transform .2s; }
.pk-book:hover::after { transform: translateX(3px) rotate(45deg); border-color: var(--ink); }

/* ——— Для родителей — фиолетовый, информационный ——— */
.parents { background: var(--violet-soft); padding-block: var(--space-12); }
.parents-in { display: grid; gap: var(--space-8); }
.facts { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { color: #D9D2E8; margin-top: 2px; }
.facts a { color: var(--ink); text-decoration-color: var(--violet); }
.parents-photo { max-width: 560px; }
.parents-photo picture { border-radius: var(--radius-lg); overflow: hidden; }
figcaption { font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: var(--space-2); }

/* ——— Отзывы ——— */
.rating { display: flex; align-items: baseline; gap: var(--space-3); margin-top: var(--space-4); color: var(--ink-muted); }
.rating-num { font-size: 40px; line-height: 40px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); }
.q-nav { display: none; gap: var(--space-2); }
.i-flip { transform: scaleX(-1); }
/* лента отзывов: листается вбок, края выровнены по сетке страницы */
.quotes {
  --pad: var(--space-4);
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: var(--space-3); margin-top: var(--space-6);
  padding: 0 var(--pad) var(--space-2); scroll-padding-inline: var(--pad);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quotes:focus-visible { outline-offset: -2px; }
.quotes li { scroll-snap-align: start; display: grid; align-content: space-between; gap: var(--space-4); min-height: 200px; background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4) var(--space-4); }
.quotes blockquote p { font-size: 16px; line-height: 23px; font-weight: 600; text-wrap: pretty; }
@media (min-width: 768px) { .quotes blockquote p { font-size: 18px; line-height: 26px; } }
.who { display: flex; justify-content: space-between; gap: var(--space-3); color: var(--ink-muted); font-size: 14px; }
.who span { color: var(--ink-muted); font-size: 13px; }

/* ——— Контакты и как добраться: карточка места ——— */
.place-card { display: grid; margin-top: var(--space-6); background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; }
.place-photo { position: relative; }
.place-photo picture { aspect-ratio: 16 / 11; overflow: hidden; }
.place-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.place-photo figcaption { position: absolute; left: var(--space-4); bottom: var(--space-4); margin: 0; padding: 4px 8px; border-radius: var(--radius-sm); background: rgba(14, 11, 19, .75); color: var(--ink); }
.place-info { display: grid; }
.place-block { display: grid; gap: var(--space-3); padding: var(--space-6) var(--space-4); align-content: start; }
.place-block + .place-block { border-top: 1px solid var(--line); }
.place-label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-muted); }
.addr { font-size: 24px; line-height: 30px; font-weight: 800; letter-spacing: -0.01em; }
.route-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-1); }
.place-phone { font-size: 28px; line-height: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.place-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.place-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.place-links a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.place-links a:hover { text-decoration: underline; }

.visit-h { margin-top: var(--space-12); }
.visit { list-style: none; margin: var(--space-6) 0 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.visit li { counter-increment: s; position: relative; display: grid; align-content: start; gap: 2px; padding: 0 0 var(--space-6) 52px; }
.visit li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-md); font-weight: 800; color: var(--ink); z-index: 1;
}
.visit li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.visit b { font-size: 18px; line-height: 24px; padding-top: 6px; }
.visit span { color: var(--ink-muted); }

/* ——— Вопросы ——— */
.faq-list { margin-top: var(--space-6); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-4) 40px var(--space-4) 0; position: relative;
  font-weight: 600; font-size: 17px; line-height: 24px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-muted); padding: 0 0 var(--space-4); max-width: 62ch; }
.faq details[open] p { animation: rise .35s var(--ease); }

/* ——— Финал ——— */
.final { position: relative; overflow: hidden; padding-block: var(--space-16) var(--space-12); }
.final-photo { position: absolute; inset: 0; }
.final-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.final-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg), rgba(14, 11, 19, .35) 45%, var(--bg)); }
.final-in { position: relative; display: grid; gap: var(--space-6); }
.final .h1 { max-width: 16ch; }

/* ——— Подвал ——— */
.foot { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: var(--space-12); padding-bottom: calc(var(--space-16) + 40px + env(safe-area-inset-bottom)); }
.foot-top { display: grid; gap: var(--space-8); }
.foot-title { font-size: 56px; line-height: 52px; font-weight: 800; letter-spacing: -0.045em; text-wrap: balance; }
.foot-contact { display: grid; gap: var(--space-3); align-content: start; }
.foot-phone { white-space: nowrap; font-size: 34px; line-height: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.foot-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.foot-msg { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.foot-msg .btn { min-height: 48px; padding-inline: var(--space-4); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-6); margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--line); }
.foot-grid > :last-child { grid-column: 1 / -1; }
.foot-h { font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-bottom: var(--space-3); }
.foot-grid ul { display: grid; gap: 2px; }
.foot-grid a { color: var(--ink); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.foot-grid a:hover { text-decoration: underline; }
.foot-hours { margin-top: var(--space-3); }
.foot-mark { padding: var(--space-12) var(--space-4) var(--space-6); max-width: 1440px; margin: 0 auto; }
.foot-logo { display: block; width: 100%; height: auto; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); }

/* ——— Закреплённая полоса ——— */
.dock {
  position: fixed; inset: auto 0 0; z-index: 20;
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: rgba(23, 19, 30, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: var(--sheet);
  transform: translateY(110%); transition: transform .35s var(--ease); pointer-events: none;
}
.dock.is-shown { transform: none; pointer-events: auto; }
.dock-in { display: flex; align-items: center; gap: var(--space-3); }
.dock-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dock .btn { flex: 1; min-height: 48px; box-shadow: none; }
.dock-phone { display: none; }

/* ——— Шторка брони ——— */
.sheet {
  padding: 0; border: 0; margin: auto 0 0; width: 100%; max-width: 100%;
  height: 94svh; height: 94dvh; max-height: 94dvh;
  background: var(--surface); color: var(--ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--sheet); display: none; flex-direction: column; overflow: hidden;
}
.sheet[open] { display: flex; animation: sheet-in .32s var(--ease); }
.sheet::backdrop { background: rgba(5, 4, 8, .72); }
@keyframes sheet-in { from { transform: translateY(48px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-3) var(--space-2) var(--space-4); border-bottom: 1px solid var(--line); }
.sheet-title { flex: 1; display: flex; align-items: baseline; gap: var(--space-3); }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-4); }
.sheet-body > section, .sheet-body > form { display: grid; gap: var(--space-6); }
.sheet-foot { display: grid; gap: var(--space-3); }
.sheet-foot-1 { padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.sheet[data-step="2"] .sheet-foot-1, .sheet[data-step="3"] .sheet-foot-1 { display: none; }
.sheet-call { text-align: center; }
.sheet-call a { color: var(--ink); font-weight: 600; white-space: nowrap; }

.fs { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--space-3); }
.fs legend, .legend, .field label { font-weight: 600; padding: 0; margin-bottom: var(--space-3); }
.fs legend { float: left; width: 100%; }
.fs legend + * { clear: both; }
.fs-hint { margin-top: calc(-1 * var(--space-2)); }

/* Переключатель «По часам / Пакет» */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.seg label { display: grid; }
.seg input, .chip input, .day input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span { display: grid; gap: 2px; padding: var(--space-3) var(--space-4); min-height: 64px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); cursor: pointer; }
.seg b { font-size: 17px; }
.seg small { font-size: 13px; color: var(--ink-muted); }
.seg input:checked + span { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--space-4);
  border: 1px solid var(--line-strong); border-radius: var(--radius-md); cursor: pointer; font-weight: 600; font-size: 15px;
}
.chip small { font-size: 12px; color: var(--ink-muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.chip input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--green); }
.chip input:focus-visible + span, .day input:focus-visible ~ .day-num, .slot input:focus-visible + .slot-time { outline: 2px solid var(--focus); outline-offset: 3px; }

.check-corp { border-top: 1px solid var(--line); margin-top: var(--space-1); padding-top: var(--space-4); grid-template-columns: 24px 1fr; }
.check-corp b { font-weight: 600; }

.days { display: grid; grid-auto-flow: column; grid-auto-columns: 60px; gap: var(--space-2); overflow-x: auto; margin-inline: calc(-1 * var(--space-4)); padding: 2px var(--space-4) var(--space-2); scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--space-4); }
.days::-webkit-scrollbar { display: none; }
.day {
  position: relative; display: grid; justify-items: center; gap: 2px; padding: var(--space-2) 0; min-height: 76px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-md); cursor: pointer; scroll-snap-align: start;
}
.day-dow { font-size: 12px; line-height: 16px; color: var(--ink-muted); font-weight: 600; }
.day-num { font-size: 20px; line-height: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.day-state { font-size: 11px; line-height: 14px; color: var(--ink-muted); }
.day.is-weekend .day-dow { color: var(--ink); }
.day:has(input:checked) { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.day.is-busy { cursor: not-allowed; border-color: var(--line); }
.day.is-busy .day-num { color: var(--ink-muted); text-decoration: line-through; }

.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.slot {
  position: relative; display: grid; justify-items: center; align-content: center; min-height: 48px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-md); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.slot-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.slot-state { font-size: 11px; line-height: 12px; color: var(--ink-muted); }
.slot:has(input:checked) { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
/* часы внутри брони — зелёная точка */
.slot.is-in { border-color: rgba(76, 255, 114, .55); background: rgba(20, 58, 32, .55); }
.slot.is-in::after, .slot:has(input:checked)::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.slot.is-busy { border-color: var(--line); cursor: not-allowed; }
/* пакет помещается не целиком — фиолетовым, со скидкой (зелёный остаётся за выбором) */
.slot.is-short { border-style: dashed; border-color: var(--violet); }
.slot.is-short .slot-state { color: var(--violet); font-weight: 700; }
.slot.is-short:has(input:checked) { border-style: solid; border-color: var(--violet); background: var(--violet-soft); box-shadow: inset 0 0 0 1px var(--violet); }
.slot.is-short:has(input:checked)::after { background: var(--violet); }
.slot.is-busy .slot-time { color: var(--ink-muted); text-decoration: line-through; font-weight: 600; }

.fs-time { gap: var(--space-2); }
/* «Время начала» и часы в одной строке: видно сразу, без прокрутки вниз */
.time-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 44px; }
.time-head .legend { margin: 0; }
.dur { display: flex; align-items: center; gap: var(--space-1); }
.dur-btn { width: 40px; height: 40px; font-size: 20px; }
.dur output { min-width: 52px; text-align: center; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dur-add {
  min-height: 40px; padding: 0 var(--space-3); border: 1px dashed var(--green); border-radius: var(--radius-md);
  background: transparent; color: var(--green-text); font: 600 15px/1 var(--font-sans); cursor: pointer; white-space: nowrap;
  animation: rise .3s var(--ease);
}
.dur-add:hover { background: var(--green-soft); border-style: solid; }
.dur-hint:empty { display: none; }

.total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 var(--space-3); min-height: 44px; }
.total-when { font-size: 14px; color: var(--ink-muted); }
.total-sum { grid-row: 1 / 3; grid-column: 2; font-size: 28px; line-height: 32px; font-weight: 800; color: var(--green-text); font-variant-numeric: tabular-nums; align-self: center; }
.total-note { font-size: 13px; color: var(--ink-muted); }
.total-hint { color: var(--ink-muted); align-self: center; }

.bk-summary { background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); }
.field { display: grid; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: var(--space-3); font: 400 16px/22px var(--font-sans); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-md);
}
.field input::placeholder { color: #7B728A; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .fs-hint { margin-top: var(--space-2); }
.field-err { color: var(--danger); font-size: 14px; line-height: 20px; margin-top: var(--space-2); }
.field-err:empty { display: none; }
.note { color: var(--ink); background: var(--violet-soft); border-radius: var(--radius-md); padding: var(--space-2) var(--space-3); }

.promo-toggle { justify-self: start; min-height: 44px; padding: 0; background: none; border: 0; color: var(--violet); font: 600 15px/1 var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.promo-toggle[aria-expanded="true"] { display: none; }
.promo { display: grid; }

.check { display: grid; grid-template-columns: 24px 1fr auto; gap: var(--space-3); align-items: start; padding: var(--space-3) 0; cursor: pointer; }
.check + .check { border-top: 1px solid var(--line); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.check small { display: block; color: var(--ink-muted); font-size: 13px; line-height: 18px; margin-top: 2px; }
.check-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.check-consent { grid-template-columns: 24px 1fr; font-size: 14px; line-height: 20px; color: var(--ink-muted); padding: 0; }
.check-consent + .field-err { margin-top: calc(-1 * var(--space-4)); }
.sheet-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.sheet-total b { font-size: 26px; font-weight: 800; color: var(--green-text); font-variant-numeric: tabular-nums; }

.done { text-align: left; padding-top: var(--space-6); }
.done-mark { width: 64px; height: 64px; }
.done-mark .lt { animation: neon 1.4s linear both; }
.done p { color: var(--ink-muted); }
.done .bk-summary { color: var(--ink); }

/* ——— Появление при прокрутке ——— */
.rv[data-reveal="up"] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.rv[data-reveal="up"].is-in { opacity: 1; transform: none; }
/* фото «открываются как дверь»: свет входит справа, где щель в нашем логотипе */
.rv[data-reveal="photo"] picture { clip-path: inset(0 0 0 100% round var(--radius-lg)); transition: clip-path 1.1s var(--ease) var(--d, 0ms); }
.rv[data-reveal="photo"] img { transform: scale(1.16); filter: brightness(.3); transition: transform 1.6s var(--ease) var(--d, 0ms), filter 1.4s var(--ease) var(--d, 0ms); }
.rv[data-reveal="photo"] > :not(picture) { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease) calc(var(--d, 0ms) + 350ms), transform .6s var(--ease) calc(var(--d, 0ms) + 350ms); }
.rv[data-reveal="photo"].is-in picture { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.rv[data-reveal="photo"].is-in img { transform: none; filter: none; }
.rv[data-reveal="photo"].is-in > :not(picture) { opacity: 1; transform: none; }
/* свет в логотипе подвала загорается, как неон */
.rv[data-reveal="mark"] .lt { opacity: 0; }
.rv[data-reveal="mark"].is-in .lt { animation: neon 1.6s linear .2s both; }
@keyframes neon { 0% { opacity: 0; } 8% { opacity: .9; } 12% { opacity: .1; } 20% { opacity: 1; } 24% { opacity: .25; } 34%, 100% { opacity: 1; } }

/* ——— Планшет ——— */
@media (min-width: 768px) {
  .display { font-size: 64px; line-height: 62px; letter-spacing: -0.035em; }
  .h1 { font-size: 40px; line-height: 44px; }
  main > section { margin-top: 96px; }
  .wrap { padding-inline: var(--space-8); }
  .top-phone span { display: inline; }
  .top-tg { display: inline-grid; }
  .logo img { width: 137px; }
  .hero-photo { height: 56vh; max-height: 560px; }
  .hero-text { margin-top: -140px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .near-list { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-auto-columns: 44%; padding-inline: var(--space-8); scroll-padding-inline: var(--space-8); }
  .mode-hours { padding: var(--space-8); }
  .pk-list { grid-template-columns: 1fr 1fr; }
  .pk { padding: var(--space-6) var(--space-6) 0; }
  .pk-book { margin-inline: calc(-1 * var(--space-6)); padding-inline: var(--space-6); }
  .pk-corp { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .q-nav { display: flex; }
  .quotes { --pad: max(var(--space-8), calc((100% - 1200px) / 2 + var(--space-8))); grid-auto-columns: 380px; }
  .place-block { padding: var(--space-8); }
  .visit { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
  .visit li { padding: 52px 0 0; }
  .visit li:not(:last-child)::after { left: 44px; right: calc(-1 * var(--space-6)); top: 17px; bottom: auto; width: auto; height: 2px; }
  .visit b { padding-top: 0; }
  .foot-title { font-size: 96px; line-height: 88px; }
  .foot-phone { font-size: 44px; line-height: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1.3fr; }
  .foot-grid > :last-child { grid-column: auto; }
  .foot-mark { padding-inline: var(--space-8); }
  .sheet { margin: auto; width: 560px; height: min(820px, 92vh); max-height: 92vh; border-radius: var(--radius-lg); }
  /* полоса на компьютере — плавающая, по центру */
  .dock { inset: auto auto var(--space-4) 50%; width: auto; padding: var(--space-2) var(--space-2) var(--space-2) var(--space-6); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); transform: translate(-50%, 160%); }
  .dock.is-shown { transform: translate(-50%, 0); }
  .dock-in { gap: var(--space-4); }
  .dock .btn { flex: none; padding-inline: var(--space-8); }
  .dock-call { width: auto; padding: 0 var(--space-4); display: inline-flex; gap: var(--space-2); font-size: 16px; font-variant-numeric: tabular-nums; }
  .dock-phone { display: inline; }
  .foot { padding-bottom: 120px; }
}

/* ——— Десктоп ——— */
@media (min-width: 960px) {
  .burger { display: none; }
  .m-nav { display: none !important; }
  .desk-nav { display: flex; align-items: center; gap: var(--space-1); }
  .desk-nav > a, .dd summary { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-md); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
  .top:not(.is-solid) .desk-nav > a, .top:not(.is-solid) .dd summary { background: rgba(14, 11, 19, .5); }
  .desk-nav > a:hover, .dd summary:hover, .dd[open] summary { background: var(--surface-raised) !important; }
  .dd { position: relative; }
  .dd summary { list-style: none; }
  .dd summary::-webkit-details-marker { display: none; }
  .dd[open] .i-s { transform: rotate(180deg); }
  .dd-list { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; padding: var(--space-2); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); animation: rise .25s var(--ease); }
  .dd-list a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-6); padding: var(--space-3); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; font-weight: 600; }
  .dd-list a:hover { background: var(--surface); }
  .dd-list small { color: var(--ink-muted); font-variant-numeric: tabular-nums; }

  .hero { display: grid; grid-template-columns: 42% 58%; min-height: min(780px, 100vh); }
  .hero-photo { grid-column: 2; grid-row: 1; height: 100%; max-height: none; }
  /* фото не задаёт высоту блока: вертикальное фото иначе растягивает первый экран и текст уезжает вниз */
  .hero-photo img { position: absolute; inset: 0; }
  .hero-photo::after { inset: 0 auto 0 0; width: 45%; height: auto; background: linear-gradient(to right, var(--bg), rgba(14, 11, 19, 0)); }
  .hero-text { grid-column: 1 / 3; grid-row: 1; margin: 0 auto; align-self: center; max-width: 1200px; width: 100%; padding-top: 64px; gap: var(--space-12); }
  .hero-text > * { max-width: 600px; }
  .display { font-size: 76px; line-height: 72px; margin-bottom: var(--space-2); }
  .hero-lead { font-size: 18px; line-height: 28px; }
  .gallery {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: 1200px; margin-inline: auto;
    padding-inline: var(--space-8); gap: var(--space-8) var(--space-4);
  }
  .g-wide { grid-column: span 2; grid-row: span 2; grid-template-rows: 1fr auto auto; }
  .g-wide picture { aspect-ratio: auto; height: 100%; max-height: 520px; }
  .modes { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; }
  .mode-hours { position: sticky; top: 88px; }
  .mode-packs { padding-top: var(--space-8); }
  .parents-in { grid-template-columns: 7fr 5fr; gap: var(--space-16); align-items: center; }
  .place-card { grid-template-columns: 5fr 6fr; }
  .place-photo picture { aspect-ratio: auto; height: 100%; min-height: 460px; }
  .final { padding-block: 140px; }
  .final-photo { left: 35%; }
  .final-photo::after { background: linear-gradient(to right, var(--bg), rgba(14, 11, 19, .2) 50%, rgba(14, 11, 19, .5)), linear-gradient(to bottom, var(--bg), transparent 25%, transparent 75%, var(--bg)); }
  .foot-top { grid-template-columns: 7fr 5fr; align-items: end; }
  .foot-title { font-size: 128px; line-height: 112px; }
}

/* ——— Страницы пакетов ——— */
.crumbs { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.hero-pack .hero-photo { height: 38svh; min-height: 260px; max-height: 420px; }
.hero-pack .hero-photo::before { /* тень под шапкой: логотип читается и на ярком экране */
  content: ""; position: absolute; inset: 0 0 auto; height: 110px; z-index: 1; background: linear-gradient(to bottom, rgba(14, 11, 19, .7), rgba(14, 11, 19, 0));
}
.hp-popcorn img { object-position: 50% 28%; }
.hp-friends img, .hp-friends video { object-position: 50% 30%; }
.hp-ps5 img { object-position: 50% 42%; }
.hp-table img { object-position: 40% 55%; }
/* «Ночь»: фото вертикальное, гости на пуфах в самом низу — на телефоне кадр выше и прижат к низу,
   текст меньше наезжает на фото, затемнение короче: в кадре и экран, и люди перед ним */
@media (max-width: 767px) {
  .hero-pack .hp-noch { height: 50svh; max-height: 440px; }
  .hp-noch img, .hp-noch video { object-position: 50% 100%; }
  .hp-noch::after { height: 28%; }
  .hero-pack .hp-noch + .hero-text { margin-top: -40px; }
}
/* две цены: будни зелёным, пик — белым; одна строка на цену, чтобы считывалось как таблица */
.pp { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-8); }
.pp-row { display: grid; gap: 0; }
.pp-when { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.price-alt { color: var(--ink); }
.pp-note { font-size: 14px; line-height: 20px; color: var(--ink-muted); max-width: 44ch; margin-top: calc(-1 * var(--space-1)); }

/* Что входит: список фактов + фото или подписанная заглушка */
.incl { display: grid; gap: var(--space-8); }
.incl-list { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.incl-list li { position: relative; display: grid; gap: 2px; padding-left: 32px; }
.incl-list li::before { /* та же матовая галочка, что в ценах */
  content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.incl-list b { font-size: 18px; line-height: 24px; }
.incl-list span { color: var(--ink-muted); }
.incl-room { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--ink-muted); max-width: 60ch; }
.incl-photo picture { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.incl-photo img { width: 100%; height: 100%; object-fit: cover; }
/* заглушка: честно говорит, какое фото здесь будет (по этим подписям снимаем) */
.ph-box {
  display: grid; align-content: center; justify-items: start; gap: var(--space-2); aspect-ratio: 4 / 3; padding: var(--space-6);
  border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--ink-muted);
  background: radial-gradient(120% 90% at 85% 10%, rgba(169, 139, 255, .14), transparent 60%), radial-gradient(90% 80% at 10% 100%, rgba(76, 255, 114, .08), transparent 60%), var(--surface);
}
.ph-tag { font-size: 13px; line-height: 18px; font-weight: 600; }
.ph-what { font-size: 20px; line-height: 26px; font-weight: 700; color: var(--ink); max-width: 22ch; text-wrap: balance; }

/* Карусель фото в «Что входит»: до 10 фото и заглушек, листается пальцем и кнопками */
.car { display: grid; gap: var(--space-3); min-width: 0; }
.car-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: var(--space-2);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline-offset: 2px; }
.car-item { scroll-snap-align: start; min-width: 0; }
.car-item picture { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.car-item img { width: 100%; height: 100%; object-fit: cover; }
.car-low img { object-position: 50% 80%; }
.car-nav { display: flex; align-items: center; gap: var(--space-2); }
.car-count { margin-right: auto; font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }

/* Как проходит — те же шаги, что «Как проходит визит» */
.steps .visit { margin-top: var(--space-6); }

/* Допуслуги: строки «название — цена», как в брони */
.ex-list { margin-top: var(--space-6); border-top: 1px solid var(--line); max-width: 760px; }
.ex-list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.ex-name { font-weight: 600; }
.ex-name small { display: block; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ink-muted); margin-top: 2px; }
.ex-price { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ex-food { margin-top: var(--space-4); color: var(--ink-muted); max-width: 60ch; }

/* отзывы на странице пакета: 3 штуки, без кнопок */
.quotes-3 { margin-top: var(--space-6); }

/* Другие пакеты */
.others-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-4); }
.others-list li { display: grid; }
.others-list a {
  display: grid; gap: 2px; min-height: 64px; padding: var(--space-3) var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  color: var(--ink); text-decoration: none; font-weight: 700; transition: border-color .15s, background-color .15s;
}
.others-list a:hover { border-color: var(--ink-muted); background: rgba(34, 28, 43, .45); }
.others-list small { font-size: 13px; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.page-pack .final { margin-top: var(--space-16); }
/* текущая страница в меню и подвале */
.m-nav-packs [aria-current="page"] span, .foot-grid [aria-current="page"] { color: var(--green-text); }
.dd-list [aria-current="page"] { background: var(--surface); }
.dd-list [aria-current="page"] span { color: var(--green-text); }

@media (min-width: 768px) {
  .hero-pack .hero-photo { height: 50vh; max-height: 520px; }
  .incl-list { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .visit-3 { grid-template-columns: repeat(3, 1fr); }
  .others-list { grid-template-columns: repeat(5, 1fr); }
  .quotes-3 { grid-auto-columns: 380px; }
}
@media (min-width: 960px) {
  .hero-pack .hero-photo { height: 100%; max-height: none; }
  .hero-pack .display { font-size: 64px; line-height: 62px; }
  .incl { grid-template-columns: 7fr 5fr; gap: var(--space-16); align-items: center; }
  .car-track { grid-auto-columns: 100%; }
  .incl-list { grid-template-columns: 1fr; }
  .parents-solo { grid-template-columns: 1fr; }
  .parents-solo .facts { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
  .quotes-3 { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; max-width: 1200px; margin-inline: auto; padding-inline: var(--space-8); }
}

/* ——— Страница «Еда и доп.» (/menu) ——— */
.page-menu main > .mn-hero { margin-top: 0; padding-top: calc(64px + var(--space-4) + env(safe-area-inset-top)); display: grid; gap: var(--space-4); }
.mn-title { max-width: 12ch; }
.mn-lead { font-size: 18px; line-height: 26px; max-width: 40ch; }
.mn-ways { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.mn-ways > div { padding-left: var(--space-3); border-left: 2px solid var(--green); }
.mn-ways dt { font-weight: 700; font-size: 17px; line-height: 22px; }
.mn-ways dd { color: var(--ink-muted); font-size: 14px; line-height: 20px; margin-top: 2px; max-width: 32ch; }
.mn-pay { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.mn-pay a { color: var(--ink); font-weight: 600; }

/* вкладки разделов: прилипают к верху, под шапкой, когда она видна */
.mn-tabs {
  position: sticky; top: 0; z-index: 15; margin-top: var(--space-6);
  background: rgba(14, 11, 19, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: top .35s var(--ease);
}
.top:not(.is-hidden) ~ main .mn-tabs { top: calc(64px + env(safe-area-inset-top)); }
.mn-tabs ul { display: flex; gap: var(--space-1); overflow-x: auto; padding-block: var(--space-2); padding-inline: 0; scrollbar-width: none; } /* текст первой вкладки — по краю текста страницы */
.mn-tabs ul::-webkit-scrollbar { display: none; }
.mn-tabs a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-md);
  color: var(--ink-muted); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.mn-tabs a:hover { color: var(--ink); }
.mn-tabs a[aria-current] { color: var(--ink); background: var(--surface-raised); box-shadow: inset 0 -2px 0 var(--green); }
.mn-sec { scroll-margin-top: 128px; }
.page-menu main > .mn-sec { margin-top: var(--space-12); }
.page-menu main > .mn-demo + .mn-sec { margin-top: var(--space-8); }
.page-menu main { padding-bottom: var(--space-16); }

/* пометка, что меню пока пример */
.mn-demo {
  display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-4); padding: var(--space-3) var(--space-4);
  border: 1px dashed var(--violet); border-radius: var(--radius-md); color: var(--ink-muted); font-size: 14px; line-height: 20px;
  width: calc(100% - 2 * var(--space-4)); max-width: calc(1200px - 2 * var(--space-8));
}
.mn-demo .i { color: var(--violet); }

/* карточки: фото — главное, без рамок и теней */
.mn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-3); margin-top: var(--space-6); }
.mn-item { display: grid; grid-template-rows: auto auto 1fr auto; align-content: start; }
.mn-item picture { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); margin-bottom: var(--space-3); }
.mn-item img { width: 100%; height: 100%; object-fit: cover; }
/* фото, загруженное в админке (без <picture>), и карточка без фото */
.mn-item > img, .mn-noph { aspect-ratio: 4 / 3; height: auto; border-radius: var(--radius-lg); background: var(--surface); margin-bottom: var(--space-3); }
.mn-noph { background: radial-gradient(circle at 28% 30%, rgba(169, 139, 255, 0.28), transparent 60%), radial-gradient(circle at 76% 72%, rgba(76, 255, 114, 0.18), transparent 55%), var(--surface); }
.mn-name { font-size: 16px; line-height: 22px; font-weight: 700; }
.mn-desc { font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: 2px; }
.mn-buy { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-3); min-height: 44px; }
.mn-price { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mn-ctl { display: flex; }
.mn-add {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); cursor: pointer;
  background: var(--surface-raised); border: 1px solid var(--line-strong); color: var(--green-text); font: 600 24px/1 var(--font-sans);
  transition: border-color .15s, background-color .15s;
}
.mn-add:hover { border-color: var(--green); }
.mn-add:disabled { opacity: .35; cursor: not-allowed; border-color: var(--line-strong); }
/* торт к брони ближе чем через 3 дня — не успеем */
.mn-item.is-blocked .mn-desc::after { content: " Не успеем к вашей брони: торт — за 3 дня."; color: var(--violet); }
.mn-add:active { transform: translateY(1px); }
.qty { display: inline-flex; align-items: center; height: 44px; border: 1px solid var(--green); border-radius: var(--radius-md); background: var(--green-soft); animation: fade-in .2s var(--ease); }
.qty-btn { width: 38px; height: 100%; border: 0; background: transparent; color: var(--ink); font: 600 20px/1 var(--font-sans); cursor: pointer; }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 18px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.qty-s { height: 40px; }

/* раздел 18+ */
.mn-gate { display: grid; justify-items: start; gap: var(--space-3); margin-top: var(--space-6); }
.age {
  width: calc(100% - 2 * var(--space-4)); max-width: 420px; margin: auto; padding: var(--space-6);
  background: var(--surface-raised); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.age[open] { display: grid; gap: var(--space-4); animation: rise .25s var(--ease); }
.age::backdrop { background: rgba(5, 4, 8, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.age-actions { display: grid; gap: var(--space-2); margin-top: var(--space-2); }

/* полоса корзины и шторка заказа */
.cbar-info { display: grid; line-height: 1.2; }
.cbar-info b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cbar-info small { font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
html.has-cart .foot { padding-bottom: 104px; }
.or-list { display: grid; border-top: 1px solid var(--line); }
.or-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.or-name { grid-column: 1 / -1; font-weight: 600; }
.or-name small { display: inline; margin-left: var(--space-2); font-size: 13px; color: var(--ink-muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.or-list .qty { justify-self: start; }
.or-line { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
#order .sheet-foot { padding-top: var(--space-2); }
.or-no-ok { margin-top: var(--space-2); color: var(--green-text); font-size: 14px; line-height: 20px; font-weight: 600; }
.or-calc:empty { display: none; }
.or-row { display: flex; justify-content: space-between; gap: var(--space-3); font-weight: 600; color: var(--green-text); }
.or-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
#or-no { font-size: 18px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.mn-adult-demo { margin-top: var(--space-4); }
.mn-sub { margin-top: var(--space-8); scroll-margin-top: 128px; }
.mn-sub .section-lead { margin-top: var(--space-2); }

/* номер брони на экране «Заявка отправлена» */
.bk-no { display: grid; justify-items: start; align-items: center; gap: var(--space-1) var(--space-3); padding: var(--space-4); border: 1px solid var(--green); border-radius: var(--radius-md); background: var(--green-soft); }
.bk-no-label { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.bk-no-val { font-size: 28px; line-height: 34px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--ink); user-select: all; white-space: nowrap; }
.bk-no-copy { min-height: 44px; padding-inline: var(--space-4); margin-top: var(--space-2); }
.bk-no-hint { margin-top: var(--space-2); }
.done .bk-no-hint { color: var(--ink-muted); }

@media (min-width: 768px) {
  .page-menu main > .mn-hero { padding-top: calc(64px + var(--space-12)); }
  .mn-lead { font-size: 20px; line-height: 30px; }
  .mn-ways { gap: var(--space-8); max-width: 720px; }
  .mn-ways dd { font-size: 16px; line-height: 24px; }
  .mn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8) var(--space-4); }
  .mn-demo { width: calc(100% - 2 * var(--space-8)); }
  .mn-tabs ul { padding-inline: var(--space-4); }
  .page-menu main { padding-bottom: 96px; }
  .page-menu main > .mn-sec { margin-top: var(--space-16); }
  html.has-cart .foot { padding-bottom: 120px; }
  .cbar .dock-in { gap: var(--space-6); }
}
@media (min-width: 960px) {
  .mn-title { max-width: none; }
  .mn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-12) var(--space-6); }
  .mn-name { font-size: 18px; line-height: 24px; }
  .mn-desc { font-size: 14px; line-height: 20px; }
}

/* ——— Текстовые страницы: Правила дома, Политика ПДн ——— */
.page-doc main > .doc-hero { margin-top: 0; padding-top: calc(64px + var(--space-4) + env(safe-area-inset-top)); display: grid; gap: var(--space-4); }
.doc-title { max-width: 16ch; }
.doc-lead { font-size: 18px; line-height: 26px; max-width: 52ch; }
/* «Коротко»: главное за полминуты — те же зелёные линии, что в меню */
.doc-brief { display: grid; gap: var(--space-4); margin-block: var(--space-2); }
.doc-brief > div { padding-left: var(--space-3); border-left: 2px solid var(--green); }
.doc-brief dt { font-weight: 700; font-size: 17px; line-height: 22px; }
.doc-brief dd { color: var(--ink-muted); font-size: 15px; line-height: 22px; margin-top: 2px; max-width: 40ch; }
.page-doc main a:not(.btn) { color: var(--ink); text-decoration-color: var(--violet); text-underline-offset: 3px; }
.page-doc main .crumbs a { color: var(--ink-muted); text-decoration: none; }
.page-doc main > .doc-body { margin-top: var(--space-12); display: grid; gap: var(--space-8); }
.doc-toc { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-4); }
.doc-toc-h { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink-muted); }
.doc-toc ol { margin-top: var(--space-1); list-style: none; padding: 0; }
.doc-title-long { font-size: 30px; line-height: 34px; }
.page-doc main .doc-toc a { display: flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 600; }
.page-doc main .doc-toc a:hover { color: var(--green-text); }
.doc-main { display: grid; gap: var(--space-12); min-width: 0; }
.doc-sec { scroll-margin-top: 80px; max-width: 72ch; }
.doc-sec-lead { color: var(--ink-muted); margin-top: var(--space-2); max-width: 60ch; }
.doc-num { color: var(--green-text); font-variant-numeric: tabular-nums; }
.doc-list { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.doc-list > li { scroll-margin-top: 80px; padding-left: var(--space-4); position: relative; }
.doc-list > li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.doc-item { font-size: 17px; line-height: 24px; font-weight: 700; }
.doc-list p, .doc-text p, .doc-bullets li { color: #D9D2E8; }
.doc-list p { margin-top: 2px; }
.doc-text { margin-top: var(--space-4); display: grid; gap: var(--space-3); }
.doc-bullets { display: grid; gap: var(--space-3); }
.doc-bullets li { padding-left: var(--space-4); position: relative; }
.doc-bullets li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.doc-bullets b { color: var(--ink); }
/* строки «Данные / Зачем / Основание / Срок» */
.doc-dl { display: grid; margin-top: var(--space-2); border-top: 1px solid var(--line); }
.doc-dl > div { display: grid; gap: 2px; padding-block: var(--space-2); border-bottom: 1px solid var(--line); }
.doc-dl dt { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-muted); }
.doc-dl dd { color: #D9D2E8; }
/* правила ночи — фиолетовый блок, как «Для родителей» */
.doc-violet { background: var(--violet-soft); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); margin-inline: calc(-1 * var(--space-2)); }
.doc-violet .doc-sec-lead { color: #D9D2E8; }
.doc-violet .doc-list > li::before { background: var(--green); }
.doc-outro { padding-top: var(--space-8); border-top: 1px solid var(--line); display: grid; gap: var(--space-3); }
.doc-outro .hero-actions { margin-top: var(--space-2); }
.doc-legal { margin-top: var(--space-2); }
@media (min-width: 600px) {
  .doc-brief { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
@media (min-width: 768px) {
  .doc-dl > div { grid-template-columns: 120px 1fr; gap: var(--space-4); }
  .doc-violet { padding: var(--space-8); margin-inline: calc(-1 * var(--space-8)); }
}
@media (min-width: 960px) {
  .page-doc main > .doc-hero { padding-top: calc(64px + var(--space-12)); }
  .page-doc .doc-title { font-size: 56px; line-height: 56px; }
  .page-doc .doc-title-long { font-size: 48px; line-height: 50px; max-width: 20ch; }
  .doc-brief { grid-template-columns: repeat(3, 1fr); }
  .page-doc main > .doc-body { grid-template-columns: 260px 1fr; gap: var(--space-16); margin-top: var(--space-16); }
  .doc-toc { position: sticky; top: 88px; align-self: start; background: none; padding: 0; }
  .doc-violet { margin-inline: calc(-1 * var(--space-8)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* кнопка-ссылка внутри сообщения (например, «Выбрать другое время», если слот заняли) */
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ——— Согласие на cookie Яндекс Метрики (js/metrika.js; появляется, только когда задан номер счётчика) ——— */
.consent {
  position: fixed; z-index: 25; left: var(--space-3); right: var(--space-3); bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  display: grid; gap: var(--space-3); padding: var(--space-4); max-width: 420px;
  background: var(--surface-raised); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--sheet);
  font-size: 15px; line-height: 1.45;
}
.consent p { margin: 0; }
.consent a { color: inherit; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.consent .btn { min-height: 44px; }
body:has(.dock.is-shown) .consent { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) {
  .consent { right: auto; left: var(--space-6); bottom: var(--space-6); }
}

