/*
Theme Name: RunWay AI Ru
Theme URI: https://runwayai.click/
Description: Тема сайта RunWay AI Ru. Язык дизайна — «кинематографичный кадр»: крупные скруглённые полноэкранные медиа-панели вместо картинок, чередование тёмных кинопанелей и светлых текстовых секций, почти монохромная палитра с редким янтарно-медным акцентом. Палитра и типографический характер — с официального runway.com (белая база, почти чёрный #0c0c0c), знак и шрифты перерисованы/подобраны заново.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: runwayai
*/

/* ============================================================
   1. Переменные и база
   ============================================================ */
:root {
  --bg:        #ffffff;
  --bg-tint:   #f7f7f6;
  --surface:   #ffffff;
  --surface-2: #f0efec;
  --ink:       #0c0c0c;
  --text:      #161616;
  --muted:     #63625d;
  --line:      #e4e2dc;
  --line-strong: #cfcdc5;

  --cinema-0:  #0c0c0c;
  --cinema-1:  #1c1a17;
  --cinema-2:  #2a2622;

  --ember:       #c2622e;
  --ember-light: #e2935a;
  --ember-glow:  rgba(194, 98, 46, .22);

  --green: #2f8f5b;
  --gold:  #c99a3a;

  --font-display: "Wix Madefor Display", "Arial Narrow", sans-serif;
  --font-text:    "Wix Madefor Text", "Segoe UI", sans-serif;
  --font-serif:   "Cormorant Garamond", Georgia, serif;
  --font-mono:    "Martian Mono", ui-monospace, "Courier New", monospace;

  --radius:    24px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --wrap: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--ember); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); }
h3 { font-size: clamp(1.12rem, 2.1vw, 1.35rem); }
h4 { font-size: 1.03rem; }

/* Редкий курсивный акцент — echo timesNow, использовать точечно (слово/фраза), не абзацами. */
em.accent, .serif-accent {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  color: var(--ember);
}

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .5em; }
strong { color: var(--ink); font-weight: 700; }
code, kbd { font-family: var(--font-mono); font-size: .9em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
   2. Шапка
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(12, 12, 12, .06); }
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.site-logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; text-decoration: none; }
.site-logo:hover { text-decoration: none; }
.site-logo__icon { width: 30px; height: 30px; flex-shrink: 0; }
.site-logo__text {
  font-family: var(--font-display); font-weight: 800; font-size: 1.18rem;
  color: var(--ink); letter-spacing: -.02em; white-space: nowrap; text-transform: lowercase;
}
.site-logo__text b { color: var(--ember); font-weight: 800; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  color: var(--muted); font-size: .95rem; white-space: nowrap; text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover, .nav .current-menu-item > a { color: var(--ink); border-bottom-color: var(--ember); }

.header-cta { flex-shrink: 0; }
.header-cta__short { display: none; }

.burger {
  display: none; width: 42px; height: 42px; flex-shrink: 0;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 999px;
  cursor: pointer; padding: 0; place-items: center;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); position: relative; transition: background .18s ease; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--ink);
  transition: transform .22s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.open span { background: transparent; }
.burger.open span::before { transform: translateY(6px) rotate(45deg); }
.burger.open span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg-tint); padding: 10px 0 18px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav li:last-child { border-bottom: 0; }
.mobile-nav a { display: block; padding: 13px 20px; color: var(--ink); font-size: 1rem; text-decoration: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 480px) {
  .header-cta__full { display: none; }
  .header-cta__short { display: inline; }
  .btn--header { padding: 9px 16px; font-size: .85rem; }
}
@media (max-width: 360px) {
  .site-logo__text { display: none; }
}

/* ============================================================
   3. Кнопки — пилюли
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-text); font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-align: center; white-space: normal; max-width: 100%;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: 0 10px 26px rgba(12, 12, 12, .28); transform: translateY(-1px); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); text-decoration: none; }
.btn--ember { background: var(--ember); color: #fff; }
.btn--ember:hover { background: #a8532564; box-shadow: 0 10px 26px var(--ember-glow); color: #fff; text-decoration: none; }
.btn--header { padding: 10px 20px; font-size: .92rem; }
.btn--wide { width: 100%; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ============================================================
   4. Первый экран — кинематографичная панель
   ============================================================ */
.hero { padding: 46px 0 0; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.hero__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.cinema {
  position: relative; overflow: hidden; border-radius: var(--radius);
  /* Постер лежит подложкой: на десктопе его перекрывает видео, на узких
     экранах и при prefers-reduced-motion он остаётся единственным фоном. */
  background-color: var(--cinema-0);
  background-image: url("images/hero-poster.jpg");
  background-size: cover;
  background-position: 70% center;
  min-height: 500px;
  padding: 44px 36px;
  display: flex; flex-direction: column; justify-content: flex-end;
}

/* Фоновое видео первого экрана. */
.cinema__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
  pointer-events: none;
}

.cinema::before {
  /* лёгкая "плёночная" текстура полос, чисто декоративная, без внешних картинок */
  content: ""; position: absolute; inset: 0; z-index: 2; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(100deg, rgba(255,255,255,.025) 0 2px, transparent 2px 5px);
}

/* Скрим: текст блока прижат вниз-влево (justify-content: flex-end, max-width 640),
   а самое яркое место кадра — струя огня внизу слева. Без затемнения белый
   заголовок по огню не читается. */
.cinema::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right, rgba(12,12,12,.62) 0%, rgba(12,12,12,.28) 46%, rgba(12,12,12,0) 56%)
}

.cinema__content { position: relative; z-index: 3; max-width: 640px; padding-bottom: 50px;}
.cinema h1 { color: #fff; margin-bottom: .4em; }
.cinema__lead { color: rgba(255,255,255,.78); font-size: 1.1rem; max-width: 54ch; margin-bottom: 24px; }
.cinema__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.trustbar { padding: 30px 0 10px; text-align: center; }
.trustbar__label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.trustbar__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 34px; }
.trustbar__row span { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--line-strong); letter-spacing: -.01em; }

/* Ролик под первым экраном — только для узких экранов. */
.hero-clip { display: none; }
.hero-clip__video {
  display: block; width: 100%; height: auto;
margin-bottom: 40px;
  background: var(--cinema-0);
}

@media (max-width: 700px) {
  .cinema { min-height: 380px; padding: 30px 22px; border-radius: var(--radius-sm); }
  /* В первом экране остаётся постер, видео уезжает в блок под ним. */
  .cinema__video { display: none; }
  .hero-clip { display: block; padding: 16px 0 0; }
}

/* ============================================================
   5. Секции
   ============================================================ */
.section { padding: 58px 0; }
.section--tint { background: var(--bg-tint); }

/* Тёмная кинопанель как отдельная секция — леттербоксинг ритма. */
.section--cinema {
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(194, 98, 46, .16), transparent 55%),
    var(--cinema-0);
  color: #fff;
}
.section--cinema h2, .section--cinema h3 { color: #fff; }
.section--cinema .section__lead { color: rgba(255,255,255,.7); }
.section--cinema .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--cinema .card p { color: rgba(255,255,255,.68); }
.section--cinema .card__icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }

.section__head { max-width: 720px; margin-bottom: 34px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__label {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ember); margin-bottom: 12px;
}
.section__lead { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; }
.lead { font-size: 1.08rem; color: var(--muted); }

/* ============================================================
   6. Карточки и сетки
   ============================================================ */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: scale(1.015); box-shadow: 0 14px 34px rgba(12,12,12,.07); }
.card > :last-child { margin-bottom: 0; }
.card__icon {
  width: 42px; height: 42px; border-radius: var(--radius-xs); display: grid; place-items: center; margin-bottom: 16px;
  background: var(--bg-tint); border: 1px solid var(--line);
}
.card__icon svg { width: 21px; height: 21px; color: var(--ember); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

.stat { text-align: left; }
.stat__num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem); color: var(--ink); line-height: 1.1;
  display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--bg-tint);
  margin-bottom: 10px;
}
.stat__label { color: var(--muted); font-size: .92rem; display: block; }

/* ============================================================
   7. Тарифы
   ============================================================ */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
@media (max-width: 1200px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 20px; transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: scale(1.015); box-shadow: 0 14px 34px rgba(12,12,12,.07); }
.plan--best { border-color: var(--ink); box-shadow: 0 12px 30px rgba(12,12,12,.1); }
.plan__badge {
  position: absolute; top: -12px; left: 20px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: var(--ink); border-radius: 999px; padding: 4px 12px; font-weight: 700;
}
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; margin-bottom: 4px; }
.plan__term { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); margin-bottom: 16px; }
.plan__price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 4px; }
.plan__price b { font-family: var(--font-mono); font-weight: 500; font-size: 1.9rem; color: var(--ink); line-height: 1; }
.plan__price span { color: var(--muted); font-size: .88rem; }
.plan__total { font-size: .84rem; color: var(--muted); margin-bottom: 16px; }
.plan__save {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem;
  color: var(--green); border: 1px solid rgba(47, 143, 91, .3); border-radius: 999px; padding: 3px 10px; margin-bottom: 16px;
}
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; }
.plan li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: .9rem; color: var(--text); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 6px;
  border-left: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(-45deg);
}

/* ============================================================
   8. Шаги
   ============================================================ */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  position: relative; padding-left: 60px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding-block: 20px; padding-right: 22px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 999px;
  display: grid; place-items: center; font-family: var(--font-mono); font-size: .92rem; font-weight: 700;
  background: var(--ink); color: #fff;
}
.step h3 { margin-bottom: .4em; font-size: 1.08rem; }
.step > :last-child { margin-bottom: 0; }
.step p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   9. Таблицы — карточки на ≤640px
   ============================================================ */
.table-wrap { overflow-x: auto; margin: 0 0 26px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .94rem; }
table.data th, table.data td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--bg-tint); font-family: var(--font-display); font-weight: 800; font-size: .88rem; color: var(--ink); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td { color: var(--text); }
table.data td strong { color: var(--ink); }
table.data .mono { font-family: var(--font-mono); font-size: .86rem; }

@media (max-width: 640px) {
  .table-wrap { overflow-x: visible; border: 0; }
  table.data { min-width: 0; }
  table.data thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--surface); }
  table.data tr:last-child { margin-bottom: 0; }
  table.data td { padding: 10px 14px 10px 44%; position: relative; min-height: 20px; }
  table.data tr td:last-child { border-bottom: 0; }
  table.data td::before {
    content: attr(data-label); position: absolute; left: 14px; top: 10px; width: 38%;
    font-weight: 700; font-size: .8rem; color: var(--muted); font-family: var(--font-text);
  }
}

/* ============================================================
   10. FAQ-аккордеон
   ============================================================ */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s ease; }
.faq__item.open { border-color: var(--ink); }
.faq__question {
  width: 100%; display: flex; align-items: flex-start; gap: 14px; background: transparent; border: 0;
  cursor: pointer; padding: 18px 20px; text-align: left;
  font-family: var(--font-display); font-weight: 800; font-size: 1.01rem; color: var(--ink); line-height: 1.4;
}
.faq__question::after {
  content: ""; flex-shrink: 0; margin-left: auto; margin-top: .35em; width: 9px; height: 9px;
  border-right: 2px solid var(--ember); border-bottom: 2px solid var(--ember);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq__item.open .faq__question::after { transform: rotate(-135deg); }
.faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq__answer > div { overflow: hidden; }
.faq__item.open .faq__answer { grid-template-rows: 1fr; }
.faq__answer p { padding: 0 20px; margin: 0 0 16px; color: var(--muted); font-size: .97rem; }
.faq__answer p:first-child { padding-top: 2px; }

/* ============================================================
   11. Отзывы и звёзды
   ============================================================ */
.star-rating { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.star-rating__bg, .star-rating__fg { display: flex; gap: 2px; }
.star-rating__bg { color: var(--line-strong); opacity: .9; }
.star-rating__fg { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.star-rating svg { width: var(--star-size, 20px); height: var(--star-size, 20px); flex-shrink: 0; fill: currentColor; stroke: currentColor; }

.rating-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; margin-bottom: 30px;
}
.rating-summary__num { font-family: var(--font-mono); font-weight: 500; font-size: 2.4rem; color: var(--ink); line-height: 1; }
.rating-summary__meta { color: var(--muted); font-size: .92rem; }

.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__avatar {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 999px; display: grid; place-items: center;
  background: var(--bg-tint); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 800; color: var(--ember);
}
.review__name { font-weight: 700; color: var(--ink); font-size: .97rem; }
.review__date { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }
.review__stars { margin-left: auto; }
.review p { color: var(--text); font-size: .96rem; margin-bottom: 0; }

/* ============================================================
   12. Прочие блоки
   ============================================================ */
.callout {
  background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius-sm);
  border-left: 3px solid var(--ember); padding: 22px 24px; margin: 0 0 26px;
}
.callout > :last-child { margin-bottom: 0; }
.callout--warn { border-left-color: var(--gold); background: #fbf5e9; }

.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.pill { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 13px; }
.pill--on { color: var(--green); border-color: rgba(47, 143, 91, .3); }

.cta-band {
  text-align: center; padding: 50px 0;
  background: radial-gradient(600px 280px at 50% 0%, var(--ember-glow), transparent 65%), var(--bg-tint);
  border-block: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { color: var(--muted); max-width: 54ch; margin-inline: auto; margin-bottom: 22px; }

.rw-breadcrumb { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.rw-breadcrumb__link { color: var(--muted); text-decoration: none; }
.rw-breadcrumb__link:hover { color: var(--ember); }
.rw-breadcrumb__sep { margin: 0 8px; opacity: .5; }
.rw-breadcrumb__current { color: var(--ink); }

.page-head { padding: 26px 0 38px; }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { max-width: 66ch; margin-bottom: 0; }

.content > h2 { margin-top: 1.6em; }
.content > h3 { margin-top: 1.4em; }

/* ============================================================
   13. Подвал
   ============================================================ */
.site-footer { background: var(--cinema-0); color: rgba(255,255,255,.7); padding: 46px 0 28px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; margin-bottom: 32px; }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.82); font-size: .94rem; text-decoration: none; }
.site-footer a:hover { color: var(--ember-light); }
.site-footer .site-logo__text { color: #fff; }
.site-footer .site-logo__text b { color: var(--ember-light); }
.site-footer__about { color: rgba(255,255,255,.55); font-size: .94rem; max-width: 42ch; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; color: rgba(255,255,255,.45); font-size: .84rem;
}
.site-footer__disclaimer { max-width: 76ch; }

/* ============================================================
   14. Доступность
   ============================================================ */
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  /* Движущийся фон убираем — под ним остаётся постер. Ролик под первым
     экраном остаётся доступен, но уже со своими controls. */
  .cinema__video { display: none; }
}
