/* ============================================================
   Добрые события — стили сайта
   Палитра: бренд-красный #E9094E (из логотипа), чернила #15121B,
   бумага #FFFFFF, мягкая бумага #F7F3F5 (с тёплым розовым подтоном).
   Шрифты: Unbounded (заголовки), Golos Text (текст).
   ============================================================ */
:root {
  --accent: #E9094E; --accent-deep: #C70744; --accent-soft: #FDE7EE;
  --ink: #15121B; --ink-2: #4A4553; --ink-3: #8A8494; --line: #E9E4E8;
  --paper: #FFFFFF; --paper-2: #F7F3F5; --paper-3: #EFE9ED;
  --dark: #1B1721; --dark-2: #241E2C; --on-dark: #F6F2F4; --on-dark-2: #B8B0BE;
  --ok: #1E9E5A; --warn: #E08A00;
  --fd: 'Unbounded', 'Golos Text', system-ui, sans-serif;
  --ft: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 14px; --r-sm: 8px; --r-lg: 22px;
  --sh: 0 1px 2px rgba(21,18,27,.06), 0 8px 24px -12px rgba(21,18,27,.18);
  --sh-lg: 0 20px 50px -20px rgba(21,18,27,.35);
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 16px/1.55 var(--ft); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.modal-open, body.nav-open { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--fd); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
@view-transition { navigation: auto; }

.kicker { display: inline-block; font: 600 12px/1 var(--ft); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kicker--light { color: #FF7AA3; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.link { color: var(--accent); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; }
.link:hover { color: var(--accent-deep); }
.note { color: var(--ink-3); font-size: 14px; margin-top: 12px; }
small { color: var(--ink-3); }

/* ---------- кнопки, чипы, теги ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 15px/1 var(--ft); border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .2s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: #2A2433; box-shadow: var(--sh); }
.btn:active { transform: translateY(0); }
.btn--buy { background: var(--accent); }
.btn--buy:hover { background: var(--accent-deep); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper-2); box-shadow: none; }
.btn--onDark { color: #fff; border-color: rgba(255,255,255,.3); }
.btn--onDark:hover { background: rgba(255,255,255,.1); }
.btn--light { background: #fff; color: var(--accent-deep); }
.btn--light:hover { background: #FFF3F7; }
.btn[disabled] { opacity: .7; cursor: default; transform: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font: 600 12px/1 var(--ft); backdrop-filter: blur(6px); border: 0; cursor: pointer; }
.chip--age { background: var(--accent); color: #fff; }
.chip--link { background: var(--paper-2); font-size: 14px; padding: 8px 14px; transition: background .2s; }
.chip--link b { color: var(--accent); }
.chip--link:hover, .chip--link.is-live:hover { background: var(--accent-soft); }
.chip--link.is-live { background: var(--accent-soft); color: var(--accent-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { background: var(--paper-2); font-size: 14px; padding: 9px 14px; font-family: var(--ft); transition: background .2s, color .2s; }
.chips .chip.is-on { background: var(--ink); color: #fff; }
.tag { display: inline-block; padding: 5px 10px; border-radius: 6px; background: var(--paper-3); color: var(--ink-2); font: 600 12px/1 var(--ft); }
.tag--hot { background: #FFF1DB; color: #9A5B00; margin-left: 8px; }
.tag--sold { background: var(--paper-3); color: var(--ink-3); }
.tag--mine { background: var(--accent); color: #fff; margin-bottom: 4px; }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: transform .35s var(--ease), border-color .2s, box-shadow .2s; }
.hdr.is-scrolled { border-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__row { display: flex; align-items: center; gap: 16px; height: 72px; }
.hdr .logo { flex: none; }   /* логотип никогда не сжимается, место отдают меню и кнопка города */
.logo img { height: 40px; width: auto; max-width: none; }
.logo__txt { font: 700 18px var(--fd); color: var(--accent); }
.nav { display: flex; gap: 0; margin-left: 0; }
.nav a { padding: 8px 9px; font-size: 15px; border-radius: 8px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .2s, background .2s; }
@media (max-width: 1260px) { .hdr__phone small { display: none; } .nav a { padding: 8px 7px; font-size: 14px; } .hdr .citybtn { max-width: 162px; } }
.nav a:hover, .nav a.is-active { color: var(--ink); background: var(--paper-2); }
.hdr__tools { margin-left: auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.citybtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 14px var(--ft); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; max-width: 200px; }
.citybtn svg { color: var(--accent); flex: none; }
.citybtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.citybtn:hover { border-color: var(--accent); background: var(--accent-soft); }
.citybtn--big { font-size: 16px; padding: 12px 18px; max-width: none; }
.hdr__phone { white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.hdr__phone small { font-size: 11px; font-weight: 400; color: var(--ink-3); margin-top: 2px; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { content: ''; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span { top: 21px; } .burger span::before { top: -8px; left: 0; } .burger span::after { top: 8px; left: 0; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-8px) rotate(-45deg); }
.mnav { display: none; }
@media (max-width: 1140px) {
  .nav, .hdr__phone { display: none; }
  .burger { display: block; }
  .hdr__row { height: 64px; gap: 12px; }
  .logo img { height: 34px; }
  .mnav { display: flex; flex-direction: column; position: fixed; inset: 64px 0 0; background: var(--paper); padding: 16px var(--gutter) 24px; gap: 4px; overflow-y: auto; transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; z-index: 99; }
  .nav-open .mnav { visibility: visible; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
  .nav-open .hdr { transform: none !important; }
  .mnav__city { padding: 14px 8px; font: 500 16px var(--ft) !important; color: var(--accent); border-bottom: 1px solid var(--line); }
  .nav-open .mnav { opacity: 1; transform: none; pointer-events: auto; }
  .mnav a { padding: 14px 8px; font: 600 22px var(--fd); border-bottom: 1px solid var(--line); }
  .mnav a.is-active { color: var(--accent); }
  .mnav__phone { margin-top: auto; font: 600 18px var(--ft) !important; border: 0 !important; display: flex; flex-direction: column; }
  .mnav__phone small { font-weight: 400; font-size: 14px; }
}

/* ---------- секции ---------- */
.sec { padding-block: clamp(48px, 7vw, 88px); }
.sec--soft { background: var(--paper-2); }
.sec--tight { padding-block: clamp(24px, 4vw, 48px); }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sh p { color: var(--ink-2); margin-top: 8px; max-width: 60ch; }
.sh .link { white-space: nowrap; }

/* ---------- главная: hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 80px) 0; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, var(--accent-soft), transparent 60%); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -.02em; line-height: 1.1; text-wrap: initial; }
.hero h1 .accent { color: var(--accent); }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em; background: var(--accent-soft); z-index: -1; border-radius: 4px; }
.hero .lead { margin-top: 20px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__cta .btn--ghost { background: var(--accent); color: #fff; border-color: var(--accent); }
.hero__cta .btn--ghost:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.stats { display: flex; gap: clamp(20px, 3vw, 40px); margin: 40px 0 0; padding: 0; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; }
.stats dt { font: 700 clamp(22px, 2.4vw, 30px)/1 var(--fd); color: var(--ink); letter-spacing: -.02em; }
.stats dd { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; }
.stats--dark dt { color: #fff; } .stats--dark dd { color: var(--on-dark-2); }
.hstack { position: relative; height: clamp(320px, 42vw, 560px); }
.hstack__i { position: absolute; width: 58%; top: 50%; left: 50%; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); transform: translate(-50%, -50%) rotate(calc((var(--i) - 1) * 9deg)) translateX(calc((var(--i) - 1) * 26%)) scale(calc(1 - (var(--i)) * .06)); z-index: calc(3 - var(--i)); transition: transform .5s var(--ease); animation: rise .8s var(--ease) both; animation-delay: calc(var(--i) * 120ms); }
.hstack__i:hover { transform: translate(-50%, -52%) rotate(calc((var(--i) - 1) * 6deg)) translateX(calc((var(--i) - 1) * 26%)) scale(calc(1.03 - (var(--i)) * .06)); z-index: 5; }
.hstack__i .poster { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, -40%) rotate(0) scale(.9); } }
/* Блок афиш на главной: +15%, рост вправо (левый край на месте), по вертикали центр относительно текста; +24px воздуха до текста */
@media (min-width: 901px) {
  .hero__in { gap: calc(clamp(24px, 5vw, 64px) + 24px); }
  .hstack { transform: scale(1.15); transform-origin: 12% 50%; }
}
.marquee { margin-top: clamp(28px, 5vw, 56px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__t { display: flex; gap: 40px; width: max-content; animation: marquee 60s linear infinite; font: 600 13px var(--fd); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.marquee__t span::after { content: '·'; margin-left: 40px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 900px) { .hero__in { grid-template-columns: 1fr; } .hstack { height: clamp(260px, 60vw, 380px); order: -1; } .hstack__i { width: 46%; } }
/* Мобильная шапка: всё по центру, кнопки столбиком, цифры в одну строку */
@media (max-width: 900px) {
  .hero__txt { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 380px; margin: 24px auto 0; gap: 10px; }
  .hero__cta .btn { width: 100%; }
  .stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 12px 14px; margin-top: 30px; }
  .stats div { align-items: center; text-align: center; }
  .stats dt { font-size: 19px; }
  .stats dd { font-size: 11px; margin-top: 4px; white-space: nowrap; }
}
@media (max-width: 340px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; max-width: 300px; margin-inline: auto; }
}

/* ---------- карточки проектов ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.pgrid--4 { grid-template-columns: repeat(4, 1fr); }
.pgrid--2 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 1000px) { .pgrid, .pgrid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pgrid, .pgrid--4, .pgrid--2 { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.pcard__media { position: relative; display: block; aspect-ratio: 3/4; background: var(--paper-3); overflow: hidden; }
.pcard__media .poster { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media .poster { transform: scale(1.04); }
.pcard__chips { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__title { font-size: 20px; }
.pcard__title a:hover { color: var(--accent); }
.pcard__sub { color: var(--ink-2); font-size: 14px; }
.pcard__meta { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; font-size: 14px; }
.pcard__next { color: var(--accent-deep); font-weight: 600; }
.pcard__cities { color: var(--ink-3); }
.pcard__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.poster--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #7A0C34); color: #fff; font: 700 18px var(--fd); text-align: center; padding: 24px; aspect-ratio: 3/4; }
.pr { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pr h3 { font-size: 17px; }
.pr p { color: var(--ink-2); font-size: 15px; }
.pr .link { margin-top: auto; font-size: 14px; }
.sec--soft .pr { border-color: transparent; }

/* рядом с вами */
.nearby { display: flex; flex-direction: column; gap: 10px; }
.nrow { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 16px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 12px 16px 12px 12px; transition: transform .3s var(--ease), box-shadow .3s; }
.nrow:hover { transform: translateX(4px); box-shadow: var(--sh); }
.nrow img { width: 56px; height: 74px; object-fit: cover; border-radius: 8px; }
.nrow__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nrow__t b { font-family: var(--fd); font-weight: 600; font-size: 16px; }
.nrow__t span { color: var(--ink-2); font-size: 14px; }
.nrow__p { font-weight: 700; white-space: nowrap; }
.nearby__all { margin-top: 8px; }
@media (max-width: 600px) { .nrow { grid-template-columns: 48px 1fr; } .nrow__p, .nrow .btn { display: none; } }
.empty { text-align: center; padding: 40px 20px; background: var(--paper-2); border-radius: var(--r-lg); margin-bottom: 24px; }
.empty--inline { background: var(--paper); text-align: left; padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.empty h3 { font-size: 20px; margin-bottom: 8px; }
.empty p { color: var(--ink-2); }
.empty__alt { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.empty--inline .empty__alt { justify-content: flex-start; margin-top: 0; }

/* шаги */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: var(--paper); border-radius: var(--r-lg); padding: 24px; position: relative; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 15px var(--fd); margin-bottom: 14px; }
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* подписка */
.sub { background: var(--dark); color: var(--on-dark); padding-block: clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.sub::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(233,9,78,.35), transparent 65%); right: -200px; top: -300px; pointer-events: none; }
.sub__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; }
.sub p { color: var(--on-dark-2); margin-top: 12px; max-width: 48ch; }
.sub__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.sub__form input { padding: 14px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; min-width: 0; }
.sub__form input::placeholder { color: rgba(255,255,255,.5); }
.sub__form small { grid-column: 1 / -1; color: rgba(255,255,255,.5); font-size: 12px; }
.sub__form small a, .consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sub__form small a:hover, .consent a:hover { color: #FF7AA3; }
.consent { font-size: 12px; color: var(--ink-3); line-height: 1.4; }
.consent a:hover { color: var(--accent); }
.agrees { display: grid; gap: 6px; }
.sub__form .agrees { grid-column: 1 / -1; }
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.4; cursor: pointer; text-align: left; }
.agree input { flex: none; width: 16px !important; height: 16px; margin: 1px 0 0; padding: 0 !important; accent-color: var(--accent); cursor: pointer; }
.agree a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sub__form .agree { color: rgba(255,255,255,.65); }
.sub__form .agree a:hover { color: #FF7AA3; }
.consent .agree a:hover { color: var(--accent); }
@media (max-width: 860px) { .sub__in { grid-template-columns: 1fr; } .sub__form { grid-template-columns: 1fr; } }

/* архивные плитки */
.atiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.atile { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; background: var(--paper-3); }
.atile .poster { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.atile:hover .poster { transform: scale(1.05); }
.atile span { position: absolute; inset: auto 0 0; padding: 40px 10px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font: 600 12px/1.25 var(--fd); }
@media (max-width: 1000px) { .atiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .atiles { grid-template-columns: repeat(3, 1fr); } .atile span { font-size: 11px; } }

/* ---------- страница проекта ---------- */
.phero { position: relative; color: var(--on-dark); background: var(--dark); overflow: hidden; isolation: isolate; }
.phero::before { content: ''; position: absolute; inset: -10%; background: var(--bg) center/cover; filter: blur(48px) saturate(1.4) brightness(.45); z-index: -2; transform: scale(1.1); }
.phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,23,33,.2), rgba(27,23,33,.85)); z-index: -1; }
.phero__in { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 6vw, 80px); }
.phero__poster .poster { border-radius: var(--r-lg); box-shadow: var(--sh-lg); aspect-ratio: 3/4; object-fit: cover; width: 100%; animation: pop .7s var(--ease) both; }
.phero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 54px); }
.h1__city { color: #FF7AA3; display: block; font-size: .7em; margin-top: .2em; }
.phero__sub { font-size: 18px; color: var(--on-dark-2); margin-top: 10px; }
.phero .lead { color: var(--on-dark); margin-top: 18px; opacity: .92; }
.facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.facts div { display: flex; flex-direction: column; padding: 12px 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); backdrop-filter: blur(6px); min-width: 120px; }
.facts b { font-family: var(--fd); font-weight: 600; font-size: 16px; color: #fff; }
.facts span { color: var(--on-dark-2); font-size: 13px; margin-top: 3px; }
.phero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 800px) {
  .phero__in { grid-template-columns: minmax(0, 1fr); }
  .phero__txt { min-width: 0; }
  .phero__poster { max-width: 260px; margin-inline: auto; }
  .phero__txt { text-align: center; }
  .phero .lead { margin-inline: auto; }
  .phero__cta { justify-content: center; }
  .facts { justify-content: center; flex-wrap: wrap; }
  .facts div { flex: 1 1 0; min-width: auto; padding: 10px 8px; align-items: center; text-align: center; }   /* 3 в ряд; не уже самого длинного слова — иначе третья уходит ниже */
  .facts b { font-size: 15px; }
  .facts span { font-size: 12px; }
}
.crumbs { font-size: 13px; color: var(--ink-3); padding: 16px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }
.pgridl { display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 4vw, 56px); padding-block: 16px 56px; align-items: start; }
@media (max-width: 960px) { .pgridl { grid-template-columns: 1fr; } }
.pmain { min-width: 0; }
.psec { padding-block: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); scroll-margin-top: 76px; }
.psec:last-child { border-bottom: 0; }
.pside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.card { background: var(--paper-2); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 16px; margin-bottom: 4px; }
.card p { color: var(--ink-2); font-size: 14px; }
.card__line { font-weight: 600; }
.card--org { background: var(--accent-soft); }
.share { display: flex; gap: 6px; flex-wrap: wrap; }
.share button { padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 13px var(--ft); cursor: pointer; }
.share button:hover { border-color: var(--accent); color: var(--accent); }
.mini { display: flex; flex-direction: column; gap: 10px; }
.mini__row { display: flex; gap: 8px; }
.mini input, .form input, .form textarea { padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; width: 100%; min-width: 0; background: #fff; }
.mini input:focus, .form input:focus, .form textarea:focus { border-color: var(--accent); outline: 0; }
.form { display: flex; flex-direction: column; gap: 10px; }
.minilist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.minilist li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.minilist a { font-weight: 600; } .minilist a:hover { color: var(--accent); }
.minilist span { color: var(--ink-3); white-space: nowrap; }

/* расписание */
.sched { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.srow { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 18px; align-items: center; padding: 14px 18px 14px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .2s, box-shadow .3s, transform .3s var(--ease); }
.srow:hover { border-color: transparent; box-shadow: var(--sh); }
.srow.is-mine { border-color: var(--accent); background: linear-gradient(90deg, var(--accent-soft), #fff 40%); }
.sched--past .srow { opacity: .6; }
.sched--past .srow .btn { display: none; }
.dateb { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 12px; background: var(--paper-2); font-variant-numeric: tabular-nums; line-height: 1; text-align: center; flex: none; }
.dateb b { font: 700 22px/1 var(--fd); }
.dateb span { font-size: 12px; line-height: 1; color: var(--ink-2); margin-top: 3px; text-transform: lowercase; }
.dateb small { font-size: 10px; line-height: 1; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.srow.is-mine .dateb { background: var(--accent); color: #fff; }
.srow.is-mine .dateb span, .srow.is-mine .dateb small { color: rgba(255,255,255,.8); }
.srow__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.srow__city { font: 600 18px var(--fd); }
.srow__city:hover { color: var(--accent); }
.srow__sub { font-weight: 600; }
.srow__venue { color: var(--ink-2); font-size: 14px; }
.srow__time { color: var(--ink-3); font-size: 13px; }
.srow__price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.srow__act { display: flex; align-items: center; gap: 8px; }
@media (max-width: 640px) { .srow { grid-template-columns: 56px 1fr; gap: 12px; } .srow__price { grid-column: 2; } .srow__act { grid-column: 1 / -1; } .srow__act .btn { width: 100%; } .dateb { width: 56px; height: 56px; } .dateb b { font-size: 20px; } }
.pastlist { margin-top: 20px; }
.pastlist summary { cursor: pointer; font-weight: 600; color: var(--ink-2); padding: 10px 0; list-style: none; }
.pastlist summary::before { content: '+ '; color: var(--accent); }
.pastlist[open] summary::before { content: '– '; }
.pastlist summary::-webkit-details-marker { display: none; }
.pastlist .sched { margin-top: 10px; }

/* текст, видео, галерея, FAQ */
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.prose--lg { max-width: 72ch; }
.prose h2 { color: var(--ink); margin-top: 8px; }
.prose a { color: var(--accent); font-weight: 600; }
.tsec { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.hl { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hl li { padding: 12px 16px 12px 40px; background: var(--paper-2); border-radius: 10px; font-weight: 500; position: relative; font-size: 15px; }
.hl li::before { content: ''; position: absolute; left: 14px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
@media (max-width: 560px) { .hl { grid-template-columns: 1fr; } }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: var(--dark) center/cover; }
.video video, .video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video--empty::before { content: ''; position: absolute; inset: 0; background: rgba(27,23,33,.6); backdrop-filter: blur(20px); }
.video__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; text-align: center; padding: 20px; }
.video__ph b { font-family: var(--fd); font-size: 18px; }
.video__ph small { color: rgba(255,255,255,.7); max-width: 40ch; }
.play { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); font-size: 26px; margin-bottom: 10px; box-shadow: 0 0 0 12px rgba(233,9,78,.25); }
.galwrap { position: relative; }
.gal { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-behavior: smooth; }
.gal::-webkit-scrollbar { display: none; }
.galnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.galnav__dots { display: flex; gap: 6px; }
.galnav__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--paper-3); transition: background .2s, transform .2s; }
.galnav__dots i.is-on { background: var(--accent); transform: scale(1.25); }
.galnav__btns { display: flex; gap: 8px; }
.galbtn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.galbtn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.galbtn[disabled] { opacity: .35; cursor: default; transform: none; background: #fff; color: var(--ink); border-color: var(--line); }
.galbtn svg { width: 18px; height: 18px; }
.gal__i { position: relative; }
.gal__i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 70%, rgba(21,18,27,.25)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.gal__i:hover::after { opacity: 1; }
.gal__i { flex: 0 0 auto; width: min(380px, 78vw); aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; scroll-snap-align: start; background: var(--paper-3); }
.gal__i img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal__i:hover img { transform: scale(1.04); }
.faq { display: flex; flex-direction: column; gap: 8px; max-width: 80ch; }
.faq__i { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.faq__i summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; list-style: none; position: relative; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after { content: '+'; position: absolute; right: 18px; top: 12px; font: 400 24px/1 var(--fd); color: var(--accent); transition: transform .3s var(--ease); }
.faq__i[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.6; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); animation: up .35s var(--ease); }
.stickybar div { display: flex; flex-direction: column; min-width: 0; }
.stickybar b { font: 600 14px var(--fd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar span { font-size: 13px; color: var(--ink-3); }
@keyframes up { from { transform: translateY(100%); } }
@media (max-width: 800px) { .stickybar:not([hidden]) { display: flex; } }

/* ---------- афиша ---------- */
.ahead { padding-block: 0 24px; background: linear-gradient(var(--paper-2), var(--paper)); }
.ahead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-block: 24px 28px; flex-wrap: wrap; }
.ahead .lead { margin-top: 12px; }
.filters { display: flex; gap: 16px 28px; flex-wrap: wrap; align-items: center; }
.filters__count { color: var(--ink-3); font-size: 14px; margin-left: auto; }
.egrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 1000px) { .egrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .egrid { grid-template-columns: 1fr; } }
.ecard { display: grid; grid-template-columns: 120px 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .2s; }
.ecard:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: transparent; }
.ecard__media { position: relative; display: block; background: var(--paper-3); }
.ecard__media .poster { width: 100%; height: 100%; object-fit: cover; }
.ecard__media .pcard__chips { left: 8px; top: 8px; transform: scale(.85); transform-origin: left top; }
.ecard__media .dateb { position: absolute; left: 8px; bottom: 8px; width: 58px; height: auto; padding: 7px 4px 6px; gap: 1px; background: rgba(255,255,255,.96); box-shadow: 0 4px 14px -4px rgba(21,18,27,.35); }
.ecard__media .dateb b { font-size: 20px; line-height: 1; }
.ecard__media .dateb span { font-size: 11px; line-height: 1; margin-top: 2px; }
.ecard__media .dateb small { font-size: 9px; line-height: 1; margin-top: 1px; }
.ecard__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ecard__title { font-size: 17px; }
.ecard__title a:hover { color: var(--accent); }
.ecard__sub { color: var(--ink-2); font-size: 13px; }
.ecard__where { font-size: 13px; color: var(--ink-2); }
.ecard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.ecard__price { font-weight: 700; white-space: nowrap; }
.citychips { display: flex; flex-wrap: wrap; gap: 8px; }
.regs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
.regbox h3 { font-size: 15px; color: var(--ink-3); margin-bottom: 10px; font-family: var(--ft); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 760px) { .regs { grid-template-columns: 1fr; } }

/* ---------- текстовые страницы ---------- */
.thead { background: var(--dark); color: var(--on-dark); padding-block: 8px clamp(40px, 6vw, 72px); background-image: radial-gradient(800px 400px at 90% 0%, rgba(233,9,78,.35), transparent 60%); }
.thead .crumbs { color: var(--on-dark-2); padding-bottom: 28px; }
.thead h1 { color: #fff; max-width: 22ch; }
.thead .lead { color: var(--on-dark-2); margin-top: 18px; }
.thead .stats { margin-top: 36px; }
.tgrid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 4vw, 64px); padding-block: clamp(40px, 6vw, 72px); align-items: start; }
.sec .tgrid { padding-block: 0; }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr; } }
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tl li { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.tl li::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.tl b { font: 700 24px var(--fd); display: block; margin-bottom: 8px; }
.tl p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .tl { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tl { grid-template-columns: 1fr; } }
.tbl { border-collapse: collapse; width: 100%; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl th { font-weight: 600; color: var(--ink-3); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.tbl td:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.docs { display: flex; flex-direction: column; gap: 6px; }
.doc { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 500; transition: background .2s; }
.doc:hover { background: var(--accent-soft); }
.contact { margin-bottom: 32px; display: flex; flex-direction: column; gap: 8px; }
.contact__big { font: 700 clamp(22px, 3vw, 34px) var(--fd); letter-spacing: -.01em; }
.contact__big:hover { color: var(--accent); }
.contact p { color: var(--ink-2); margin-top: 8px; }
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.offer { background: var(--paper-2); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.offer h3 { font-size: 20px; }
.offer p { color: var(--ink-2); }
.offer ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.offer li { padding-left: 20px; position: relative; font-size: 14px; font-weight: 500; }
.offer li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 800px) { .offers { grid-template-columns: 1fr; } .offer ul { grid-template-columns: 1fr; } }
.pcard--arch .pcard__media { aspect-ratio: 3/4; }
.pcard__media .poster, .atile .poster, .hstack__i .poster { object-position: center top; }

/* ---------- документы ---------- */
.doclist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doclist .doc { padding: 18px 20px; border: 1px solid var(--line); background: #fff; border-radius: var(--r); display: flex; gap: 14px; align-items: center; font-size: 16px; }
.doclist .doc span { font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-deep); }
@media (max-width: 700px) { .doclist { grid-template-columns: 1fr; } }
.docview { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.docview iframe { width: 100%; height: min(80vh, 1000px); border: 0; display: block; background: #fff; }
.docview__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.doctext { padding: clamp(20px, 4vw, 40px); background: #fff; font-size: 15px; line-height: 1.6; color: var(--ink); overflow-x: auto; }
.doctext p { margin: 0 0 10px; }
.doctext table { border-collapse: collapse; }
.doctext td, .doctext th { border: 1px solid var(--line); padding: 4px 8px; vertical-align: top; }
.docview__dl { display: flex; gap: 8px; flex-wrap: wrap; }
.doctext h2 { font-size: 18px; margin: 26px 0 10px; line-height: 1.3; }
.doctext h2.doc-annex { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.doctext h3 { font-size: 16px; margin: 20px 0 8px; line-height: 1.35; scroll-margin-top: 90px; }
.doctext ul { margin: 0 0 12px; padding-left: 22px; }
.doctext li { margin: 0 0 4px; }
.doctext .doc-meta { color: var(--ink-3); font-size: 14px; }
.doctext .form-to { margin: 0 0 18px auto; max-width: 360px; }
.doctext h2.form-title { text-align: center; }
.doctext .form-table { width: 100%; margin: 0 0 14px; }
.doctext .form-table td:first-child { width: 42%; }
.doctext .form-table td { height: 34px; }
.doctext .form-checks { list-style: none; padding-left: 0; }
.doctext .form-sign, .doctext .form-sign td { border: 0; width: 100%; }
@media (max-width: 600px) { .doctext .form-sign td { display: block; } }
.doctext .form-hint { font-size: 12px; color: var(--ink-3); }

/* ---------- подвал ---------- */
.ftr { background: var(--dark); color: var(--on-dark-2); padding-block: 56px 28px; margin-top: 0; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr__brand p { margin: 16px 0; font-size: 14px; max-width: 38ch; line-height: 1.6; }
.logo--ftr img { height: 40px; width: auto; }
.ftr__soc { display: flex; gap: 8px; }
.soc { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 600; color: #fff; }
.soc:hover { border-color: var(--accent); }
.ftr__col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ftr__col h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--ft); margin-bottom: 6px; }
.ftr__col a:hover { color: #fff; }
.ftr__docs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.ftr__docs a:hover { color: #fff; }
.ftr__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 12px; color: rgba(255,255,255,.4); }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- cookie, гео, модалки ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; display: flex; align-items: center; gap: 20px; padding: 18px 22px; background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); font-size: 13px; line-height: 1.45; box-shadow: var(--sh-lg); max-width: 720px; margin-inline: auto; animation: up .4s var(--ease); border: 1px solid rgba(255,255,255,.08); }
.cookie__t { flex: 1 1 auto; min-width: 0; padding-right: 20px; }
.cookie__t b { display: block; font: 600 14px/1.3 var(--fd); color: #fff; margin-bottom: 6px; }
.cookie__t p { color: var(--on-dark-2); }
.cookie a { color: #FF7AA3; text-decoration: underline; text-underline-offset: 2px; }
.cookie__btns { flex: none; display: flex; align-items: center; gap: 16px; }
.cookie__btns .link { color: var(--on-dark-2); font-weight: 500; }
.cookie__btns .link:hover { color: #fff; }
.btn--bordo { background: var(--accent-deep); color: #fff; }
.btn--bordo:hover { background: #A8063A; }
.cookie__x { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--on-dark-2); font-size: 22px; line-height: 1; cursor: pointer; }
.cookie__x:hover { background: rgba(255,255,255,.1); color: #fff; }
.geo { position: fixed; top: 84px; right: 16px; z-index: 96; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); padding: 16px 18px; max-width: 320px; animation: pop .35s var(--ease); border: 1px solid var(--line); }
@keyframes pop { from { opacity: 0; transform: translateY(-10px); } }
.geo__in { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.geo__btns { display: flex; gap: 8px; }
@media (max-width: 700px) { .geo { left: 16px; right: 16px; max-width: none; top: 76px; } .cookie { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 18px 16px; left: 10px; right: 10px; bottom: 10px; } .cookie__t { padding-right: 24px; } .cookie__btns { justify-content: space-between; } .cookie__btns .btn { flex: 1; } }
@media (max-width: 800px) { body.has-sticky .cookie { bottom: 84px; } }
@media (max-width: 359px) { .hdr__row { gap: 8px; } .hdr .logo img { height: 30px; } .hdr .citybtn { max-width: 136px; padding: 7px 10px; font-size: 13px; } .hdr .citybtn svg { display: none; } .hdr__tools { gap: 8px; } }
.modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__bg { position: absolute; inset: 0; background: rgba(21,18,27,.55); backdrop-filter: blur(4px); animation: fade .2s; }
.modal__box { position: relative; width: min(560px, 100%); max-width: 100%; min-width: 0; flex: 0 1 auto; max-height: min(86vh, 760px); background: #fff; border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sh-lg); animation: pop .35s var(--ease); }
.modal__head { flex: none; display: flex; justify-content: space-between; align-items: center; }
.modal__search, .modal__hint { flex: none; }
.modal__x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper-2); font-size: 22px; cursor: pointer; }
.modal__search { padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; font-size: 16px; }
.modal__search:focus { border-color: var(--accent); outline: 0; }
.modal__hint { font-size: 13px; color: var(--ink-3); }
.citylist { overflow: auto; display: flex; flex-direction: column; gap: 2px; margin: 0 -8px; padding: 0 8px 8px; min-width: 0; min-height: 120px; flex: 1 1 auto; overscroll-behavior: contain; }
.citylist__h { flex: none; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding: 12px 10px 6px; }
.citylist button { flex: none; display: flex; align-items: baseline; gap: 10px; width: 100%; min-width: 0; overflow: hidden; text-align: left; line-height: 1.3; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font: 500 16px var(--ft); color: var(--ink); cursor: pointer; }
.citylist__n { flex: 1 1 auto; min-width: 0; text-align: left; }
.citylist button small { flex: 0 1 auto; margin-left: auto; color: var(--ink-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.citylist button:hover { background: var(--paper-2); }
.citylist button.is-live { font-weight: 600; }
.citylist button.is-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; flex: none; align-self: center; }
@media (max-width: 600px) {
  .citylist button { flex-wrap: wrap; gap: 0 10px; align-items: center; padding: 9px 12px; }
  .citylist__n { flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .citylist button small { flex: 1 1 100%; max-width: 100%; margin-left: 0; margin-top: 1px; }
  .citylist button.is-live small { padding-left: 18px; }
}
@keyframes fade { from { opacity: 0; } }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(21,18,27,.92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; animation: fade .2s; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; object-fit: contain; }
.lightbox__x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- появление при скролле ---------- */
.rv { opacity: 1; transform: none; }
.rv:not(.is-in) { opacity: .35; transform: translateY(14px); }
.rv.is-in { transition: opacity .45s var(--ease) var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .rv:not(.is-in) { opacity: 1; transform: none; } }

.nw { white-space: nowrap; }

/* Партнёрам и заказ артиста */
.prose a.btn { color: #fff; font-weight: 600; }
.prose a.btn--ghost { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.offer--link { background: var(--accent); color: #fff; justify-content: center; transition: background .2s, transform .25s var(--ease); }
.offer--link:hover { background: var(--accent-deep); transform: translateY(-2px); }
.offer--link h3, .offer--link p { color: #fff; }
.offer__go { font-weight: 700; margin-top: 4px; }
.offers .offer--link { grid-column: 1 / -1; }
.steps--white li { background: #fff; }
.form select { padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; width: 100%; min-width: 0; background: #fff; color: var(--ink); }
.form select:invalid { color: var(--ink-3); }
.form select:focus { border-color: var(--accent); outline: 0; }
.thead__cta { margin-top: 22px; }
.tgrid--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .tgrid--even { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.contact__h { font-size: clamp(22px, 2.4vw, 28px); margin: 8px 0 18px; }

/* город: подсказка в плашке и кнопка геолокации */
.geo__note { color: var(--ink-2); font-size: 13px; line-height: 1.4; margin-top: -4px; }
.geo__btns { flex-wrap: wrap; }
.modal__locate { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; padding: 9px 12px; border: 1.5px dashed var(--line); border-radius: 10px; background: none; color: var(--accent-deep); font: 600 14px var(--ft); cursor: pointer; width: 100%; text-align: left; }
.modal__locate:hover { border-color: var(--accent); background: var(--accent-soft); }
.modal__locate[disabled] { opacity: .6; cursor: default; }

.gal__i--tall img { object-position: 50% 22%; }

/* подвал: подпись разработчика (Nexard, фирменные цвета и шрифт Unbounded) */
.ftr__end { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dev { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: rgba(255,255,255,.5); font-size: 12px; line-height: 1; transition: border-color .25s, background .25s, color .25s; }
.dev__n { font: 600 12.5px/1 var(--fd); letter-spacing: .01em; color: #F5F7FA; }
.dev:hover { color: rgba(255,255,255,.75); background: rgba(4,127,254,.08); border-color: rgba(4,127,254,.45); }
.dev:hover .dev__n { background: linear-gradient(135deg, #1EC9FF 0%, #03A3F8 18%, #047FFE 36%, #194EF2 52%, #4F4BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dev:focus-visible { outline: 2px solid #047FFE; outline-offset: 2px; }

/* концерт начался: вместо кнопки «Купить билет» */
.tag--live { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.phero__cta .tag { background: rgba(255,255,255,.14); color: #fff; padding: 12px 18px; font-size: 15px; margin-left: 0; }

/* ---------- узкие телефоны: ничего не вылезает за экран, в кнопки удобно попадать пальцем ---------- */
h1, h2, h3 { overflow-wrap: break-word; }
.ecard__foot { flex-wrap: wrap; }
@media (max-width: 420px) { h1 { hyphens: auto; -webkit-hyphens: auto; } .ecard { grid-template-columns: 104px 1fr; } .ecard__body { padding: 14px 12px; } }
@media (max-width: 700px) { .chip--link, .chips .chip { min-height: 38px; } .hdr .citybtn { min-height: 38px; } .atile span { font-size: 12px; } }

.empty__lbl { flex-basis: 100%; font-size: 14px; color: var(--ink-3); margin-bottom: 2px; }

/* ---------- пометки у даты: перенос, «Новая дата», «Дополнительный концерт», «Пушкинская карта», рост цен ---------- */
.evtags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; }
.evtags .tag { margin-left: 0; padding: 6px 10px; white-space: normal; line-height: 1.2; }
.tag--new { background: var(--accent-soft); color: var(--accent-deep); }
.tag--extra { background: #EAF1FF; color: #1D4FB8; }
.tag--pushkin { background: #E6F6EC; color: #11703A; }
.tag--moved { background: #F59E0B; color: #1A1206; font-size: 13px; padding: 7px 12px !important; text-transform: uppercase; letter-spacing: .04em; }
.evtags__note { flex-basis: 100%; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.evtags__up { font-size: 13px; font-weight: 600; color: #9A5B00; }
.evtags__up::before { content: "↑ "; }
.phero .evtags { margin: 18px 0 0; gap: 8px 10px; }
.phero .evtags .tag { font-size: 13px; padding: 8px 12px; }
.phero .evtags__note { color: var(--on-dark); }
.phero .evtags__up { color: #FFD08A; font-size: 14px; }
.phero .tag--new { background: rgba(255,255,255,.16); color: #fff; }
.phero .tag--extra { background: rgba(120,160,255,.28); color: #fff; }
.phero .tag--pushkin { background: rgba(80,200,130,.28); color: #fff; }
@media (max-width: 800px) { .phero .evtags { justify-content: center; } .phero .evtags__note { text-align: center; } }
.dateb--tbd { opacity: .5; } .dateb--tbd b { text-decoration: line-through; text-decoration-thickness: 2px; }

/* ---------- страница «Такой страницы нет»: светлая, по центру, с воздухом ---------- */
.e404 { background: var(--paper); padding-block: clamp(72px, 12vw, 168px); min-height: 62vh; display: flex; align-items: center; }
.e404__in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.e404__num { font: 700 clamp(88px, 17vw, 200px)/.9 var(--fd); color: var(--accent-soft); letter-spacing: -.04em; margin-bottom: clamp(8px, 2vw, 20px); user-select: none; }
.e404 h1 { max-width: 18ch; margin-top: 12px; }
.e404 .lead { margin-top: 18px; max-width: 46ch; color: var(--ink-2); }
.e404__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.btn--white { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn--white:hover { border-color: var(--ink); background: #fff; }
@media (max-width: 520px) { .e404__btns { flex-direction: column; align-self: stretch; } .e404__btns .btn { width: 100%; } }
