/* Дом Кино — новый дизайн, вариант A «Тёмный зал».
   Токены → основа → шапка/подвал → блоки главной → расписание → фильм → текстовые страницы → старые блоки CMS. */

:root {
	--bg: #0D0E11;
	--bg-deep: #0A0B0D;
	--surf: #15171C;
	--surf-2: #1D2026;
	--line: #2B2F38;
	--line-2: #3A3F4A;
	--text: #F4F1EA;
	--text-2: #B4B0A6;
	--text-3: #8E8B82;
	--accent: #FF6A5A;
	--accent-hover: #FF8A7D;
	--on-accent: #0D0E11;
	--display: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
	--body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wrap: 1280px;
	--gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; min-height: 100vh; display: flex; flex-direction: column;
	background: var(--bg); color: var(--text);
	font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-hover); }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.a-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.a-main { flex: 1 0 auto; }
.a-ico { flex: none; display: block; }
.a-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 600; }
.a-skip:focus { left: 8px; color: var(--bg); }

/* --- кнопки и мелкие элементы --- */
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent; background: none; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.a-btn--accent { background: var(--accent); color: var(--on-accent); }
.a-btn--accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.a-btn--ghost { border-color: var(--line); color: var(--text); font-weight: 500; }
.a-btn--ghost:hover { border-color: var(--text-3); color: var(--text); }
.a-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--text); }
.a-pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(244, 241, 234, .4); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.a-age { position: absolute; top: 8px; left: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(13, 14, 17, .82); font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--text); }
.a-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.a-dot--gold { background: #E9B44C; }
.a-dot--blue { background: #5B8CFF; }
.a-dot--white { background: #F4F1EA; }
.a-dot--lilac { background: #B99CF2; }
.a-dot--ring { box-shadow: inset 0 0 0 2px var(--text-3); }
.a-h1 { font: 800 clamp(64px, 9vw, 128px)/.86 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.a-h2 { font: 800 clamp(52px, 7vw, 96px)/.9 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.a-h3 { font: 800 clamp(40px, 5vw, 72px)/.9 var(--display); text-transform: uppercase; }
.a-empty { padding: 32px 0; font-size: 17px; color: var(--text-2); }
.a-empty a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* --- шапка --- */
.a-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 14, 17, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--surf-2); }
.a-header__in { min-height: 72px; display: flex; align-items: center; gap: 8px 40px; }
.a-logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.a-logo img { display: block; height: 24px; width: auto; }
.a-header__menu { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px 32px; min-width: 0; }
.a-nav { display: flex; gap: 0 26px; }
.a-nav__link { display: flex; align-items: center; height: 72px; font-size: 15px; font-weight: 500; color: var(--text-2); white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; }
.a-nav__link:hover { color: var(--text); }
.a-nav__link.is-active { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.a-header__side { display: flex; align-items: center; gap: 8px 22px; }
.a-header__addr { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.a-header__phone { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.a-burger { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; }

/* --- подвал --- */
.a-footer { flex: none; margin-top: 96px; border-top: 1px solid var(--surf-2); background: var(--bg-deep); }
.a-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; padding-top: 56px; padding-bottom: 40px; }
.a-footer__brand { flex: 1 1 280px; max-width: 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.a-footer__brand > img { display: block; height: 22px; width: auto; }
.a-footer__union { display: flex; align-items: center; gap: 14px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.a-footer__union img { flex: none; opacity: .85; }
.a-footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 0 48px; align-content: start; }
.a-footer__link { display: flex; align-items: center; min-height: 36px; font-size: 15px; }
.a-footer__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.a-footer__phone { font: 700 44px/1 var(--display); white-space: nowrap; }
.a-footer__addr { font-size: 15px; color: var(--text-2); }
.a-footer__contacts .a-btn { margin-top: 10px; }
.a-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-bottom: 32px; font-size: 13px; color: var(--text-3); }
.a-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

.a-toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 15px; font-weight: 500; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }

/* --- главная: фильм в фокусе --- */
.a-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--surf-2); }
.a-hero__glow { position: absolute; right: -4%; top: -30%; width: 60%; height: 150%; max-width: none; object-fit: cover; filter: blur(120px) saturate(1.4); opacity: .5; pointer-events: none; }
.a-hero__in { position: relative; display: flex; align-items: center; gap: 48px 80px; padding-top: 72px; padding-bottom: 72px; }
.a-hero__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.a-hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 14px; color: var(--text-2); }
.a-hero__title { font: 800 clamp(72px, 12.4vw, 184px)/.84 var(--display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.a-hero__title--l { font-size: clamp(60px, 8.4vw, 124px); line-height: .88; }
.a-hero__title--m { font-size: clamp(44px, 5.4vw, 80px); line-height: .92; }
.a-hero__title a:hover { color: var(--text); }
.a-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--text-2); }
.a-hero__meta b { font-weight: 400; color: var(--text); }
.a-hero__lead { max-width: 600px; font-size: 17px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.a-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.a-hero__poster { flex: 0 0 auto; width: min(380px, 30vw); display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.a-hero__poster img { display: block; width: 100%; height: auto; }

.a-chip { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 8px 22px 8px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surf-2); color: var(--text); text-align: left; cursor: pointer; }
.a-chip:hover { border-color: var(--text-3); }
.a-chip__time { font: 800 52px/1 var(--display); }
.a-chip__txt { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.25; }
.a-chip__txt b { font-weight: 700; }
.a-chip__txt span { color: var(--text-2); }
.a-chip--accent { border-color: transparent; background: var(--accent); color: var(--on-accent); }
.a-chip--accent:hover { border-color: transparent; background: var(--accent-hover); }
.a-chip--accent .a-chip__txt span { color: var(--on-accent); }

.a-prem { position: relative; padding-bottom: 56px; }
.a-prem__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 16px; align-items: center; padding-top: 28px; border-top: 1px solid rgba(244, 241, 234, .16); }
.a-prem__head h2 { font: 800 48px/.9 var(--display); text-transform: uppercase; }
.a-prem__head p { margin-top: 6px; font-size: 14px; color: var(--text-2); }
.a-prem__item { display: flex; align-items: center; gap: 16px; min-width: 0; }
.a-prem__poster { flex: none; width: 72px; height: 108px; border-radius: 6px; overflow: hidden; background: var(--surf); }
.a-prem__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.a-prem__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.a-prem__title { font-size: 17px; font-weight: 600; line-height: 1.25; }
.a-prem__line { font-size: 13px; line-height: 1.4; color: var(--text-2); }
.a-mini { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 4px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: none; font-size: 14px; color: var(--text-2); cursor: pointer; }
.a-mini:hover { border-color: var(--text-3); }
.a-mini b { font: 800 28px/1 var(--display); color: var(--text); }
.a-mini span { white-space: nowrap; }

/* --- секции, даты, фильтр залов --- */
.a-sec { padding-top: 88px; }
.a-sec--band { margin-top: 96px; padding-bottom: 96px; background: var(--surf); }
.a-sec--band + .a-footer { margin-top: 0; }
.a-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; }
.a-dates { display: flex; gap: 10px; margin-top: 28px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.a-date { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); }
.a-date:hover { border-color: var(--text-3); color: var(--text); }
.a-date__name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.a-date__sub { font-size: 13px; line-height: 1.2; color: var(--text-2); white-space: nowrap; }
.a-date.is-active { border-color: var(--text); background: var(--text); color: var(--bg); }
.a-date.is-active .a-date__sub { color: #3A3C42; }
.a-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 20px; }
.a-filter__halls { display: flex; flex-wrap: wrap; gap: 8px; }
.a-fchip { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: none; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.a-fchip:hover { border-color: var(--text-3); color: var(--text); }
.a-fchip[aria-pressed="true"] { border-color: var(--text); color: var(--text); font-weight: 600; }
.a-filter__note { font-size: 14px; color: var(--text-2); }
.a-past { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px; margin-top: 24px; padding: 0 18px; border-radius: 10px; border: 1px dashed var(--line); background: none; font-size: 15px; color: var(--text-2); text-align: left; cursor: pointer; }
.a-past b { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); }
.a-past[aria-expanded="true"] .a-ico { transform: rotate(180deg); }
.is-collapsed .is-past, .is-off { display: none !important; }

/* --- карточки сеансов и фильмов --- */
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 40px 24px; margin-top: 36px; }
.a-grid--wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.a-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.a-card__poster { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--surf); }
.a-card__poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.a-card__poster:hover img { transform: scale(1.03); }
.a-card__noposter { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; font: 800 30px/.95 var(--display); text-transform: uppercase; color: var(--text-2); }
.a-time { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surf); color: var(--text); cursor: pointer; }
.a-time:hover { border-color: var(--accent); }
.a-time__t { font: 800 34px/1 var(--display); letter-spacing: .01em; }
.a-time__p { font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.a-time:hover .a-time__p { color: var(--accent-hover); }
.a-time.is-closed, .a-time:disabled { cursor: default; }
.a-time.is-closed:hover, .a-time:disabled:hover { border-color: var(--line); }
.a-time.is-closed:hover .a-time__p { color: var(--text-2); }
.a-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 44px; font-size: 16px; font-weight: 600; line-height: 22px; }
.a-card__meta { display: flex; align-items: center; gap: 8px; margin-top: -4px; font-size: 13px; line-height: 18px; color: var(--text-2); white-space: nowrap; overflow: hidden; }
.a-card__meta span:last-child { overflow: hidden; text-overflow: ellipsis; }
.a-card.is-past .a-card__poster img { opacity: .45; }
.a-card.is-past .a-time__t, .a-card.is-past .a-card__title { color: var(--text-3); }
.a-card__date { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 4px; }
.a-card__date b { font: 700 32px/1 var(--display); text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.a-card__title--3 { -webkit-line-clamp: 3; min-height: 0; }
.a-card__sub { margin-top: -4px; font-size: 13px; line-height: 18px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- о киноцентре на главной --- */
.a-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px 64px; align-items: center; padding-top: 104px; }
.a-about__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.a-about__text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.a-about__text h2 { font: 800 clamp(48px, 5.4vw, 76px)/.9 var(--display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.a-about__text p { font-size: 17px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.a-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.a-facts dt, .a-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.a-facts dd { margin: 6px 0 0; font-size: 16px; line-height: 1.45; }
.a-about__links { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.a-banners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 24px; margin-top: 16px; }
.a-banners-sec { margin-top: 96px; }
.a-banners img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* --- страницы: заголовок --- */
.a-page { padding-top: 56px; }
.a-page__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.a-page__sub { padding-bottom: 8px; font-size: 16px; color: var(--text-2); }

/* --- расписание: шкала времени --- */
.a-tl { margin-top: 40px; padding: 24px; border-radius: 12px; background: var(--surf); }
.a-tl__title { margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.a-tl__title span { font-weight: 400; color: var(--text-2); }
.a-tl__scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.a-tl__grid { min-width: 980px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 16px; }
.a-tl__labels { display: flex; flex-direction: column; gap: 12px; padding-top: 40px; }
.a-tl__label { height: 64px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.a-tl__label b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.a-tl__label > span { padding-left: 16px; font-size: 13px; color: var(--text-2); }
.a-tl__tracks { position: relative; display: flex; flex-direction: column; gap: 12px; padding-bottom: 36px; }
.a-tl__ticks { display: flex; align-items: flex-end; height: 28px; }
.a-tl__ticks span { flex: 1 1 0; min-width: 0; font-size: 12px; font-weight: 500; color: var(--text-3); }
.a-tl__track { position: relative; height: 64px; }
.a-tl__block { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surf-2); overflow: hidden; }
.a-tl__block:hover { border-color: var(--accent); color: var(--text); }
.a-tl__block b { font: 800 26px/1 var(--display); }
.a-tl__block span { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-tl__block.is-past { border-style: dashed; border-color: var(--line); background: none; }
.a-tl__block.is-past b, .a-tl__block.is-past span { color: var(--text-3); }
.a-tl__now { position: absolute; top: 28px; bottom: 24px; width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.a-tl__nowlabel { position: absolute; bottom: 0; transform: translateX(-50%); padding: 3px 9px; border-radius: 6px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* --- расписание: список сеансов --- */
.a-list { margin-top: 12px; }
.a-row { display: grid; grid-template-columns: 124px 56px minmax(0, 1fr) 190px 110px auto; gap: 0 24px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.a-list > .a-row:last-child { border-bottom: 1px solid var(--line); }
.a-row__time { display: flex; flex-direction: column; gap: 4px; }
.a-row__time b { font: 800 60px/.9 var(--display); }
.a-row__time span { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.a-row__poster { display: block; width: 56px; height: 84px; border-radius: 6px; overflow: hidden; background: var(--surf); }
.a-row__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.a-row__film { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.a-row__title { font-size: 19px; font-weight: 600; line-height: 1.25; }
.a-row__line { font-size: 14px; line-height: 1.4; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-row__col { display: flex; flex-direction: column; gap: 2px; font-size: 15px; min-width: 0; }
.a-row__col > span:first-child { display: flex; align-items: center; gap: 8px; }
.a-row__col small { font-size: 13px; color: var(--text-2); }
.a-row__col--hall small { padding-left: 16px; }
.a-row__buy { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.a-row__price { font-size: 16px; font-weight: 600; white-space: nowrap; }
.a-row.is-past .a-row__time b, .a-row.is-past .a-row__title { color: var(--text-3); }
.a-row.is-past .a-row__poster img { opacity: .45; }
.a-row.is-hit { background: var(--surf); box-shadow: 0 0 0 12px var(--surf); border-radius: 4px; }

/* --- страница фильма --- */
.a-film { position: relative; overflow: hidden; border-bottom: 1px solid var(--surf-2); }
.a-film__glow { position: absolute; left: -10%; top: -20%; width: 55%; height: 130%; max-width: none; object-fit: cover; filter: blur(130px) saturate(1.4); opacity: .45; pointer-events: none; }
.a-film__in { position: relative; padding-top: 24px; padding-bottom: 88px; }
.a-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.a-film__cols { display: flex; align-items: flex-start; gap: 40px 64px; margin-top: 12px; }
.a-film__poster { flex: 0 0 auto; width: min(340px, 28vw); }
.a-film__poster img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.a-film__main { flex: 1 1 0; min-width: 0; }
.a-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.a-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(244, 241, 234, .35); font-size: 13px; font-weight: 600; }
.a-tag--accent { border-color: var(--accent); color: var(--accent); }
.a-film__title { margin-top: 20px; font: 800 clamp(64px, 10.4vw, 152px)/.86 var(--display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.a-film__title--l { font-size: clamp(52px, 7vw, 104px); line-height: .9; }
.a-film__title--m { font-size: clamp(40px, 4.6vw, 68px); line-height: .94; }
.a-film__line { margin-top: 16px; font-size: 18px; color: var(--text-2); }
.a-film__body { display: flex; align-items: flex-start; gap: 40px 48px; margin-top: 32px; }
.a-film__info { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.a-dl { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px 20px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.a-dl dt { font-size: 14px; line-height: 1.5; color: var(--text-3); }
.a-dl dd { margin: 0; font-size: 15px; line-height: 1.5; }
.a-video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surf); }
.a-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.a-tickets { flex: 0 0 auto; width: min(380px, 100%); display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 14px; border: 1px solid var(--surf-2); background: var(--surf); }
.a-tickets h2 { margin-bottom: 4px; font: 800 44px/.9 var(--display); text-transform: uppercase; }
.a-tickets__day { margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.a-ticket { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surf-2); color: var(--text); text-align: left; cursor: pointer; }
.a-ticket:hover { border-color: var(--accent); }
.a-ticket__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.a-ticket__top b { font: 800 56px/.9 var(--display); }
.a-ticket__top span { font-size: 18px; font-weight: 700; white-space: nowrap; }
.a-ticket__sub { font-size: 14px; line-height: 1.35; color: var(--text-2); }
.a-ticket--accent { border-color: transparent; background: var(--accent); color: var(--on-accent); }
.a-ticket--accent:hover { border-color: transparent; background: var(--accent-hover); }
.a-ticket--accent .a-ticket__sub { color: var(--on-accent); }
.a-tickets__note { font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* --- текст из CMS --- */
.a-prose { max-width: 760px; font-size: 17px; line-height: 1.65; color: var(--text); overflow-wrap: break-word; }
.a-prose > :first-child { margin-top: 0; }
.a-prose p { margin: 0 0 1em; }
.a-prose h1, .a-prose h2, .a-prose h3, .a-prose h4 { margin: 1.4em 0 .5em; font: 800 34px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.a-prose h3, .a-prose h4 { font-size: 28px; }
.a-prose h2 strong, .a-prose h3 strong, .a-prose li strong { font-weight: inherit; }
.a-prose ul, .a-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.a-prose li { margin: .25em 0; }
.a-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.a-prose a:hover { color: var(--accent-hover); }
.a-prose img { height: auto !important; max-width: 100%; border-radius: 10px; }
.a-prose iframe { max-width: 100%; }
.a-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15px; }
.a-prose td, .a-prose th { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.a-prose [style*="color"] { color: inherit !important; }
.a-prose [style*="background"] { background: none !important; }
.a-prose [style*="font"] { font-family: inherit !important; }
.a-film .a-prose { max-width: none; font-size: 17px; line-height: 1.6; }
.a-film .a-prose h2, .a-film .a-prose h3 { margin-top: 0; font-size: 28px; color: var(--text); }
.a-film .a-prose ul { list-style: none; padding: 0; font-size: 14px; letter-spacing: .02em; color: var(--text-2); }

/* --- блоки, которые по-прежнему выводит старая CMS (вкладки подразделов, поиск фильмов, постраничник) --- */
.a-legacy .clear { display: none; }
.a-legacy .pages { margin: 28px 0 40px; }
.a-legacy .switch { display: flex; flex-wrap: wrap; gap: 8px; }
.a-legacy .switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--text-2); }
.a-legacy .switch a:hover { border-color: var(--text-3); color: var(--text); }
.a-legacy .switch a.active { border-color: var(--text); color: var(--text); font-weight: 600; }
.a-legacy .text-content { max-width: 760px; font-size: 17px; line-height: 1.65; overflow-wrap: break-word; }
.a-legacy .text-content p { margin: 0 0 1em; }
.a-legacy .text-content h2, .a-legacy .text-content h3, .a-legacy .text-content h4 { margin: 1.4em 0 .5em; font: 800 34px/1 var(--display); text-transform: uppercase; }
.a-legacy .text-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.a-legacy .text-content img { height: auto !important; max-width: 100%; border-radius: 10px; }
.a-legacy .text-content iframe { max-width: 100%; }
.a-legacy .text-content ul, .a-legacy .text-content ol { margin: 0 0 1em; padding-left: 1.3em; }
.a-legacy .text-content table { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: 15px; }
.a-legacy .text-content td, .a-legacy .text-content th { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.a-legacy .text-content [style*="color"] { color: inherit !important; }
.a-legacy .text-content [style*="background"] { background: none !important; }
.a-legacy input[type="text"], .a-legacy input[type="email"], .a-legacy textarea, .a-legacy select { min-height: 44px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surf); color: var(--text); font: inherit; }
.a-legacy input[type="submit"], .a-legacy button { min-height: 44px; padding: 0 18px; border-radius: 8px; border: 0; background: var(--accent); color: var(--on-accent); font: 600 15px var(--body); cursor: pointer; }

.a-404 { padding: 96px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.a-404 p { max-width: 560px; font-size: 18px; color: var(--text-2); }

/* --- адаптив --- */
@media (max-width: 1180px) {
	.a-header__addr { display: none; }
	.a-row { grid-template-columns: 110px 56px minmax(0, 1fr) 170px auto; }
	.a-row__col--dur { display: none; }
}
@media (max-width: 980px) {
	.a-burger { display: flex; }
	.a-header__in { min-height: 60px; flex-wrap: wrap; }
	.a-header__menu { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 4px 0 20px; }
	.a-header.is-open .a-header__menu { display: flex; }
	.a-nav { flex-direction: column; }
	.a-nav__link { height: 48px; font-size: 17px; box-shadow: none; border-bottom: 1px solid var(--surf-2); }
	.a-nav__link.is-active { box-shadow: none; color: var(--accent); }
	.a-header__side { flex-wrap: wrap; padding-top: 8px; }
	.a-header__addr { display: flex; }
	.a-hero__in { flex-direction: column-reverse; align-items: stretch; padding-top: 32px; padding-bottom: 48px; gap: 32px; }
	.a-hero__poster { width: min(300px, 62vw); }
	.a-hero__glow { width: 120%; right: -10%; opacity: .4; }
	.a-film__cols { flex-direction: column; }
	.a-film__poster { width: min(280px, 60vw); }
	.a-film__body { flex-direction: column; }
	.a-tickets { width: 100%; order: -1; }
}
@media (max-width: 760px) {
	.a-sec { padding-top: 64px; }
	.a-sec--band { margin-top: 64px; padding-bottom: 64px; }
	.a-footer { margin-top: 64px; }
	.a-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.a-time { padding: 0 10px; }
	.a-time__t { font-size: 30px; }
	.a-time__p { font-size: 13px; }
	.a-chip { flex: 1 1 100%; }
	.a-row { grid-template-columns: 62px 48px minmax(0, 1fr); gap: 8px 12px; padding: 14px 0; }
	.a-row__time b { font-size: 38px; }
	.a-row__poster { width: 48px; height: 72px; }
	.a-row__title { font-size: 16px; }
	.a-row__line { white-space: normal; font-size: 13px; }
	.a-row__col--hall, .a-row__buy { grid-column: 2 / -1; }
	.a-row__col--hall { flex-direction: row; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
	.a-row__col--hall small { padding-left: 0; }
	.a-row__buy { justify-content: space-between; }
	.a-tl { display: none; } /* на телефоне шкала требует горизонтальной прокрутки — оставляем только список */
	.a-dl { grid-template-columns: 1fr; gap: 2px; }
	.a-dl dd { margin-bottom: 10px; }
	.a-about { padding-top: 72px; }
	.a-footer__phone { font-size: 38px; }
	.a-page { padding-top: 36px; }
	.a-prem__head h2 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.a-card__poster img { transition: none; }
}

/* --- архив фильмов: форма поиска, таблица и постраничник старого модуля film_catalog --- */
.a-legacy .search { margin-top: 32px; padding: 24px; border-radius: 12px; background: var(--surf); }
.a-legacy .search form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; align-items: end; }
.a-legacy .form-elem { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.a-legacy .form-elem label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.a-legacy .form-elem label:empty { display: none; }
.a-legacy div.text-elem { display: flex; }
.a-legacy input.text-elem { width: 100%; background: var(--bg); }
.a-legacy .selectopt { position: relative; }
.a-legacy .selectopt > .text-elem { align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.a-legacy .selectopt .text-data { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-legacy .selectopt .carret { flex: none; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); }
.a-legacy .selectopt .options { display: none; position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; max-height: 280px; overflow-y: auto; padding: 6px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surf-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.a-legacy .selectopt.is-open .options { display: block; }
.a-legacy .option { min-height: 36px; padding: 7px 10px; border-radius: 6px; font-size: 15px; cursor: pointer; }
.a-legacy .option:hover, .a-legacy .option.selected { background: var(--line); }
.a-legacy > h3 { margin-top: 48px; font: 800 40px/1 var(--display); text-transform: uppercase; }
.a-legacy .search_options { display: flex; justify-content: flex-end; margin-top: 12px; font-size: 14px; color: var(--text-2); }
.a-legacy .search_sort { margin-left: 14px; padding-bottom: 2px; border-bottom: 1px dashed var(--text-3); color: var(--text); cursor: pointer; }
.a-legacy .search_sort.active { border-bottom: 2px solid var(--accent); font-weight: 600; }
.a-legacy .film-list { margin-top: 16px; overflow-x: auto; }
.a-legacy .film-list table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; }
.a-legacy .film-list th { padding: 10px 12px 10px 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: left; color: var(--text-3); }
.a-legacy .film-list td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; vertical-align: top; color: var(--text-2); }
.a-legacy .film-list .main_hd { width: 36%; }
.a-legacy .film-list .submain_hd { width: 24%; }
.a-legacy .film-list .last_hd { width: 64px; }
.a-legacy .film-list td.main_hd a { font-size: 16px; font-weight: 600; color: var(--text); }
.a-legacy .film-list td.main_hd a:hover { color: var(--accent-hover); }
.a-legacy .mod-pager { margin-top: 32px; }
.a-legacy .mod-prev-next-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.a-legacy .mod-pager .page-current, .a-legacy .mod-pager span > span, .a-legacy .mod-pager span > a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; cursor: pointer; }
.a-legacy .mod-pager .page-current { border-color: var(--text); background: var(--text); color: var(--bg); font-weight: 700; cursor: default; }
.a-legacy .mod-pager span > span:hover, .a-legacy .mod-pager span > a:hover { border-color: var(--text-3); }
.a-legacy .mod-pager-first::before { content: '«'; }
.a-legacy .mod-pager-prev::before { content: '‹'; }
.a-legacy .mod-pager-next::before { content: '›'; }
.a-legacy .mod-pager-last::before { content: '»'; }
.a-map { margin: 0 0 1.4em; aspect-ratio: 16 / 9; max-height: 460px; width: 100%; border-radius: 10px; overflow: hidden; background: var(--surf); }
.a-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.a-legacy .search .form-elem.pull-right { order: 10; }
