/* Project ATV — новый дизайн
   Минималистичный тёмный стиль: графит, латунный акцент (как золото на мотоцикле).
   Шрифт локальный: IBM Plex Sans, прямые спокойные заголовки. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-variable.woff2") format("woff2");
}

:root {
  --bg: #0b0c0e;
  --surface: #121418;
  --surface-2: #181b21;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eef0f3;
  --muted: #a4aab4;
  --dim: #80868f;   /* 5.3:1 к фону; прежний #6f7580 давал 4.2:1, мало для мелкого текста */
  --accent: #e5b66e;
  --accent-hover: #efc486;
  --accent-ink: #191104;
  --danger: #ff7a6b;
  --ok: #7fd49a;

  --font-head: "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --button-bg: rgba(16, 19, 24, .88);
  --button-hover: #24272d;
  --button-border: rgba(229, 182, 110, .58);
  --button-text: #eee7db;
  --button-radius: 10px;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);   /* сильный ease-out: отклик сразу, мягкая остановка */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
/* Поверхности браузера в цветах сайта: выделение, каретка, полоса прокрутки */
::selection { background: rgba(229, 182, 110, .32); color: #fff; }
html { scrollbar-color: #3a3e45 var(--bg); }
input, textarea { caret-color: var(--accent); }


/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--button-radius);
  font-weight: 500; font-size: 1rem; letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .16s var(--ease);
}
.btn svg { width: 18px; height: 18px; stroke-width: 1.6; transition: transform .2s var(--ease); }
/* Сдвиг стрелки только у мыши: на телефоне наведение «залипает» после касания */
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(2px); }
}
/* Нажатие: кнопка чуть сжимается, ответ виден сразу */
.btn:active { transform: scale(.97); }
.btn--accent { border-color: var(--button-border); background: var(--button-bg); color: var(--button-text); }
.btn--accent svg { color: var(--accent); }
.btn--accent:hover { border-color: var(--accent); background: var(--button-hover); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.26); background: rgba(11,12,14,.4); }
.btn--ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(11,12,14,.7); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Шапка */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header.is-open { background: var(--bg); border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { flex: none; display: block; }
.logo img { height: 46px; width: auto; }
.nav { display: none; gap: 28px; margin-right: auto; }
.nav a, .footer__nav a { text-decoration: none; color: var(--muted); font-size: 0.9375rem; transition: color .2s; }
.nav a:hover, .footer__nav a:hover { color: var(--text); }
.header__actions { display: none; align-items: center; gap: 20px; }
.header__phone { font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.header__phone:hover { color: var(--accent); }
.burger {
  margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 7px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
}
.burger span { width: 18px; height: 1.6px; background: currentColor; transition: transform .25s var(--ease); }
.header.is-open .burger span:first-child { transform: translateY(4.3px) rotate(45deg); }
.header.is-open .burger span:last-child { transform: translateY(-4.3px) rotate(-45deg); }
.menu {
  position: fixed; inset: var(--header-h) 0 0; background: var(--bg);
  padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 1.75rem/1.2 var(--font-head); text-decoration: none; }
.menu__contacts { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; color: var(--muted); }
.menu__contacts a { text-decoration: none; }
.menu__phone { font-size: 1.375rem; font-weight: 600; color: var(--text); }

/* ================= Первый экран ================= */
.hero {
  position: relative; isolation: isolate; min-height: max(640px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 48px) 0 clamp(20px, 4vh, 48px); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #06070a; }
/* сверху — под шапку, снизу — притемнить отражение в полу, чтобы читался заголовок */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,.6) 0%, rgba(11,12,14,0) 22%, rgba(11,12,14,0) 52%, rgba(11,12,14,.62) 70%, rgba(11,12,14,.78) 90%, var(--bg) 100%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3.5vh, 40px); text-align: center; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn--xl { min-height: 52px; padding: 0 24px; font-size: 1rem; gap: 12px; }
.btn--xl svg { width: 18px; height: 18px; }
.btn--ghost.btn--xl svg { stroke-width: 1.8; }
@media (hover: hover) and (pointer: fine) {
  .btn--ghost.btn--xl:hover svg { transform: none; }
}
/* Прямой заголовок: читается поверх сцены без перспективного искажения. */
.hero__copy { width: 100%; }
.hero__title {
  margin: 0 auto; max-width: 1100px;
  font-size: clamp(2rem, 1.15rem + 3.15vw, 4.25rem); font-weight: 500;
  font-style: normal; line-height: 1.09; letter-spacing: -.02em; text-wrap: balance; color: var(--text);
}
.hero__title span { display: block; }

/* Фон: финальный кадр и ролик поверх (16:9, растянуты как cover) */
.hero__still, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero__still { transition: opacity .8s ease; }
.hero__video { opacity: 0; transition: opacity .8s ease; }
.hero__intro { position: absolute; inset: 0; z-index: 1; display: none; place-items: center; background: #06070a; pointer-events: none; transition: background-color .9s ease; }
.hero__tool { height: min(42vh, 320px); width: auto; color: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke;
  transform-origin: 50% 80%; transition: opacity .8s ease, transform 1.4s cubic-bezier(.55, 0, .2, 1); }
.hero__tool path { vector-effect: non-scaling-stroke; }

/* Вступление: .intro — с <head>, .is-playing / .text-in / .intro-done — main.js по ходу ролика */
.intro .hero__intro { display: grid; }
.intro .hero__still { opacity: 0; }
.intro .hero__tool path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .1s cubic-bezier(.4, 0, .2, 1) forwards; }
.intro .hero__media::after { opacity: .25; transition: opacity 1.2s ease; }
.intro.is-playing .hero__video { opacity: 1; }
.intro.is-playing .hero__intro { background-color: transparent; }
.intro.is-playing .hero__tool { opacity: 0; transform: scale(1.9); }
.intro.text-in .hero__media::after { opacity: 1; }
.intro.intro-done .hero__video { opacity: 0; }
.intro.intro-done .hero__still { opacity: 1; }
.intro [data-hero] { opacity: 0; transform: translateY(18px); }
.intro.text-in [data-hero] { animation: show .8s var(--ease) forwards; }
/* Заголовок плавно появляется вместе с родительским data-hero, кнопки — следом. */
.intro.text-in .hero__cta { animation-delay: .45s; }
/* страховка, если скрипт не запустился: через 6 с всё показывается само */
.intro:not(.is-playing) .hero__intro { animation: hide .6s 6s forwards; }
.intro:not(.is-playing) .hero__still { animation: show .6s 6s forwards; }
.intro:not(.text-in) [data-hero] { animation: show .6s 6.2s forwards; }

@keyframes show { to { opacity: 1; transform: none; } }
@keyframes hide { to { opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ================= Что делаем: одна сцена во весь экран =================
   Картинка стоит на месте (sticky), поверх прокручиваются этапы; main.js меняет картинку. */
.film { position: relative; background: var(--bg); }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #06070a; }
.film__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.07); transition: opacity 1.1s ease, transform 8s cubic-bezier(.2, .6, .2, 1);
}
.film__img.is-active { opacity: 1; transform: scale(1); }
/* сверху стык с первым экраном, снизу и слева тень под текст */
.film__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(11,12,14,0) 20%, rgba(11,12,14,0) 45%, rgba(11,12,14,.7) 80%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,12,14,.6) 0%, rgba(11,12,14,0) 62%);
}
.film__count { position: absolute; z-index: 1; right: var(--gutter); bottom: 26px; font-size: 0.875rem; color: var(--muted); letter-spacing: .04em; }
.film__count span { color: var(--accent); font-weight: 700; }
.film__steps { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; }
.film__intro { min-height: 72svh; display: flex; align-items: flex-end; padding-bottom: 6svh; }
.film__heading { font-size: clamp(3rem, 1.2rem + 7vw, 8rem); font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.film__step {
  min-height: 78svh; max-width: 42rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding-bottom: 16svh; transition: opacity .6s ease;
}
.js .film__step:not(.is-active) { opacity: .18; }
.film__title { font-size: clamp(2.125rem, 1rem + 3.8vw, 4.5rem); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.film__step p { max-width: 30rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.3125rem); color: #d6dae0; }

/* ================= Работы: фото от края до края ================= */
.wall { background: var(--bg); }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.works__item { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); cursor: zoom-in; }
.works__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .works__item:hover img { transform: scale(1.03); }
}
.works__item--big { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 4 / 3; }
.works__item--big::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0) 30%, rgba(11,12,14,.88) 100%), linear-gradient(90deg, rgba(11,12,14,.45) 0%, rgba(11,12,14,0) 70%);
}
.works__item--wide { grid-column: span 2; }
.works__title {
  grid-column: 1 / 3; grid-row: 1; align-self: end; z-index: 1; pointer-events: none;
  max-width: 15ch; padding: 0 var(--gutter) clamp(22px, 4vw, 52px);
  font-size: clamp(1.75rem, 1rem + 3vw, 3.75rem); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; text-wrap: balance;
}

/* ================= Финал: ночной цех, заявка и контакты =================
   Фото стоит на месте (sticky, как сцена «Что делаем»), содержимое прокручивается поверх.
   overflow: hidden здесь нельзя, он ломает sticky; от горизонтальной прокрутки защищает overflow-x: clip */
.finale { position: relative; isolation: isolate; overflow-x: clip; }
.finale__bg { position: sticky; top: 0; z-index: -1; height: 100vh; height: 100svh; overflow: hidden; background: #06070a; }
.finale__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.finale__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11,12,14,.45) 20%, rgba(11,12,14,.5) 60%, rgba(11,12,14,.82) 100%);
}
.finale__content { margin-top: -100vh; margin-top: -100svh; padding: clamp(120px, 15vw, 220px) 0 clamp(48px, 6vw, 80px); }
/* Почему мы: крупная фраза перед «Всегда на связи» */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.why-line { margin-bottom: clamp(140px, 18vw, 280px); }
.why-line__text {
  max-width: 21em; font: 500 clamp(1.75rem, 0.8rem + 3.3vw, 4rem)/1.16 var(--font-head);
  letter-spacing: -.025em; color: var(--text); text-wrap: pretty;
}
.why-line__text em { font-style: normal; color: var(--accent); }
.why-line__text .w { transition: opacity .4s ease; }
.why-line__text.is-split .w { opacity: .16; }
.why-line__text.is-split .w.is-lit { opacity: 1; }

/* Заявка по левому краю, как фраза выше и контакты ниже: один край на весь финал */
.finale__inner { display: grid; justify-items: start; gap: 18px; text-align: left; }
.finale__title { font-size: clamp(2rem, 1.1rem + 3.2vw, 4rem); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
.finale__lead { max-width: 34rem; font-size: 1.0625rem; line-height: 1.7; color: #c4c9d0; }
.finale a:not(.btn):not(.finale__phone) {
  color: var(--text); text-decoration: underline; text-decoration-color: rgba(240,169,59,.7); text-underline-offset: 3px; transition: color .2s;
}
.finale a:not(.btn):not(.finale__phone):hover { color: var(--accent); }

.form { width: 100%; max-width: 760px; display: grid; gap: 16px; margin-top: 14px; text-align: left; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* Компактная форма: отдельные мягкие поля, согласие и кнопка под ними. */
.form__line { display: grid; align-items: start; gap: 10px; }
.field { min-width: 0; display: grid; gap: 2px; padding: 10px 14px; cursor: text; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(11,12,14,.5); transition: background-color .2s, border-color .2s; }
.field label { font-size: 0.75rem; letter-spacing: .02em; color: #aab0b9; transition: color .2s; }
.field input { width: 100%; min-width: 0; height: 30px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; font-size: 1rem; outline: none; }
.field input::placeholder { color: var(--dim); }
.field:focus-within { background: rgba(229,182,110,.06); border-color: var(--accent); }
.field:focus-within label { color: var(--accent); }
.field.is-invalid { border-color: var(--danger); }
.field__error { font-size: 0.8125rem; line-height: 1.5; color: var(--danger); }
.field__error:empty { display: none; }
.field .field__error { padding-top: 4px; }
.form__actions { display: grid; align-items: center; gap: 16px; }
.form__send {
  min-height: 48px; padding: 0 28px; border: 1px solid var(--button-border); border-radius: var(--button-radius); background: var(--button-bg); color: var(--button-text);
  font-weight: 500; font-size: 1rem; cursor: pointer; transition: background-color .2s, border-color .2s, transform .16s var(--ease);
}
.form__send:hover { background: var(--button-hover); border-color: var(--accent); }
.form__send:active { transform: scale(.97); }
.form__send[disabled] { opacity: .6; cursor: progress; }
.form__privacy { margin: 6px 0 0 30px; font-size: 0.8125rem; line-height: 1.55; color: #b9bec6; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8125rem; line-height: 1.55; color: #b9bec6; cursor: pointer; }
.consent input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid rgba(255,255,255,.35); border-radius: 5px; background: rgba(11,12,14,.5); cursor: pointer; }
.consent input:checked { background: var(--accent); border-color: var(--accent); }
.consent input:checked::after { content: ""; display: block; width: 6px; height: 10px; margin: 2px 6px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.form__status { font-size: 0.9375rem; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: var(--danger); }

.finale__contacts { display: grid; gap: 24px; margin-top: clamp(72px, 9vw, 120px); }
.finale__phone {
  justify-self: start; padding: 8px 0;   /* зона нажатия не меньше 44 px и только по самому номеру */
  font: 500 clamp(1.625rem, 0.8rem + 4.4vw, 4.5rem)/1.1 var(--font-head); letter-spacing: -.025em; white-space: nowrap;
  color: var(--text); text-decoration: none; transition: color .2s;
}
.finale__phone:hover { color: var(--accent); }
.finale__info { min-width: 0; display: grid; gap: 22px; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.finale__info > div { min-width: 0; }
.finale__info dt { margin-bottom: 6px; font-size: 0.8125rem; color: var(--muted); }
.finale__info dd { margin: 0; }

/* Подвал */
.footer { padding: 26px 0 calc(26px + 76px); background: var(--bg); border-top: 1px solid var(--line); color: var(--dim); font-size: 0.8125rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer__inner img { height: 38px; width: auto; }
.footer__docs { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

/* Нижняя панель на телефоне */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.mobilebar .btn { min-height: 48px; padding: 0 12px; font-size: .9375rem; }
/* со скриптом панель спрятана, пока на экране кнопки первого экрана или форма (без скрипта видна всегда) */
.js .mobilebar:not(.is-shown) { transform: translateY(110%); }

/* Просмотр фото */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6,7,8,.96); color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox__count { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 0.8125rem; color: var(--muted); }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: rgba(11,12,14,.6); cursor: pointer;
}
.lightbox__btn svg { width: 22px; height: 22px; stroke-width: 2; }
.lightbox__btn:hover { border-color: var(--text); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Страницы документов (политика, согласие) */
.doc-header { border-bottom: 1px solid var(--line); }
.doc-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.doc-back { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.doc-back:hover { color: var(--text); }
.doc { max-width: calc(780px + 2 * var(--gutter)); padding-top: 56px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); margin: 16px 0 8px; }
.doc h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.doc p, .doc li { color: #c9ced6; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.doc b { color: var(--text); }
.doc__date { font-size: 0.875rem; color: var(--dim) !important; }
.doc-footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.8125rem; }

/* Телефон: компактные кнопки первого экрана друг под другом. */
@media (max-width: 639px) {
  .hero__cta { display: grid; width: 100%; max-width: 420px; gap: 10px; }
  .btn--xl { min-height: 52px; padding: 0 20px; font-size: 1rem; }
}

/* Телефон и планшет: ссылки подвала под палец, 44 px по высоте */
@media (max-width: 959px) {
  .footer__docs { gap: 0 20px; }
  .footer__docs a { display: inline-block; padding: 12px 0; }
}

/* Планшет */
@media (min-width: 640px) {
  .form__line { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form__actions { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
  .works { grid-template-columns: repeat(4, 1fr); }
  .works__item--big { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
  .works__item--wide { grid-column: span 2; }
  .works__title { grid-column: 1 / 3; grid-row: 1 / 3; }
  .finale__info { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}

/* Компьютер */
@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .nav, .header__actions { display: flex; }
  .burger, .menu { display: none !important; }
  .mobilebar { display: none; }
  .footer { padding-bottom: 26px; }
  .hero { padding-bottom: clamp(28px, 5vh, 64px); }
  .finale__info { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film__img { transform: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
