/* ===== Tokens ===== */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(3.25rem, 0.5rem + 8vw, 8.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Brand: Portal «Нулевой акцент» */
  --color-bg: #11151f;
  --color-surface: #161b27;
  --color-surface-2: #1c2230;
  --color-border: #2a3142;
  --color-divider: #212737;
  --color-text: #f3f4f6;
  --color-text-muted: #a0a8b8;
  --color-text-faint: #7d8699;
  --color-primary: #4d7eff;
  --color-primary-hover: #6b93ff;
  --color-primary-active: #3a6af0;
  --color-primary-soft: rgba(77, 126, 255, 0.12);

  --font-display: 'Portal Montserrat', 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Portal Montserrat', 'Montserrat', 'Segoe UI', Arial, sans-serif;

  --cut: 14px;
  --content-wide: 1200px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: var(--space-20); }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul[role='list'] { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; }
p { text-wrap: pretty; max-width: 66ch; }
a { color: inherit; text-decoration: none; }
a, button { transition: color var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
::selection { background: rgba(77, 126, 255, 0.35); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

.container { width: min(100% - 2 * clamp(var(--space-5), 4vw, var(--space-10)), var(--content-wide)); margin-inline: auto; }

/* chamfer — отсылка к восьмиугольнику «O» в логотипе */
.cut { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }

.eyebrow { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); margin-bottom: var(--space-4); }
.link { color: var(--color-primary); }
.link:hover { color: var(--color-primary-hover); }

/* ===== Buttons ===== */
.btn { --cut: 10px; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 52px; padding: 0 var(--space-8); font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.04em; text-transform: uppercase; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); white-space: nowrap; }
.btn--sm { min-height: 44px; padding: 0 var(--space-5); --cut: 8px; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--primary:active { background: var(--color-primary-active); }
.btn--ghost { background: rgba(243, 244, 246, 0.06); color: var(--color-text); box-shadow: inset 0 0 0 1px rgba(243, 244, 246, 0.22); }
.btn--ghost:hover { background: rgba(243, 244, 246, 0.12); }

/* ===== Header ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background var(--transition-interactive), box-shadow var(--transition-interactive); }
.header--scrolled { background: rgba(17, 21, 31, 0.88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--color-divider); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: 72px; }
.header__logo { display: block; --k: 0; }
.logo { display: block; width: clamp(118px, 12vw, 160px); height: auto; overflow: visible; fill: #F3F4F6; }
.logo__ma, .logo__mb { fill: var(--color-primary, #4D7EFF); }
.logo g { transform-box: fill-box; transform-origin: center; }
/* Сжатие при скролле: буквы уходят в знак, знак встаёт на место логотипа */
.logo__p-s { transform: translateX(calc(var(--k) * 54px)); opacity: calc(1 - var(--k) * 1.8); }
.logo__rtal-s { transform: translateX(calc(var(--k) * -85px)); opacity: calc(1 - var(--k) * 1.8); }
.logo__mark-s { transform: translateX(calc(var(--k) * -75px)) scale(calc(1 + var(--k) * 0.2)); }
/* Поворот знака при наведении (знак симметричен — встаёт сам на себя) */
.logo__mark-r { transition: transform 720ms cubic-bezier(0.65, 0, 0.35, 1); }
/* Сборка при загрузке */
.logo.is-intro .logo__ma { animation: logo-ma 760ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both; }
.logo.is-intro .logo__mb { animation: logo-mb 760ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both; }
.logo.is-intro .logo__p { animation: logo-p 820ms cubic-bezier(0.16, 1, 0.3, 1) 620ms both; }
.logo.is-intro .logo__rtal { animation: logo-rtal 820ms cubic-bezier(0.16, 1, 0.3, 1) 620ms both; }
@keyframes logo-ma { from { transform: translate(-37px, -37px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes logo-mb { from { transform: translate(37px, 37px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes logo-p { from { transform: translateX(85px); } to { transform: none; } }
@keyframes logo-rtal { from { transform: translateX(-123px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .logo.is-intro g { animation: none !important; } .logo__mark-r { transition: none; } }
.header__nav { display: flex; gap: clamp(var(--space-5), 2.2vw, var(--space-8)); font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); }
.header__nav a:hover { color: var(--color-text); }
@media (max-width: 1100px) { .header__nav { display: none; } }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: var(--space-32) var(--space-20); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(17,21,31,0.96) 0%, rgba(17,21,31,0.82) 38%, rgba(17,21,31,0.25) 75%, rgba(17,21,31,0.35) 100%),
  linear-gradient(0deg, var(--color-bg) 0%, rgba(17,21,31,0) 30%); }
.hero__content { max-width: var(--content-wide); }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: var(--text-hero); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: var(--space-6); }
.hero__lead { font-size: var(--text-base); color: var(--color-text-muted); max-width: 46ch; margin-bottom: var(--space-10); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.countdown { margin-bottom: var(--space-10); }
.countdown__label { font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-3); }
.countdown__grid { display: flex; gap: var(--space-2); }
.countdown__cell { --cut: 10px; min-width: 76px; padding: var(--space-3) var(--space-4); background: rgba(23, 28, 40, 0.75); border-top: 2px solid var(--color-primary); backdrop-filter: blur(6px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); text-align: center; }
.countdown__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown__unit { display: block; font-size: var(--text-xs); color: var(--color-text-muted); }
.countdown--open .countdown__grid { display: none; }

/* ===== Sections ===== */
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section--alt { background: var(--color-surface); }
.section__head { margin-bottom: clamp(var(--space-8), 5vw, var(--space-16)); }
.section__title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); text-transform: uppercase; letter-spacing: -0.005em; }
.section__sub { margin-top: var(--space-4); color: var(--color-text-muted); }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.feature { --cut: 16px; position: relative; padding: var(--space-8) var(--space-6); background: var(--color-surface); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.feature--wide { grid-column: span 2; padding: var(--space-10) var(--space-8); }
.feature--accent { background: linear-gradient(135deg, #2a4aa8 0%, #1d3270 45%, var(--color-surface-2) 100%); }
.feature__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); line-height: 1; color: var(--color-primary); margin-bottom: var(--space-3); }
.feature--accent .feature__num { color: #fff; }
.feature__title { font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-2); }
.feature p { font-size: var(--text-sm); color: var(--color-text-muted); }
.feature--accent p { color: #d3ddf7; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature--wide { grid-column: auto; } }

/* ===== Zones ===== */
.zones { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-6); align-items: start; }
.zones__tabs { display: flex; flex-direction: column; gap: var(--space-2); }
.zone-tab { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); width: 100%; padding: var(--space-4) var(--space-5); text-align: left; background: var(--color-surface-2); border-left: 3px solid transparent; font-weight: 600; font-size: var(--text-sm); color: var(--color-text-muted); }
.zone-tab:hover { color: var(--color-text); background: #222939; }
.zone-tab[aria-selected='true'] { color: var(--color-text); border-left-color: var(--color-primary); background: #222939; }
.zone-tab__seats { font-size: var(--text-xs); font-weight: 500; color: var(--color-text-faint); white-space: nowrap; }
.zone-tab[aria-selected='true'] .zone-tab__seats { color: var(--color-primary); }

.zone { --cut: 20px; display: grid; grid-template-columns: 1.25fr 1fr; background: var(--color-surface-2); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); min-height: 440px; }
.zone__media { position: relative; overflow: hidden; }
.zone__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 260ms ease; }
.zone__media img.is-fading { opacity: 0.2; }
.zone__caption { position: absolute; right: var(--space-3); top: var(--space-3); padding: var(--space-1) var(--space-3); font-size: var(--text-xs); color: var(--color-text-muted); background: rgba(17, 21, 31, 0.75); }
.zone__body { display: flex; flex-direction: column; padding: var(--space-8); }
.zone__title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); text-transform: uppercase; margin-bottom: var(--space-3); }
.zone__desc { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-6); }
.zone__specs { display: grid; gap: 0; margin-bottom: var(--space-6); }
.zone__specs div { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-2); border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); }
.zone__specs dt { color: var(--color-text-muted); }
.zone__specs dd { font-weight: 600; text-align: right; }
.zone__footer { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.zone__price { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
@media (max-width: 1024px) { .zone { grid-template-columns: 1fr; } .zone__media { aspect-ratio: 3 / 2; } }
@media (max-width: 760px) {
  .zones { grid-template-columns: 1fr; }
  .zones__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * clamp(var(--space-5), 4vw, var(--space-10))); padding-inline: clamp(var(--space-5), 4vw, var(--space-10)); }
  .zones__tabs::-webkit-scrollbar { display: none; }
  .zone-tab { flex: 0 0 auto; width: auto; border-left: 0; border-bottom: 3px solid transparent; flex-direction: column; gap: 0; }
  .zone-tab[aria-selected='true'] { border-bottom-color: var(--color-primary); }
  .zone__body { padding: var(--space-6); }
}

/* ===== Prices ===== */
.prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); margin-bottom: var(--space-6); }
.price { --cut: 14px; padding: var(--space-6); background: var(--color-surface); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); display: flex; flex-direction: column; gap: var(--space-2); }
.price__zone { font-size: var(--text-sm); font-weight: 600; }
.price__meta { font-size: var(--text-xs); color: var(--color-text-faint); }
.price__value { margin-top: auto; padding-top: var(--space-4); font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1; }
.price__value small { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; color: var(--color-text-muted); }
.price__value--soon { font-size: var(--text-lg); color: var(--color-text-muted); }
@media (max-width: 1024px) { .prices { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .prices { grid-template-columns: 1fr 1fr; } }
/* ===== Games ===== */
.games { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: var(--space-3); }
.game { --cut: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-1); min-height: 160px; padding: var(--space-6); background: var(--color-surface-2); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.game--main { background: linear-gradient(135deg, #4D7EFF 0%, #3a63d6 100%); }
.game__name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); line-height: 1.05; text-transform: uppercase; }
.game--main .game__name { font-size: var(--text-2xl); }
.game__tag { font-size: var(--text-xs); color: var(--color-text-muted); }
.game--main .game__tag { color: #e3eaff; }
.game--more { background: transparent; box-shadow: inset 0 0 0 1px var(--color-border); }
.game--more .game__name { color: var(--color-text-muted); }
@media (max-width: 960px) { .games { grid-template-columns: repeat(2, 1fr); } .game--main { grid-column: span 2; } }

/* ===== Location ===== */
.location { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: stretch; }
.info-list { margin-block: var(--space-8); display: grid; gap: var(--space-4); }
.info-list div { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-border); }
.info-list dt { font-size: var(--text-sm); color: var(--color-text-muted); }
.info-list dd { font-weight: 600; }
.location__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.location__map { --cut: 20px; position: relative; min-height: 640px; background: var(--color-surface-2); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); overflow: hidden; }
.geo-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: var(--space-2); text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .info-list div { grid-template-columns: 1fr; gap: var(--space-1); } }

/* ===== CTA ===== */
.cta { position: relative; padding-block: clamp(var(--space-16), 10vw, var(--space-32)); background: radial-gradient(60% 80% at 50% 100%, rgba(77, 126, 255, 0.22) 0%, rgba(17, 21, 31, 0) 70%), var(--color-bg); border-top: 1px solid var(--color-divider); text-align: center; overflow: hidden; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__mark { width: clamp(72px, 9vw, 120px); height: auto; margin-bottom: var(--space-8); }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); text-transform: uppercase; margin-bottom: var(--space-3); }
.cta__text { color: var(--color-text-muted); margin-bottom: var(--space-8); }
.cta__actions { justify-content: center; }

/* ===== Footer ===== */
.footer { padding-block: var(--space-12); border-top: 1px solid var(--color-divider); }
.footer__inner { display: grid; gap: var(--space-4); }
.footer__text { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer__small { font-size: var(--text-xs); color: var(--color-text-faint); max-width: 90ch; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms ease var(--d, 0ms), transform 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-mask.reveal { opacity: 1; transform: none; }
.mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mask__in { display: block; transform: translateY(105%); transition: transform 1000ms cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-mask.is-visible .mask__in { transform: none; }
@media (max-width: 480px) {
  .hero { padding-top: var(--space-24); }
  .countdown__cell { min-width: 0; flex: 1; padding: var(--space-3) var(--space-2); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ===== Zone thumbs ===== */
.zone__thumbs { position: absolute; right: var(--space-3); bottom: var(--space-3); display: flex; gap: var(--space-2); }
.thumb { width: 64px; height: 42px; padding: 0; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.25); background: #000; opacity: 0.75; transition: opacity var(--transition-interactive), border-color var(--transition-interactive); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--color-primary); opacity: 1; }
@media (max-width: 480px) { .thumb { width: 48px; height: 32px; } }

/* ===== CTA background ===== */
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.28; }
.cta::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--color-bg) 0%, rgba(17,21,31,.55) 40%, rgba(17,21,31,.55) 60%, var(--color-bg) 100%); }
.cta__inner { position: relative; z-index: 1; }

/* ===== Motion ===== */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.hero__bg { will-change: transform; transform-origin: 50% 30%; }
.hero__content { will-change: transform, opacity; }
[data-inset] { will-change: clip-path; }
.cta { overflow: hidden; }
.header__nav a { position: relative; transition: color 200ms ease; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1); }
.header__nav a.is-active { color: var(--color-text); }
.header__nav a.is-active::after { transform: scaleX(1); }

/* ===== Tariffs ===== */
.tariffs { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); }
.tariff { --cut: 12px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-6); background: var(--color-surface); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.tariff--head { background: none; padding-block: 0 var(--space-1); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-faint); }
.tariff__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tariff__zone { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); text-transform: uppercase; letter-spacing: -0.005em; }
.tariff__unit { font-size: var(--text-xs); color: var(--color-text-muted); }
.tariff__pkg { display: none; font-size: var(--text-xs); color: var(--color-text-faint); }
.tariff__val { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1; font-variant-numeric: tabular-nums; }
.tariff__val::after { content: " ₽"; font-size: 0.6em; font-weight: 600; color: var(--color-text-muted); }
.tariffs__group { margin-top: var(--space-6); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); }
@media (max-width: 720px) {
  .tariff { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); padding: var(--space-4); }
  .tariff__name { grid-column: 1 / -1; }
  .tariff--head { display: none; }
  .tariff__cell { display: flex; flex-direction: column; gap: 4px; }
  .tariff__pkg { display: block; }
  .tariff__val { font-size: var(--text-lg); }
}
@media (prefers-reduced-motion: reduce) { .mask__in { transform: none !important; } }

/* =========================================================
   v3: соцсети в шапке, карта клуба, превью комнат, бар, карта «Как нас найти», окна
   ========================================================= */
html.is-locked { overflow: hidden; }

/* ===== Header end: соцсети + бронь ===== */
.header__end { display: flex; align-items: center; gap: var(--space-4); margin-left: auto; }
.header__nav { margin-left: auto; }
.header__nav + .header__end { margin-left: 0; }
.social { display: flex; align-items: center; gap: var(--space-1); list-style: none; }
.social__link { --cut: 6px; display: grid; place-items: center; width: 38px; height: 38px; color: var(--color-text-muted); background: rgba(243, 244, 246, 0.05); box-shadow: inset 0 0 0 1px rgba(243, 244, 246, 0.1); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.social__link:hover { color: #fff; background: var(--color-primary); }
.social__link svg { width: 18px; height: 18px; }
.social__link--txt { width: auto; padding-inline: 9px; }
.social__txt { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; line-height: 1; text-transform: uppercase; }
@media (max-width: 480px) {
  .header__inner { gap: var(--space-3); }
  .header .container { width: calc(100% - 2 * var(--space-4)); }
  .logo { width: 100px; }
  .header__end { gap: var(--space-2); }
  .header .social__link { width: 34px; height: 34px; }
  .header .btn--sm { min-height: 38px; padding: 0 var(--space-3); font-size: 11.5px; letter-spacing: 0.03em; --cut: 7px; }
}
@media (max-width: 400px) {
  .header__inner { gap: var(--space-2); }
  .logo { width: 88px; }
  .header__end { gap: 6px; }
  .header .social { gap: 3px; }
  .header .social__link { width: 32px; height: 32px; }
  .header .social__link svg { width: 16px; height: 16px; }
  .header .social__link--txt { width: auto; padding-inline: 7px; }
  .header .social__txt { font-size: 10px; }
  .header .btn--sm { padding: 0 10px; font-size: 11px; }
}


/* ===== Section head в строку ===== */
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4) var(--space-10); }
.section__head--row .section__sub { margin-top: 0; max-width: 42ch; }

/* ===== Карта клуба ===== */
.clubmap { position: relative; margin-inline: auto; }
.clubmap__scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.clubmap__scroll::-webkit-scrollbar { display: none; }
.clubmap__scroll:focus-visible { outline-offset: -2px; }
.clubmap__stage { position: relative; width: 100%; aspect-ratio: 3040 / 1940; }
.clubmap__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(75% 72% at 52% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(75% 72% at 52% 50%, #000 62%, transparent 100%); }
.clubmap__hint { display: none; }
.clubmap__note { position: absolute; left: 0; bottom: 0; font-size: var(--text-xs); color: var(--color-text-faint); pointer-events: none; }

.pin { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 0; transform: translate(-21px, -50%); }
.pin__plus { --cut: 8px; position: relative; display: grid; place-items: center; width: 42px; height: 42px; flex: none; background: var(--color-primary); color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background var(--transition-interactive), transform 260ms cubic-bezier(0.16, 1, 0.3, 1); }
.pin__plus::before, .pin__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.5px; margin: -1.25px 0 0 -8px; background: currentColor; transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1); }
.pin__plus::after { transform: rotate(90deg); }
.pin::before { content: ''; position: absolute; left: 0; top: 50%; width: 42px; height: 42px; margin-top: -21px; border: 2px solid var(--color-primary); pointer-events: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); animation: pin-pulse 2.6s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s) infinite; will-change: transform, opacity; }
@keyframes pin-pulse { 0% { transform: scale(1); opacity: 0.85; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.pin__label { --cut: 6px; padding: 6px 11px; font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; color: var(--color-text); background: rgba(17, 21, 31, 0.9);
  box-shadow: inset 0 0 0 1px rgba(243, 244, 246, 0.12); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background var(--transition-interactive), color var(--transition-interactive); }
.pin:hover .pin__plus, .pin.is-active .pin__plus { background: var(--color-primary-hover); transform: scale(1.08); }
.pin:hover .pin__plus::before { transform: rotate(90deg); }
.pin:hover .pin__plus::after { transform: rotate(180deg); }
.pin:hover .pin__label, .pin.is-active .pin__label { background: #fff; color: #11151f; }
.pin:focus-visible { outline: none; }
.pin:focus-visible .pin__plus { outline: 2px solid #fff; outline-offset: 2px; }

.clubmap__legend { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); list-style: none; }
.legend-btn { --cut: 8px; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4) 0 var(--space-2); font-size: var(--text-sm); font-weight: 600; background: var(--color-surface-2);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.legend-btn small { font-size: var(--text-xs); font-weight: 500; color: var(--color-text-faint); }
.legend-btn__plus { position: relative; width: 26px; height: 26px; flex: none; background: var(--color-primary-soft); color: var(--color-primary);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); transition: background var(--transition-interactive), color var(--transition-interactive); }
.legend-btn__plus::before, .legend-btn__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: currentColor; }
.legend-btn__plus::after { transform: rotate(90deg); }
.legend-btn:hover { background: #222939; }
.legend-btn:hover .legend-btn__plus { background: var(--color-primary); color: #fff; }

.zones__subtitle { margin: clamp(var(--space-12), 7vw, var(--space-20)) 0 var(--space-6); font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .clubmap { margin-inline: calc(-1 * clamp(var(--space-5), 4vw, var(--space-10))); }
  .clubmap__stage { width: 860px; }
  .clubmap__hint { display: block; position: absolute; right: clamp(var(--space-5), 4vw, var(--space-10)); top: var(--space-2); padding: 4px 10px; font-size: var(--text-xs); font-weight: 600; color: var(--color-text); background: rgba(17, 21, 31, 0.85); pointer-events: none; transition: opacity 300ms ease; }
  .clubmap__scroll.is-scrolled + .clubmap__hint { opacity: 0; }
  .clubmap__note { position: static; padding: var(--space-2) clamp(var(--space-5), 4vw, var(--space-10)) 0; }
  .clubmap__legend { gap: 6px; }
  .legend-btn { min-height: 40px; font-size: 13px; padding-right: var(--space-3); }
}

/* ===== Зона без фото ===== */
.zone__media img[hidden] { display: none; }
.zone__nophoto { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); text-align: center;
  background: radial-gradient(70% 70% at 50% 45%, rgba(77, 126, 255, 0.2) 0%, rgba(77, 126, 255, 0) 70%), var(--color-surface); }
.zone__nophoto[hidden] { display: none; }
.zone__nophoto::before { content: ''; width: 64px; height: 54px; margin-bottom: var(--space-3); background: url('img/logo-mark.svg') center / contain no-repeat; opacity: 0.9; }
.zone__nophoto-num { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 800; line-height: 1; }
.zone__nophoto-txt { font-size: var(--text-sm); color: var(--color-text-muted); padding-inline: var(--space-4); }


/* ===== Бар ===== */
.bar-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); list-style: none; }
.bar-photo { --cut: 16px; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-surface-2); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.bar-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1); }
.bar-photo:hover img { transform: scale(1.04); }
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(var(--space-8), 5vw, var(--space-16)); }
.menu__col { display: flex; flex-direction: column; gap: var(--space-10); }
.menu__title { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); }
.menu__title::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }
.menu__list { list-style: none; }
.menu__item { display: grid; grid-template-columns: minmax(0, 1fr) auto 4.2em; align-items: baseline; gap: var(--space-4); padding-block: 9px; border-bottom: 1px solid var(--color-divider); font-size: var(--text-sm); }
.menu__name { font-weight: 600; min-width: 0; }
.menu__vol { font-size: var(--text-xs); color: var(--color-text-faint); white-space: nowrap; }
.menu__price { font-family: var(--font-display); font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu__price::after { content: '\2009₽'; font-size: 0.8em; color: var(--color-text-muted); }
@media (max-width: 860px) { .menu { grid-template-columns: 1fr; } .menu__col + .menu__col { margin-top: var(--space-10); } }
@media (max-width: 760px) { .bar-photos { grid-template-columns: 1fr 1fr; gap: var(--space-2); } .bar-photo { --cut: 12px; } }
@media (max-width: 420px) { .menu__item { gap: var(--space-3); } }

/* ===== Как нас найти: маршрут ===== */
.info-list { margin-block: var(--space-8) var(--space-6); }
.info-list__note { display: block; margin-top: 2px; font-size: var(--text-xs); font-weight: 500; color: var(--color-text-muted); }
.route__title { margin-bottom: var(--space-3); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.steps { list-style: none; display: grid; gap: var(--space-2); margin-bottom: var(--space-6); }
.step { --cut: 10px; width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 12px 14px; background: var(--color-surface-2); box-shadow: inset 0 0 0 1px transparent;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: background var(--transition-interactive), box-shadow var(--transition-interactive); }
.step:hover { background: #222939; }
.step.is-active { background: var(--color-primary-soft); box-shadow: inset 0 0 0 1px rgba(77, 126, 255, 0.55); }
.step__n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; font-size: 13px; font-weight: 800; color: #fff; background: var(--color-primary);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.step__txt { font-size: 13.5px; line-height: 1.45; color: var(--color-text-muted); }
.step__txt b { display: block; margin-bottom: 2px; font-size: 14.5px; font-weight: 700; color: var(--color-text); }

.location__map { background: #0e121b; isolation: isolate; contain: layout paint; }
.location__map .geo-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.location__map::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 55% 50%, transparent 55%, rgba(11, 15, 24, 0.5) 100%); }
.geo-ui { position: absolute; z-index: 3; display: flex; gap: 8px; }
.geo-ui--top { top: 16px; left: 16px; }
.geo-ui--bottom { left: 16px; bottom: 36px; flex-wrap: wrap; }
.geo-fallback { z-index: 2; background: #0e121b; }
.geo-fallback[hidden] { display: none; }
.seg { display: flex; padding: 4px; gap: 4px; background: rgba(17, 21, 31, 0.95);
  box-shadow: inset 0 0 0 1px rgba(243, 244, 246, 0.09), 0 10px 30px rgba(0, 0, 0, 0.35); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.seg__btn { min-height: 36px; padding: 0 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.seg__btn:hover { color: var(--color-text); }
.seg__btn[aria-pressed='true'] { background: var(--color-primary); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; font-size: 13px; font-weight: 600; color: var(--color-text);
  background: rgba(17, 21, 31, 0.95); box-shadow: inset 0 0 0 1px rgba(243, 244, 246, 0.09), 0 10px 30px rgba(0, 0, 0, 0.35);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.chip svg { color: var(--color-primary); }
.chip:hover { background: rgba(35, 41, 58, 0.95); }

.mk-club { position: relative; width: 40px; height: 40px; cursor: pointer; }
.mk-club__pin { position: relative; z-index: 2; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 22px rgba(77, 126, 255, 0.45); animation: mk-drop 900ms cubic-bezier(0.16, 1, 0.3, 1) 600ms both; }
.mk-club__pin svg { display: block; width: 100%; height: 100%; }
.mk-club::before, .mk-club::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--color-primary); animation: mk-pulse 2.4s ease-out infinite; pointer-events: none; }
.mk-club::after { animation-delay: 1.2s; }
.mk-club__stem { position: absolute; left: 50%; bottom: 100%; width: 2px; height: 12px; margin-left: -1px; background: linear-gradient(rgba(77, 126, 255, 0.2), var(--color-primary)); animation: mk-fade 600ms ease 1100ms both; }
.mk-club__plate { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 13px 8px; white-space: nowrap;
  background: #11151F; box-shadow: inset 0 0 0 1.5px var(--color-primary), 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 24px rgba(77, 126, 255, 0.35);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); animation: mk-plate 900ms cubic-bezier(0.16, 1, 0.3, 1) 800ms both; }
.mk-club__word { display: block; width: 92px; height: auto; }
.mk-club__sub { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--color-text-muted); line-height: 1; }
@keyframes mk-plate { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes mk-pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.4); opacity: 0; } }
@keyframes mk-drop { from { opacity: 0; transform: translateY(-14px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes mk-fade { from { opacity: 0; } to { opacity: 1; } }
.mk-stop { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.mk-stop__ic { display: grid; place-items: center; width: 30px; height: 30px; flex: none; background: var(--color-text); color: #0b0f18; border-radius: 50%; box-shadow: 0 0 0 4px rgba(11, 15, 24, 0.85), 0 6px 18px rgba(0, 0, 0, 0.5); }
.mk-stop__lbl { padding: 5px 9px; font-size: 12px; font-weight: 700; line-height: 1.35; color: var(--color-text); white-space: nowrap; background: rgba(17, 21, 31, 0.92); box-shadow: inset 0 0 0 1px rgba(243, 244, 246, 0.09);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.mk-stop__lbl small { display: block; font-size: 10.5px; font-weight: 600; color: var(--color-text-muted); }
.mk-step { display: grid; place-items: center; width: 24px; height: 24px; font-size: 12px; font-weight: 800; color: #fff; background: var(--color-primary); cursor: pointer; box-shadow: 0 0 0 3px rgba(11, 15, 24, 0.9);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.maplibregl-map, .maplibregl-marker, .maplibregl-ctrl { font-family: var(--font-body); }
.location__map .maplibregl-ctrl-group { background: rgba(17, 21, 31, 0.9) !important; border-radius: 0 !important; box-shadow: inset 0 0 0 1px rgba(243, 244, 246, 0.09), 0 10px 30px rgba(0, 0, 0, 0.35) !important; }
.location__map .maplibregl-ctrl-group button + button { border-top: 1px solid rgba(243, 244, 246, 0.09) !important; }
.location__map .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(1.2); }
.location__map .maplibregl-ctrl-attrib { background: rgba(11, 15, 24, 0.75) !important; color: var(--color-text-faint) !important; font-size: 10.5px; }
.location__map .maplibregl-ctrl-attrib a { color: var(--color-text-muted) !important; }
.location__map .maplibregl-ctrl-attrib-button { filter: invert(1); }
.location__map .maplibregl-ctrl-top-right { top: 6px; right: 6px; }
.location__map .maplibregl-ctrl-bottom-right { z-index: 4; }
.location__map .maplibregl-cooperative-gesture-screen { font-family: var(--font-body); font-size: 15px; background: rgba(11, 15, 24, 0.72); }
@media (max-width: 900px) {
  .location__map { min-height: 460px; margin-inline: calc(-1 * clamp(var(--space-5), 4vw, var(--space-10))); --cut: 0px; }
  .geo-ui--top { top: 12px; left: 12px; }
  .geo-ui--bottom { left: 12px; bottom: 34px; right: 60px; }
  .chip { min-height: 38px; padding: 0 12px; font-size: 12.5px; }
}

/* ===== Окна (dialog) ===== */
.sheet { position: fixed; inset: 0; margin: auto; max-width: min(100% - 32px, 560px); max-height: min(100% - 32px, 860px); padding: 0; border: 0; color: var(--color-text); background: var(--color-surface);
  box-shadow: inset 0 0 0 1px rgba(243, 244, 246, 0.08), 0 40px 100px rgba(0, 0, 0, 0.6); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #2a3142 transparent;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.sheet::backdrop { background: rgba(8, 10, 16, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in 420ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.sheet[open]::backdrop { animation: fade-in 320ms ease both; }
.sheet.is-closing { animation: sheet-out 220ms cubic-bezier(0.7, 0, 0.84, 0) both; }
.sheet.is-closing::backdrop { animation: fade-out 220ms ease both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes sheet-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
.sheet__close { --cut: 8px; position: absolute; z-index: 5; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--color-text); background: rgba(17, 21, 31, 0.82);
  box-shadow: inset 0 0 0 1px rgba(243, 244, 246, 0.14); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.sheet__close:hover { background: var(--color-primary); }
.sheet__close svg { transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1); }
.sheet__close:hover svg { transform: rotate(90deg); }

/* Бронирование */
.book .sheet__inner { padding: clamp(var(--space-6), 5vw, var(--space-10)); }
.book__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-6); padding-right: 48px; }
.book__list { list-style: none; display: grid; gap: var(--space-2); }
.book__opt { --cut: 10px; display: flex; align-items: center; gap: var(--space-4); min-height: 72px; padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3); background: var(--color-surface-2);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.book__ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; color: var(--color-primary); background: var(--color-primary-soft);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background var(--transition-interactive), color var(--transition-interactive); }
.book__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.book__txt b { font-size: var(--text-base); font-weight: 700; }
.book__txt small { font-size: var(--text-xs); color: var(--color-text-muted); }
.book__arr { margin-left: auto; font-size: 20px; color: var(--color-text-faint); transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-interactive); }
.book__opt:hover { background: #222939; }
.book__opt:hover .book__ic { background: var(--color-primary); color: #fff; }
.book__opt:hover .book__arr { color: var(--color-primary); transform: translateX(4px); }
.book__note { margin-top: var(--space-5); font-size: var(--text-xs); color: var(--color-text-faint); }

/* Превью комнаты */
.room { max-width: min(100% - 32px, 1080px); }
.room__grid { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 100%; }
.room__media { position: relative; overflow: hidden; background: #0b0f18; min-height: 420px; touch-action: pan-y; }
.room__track { position: absolute; inset: 0; display: flex; transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.room__slide { flex: 0 0 100%; height: 100%; }
.room__slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.room__nav { --cut: 7px; position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; color: #fff; background: rgba(17, 21, 31, 0.78);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.room__nav:hover { background: var(--color-primary); }
.room__nav[hidden] { display: none; }
.room__nav--prev { left: 12px; }
.room__nav--next { right: 12px; }
.room__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.room__dots button { width: 22px; height: 4px; padding: 0; background: rgba(243, 244, 246, 0.4); transition: background var(--transition-interactive), width 300ms cubic-bezier(0.16, 1, 0.3, 1); }
.room__dots button[aria-current='true'] { width: 34px; background: var(--color-primary); }
.room__dots button::before { content: ''; display: block; height: 24px; margin-top: -10px; }
.room--nophoto .room__media { background: radial-gradient(70% 70% at 50% 45%, rgba(77, 126, 255, 0.22) 0%, rgba(77, 126, 255, 0) 70%), #0e121b; }
.room--nophoto .room__media::before { content: 'TV 75″'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem); font-weight: 800; color: var(--color-text); }
.room--nophoto .room__media::after { content: ''; position: absolute; left: 50%; top: 50%; width: 56px; height: 48px; margin: -96px 0 0 -28px; background: url('img/logo-mark.svg') center / contain no-repeat; }
.room__body { display: flex; flex-direction: column; padding: clamp(var(--space-6), 3.5vw, var(--space-10)); padding-top: clamp(var(--space-8), 4vw, var(--space-12)); }
.room__body .eyebrow { margin-bottom: var(--space-2); padding-right: 48px; }
.room__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-3); padding-right: 48px; }
.room__desc { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-6); }
.room__label { margin-bottom: var(--space-2); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-faint); }
.room__specs { margin-bottom: var(--space-6); }
.room__specs div { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: 7px; border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); }
.room__specs dt { color: var(--color-text-muted); }
.room__specs dd { font-weight: 600; text-align: right; }
.room__prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: var(--space-6); }
.room__price { --cut: 8px; display: flex; flex-direction: column; gap: 4px; padding: var(--space-3) var(--space-4); background: var(--color-surface-2);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.room__price span { font-size: var(--text-xs); color: var(--color-text-muted); }
.room__price b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.room__book { margin-top: auto; width: 100%; }
@media (max-width: 860px) {
  .room__grid { grid-template-columns: 1fr; }
  .room__media { min-height: 0; aspect-ratio: 4 / 3; }
  .room--nophoto .room__media { aspect-ratio: 16 / 9; }
  .room__body { padding-top: var(--space-6); }
  .room__body .eyebrow, .room__title { padding-right: 0; }
}
@media (max-width: 560px) {
  .sheet { max-width: 100%; max-height: 92dvh; margin: auto 0 0; width: 100%; clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%, 0 18px); }
  .sheet[open] { animation-name: sheet-up; }
  .sheet.is-closing { animation-name: sheet-down; }
  @keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes sheet-down { from { transform: none; } to { transform: translateY(100%); } }
  .room__price { padding: var(--space-3); }
  .room__price b { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { .pin::before, .mk-club::before, .mk-club::after { animation: none; } }

/* ===== Footer: логотип + соцсети ===== */
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-2); }
.footer__top > img { width: 124px; height: auto; }
.zones > *, .zone > *, .location > *, .menu > * { min-width: 0; }
@media (max-width: 760px) { .zones { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1024px) { .zone { grid-template-columns: minmax(0, 1fr); } }
.location__map .maplibregl-ctrl-attrib.maplibregl-compact { min-height: 24px; }

/* ===== Правки 21.11: акцент «без ПК», игры, бар, заголовок адреса, документы ===== */

.game { position: relative; }
.game__age { position: absolute; top: var(--space-4); right: var(--space-4); padding: 2px 8px; font-family: var(--font-display); font-weight: 800; font-size: var(--text-xs); line-height: 1.5; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85); }
/* «И другие»: рамка повторяет срезанный угол */
.game--more { box-shadow: none; background: var(--color-border); isolation: isolate; }
.game--more::before { content: ''; position: absolute; inset: 1px; z-index: -1; background: var(--color-bg);
  clip-path: polygon(calc(var(--cut) - 0.4px) 0, 100% 0, 100% calc(100% - var(--cut) + 0.4px), calc(100% - var(--cut) + 0.4px) 100%, 0 100%, 0 calc(var(--cut) - 0.4px)); }
.games__note { --cut: 12px; display: flex; gap: var(--space-4); align-items: flex-start; margin-top: var(--space-6); padding: var(--space-5) var(--space-6); background: var(--color-surface);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); font-size: var(--text-sm); color: var(--color-text-muted); }
.games__note-ic { flex: none; margin-top: 1px; color: var(--color-primary); }
.games__note-title { font-weight: 700; color: var(--color-text); margin-bottom: var(--space-1); }

.menu__item { grid-template-columns: minmax(0, 1fr) auto; }
.menu__age { padding: 1px 6px; font-size: 0.85em; letter-spacing: 0.04em; color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-primary); }

/* Заголовок «Володарского, 14» всегда помещается в колонку */
.location__info { container-type: inline-size; }
.location__info .section__title { font-size: min(var(--text-2xl), 10cqi); overflow-wrap: normal; }

.footer__docs { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font-size: var(--text-sm); }
.book__note--legal { margin-top: var(--space-2); line-height: 1.5; }

/* ===== Страницы документов (оферта, политика) ===== */
.doc-page .header { background: rgba(17, 21, 31, 0.95); box-shadow: 0 1px 0 var(--color-divider); }
.doc-page .header__inner { gap: var(--space-4); }
.doc-page .header__logo img { width: 124px; height: auto; }
.doc { padding-block: calc(72px + var(--space-12)) var(--space-20); }
.doc__inner { max-width: 78ch; }
.doc__back { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-8); font-size: var(--text-sm); color: var(--color-text-muted); }
.doc__back:hover { color: var(--color-text); }
.doc__title { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); line-height: 1.15; text-transform: uppercase; margin-bottom: var(--space-2); }
.doc__subtitle { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-6); }
.doc__meta { font-size: var(--text-sm); color: var(--color-text-faint); margin-bottom: var(--space-8); }
.doc h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.3; margin: var(--space-10) 0 var(--space-4); scroll-margin-top: 96px; }
.doc p, .doc li { color: var(--color-text-muted); font-size: var(--text-base); line-height: 1.7; }
.doc p + p { margin-top: var(--space-3); }
.doc ul { margin: var(--space-3) 0; padding-left: var(--space-6); list-style: disc; }
.doc li + li { margin-top: var(--space-2); }
.doc li::marker { color: var(--color-primary); }
.doc strong { color: var(--color-text); }
.doc__toc { --cut: 12px; margin: 0 0 var(--space-8); padding: var(--space-5) var(--space-6); background: var(--color-surface); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.doc__toc p { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); margin-bottom: var(--space-3); }
.doc__toc ol { columns: 2; column-gap: var(--space-8); padding-left: 0; list-style: none; font-size: var(--text-sm); }
.doc__toc li { break-inside: avoid; margin: 0 0 var(--space-1); font-size: var(--text-sm); }
.doc__toc a { color: var(--color-text-muted); }
.doc__toc a:hover { color: var(--color-text); }
@media (max-width: 640px) { .doc__toc ol { columns: 1; } }
@media print {
  .doc-page .header, .doc-page .footer, .doc__back, .doc__toc { display: none !important; }
  .doc-page { background: #fff; }
  .doc { padding: 0; }
  .doc p, .doc li, .doc h2, .doc__title, .doc__subtitle, .doc__meta { color: #000 !important; }
}
.doc a[href^="tel:"] { white-space: nowrap; }
.nw { white-space: nowrap; }

/* Правки 21.11 (2): текстовые ссылки соцсетей вместо иконок, акцент «без ПК» в тексте первого экрана */
.hero__lead b { font-weight: 700; color: var(--color-text); }
.social__link--txt { width: auto; padding-inline: 12px; color: #c9ced8; background: rgba(17, 21, 31, 0.6); box-shadow: inset 0 0 0 1px rgba(243, 244, 246, 0.16); }
.social__link--txt:hover { color: #fff; background: var(--color-primary); }
.social__txt { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; }
.header .social__txt { font-size: 12px; }
.header__logo { flex-shrink: 0; }
.header__nav { gap: clamp(16px, 1.5vw, 24px); }
.header__end { gap: 12px; }
.header .social { gap: 4px; }
.header .social__link--txt { padding-inline: 10px; }
@media (max-width: 1260px) { .header__nav { display: none; } }
@media (max-width: 700px) { .header .social { display: none; } }
a[href^="tel:"] { white-space: nowrap; }
