/* Dongfeng GX — ТехноТрейд. Токены совпадают с переменными Figma «ТехноТрейд / цвета». */
:root {
  --ink: #15171c;
  --ink-2: #23262e;
  --paper: #f4f2ee;
  --paper-2: #e9e5dd;
  --white: #fff;
  --red: #c8322b;
  --red-dark: #a5261f;
  --muted: #6b6f78;
  --muted-light: #a9adb5;
  --line: #dad6ce;
  --line-dark: #33363f;

  --wrap: 1280px;
  --gutter: clamp(20px, 5.5vw, 80px);
  --section: clamp(56px, 8vw, 112px);
  --h1: clamp(32px, 4vw, 54px);
  --h2: clamp(28px, 3.4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Golos Text", system-ui, sans-serif; font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 26px; border: 1.5px solid transparent; border-radius: 2px; font: 600 16px/1 inherit; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn::after { content: ""; width: 16px; height: 2px; background: currentColor; box-shadow: 0 0 0 0 currentColor; transition: transform .2s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--dark:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: 12px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.tag::before { content: ""; width: 4px; height: 18px; background: var(--red); }
.tag--light { color: var(--white); }

/* Шапка */
.header { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--white); transition: background .3s; }
.header.is-solid { background: rgba(21, 23, 28, .96); backdrop-filter: blur(8px); }
/* Пока шапка прозрачная, под ней затемнение — иначе меню и телефон теряются на светлом небе. */
.header::before { content: ""; position: absolute; inset: 0 0 -48px; z-index: -1; background: linear-gradient(rgba(21,23,28,.72), rgba(21,23,28,.35) 60%, rgba(21,23,28,0)); pointer-events: none; transition: opacity .3s; }
.header.is-solid::before { opacity: 0; }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 230px; height: auto; }
.footer__seller { display: block; width: 150px; margin-top: 22px; }
.footer__seller img { width: 100%; height: auto; }
.nav { display: flex; gap: 20px; }
@media (max-width: 1320px) { .nav a:nth-child(5) { display: none; } }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--red); }
.header__contacts { display: flex; align-items: center; gap: 16px; }
.phone { font-weight: 700; font-size: 18px; text-decoration: none; white-space: nowrap; }

/* Первый экран */
.hero { position: relative; min-height: min(860px, 100svh); display: flex; align-items: center; color: var(--white); background: var(--ink); overflow: hidden; }
.hero picture { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero picture { left: 26%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 26%, rgba(21,23,28,.55) 40%, rgba(21,23,28,0) 58%); }
.hero__content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 80px; }
.hero h1 { max-width: 560px; margin: 24px 0 22px; font-size: var(--h1); line-height: 1.1; font-weight: 700; }
.hero .lead { max-width: 440px; font-size: 19px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero__note { max-width: 440px; margin-top: 14px; padding-left: 14px; border-left: 3px solid var(--red); font-size: 16px; font-weight: 500; }

/* Моушн первого экрана: видео-цикл поверх фото, красные полосы, линии скорости, плашка платежа.
   Всё декоративное — aria-hidden; при prefers-reduced-motion остаётся статичное фото. */
.hero__video { position: absolute; inset: 0 0 0 26%; width: 74%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0; transition: opacity 1s ease; }
.hero__video.is-playing, .scene__video.is-playing { opacity: 1; }
.scene__video { opacity: 0; transition: opacity 1s ease; }
.hero__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__stripe { position: absolute; right: -6%; bottom: -18%; width: 34%; height: 46%; background: var(--red); transform: skewX(-32deg) translateX(120%); animation: stripe-in 1.1s var(--ease) .35s forwards; }
.hero__stripe--2 { right: 18%; bottom: -30%; width: 6%; height: 38%; opacity: .85; animation-delay: .55s; }
.hero__lines { position: absolute; left: 0; right: 0; bottom: 14%; height: 22%; }
.hero__lines i { position: absolute; left: 0; width: 220px; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55)); transform: translateX(-260px); animation: speed-line 2.4s linear infinite; }
.hero__lines i:nth-child(1) { top: 8%; animation-delay: .2s; }
.hero__lines i:nth-child(2) { top: 34%; width: 140px; animation-delay: 1.1s; animation-duration: 1.9s; }
.hero__lines i:nth-child(3) { top: 52%; width: 280px; background: linear-gradient(90deg, transparent, var(--red)); animation-delay: .6s; animation-duration: 2.8s; }
.hero__lines i:nth-child(4) { top: 71%; width: 180px; animation-delay: 1.7s; }
.hero__lines i:nth-child(5) { top: 90%; width: 120px; animation-delay: .9s; animation-duration: 2.1s; }
.hero__content > * { opacity: 0; animation: rise .9s var(--ease) forwards; }
.hero__content > :nth-child(1) { animation-delay: .15s; }
.hero__content > :nth-child(2) { animation-delay: .3s; }
.hero__content > :nth-child(3) { animation-delay: .45s; }
.hero__content > :nth-child(4) { animation-delay: .6s; }
.hero__badge { position: absolute; z-index: 2; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 72px; display: grid; gap: 4px; min-width: 280px; padding: 18px 22px 20px; background: rgba(21, 23, 28, .88); border-top: 4px solid var(--red); color: var(--white); text-decoration: none; opacity: 0; animation: rise .9s var(--ease) .9s forwards; transition: transform .25s var(--ease); }
.hero__badge:hover { transform: translateY(-3px); }
.hero__badge:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.hero__badge-label, .hero__badge-note { font-size: 13px; color: var(--muted-light); }
.hero__badge-sum { font-size: 30px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.hero__badge-sum b { color: var(--red); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes stripe-in { to { transform: skewX(-32deg) translateX(0); } }
@keyframes speed-line { to { transform: translateX(calc(100vw + 260px)); } }
@media (prefers-reduced-motion: reduce) {
  .hero__video, .scene__video, .hero__lines { display: none; }
  .hero__stripe { transform: skewX(-32deg); }
  .hero__content > *, .hero__badge, .hero__stripe { animation: none; opacity: 1; }
}

/* Секции */
.section { padding: var(--section) 0; background: var(--white); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.head h2 { max-width: 760px; margin-top: 18px; font-size: var(--h2); line-height: 1.15; font-weight: 700; }
.head__lead { max-width: 420px; font-size: 17px; color: var(--muted); }
.section--ink .head__lead { color: var(--muted-light); }
.note { margin-top: 32px; font-size: 13px; color: var(--muted); }

/* Модели */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.model { background: var(--white); border-top: 5px solid var(--red); transition: transform .3s var(--ease), box-shadow .3s; }
.model:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(21,23,28,.35); }
.model__media { aspect-ratio: 620 / 360; display: grid; place-items: center; background: linear-gradient(180deg, #b3b8bf 0%, #858a94 100%); overflow: hidden; }
.model__media img { width: 76%; filter: drop-shadow(0 18px 18px rgba(0,0,0,.35)); }
.model__info { padding: 32px 40px 36px; }
.model h3 { font-size: 40px; line-height: 1.15; font-weight: 700; }
.model h3 small { margin-left: 12px; font-size: 16px; font-weight: 500; color: var(--muted); }
.model .muted { margin-top: 8px; }
.specs { margin: 20px 0 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; text-align: right; }
.model__price { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.model__price strong { display: block; font-size: 30px; line-height: 1.2; color: var(--red); }
.model__price .muted { display: block; margin: 4px 0 0; font-size: 14px; }
.model__cta { margin-top: 20px; }
.model__label { display: inline-block; margin-bottom: 6px; padding: 3px 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--red); }

/* Сцена 6×4 */
/* Композиция 2:1 как на макете 1440. Сцена не выше экрана под шапкой: на низких экранах фото обрезается сверху
   (по небу), низ с колёсами остаётся. Размеры плашки — в cqw, от ширины сцены. */
.scene { position: relative; background: var(--ink); overflow: hidden; }
.scene__stage { position: relative; height: min(50vw, 100svh - 80px); container-type: size; }
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 100%; }
/* min(…cqw, …cqh): на низкой сцене над тягачом меньше места, плашка уменьшается вместе с ним. */
.panel { position: absolute; top: min(2.2cqw, 4.4cqh); right: 6.8cqw; width: min(30.5cqw, 61cqh); padding: min(2.2cqw, 4.4cqh) min(2.8cqw, 5.6cqh); background: rgba(21,23,28,.92); color: var(--white); border-top: 5px solid var(--red); }
.panel h2 { font-size: clamp(18px, min(2.36cqw, 4.72cqh), 36px); line-height: 1.2; font-weight: 700; }
.panel p { margin: min(1.4cqw, 2.8cqh) 0 min(1.9cqw, 3.8cqh); font-size: clamp(13px, min(1.11cqw, 2.22cqh), 17px); color: var(--muted-light); }
.panel .btn { padding: clamp(10px, 1.2cqw, 18px) clamp(16px, 1.8cqw, 26px); font-size: clamp(13px, 1.11cqw, 16px); }

/* Условия */
.conditions { display: grid; grid-template-columns: repeat(3, 1fr); }
.condition { padding: 36px; border-left: 1px solid var(--line); }
.condition::before { content: ""; display: block; width: 48px; height: 4px; margin-bottom: 20px; background: var(--red); }
.condition h3 { font-size: 26px; line-height: 1.25; margin-bottom: 14px; }
.condition p { color: var(--muted); }

/* Калькулятор */
.calc { display: grid; grid-template-columns: 1fr 480px; }
.calc__inputs { display: flex; flex-direction: column; gap: 36px; padding: 44px; background: var(--ink-2); }
.seg { display: inline-flex; align-self: flex-start; }
.seg__btn { padding: 12px 28px; border: 1px solid var(--line-dark); background: none; color: var(--white); font: 600 15px inherit; cursor: pointer; }
.seg__btn.is-active { background: var(--red); border-color: var(--red); }
.seg__btn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.slider { display: flex; flex-direction: column; gap: 14px; }
.slider__top { display: flex; justify-content: space-between; align-items: center; color: var(--muted-light); }
.slider__top b { color: var(--white); font-weight: 600; }
.slider output { color: var(--white); font-size: 24px; font-weight: 700; }
.slider__minmax { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 16px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--red) var(--fill, 0%), var(--line-dark) var(--fill, 0%)); }
input[type=range]::-moz-range-track { height: 2px; background: var(--line-dark); }
input[type=range]::-moz-range-progress { height: 2px; background: var(--red); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; background: var(--red); border: 0; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; background: var(--red); border: 0; border-radius: 0; }
input[type=range]:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.calc__result { display: flex; flex-direction: column; gap: 14px; padding: 44px; background: var(--red); }
.calc__payment { font-size: 56px; line-height: 1.1; font-weight: 700; }
.calc__result dl { margin: 6px 0 auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.3); }
.calc__result dl div { display: flex; justify-content: space-between; padding: 6px 0; }
.calc__result dd { margin: 0; font-weight: 700; }
.calc__note { font-size: 13px; opacity: .9; }

/* Покупатели */
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.logo-slot { display: grid; place-items: center; height: 120px; background: var(--white); border: 1px dashed var(--line); color: var(--muted-light); font-weight: 500; }

/* Почему Dongfeng GX: награда и факты с источниками */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why__item { display: flex; flex-direction: column; gap: 10px; padding: 32px; background: var(--white); border-top: 4px solid var(--red); }
.why__item--award { flex-direction: row; align-items: center; gap: 20px; }
.why__trophy { flex: 0 0 auto; width: 132px; height: auto; }
.why__big { font-size: 22px; font-weight: 700; line-height: 1.2; }
.why__item p:not(.why__big) { color: var(--muted); }
.why__src { margin-top: auto; font-size: 13px; color: var(--muted); }
/* Ограниченное предложение */
.urgency { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 24px; padding: 14px 18px; background: var(--ink); color: var(--white); font-weight: 500; }
.urgency a { color: var(--white); font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--red); }
.urgency__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(200, 50, 43, .6); animation: pulse 1.6s infinite; }
.hero__badge-hot { justify-self: start; margin-top: 2px; padding: 2px 8px; background: var(--red); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200, 50, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 50, 43, 0); } }
@media (prefers-reduced-motion: reduce) { .urgency__dot { animation: none; } }

.clients { margin-top: 40px; }
.clients__title { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 140px; padding: 20px; background: var(--white); text-decoration: none; color: var(--muted); font-size: 13px; text-align: center; transition: transform .2s var(--ease), box-shadow .2s; }
.client:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21, 23, 28, .08); }
.client img { max-width: 170px; max-height: 52px; width: auto; height: auto; }
.client__src { font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.client:hover .client__src { color: var(--red); border-color: var(--red); }
.section__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }
.why__brands { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; padding: 6px 0 4px; }
.why__brands img { height: 34px; width: auto; }
.why__brands img[alt="Cummins"], .why__brands img[alt="ZF"] { height: 46px; }
.why__src:hover { color: var(--red); }

/* Карточка модели: выгода для парка */
.model__fleet { margin-top: 14px; padding: 10px 14px; background: var(--paper); border-left: 3px solid var(--red); font-size: 14px; font-weight: 500; }

/* Шапка: кнопка звонка (только телефон) */
.header__call { display: none; place-items: center; width: 44px; height: 44px; color: var(--white); background: var(--red); text-decoration: none; }
.header__call:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.show-mobile { display: none; }

/* Нижняя панель «Позвонить / Заявка» на телефоне */
.callbar { display: none; }

/* Форма: подсказки */
.form__optional { font-weight: 400; color: var(--muted); }
.form__call { margin-top: 2px; font-size: 14px; color: var(--muted); }
.form__call a { color: var(--ink); font-weight: 700; }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.svc { background: var(--paper); overflow: hidden; }
.svc img { width: 100%; aspect-ratio: 400 / 240; object-fit: cover; border-bottom: 4px solid var(--red); transition: transform .5s var(--ease); }
.svc:hover img { transform: scale(1.04); }
.svc__body { padding: 28px 32px 32px; }
.svc h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 15px; }

/* Этапы */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; background: var(--ink-2); font-weight: 700; font-size: 18px; box-shadow: 60px 21px 0 -21px rgba(255,255,255,.2); }
.steps li:first-child::before { background: var(--red); }
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { color: var(--muted-light); font-size: 15px; }

/* Вопросы */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "—"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Заявка */
.cta { position: relative; padding: 96px 0; background: var(--ink); color: var(--white); overflow: hidden; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(21,23,28,.75) 0%, rgba(21,23,28,.1) 40%, rgba(21,23,28,.6) 62%, rgba(21,23,28,.9) 80%); }
.cta__wrap { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.cta__text h2 { max-width: 560px; margin-top: 18px; font-size: 44px; line-height: 1.18; }
.form { width: min(480px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 40px; background: var(--white); color: var(--ink); border-top: 5px solid var(--red); }
.form h3 { font-size: 26px; margin-bottom: 4px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.form input, .form select { padding: 15px 16px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); font: 16px inherit; color: var(--ink); }
.form input:focus, .form select:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.form input[aria-invalid=true] { border-color: var(--red); }
.form__note { font-size: 12px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { font-size: 15px; font-weight: 600; }
.form__status.is-ok { color: #1f7a3d; }
.form__status.is-err { color: var(--red); }

/* Подвал */
.footer { padding: 64px 0 40px; background: var(--ink); color: var(--white); }
.footer__row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand p { max-width: 320px; margin-top: 14px; font-size: 14px; color: var(--muted-light); }
.footer h4 { margin-bottom: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.footer__row > div:not(.footer__brand) a { display: block; margin-bottom: 10px; text-decoration: none; font-weight: 500; }
.footer__row a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.footer__legal { padding-top: 24px; font-size: 13px; color: var(--muted); }

/* Планшет и телефон */
@media (max-width: 1100px) {
  .nav { display: none; }
  .cards, .services { grid-template-columns: 1fr 1fr; gap: 24px; }
  .calc { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}
/* Планшет: две карточки моделей в ряд не помещают характеристики и цену — ставим по одной. */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .condition { min-width: 0; padding: 24px 20px 28px; }
}
@media (max-width: 767px) {
  .header__row { height: 64px; }
  .brand img { width: 170px; }
  .header__contacts .btn, .phone { display: none; }
  .hero { min-height: auto; flex-direction: column; align-items: stretch; }
  .hero picture { position: relative; left: 0; height: 260px; }
  .hero__video { inset: 0 0 auto; width: 100%; height: 260px; }
  .hero__fx { bottom: auto; height: 260px; }
  .hero__stripe { width: 40%; height: 34%; bottom: -10%; }
  .hero__stripe--2 { width: 7%; height: 30%; right: 30%; bottom: -14%; }
  .hero__badge { position: relative; right: auto; bottom: auto; min-width: 0; margin: 0 var(--gutter) 40px; }
  .hero__badge-sum { font-size: 26px; }
  .hero::before { display: none; }
  .hero__content { padding-top: 28px; padding-bottom: 44px; }
  .hero h1 { margin: 18px 0; }
  .hero .lead { font-size: 16px; color: var(--muted-light); }
  .actions .btn { width: 100%; }
  .head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .cards, .services, .conditions, .logos, .faq { grid-template-columns: 1fr; }
  .model__info { padding: 22px 20px 24px; }
  .model h3 { font-size: 28px; }
  .model__price { flex-direction: column; align-items: stretch; }
  .model__price strong { font-size: 24px; }
  .scene__stage { height: auto; container-type: normal; }
  .scene__img { position: relative; height: 230px; }
  .scene__video { position: absolute; top: 0; left: 0; }
  .panel { position: static; width: 100%; padding: 28px 20px 44px; }
  .panel h2 { font-size: 26px; }
  .panel p { margin: 16px 0 24px; font-size: 15px; }
  .condition { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .condition h3 { font-size: 20px; }
  .calc__inputs, .calc__result { padding: 22px 18px; }
  .calc__payment { font-size: 38px; }
  .slider output { font-size: 17px; }
  .logos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .logo-slot { height: 80px; font-size: 13px; }
  .why { grid-template-columns: 1fr; gap: 14px; }
  .clients__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .client { min-height: 110px; padding: 14px 10px; font-size: 12px; }
  .client img { max-width: 130px; max-height: 40px; }
  .why__item { padding: 22px 20px; }
  .why__trophy { width: 96px; }
  .header__call { display: grid; }
  .hide-mobile { display: none; }
  .show-mobile { display: inline-flex; }
  .callbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(21, 23, 28, .96); transform: translateY(110%); transition: transform .3s var(--ease); }
  .callbar.is-visible { transform: none; }
  .callbar__btn { display: grid; place-items: center; min-height: 52px; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .5); font-weight: 600; text-decoration: none; }
  .callbar__btn--call { background: var(--red); border-color: var(--red); }
  body.has-callbar { padding-bottom: 72px; }
  .services { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .svc { flex: 0 0 280px; scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
  .steps li::before { width: 36px; height: 36px; margin: 0; grid-row: span 2; box-shadow: none; }
  .faq summary { font-size: 16px; }
  .cta { padding: 0 0 48px; }
  .cta__img { position: relative; height: 230px; }
  .cta::before { display: none; }
  .cta__wrap { flex-direction: column; padding-top: 28px; }
  .cta__text h2 { font-size: 26px; }
  .form { padding: 22px 18px; }
  .footer__row { flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Ненавязчивое окно (A/B-тест 3): карточка в углу на компьютере, полоса над нижней панелью на телефоне */
.nudge { position: fixed; z-index: 25; right: 24px; bottom: 24px; width: min(360px, calc(100vw - 32px)); padding: 22px 22px 20px; background: var(--ink); color: var(--white); border-top: 4px solid var(--red); box-shadow: 0 18px 50px rgba(0,0,0,.35); transform: translateY(24px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.nudge.is-open { transform: none; opacity: 1; }
.nudge[hidden] { display: none; }
.nudge__close { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; border: 0; background: none; color: var(--muted-light); font-size: 26px; line-height: 1; cursor: pointer; }
.nudge__close:hover { color: var(--white); }
.nudge__tag { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted-light); text-transform: uppercase; letter-spacing: .04em; }
.nudge__title { margin: 0 0 8px; padding-right: 24px; font-size: 21px; font-weight: 700; line-height: 1.2; }
.nudge__text { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: var(--muted-light); }
.nudge__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nudge__actions .btn { padding: 14px 20px; }
.nudge__call { color: var(--white); font-size: 15px; }
@media (max-width: 767px) {
  .nudge { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 18px 18px 16px; }
  .nudge__title { font-size: 18px; }
  .nudge__text { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nudge { transition: none; } }
