/* Таврида — лендинг квадроциклов. Размеры — из макета Figma (кадр 1920 px; на экранах уже 1920 страница
   уменьшается целиком, как в прототипе, — см. main.js). Контент: полоса 1440 px (.wrap), на 1920 её левый край = 240. */

/* ---------- Шрифты ---------- */
@font-face { font-family: 'Commissioner'; font-weight: 300; font-display: swap; src: url('../fonts/commissioner-cyrillic-300-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: 'Commissioner'; font-weight: 400; font-display: swap; src: url('../fonts/commissioner-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: 'Commissioner'; font-weight: 500; font-display: swap; src: url('../fonts/commissioner-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: 'Commissioner'; font-weight: 600; font-display: swap; src: url('../fonts/commissioner-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: 'Commissioner'; font-weight: 700; font-display: swap; src: url('../fonts/commissioner-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: 'Commissioner'; font-weight: 300; font-display: swap; src: url('../fonts/commissioner-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: 'Commissioner'; font-weight: 400; font-display: swap; src: url('../fonts/commissioner-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: 'Commissioner'; font-weight: 500; font-display: swap; src: url('../fonts/commissioner-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: 'Commissioner'; font-weight: 600; font-display: swap; src: url('../fonts/commissioner-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: 'Commissioner'; font-weight: 700; font-display: swap; src: url('../fonts/commissioner-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }

/* ---------- Основа ---------- */
:root {
    --red: #db0000;
    --red-hover: #b80000;
    --accent: #f72d31;
    --text: #3b3b3b;
    --muted: #777;
    --font: 'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 83px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
@media (min-width: 1024px) { body { min-width: 1920px; } }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.m-br, .m-only, .review__m { display: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { position: relative; width: 1440px; margin: 0 auto; }
.title { font-size: 38px; line-height: 47px; font-weight: 500; }
.btn-red { display: inline-flex; align-items: center; justify-content: center; border-radius: 89px; background: var(--red); color: #fff; font-weight: 700; white-space: nowrap; transition: background-color .2s; }
.btn-red:hover { background: var(--red-hover); }

/* Стрелки, точки, кнопка «смотреть» */
.arrow { flex: none; width: 34px; height: 204px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 30'%3E%3Cpath d='M2 2l12 13L2 28' fill='none' stroke='%23a3a3a3' stroke-width='2.5'/%3E%3C/svg%3E") center / 16px 30px no-repeat; }
.arrow--prev { transform: scaleX(-1); }
.arrow--short { height: 59px; }
.arrow:disabled { opacity: .3; cursor: default; }
.dots { display: flex; gap: 21.4px; justify-content: center; }
.dots button { width: 20px; height: 20px; border-radius: 50%; background: #d9d9d9; }
.dots .is-on { background: var(--red); }
.play { display: block; border-radius: 50%; opacity: .78; background: #fefefe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 88'%3E%3Cpath d='M0 0v88l76-44z' fill='%23d9d9d9'/%3E%3C/svg%3E") 55% center / 55% no-repeat; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); transition: opacity .2s, transform .2s; }
.play:hover { opacity: 1; transform: scale(1.05); }
.testimonial__media, .review__media, .who__video { cursor: pointer; }
.testimonial__media:hover .play, .review__media:hover .play, .who__video:hover .play { opacity: 1; transform: scale(1.05); }
.play--57 { width: 57px; height: 57px; opacity: .72; }
.play--97 { width: 97px; height: 97px; }
.play--138 { width: 138px; height: 138px; }

/* ---------- Шапка (1920 × 83, контейнер 1430) ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 20; color: #fff; background: rgba(0, 0, 0, .68); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.header__inner { display: flex; align-items: center; width: 1430px; height: 83px; margin: 0 auto; }
.header__logo { flex: none; width: 306px; }
.city { position: relative; margin-left: 103px; }
.city__current { display: flex; align-items: center; gap: 17px; font-size: 25px; line-height: 31px; }
.city__arrow { width: 15px; transition: transform .2s; }
.city__current[aria-expanded='true'] .city__arrow { transform: rotate(180deg); }
.city__list { position: absolute; top: calc(100% + 18px); left: -16px; min-width: 260px; padding: 8px 0; border-radius: 12px; background: rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.city__list[hidden] { display: none; }
.city__list a { display: block; padding: 10px 16px; font-size: 20px; line-height: 26px; }
.city__list a:hover, .city__list a[aria-current='true'] { color: var(--red); }
.header__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; margin-left: auto; }
.header__phone { font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.header__phone span { color: #cbcbcb; }
.header__hours { font-size: 18px; line-height: 22px; font-weight: 500; text-transform: uppercase; }
.header__callback { width: 264px; height: 44px; margin-left: 33px; font-size: 21px; line-height: 26px; }
.header__salon { display: none; }

/* ---------- Первый экран (1920 × 710) ---------- */
.hero { position: relative; height: 710px; overflow: hidden; color: #fff; background: #2b2b2b; }
.hero__bg { position: absolute; left: calc(50% - 981.4px); top: -215px; width: 1974px; height: 987px; max-width: none; object-fit: cover; }
.hero__strip, .hero__consult, .hero__shade, .hero__title-m, .hero__route-m { display: none; }
.hero__inner { position: relative; width: 1430px; height: 100%; margin: 0 auto; }
.hero__inner > * { position: absolute; }
.hero__eyebrow { left: 15px; top: 138px; font-size: 16px; line-height: 20px; font-weight: 300; letter-spacing: .35em; text-transform: uppercase; }
.hero__eyebrow::after { content: ''; position: absolute; left: 0; top: 36px; width: 73px; height: 3px; background: var(--accent); }
.hero__title { left: -12.5px; top: 187.3px; width: 668.5px; height: 154.4px; }
.hero__title img { position: absolute; max-width: none; }
.hero__title-main { left: 1.62%; top: 0; width: 98.38%; }
.hero__title-lines { left: 1.96%; top: 1.49%; width: 97.56%; }
.hero__title-accent { left: 0; top: 41.9%; width: 99.31%; }
.hero__coords { display: flex; flex-direction: column; padding-left: 40px; font-size: 21px; line-height: 25px; color: var(--accent); }
.hero__coords::before { content: ''; position: absolute; left: 0; top: 7px; width: 35px; height: 35px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-18 -18 36 36'%3E%3Cpath d='M0-17.5 3.5-3.5 17.5 0 3.5 3.5 0 17.5-3.5 3.5-17.5 0-3.5-3.5Z' fill='%23f72d31'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero__coords::after { content: ''; position: absolute; left: 17px; top: 51px; width: 1px; height: 108px; background: var(--accent); }
.hero__coords--top { left: 703px; top: 110px; }
.hero__coords--bottom { left: 698px; top: 564px; }
.hero__route { left: -18px; top: 373px; width: 125px; height: 330px; z-index: 1; pointer-events: none; }

/* Форма: панель — параллелограмм из макета (верх 0…470, низ 94…564), поле и кнопка — скошенные скруглённые фигуры (векторы Figma). */
.hero-form { left: -5px; top: 411px; width: 564.17px; height: 253.27px; padding: 30px 0 0 88.6px; background: url('../img/form/panel-sfa.png') 0 0 / 100% 100% no-repeat; }
/* Панель — готовая картинка (tools/bake-panel.cjs): форма вектора 134:184, под ней размытое фото и заливка #161616 54%, как в макете. */
.hero-form__eyebrow { font-size: 19px; line-height: 23px; letter-spacing: .17em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.hero-form__text { max-width: 300px; margin-top: 7px; font-size: 16px; line-height: 16px; color: rgba(255, 255, 255, .78); }
.hero-form__input { display: block; width: 381.55px; height: 46.55px; margin-top: 15px; padding: 0 20px 6px 36.3px; border: 0; border-radius: 0; background: url('../img/form/field.svg') 0 0 / 100% 100% no-repeat; color: #fff; font-size: 21px; line-height: 25px; outline: none; }
.hero-form__input::placeholder { color: #fff; opacity: 1; }
.hero-form__input:focus { background-image: url('../img/form/field-focus.svg'); }
.hero-form__input[aria-invalid='true'] { background-image: url('../img/form/field-error.svg'); }
.hero-form__submit { display: flex; align-items: center; justify-content: space-between; width: 381.55px; height: 46.55px; margin: 11.6px 0 0 20.8px; padding: 0 51px 0 51.2px; background: url('../img/form/button.svg') 0 0 / 100% 100% no-repeat; color: #fff; font-size: 21px; line-height: 25px; font-weight: 700; } /* кнопка — картинка из вектора 134:186, текст поверх */
.hero-form__submit:hover { background-image: url('../img/form/button-hover.svg'); }
.hero-form__submit:focus-visible { outline: 0; background-image: url('../img/form/button-hover.svg'); }
/* Согласие (в макете его нет — добавлено по требованию, в свободное место панели под кнопкой) */
.hero-form .consent--hero { margin: 7px 0 0 29.4px; }
.hero-form .consent--hero .consent__text { width: 400px; color: rgba(255, 255, 255, .78); }
.hero-form .form-error { position: absolute; left: 109.4px; top: -26px; }

.hero__cards { left: 972px; top: 541px; display: flex; gap: 17px; }
.hero__address, .hero__2gis { height: 102px; border-radius: 16px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__address { width: 297px; padding: 11px 8px 11px 18px; background: rgba(255, 255, 255, .55); color: #000; }
.hero__address-title { font-size: 22px; line-height: 27px; font-weight: 700; }
.hero__address-text { width: 260.1px; margin-top: 3px; font-size: 20.55px; line-height: 25.13px; font-weight: 300; }
.hero__2gis { display: grid; grid-template-columns: 31px auto; column-gap: 10px; align-content: start; width: 148px; padding: 13px 16px 0 20px; background: rgba(0, 0, 0, .55); }
.hero__2gis img { width: 31px; height: 31.4px; border-radius: 6px; }
.hero__2gis-name { font-size: 26px; line-height: 32px; font-weight: 700; }
.hero__2gis-note { grid-column: 1 / -1; margin: 3px 0 0 18px; font-size: 12px; line-height: 14px; font-weight: 300; text-transform: uppercase; }
.hero__stars { grid-column: 1 / -1; margin: 5px 0 0 -1px; font-size: 22px; line-height: 22px; letter-spacing: 1px; color: #fc0; }

/* ---------- Модели (288) ---------- */
.models { height: 288px; padding-top: 37px; background: #f6f6f6; }
.models__list { display: flex; gap: 19px; padding-left: 1px; }
.model { position: relative; flex: none; width: 467px; height: 214px; overflow: hidden; background: #696969; color: #fff; }
.model::after { content: ''; position: absolute; left: 0; right: 0; top: 100px; height: 123px; background: linear-gradient(rgba(0, 0, 0, 0), #000); }
.model__img { position: absolute; max-width: none; object-fit: fill; }
.model--1 .model__img { left: -17.4px; top: -80.9px; width: 523.9px; height: 294.9px; }
.model--2 .model__img { left: -56.5px; top: -121.5px; width: 680.8px; height: 358.3px; filter: brightness(1.06) contrast(1.14); }
.model--3 .model__img { left: 0; top: -115.5px; width: 537.4px; height: 336.2px; }
.model__type, .model__name { position: absolute; left: 18px; z-index: 1; }
.model__type { top: 147px; font-size: 16px; line-height: 20px; }
.model__name { top: 166px; font-size: 29px; line-height: 35px; font-weight: 500; }
.model__name::after { content: ''; position: absolute; left: 342px; top: 11px; width: 8px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1 1l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat; }

/* ---------- Товар (594) ---------- */
.product { height: 594px; padding-top: 64px; }
.product__grid { display: flex; gap: 104px; padding-left: 1px; }
.product__media { width: 493px; }
.product__brand { font-size: 21px; line-height: 26px; text-transform: uppercase; }
.product__name { margin-top: -1px; font-size: 38px; line-height: 47px; font-weight: 500; }
.product__pic { position: relative; width: 493px; height: 279px; margin-top: 29px; overflow: hidden; background: #a7a7a7; }
.product__pic img { position: absolute; left: -4px; top: -6px; width: 515px; height: 290px; max-width: none; object-fit: cover; cursor: pointer; touch-action: pan-y; user-select: none; }
.product__pic .product__fade { pointer-events: none; transition: opacity .3s; }
.product__thumbs { display: flex; gap: 19px; width: 493px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.product__thumbs::-webkit-scrollbar { display: none; }
.product__thumb { position: relative; flex: none; width: 109px; height: 69px; overflow: hidden; background: #a7a7a7; }
.product__thumb.is-active::before { content: ''; position: absolute; inset: 0; z-index: 1; border: 2px solid var(--red); pointer-events: none; }
.product__thumb img { position: absolute; left: -21px; top: -8px; width: 150px; height: 84px; max-width: none; object-fit: cover; }
.product__thumb--first img { left: -15px; top: -5px; width: 139px; height: 78px; }
.product__info { display: flex; flex-direction: column; width: 840px; height: 444px; margin-top: 22px; }
.product__colors { display: flex; align-items: center; gap: 15px; align-self: flex-end; margin-right: -3px; font-size: 21px; line-height: 26px; }
.product__colors span { margin-right: 7px; }
.product__color { width: 39px; height: 39px; background: var(--c); border: .8px solid transparent; }
.product__color:first-of-type { border-color: #d9d9d9; }
.product__color[aria-checked='true'] { outline: 2px solid var(--text); outline-offset: 2px; }
.product__price { display: flex; align-items: baseline; gap: 13px; align-self: flex-end; margin: 39px -3px 0 0; font-size: 24px; line-height: 29px; color: #414141; }
.product__price b { font-size: 38px; line-height: 47px; font-weight: 500; }
.product__text { margin-top: 63px; font-size: 21px; line-height: 26px; }
.product__specs { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 36px; padding: 0 16px 0 15px; background: #e4e4e4; font-size: 21px; line-height: 26px; font-weight: 600; }
.product__specs svg { width: 9px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
/* Характеристики: кнопка в карточке товара открывает панель справа (.drawer); строки таблицы — по макету 174:5993 */
.specs { margin-top: auto; }
.specs__panel[hidden] { display: none; }
.drawer { position: fixed; inset: 0 0 0 auto; width: calc(30vw / var(--bz, 1)); max-width: none; height: calc(100vh / var(--bz, 1)); height: calc(100dvh / var(--bz, 1)); max-height: none; margin: 0; padding: 56px 32px 40px; border: 0; overflow-y: auto; background: #f5f5f5; color: var(--text); box-shadow: -12px 0 40px rgba(0, 0, 0, .25); }
.drawer::backdrop { background: rgba(0, 0, 0, .5); }
.drawer[open] { animation: drawer-in .3s ease-out; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .drawer[open] { animation: none; } }
.drawer__close { position: absolute; right: 24px; top: 22px; width: 26.3px; height: 26.3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26.3 26.3'%3E%3Cpath d='M0 0l26.3 26.3M26.3 0L0 26.3' stroke='%233b3b3b' stroke-width='2'/%3E%3C/svg%3E") center / 100% no-repeat; }
.drawer__close:hover { opacity: .7; }
.drawer__eyebrow { font-size: 16px; line-height: 20px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.drawer__title { margin-top: 6px; font-size: 32px; line-height: 38px; font-weight: 500; }
.drawer__body { margin-top: 28px; padding-top: 24px; border-top: 3px solid var(--red); font-size: 19px; line-height: 24px; }
.specs__group { font-weight: 600; }
.specs__list { margin: 13.2px 0 0; }
.specs__row { display: flex; align-items: baseline; gap: 12px; }
.specs__row + .specs__row { margin-top: 9.4px; }
.specs__row::after { content: ''; order: 1; flex: 1 1 0; min-width: 20px; border-bottom: 1px dotted #a3a3a3; }
.specs__row dd { order: 2; max-width: 60%; margin: 0; text-align: right; }
.drawer .specs__group { font-size: 21px; line-height: 26px; }
.drawer .specs__list { margin-top: 8px; }
.drawer .specs__row { display: block; padding: 12px 0 13px; border-bottom: 1px solid #dcdcdc; }
.drawer .specs__row + .specs__row { margin-top: 0; }
.drawer .specs__row::after { content: none; }
.drawer .specs__row dt { font-size: 15px; line-height: 19px; color: var(--muted); }
.drawer .specs__row dd { max-width: none; margin-top: 3px; text-align: left; }
.drawer__title:focus { outline: 0; }

/* ---------- Преимущества (184) ---------- */
.features { height: 184px; padding-top: 13px; }
.features__list { display: flex; gap: 26px; }
.feature { display: flex; flex-direction: column; align-items: center; width: 157px; height: 157px; padding-top: 25px; background: #2d2d2d; color: #fff; text-align: center; }
.feature img { width: 52px; height: 52px; }
.feature b { margin-top: 6px; font-size: 19px; line-height: 23px; font-weight: 600; }
.feature--wrap b { line-height: 19px; }
.feature span { margin-top: 6px; font-size: 15px; line-height: 18px; font-weight: 300; }

/* ---------- Полоса-форма (204) ---------- */
.leadbar { height: 204px; padding-top: 24px; }
.leadbar__box { display: flex; width: 1439px; height: 155px; overflow: hidden; background: #3b3b3b; color: #fff; }
.leadbar__pic { position: relative; flex: none; width: 549px; overflow: hidden; background: #c5c5c5; }
.leadbar__pic img { position: absolute; left: -100px; top: -138px; width: 649px; height: 341px; max-width: none; object-fit: cover; }
.leadbar__form { padding: 35px 0 0 30px; }
.leadbar__row { display: flex; gap: 32px; }
.leadbar__input { width: 379px; height: 51px; padding: 0 17px; border: 0; border-radius: 60px; background: #bfbfbf; color: #fff; font-size: 21px; line-height: 25px; outline: none; }
.leadbar__input::placeholder { color: #fff; opacity: 1; }
.leadbar__input[aria-invalid='true'] { box-shadow: 0 0 0 2px var(--accent); }
.leadbar__submit { width: 418px; height: 51px; padding: 0 30px; border-radius: 60px; background: var(--red); color: #fff; font-size: 21px; line-height: 25px; font-weight: 700; text-align: left; white-space: nowrap; letter-spacing: -.01em; }
.leadbar__submit:hover { background: var(--red-hover); }
.consent { position: relative; display: flex; gap: 11.2px; margin-top: 19px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 23px; height: 22.23px; margin: 0; }
.consent__box { flex: none; width: 23px; height: 22.23px; outline: .97px solid #fefefe; outline-offset: -.485px; background: none 0 0 / 100% 100% no-repeat; } /* рамка по центру контура, как stroke CENTER в Figma */
/* Галочки — векторы макета (83:747 для 23 × 22.23, 98:3772 для 18.73 × 17.36), viewBox = размер квадрата, без растяжения */
.consent input:checked + .consent__box { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 22.23'%3E%3Cpath d='M2.54 10.77 8.68 19.12 20.46 3.11' fill='none' stroke='%23fff' stroke-width='.97'/%3E%3C/svg%3E"); }
.consent--modal input:checked + .consent__box { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18.73 17.36'%3E%3Cpath d='M0 8.41 5.01 14.93 14.6 2.43' fill='none' stroke='%23fff' stroke-width='.97'/%3E%3C/svg%3E"); }
.consent input:focus-visible + .consent__box { box-shadow: 0 0 0 3px var(--red); }
.consent__text { width: 724.9px; font-size: 10.69px; line-height: 11.5px; text-transform: uppercase; color: #fefefe; }

/* ---------- Технический обзор (533) ---------- */
.tech { height: 533px; padding-top: 47px; }
.tech__row { display: flex; gap: 60px; margin-top: 28px; }
.tech__text { width: 796px; font-size: 21px; line-height: 26px; }
.tech__pic { position: relative; width: 582px; height: 364px; overflow: hidden; background: #997e7e; }
.tech__pic img { position: absolute; left: -48px; top: -128px; width: 784px; height: 516px; max-width: none; object-fit: cover; }

/* ---------- Кто мы (1177) ---------- */
.who { height: 1177px; padding-top: 68px; overflow: hidden; background: #303030; color: #fff; }
.who__wrap { height: 100%; }
.who__title { font-size: 38px; line-height: 47px; font-weight: 500; color: #f00; }
.who__lead { margin-top: 28px; font-size: 21px; line-height: 26px; font-weight: 600; }
.who__text { width: 658px; margin-top: 17px; font-size: 21px; line-height: 26px; }
.who__photos { position: absolute; inset: -68px 0 0; pointer-events: none; }
.who__photos img { position: absolute; max-width: none; }
.who__photo { width: 505px; height: 440px; }
.who__photo--3 { left: 690px; top: 145px; }
.who__photo--2 { left: 1028px; top: -18px; width: 498.5px; }
.who__photo--1 { left: 1194px; top: 148px; }
.who__logo { left: 872.2px; top: 81.7px; width: 225px; }
.who__row { display: flex; gap: 104px; position: absolute; left: 0; top: 604px; }
.who__video { position: relative; flex: none; width: 596px; height: 405px; margin-top: 15px; overflow: hidden; background: #997e7e; }
.who__video > * { position: absolute; max-width: none; }
.who__video-img { left: 0; top: -253px; width: 617px; height: 1096px; object-fit: cover; }
.who__video-logo { left: 25.9px; top: 34.3px; width: 294.4px; }
.who__video .play { left: 229px; top: 133px; }
.who__col { width: 743px; }
.who__col .who__lead { margin-top: 0; }
.who__col .who__text { width: 743px; }

/* ---------- Карусели (видео отзывы, обзоры) ---------- */
.carousel { display: flex; align-items: center; margin-top: 47px; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; transition: transform .45s ease; }
.testimonials { height: 755px; padding-top: 47px; }
.testimonials__carousel { gap: 54px; margin-left: -14px; }
.testimonials__carousel .carousel__viewport { width: 1290px; }
.testimonials__carousel .carousel__track { gap: 54px; }
.testimonials__carousel .arrow { align-self: flex-start; margin-top: 150px; }
.testimonial { flex: none; width: 282px; height: 505px; text-align: center; }
.testimonial__media { position: relative; height: 364px; overflow: hidden; background: #997e7e; }
.testimonial__media img { position: absolute; max-width: none; object-fit: cover; }
.testimonial__media .t1 { left: -45.1px; top: -66.5px; width: 373px; height: 662.8px; }
.testimonial__media .t2 { left: -182.2px; top: -205.7px; width: 495.5px; height: 880.3px; }
.testimonial__media .t3 { left: -26.8px; top: -104.2px; width: 335.6px; height: 596.3px; }
.testimonial__media .t4 { left: -73.4px; top: -157.4px; width: 452.4px; height: 803.8px; }
.testimonial__media .play { position: absolute; left: 209px; top: 13px; }
.testimonial h3 { margin: 20px 4px 0; font-size: 19px; line-height: 19px; font-weight: 600; color: #000; }
.testimonial__who { margin: 15px 4px 0; padding-bottom: 15px; font-size: 19px; line-height: 19px; color: var(--muted); background: linear-gradient(#000, #000) center bottom / 230px 1px no-repeat; }
.testimonial a { display: block; margin: 15px 4px 0; font-size: 19px; line-height: 19px; font-weight: 300; color: #af6868; }
.testimonials__dots { margin-top: 42px; margin-left: -1px; }

.reviews { height: 621px; padding-top: 47px; }
.reviews__carousel { gap: 20px; margin-left: -13px; }
.reviews__carousel .carousel__viewport { width: 1357px; }
.reviews__carousel .carousel__track { gap: 20px; }
.reviews__carousel .arrow { align-self: flex-start; margin-top: 90px; }
.reviews__carousel .arrow--next { margin-left: 0; }
.review { flex: none; width: 439px; height: 384px; }
.review__media { position: relative; height: 259px; overflow: hidden; background: #997e7e; }
.review__media img { position: absolute; max-width: none; object-fit: cover; }
.review__media .r1 { left: -20.7px; top: -.4px; width: 461.4px; height: 259.4px; }
.review__media .r2 { left: -8.4px; top: -.4px; width: 495.2px; height: 278.7px; }
.review__media .r3 { left: -21px; top: -7px; width: 520px; height: 293px; }
.review__media .r4 { left: -47px; top: 0; width: 532px; height: 300px; }
.review__media .r5 { left: 0; top: 0; width: 100%; height: 100%; }
.review__media .play { position: absolute; left: 173px; top: 81px; }
.review h3 { margin-top: 20px; font-size: 19px; line-height: 19px; font-weight: 600; color: #000; }
.review p { width: 407px; margin-top: 10px; font-size: 19px; line-height: 19px; color: var(--muted); }
.reviews__dots { margin-top: 28px; margin-left: -1px; }

/* ---------- Фото (670) ---------- */
.gallery { height: 670px; padding-top: 47px; }
.gallery__title { margin-left: 1px; }
.gallery__row { display: flex; align-items: flex-start; height: 430px; margin: 47px 0 0 -14px; }
.gallery__row .arrow { margin-top: 185px; }
.gallery__item { position: relative; flex: none; overflow: hidden; background: #997e7e; }
.gallery__item img { position: absolute; max-width: none; object-fit: cover; transition: opacity .25s; }
.gallery__item img.is-auto { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; }
.gallery__item img.is-fading { opacity: 0; }
.gallery__item--left { width: 325px; height: 368px; margin: 31px 0 0 54px; }
.gallery__item--left img { left: -83px; top: 0; width: 588px; height: 368px; }
.gallery__item--center { width: 533px; height: 430px; margin-left: 55px; }
.gallery__item--center img { left: -405px; top: -72px; width: 1342px; height: 527px; }
.gallery__item--right { width: 325px; height: 368px; margin: 31px 0 0 53px; }
.gallery__item--right img { left: -238px; top: 0; width: 743px; height: 391px; }
.gallery__row .arrow--next { margin-left: 55px; }
.gallery__dots { margin-top: 32px; }
.gallery__count { font-size: 20px; line-height: 20px; font-weight: 500; color: var(--muted); }

/* ---------- Салоны (598) ---------- */
.dealers { height: 598px; padding-top: 47px; }
.dealers__tabs { display: flex; gap: 36px; margin-top: 19px; }
.dealers__tabs button { font-size: 17px; line-height: 21px; font-weight: 500; color: #828282; }
.dealers__tabs .is-on { font-weight: 600; color: #e1000a; text-decoration: underline; text-underline-offset: 3px; }
.phone-show { font-weight: 400; color: #a3a3a3; } /* «показать» — серым, как в макете */
.dealers__phone { margin-top: 19px; font-size: 20px; line-height: 24px; font-weight: 700; }
.dealers__phone > span { margin-left: 13px; font-size: 18px; line-height: 22px; }
.dealers__label { margin-top: 19px; font-size: 21px; line-height: 26px; font-weight: 600; }
.dealers__address { margin-top: 4px; font-size: 21px; line-height: 26px; }
.dealers__map { position: relative; height: 280px; margin-top: 19px; overflow: hidden; }
.dealers__map img { position: absolute; max-width: none; }
.dealers__map-img { left: 0; top: 0; width: 1440px; height: 279.5px; filter: grayscale(1) contrast(1.3) brightness(.95); } /* кадр по imageTransform макета (tools/crop-slots.cjs) */
.dealers__pin { left: 707.4px; top: 89.9px; width: 88.2px; }

/* ---------- Вопросы и ответы (630) ---------- */
.faq { height: 630px; padding-top: 47px; }
.faq__list { margin-top: 19px; }
.faq__item { margin-bottom: 42px; }
.faq__item summary { position: relative; display: block; list-style: none; cursor: pointer; font-size: 25px; line-height: 31px; font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; position: absolute; right: 17.5px; top: 8.6px; width: 22px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 13'%3E%3Cpath d='M1.5 1.5l9.5 9.5 9.5-9.5' fill='none' stroke='%23aeaeae' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; transition: transform .2s; } /* шеврон макета 83:903: #aeaeae, 3 px, скруглённый */
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item p { margin-top: 19px; font-size: 21px; line-height: 26px; }

/* ---------- Подвал (246) ---------- */
.footer { position: relative; height: 246px; color: #fff; background: #111 url('../img/tech.webp') center / cover no-repeat; }
.footer::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .72); }
.footer__wrap { height: 100%; }
.footer__wrap > * { position: absolute; }
.footer__logo { left: 3px; top: 36px; width: 306px; }
.footer__phone { right: 3px; top: 39px; font-size: 27px; line-height: 33px; font-weight: 700; }
.footer__links { left: 308px; top: 114px; display: flex; gap: 127px; font-family: 'Montserrat', var(--font); font-size: 14px; line-height: 17px; }
.footer__links a:hover { text-decoration: underline; }
.footer__social { left: 643px; top: 180px; display: flex; gap: 19px; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; border-radius: 19px; background: #fff; }
.footer__social img { width: 22px; height: 22px; }
.footer__social li:last-child img { width: 19.4px; height: 19.4px; }

/* ---------- Окно заявки (макет: Handoff / Lead form, ПК 917 × 362, мобильная 362 × 633) ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-modal { width: 917px; max-width: none; height: 362px; max-height: none; padding: 0 0 0 465.5px; border: 0; overflow: hidden; background: #3b3b3b; color: #fff; }
.lead-modal::backdrop { background: rgba(0, 0, 0, .7); }
.lead-modal__pic { position: absolute; left: 0; top: 0; width: 424.3px; height: 362px; object-fit: cover; }
.lead-modal__close { position: absolute; right: 27.4px; top: 19.5px; width: 26.3px; height: 26.3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26.3 26.3'%3E%3Cpath d='M0 0l26.3 26.3M26.3 0L0 26.3' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") center / 100% no-repeat; }
.lead-modal__panel[hidden] { display: none; }
.lead-modal__title { font-size: 38.4px; line-height: 47px; font-weight: 700; }
.lead-modal__sub { font-size: 27.7px; line-height: 33.9px; font-weight: 500; }
.lead-modal__form { width: 411px; }
.lead-modal__input { display: block; width: 100%; height: 41px; padding: 0 18px; border: 1px solid #fff; border-radius: 56px; background: #505050; color: #fff; font-size: 20.6px; line-height: 25.2px; outline: none; }
.lead-modal__input::placeholder { color: #fff; opacity: 1; }
.lead-modal__input:focus { border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.lead-modal__input[aria-invalid='true'] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.lead-modal__submit { display: block; width: 100%; height: 43px; margin-top: 11px; border-radius: 56px; background: var(--red); color: #fff; font-size: 20.6px; line-height: 25.2px; font-weight: 700; transition: background-color .2s; }
.lead-modal__submit:hover { background: var(--red-hover); }
.lead-modal__submit-m { display: none; }
.consent--modal { gap: 8.4px; margin: 15.4px 0 0 7.3px; }
.consent--modal input, .consent--modal .consent__box { width: 18.73px; height: 17.36px; margin-top: 2.6px; }
.consent--modal .consent__text { width: 330px; padding: 0; font-size: 8.7px; line-height: 11.5px; }
.lead-modal__panel--calc { padding-top: 59px; }
.lead-modal__panel--calc .lead-modal__sub { margin-top: 5.7px; }
.lead-modal__panel--calc .lead-modal__form { margin-top: 24.3px; }
.lead-modal__panel--drive { padding-top: 14.7px; }
.lead-modal__panel--drive .lead-modal__title { width: 260px; line-height: 38.4px; }
.lead-modal__panel--drive .lead-modal__sub { margin-top: 11.5px; font-size: 21.1px; line-height: 25.8px; }
.lead-modal__panel--drive .lead-modal__form { margin-top: 17.8px; }
.lead-modal__panel--drive .consent--modal { margin-top: 12.3px; }
.lead-modal__panel--done { padding-top: 56.3px; }
.lead-modal__panel--done .lead-modal__title { width: 320px; font-size: 47.7px; line-height: 47.7px; }
.lead-modal__panel--done .lead-modal__sub { width: 280px; margin-top: 19.6px; font-size: 26.2px; line-height: 32px; }
.form-error { margin-top: 8px; font-size: 14px; line-height: 18px; color: #ff8a8a; }
.is-sending [type='submit'] { opacity: .7; pointer-events: none; }

/* ---------- Окно с видео ---------- */
.video-modal { width: min(1100px, 92vw); max-width: none; padding: 0; border: 0; background: #000; overflow: visible; }
.video-modal::backdrop { background: rgba(0, 0, 0, .8); }
.video-modal video { display: block; width: 100%; max-height: 80vh; }
.video-modal__close { position: absolute; right: -8px; top: -48px; width: 40px; height: 40px; color: #fff; font-size: 40px; line-height: 40px; }

/* ---------- Экраны уже 1024: шапка и первый экран — по мобильному макету (402),
   остальные блоки пока — уменьшенная ПК-версия (--fit из main.js) ---------- */
@media (max-width: 1023px) {
    /* Шапка и первый экран — холст 402 px по мобильному макету (98:3243), на других ширинах масштабируется целиком (--mfit из main.js). */
    /* шапка 63 + закреплённая полоса (низ на 114.5) */
    html { scroll-padding-top: calc(114.5px * var(--mfit, 1)); }
    body { padding-bottom: calc(48.67px * var(--mfit, 1)); } /* место под закреплённую кнопку «Нужна консультация» */
    .header, .hero { zoom: var(--mfit, 1); }
    .header__inner { position: relative; width: 402px; height: 63px; margin: 0; }
    .header__logo { position: absolute; left: 14.8px; top: 20.3px; width: 186.3px; }
    .city, .header__contacts, .header__callback { display: none; }
    .header__salon { display: block; position: absolute; left: 296.1px; top: 13px; width: 82px; height: 41.5px; }
    .header__salon img { position: absolute; left: .8px; top: .2px; width: 22.9px; height: 23.3px; border-radius: 4px; }
    .header__salon-name { position: absolute; left: 30.5px; top: 0; font-size: 19.41px; line-height: 23.74px; font-weight: 700; }
    .header__salon-note { position: absolute; left: 0; top: 25.5px; font-size: 12.81px; line-height: 15.67px; font-weight: 300; text-transform: uppercase; white-space: nowrap; }

    .hero { width: 402px; height: 821px; }
    .hero__bg { left: -7.4px; top: 0; width: 460.5px; height: 818.2px; }
    .hero__inner { position: static; width: auto; height: auto; }
    .hero__strip { display: block; position: fixed; left: -19.7px; top: 61.1px; z-index: 19; /* закреплена под шапкой */ width: 452.6px; height: 53.4px; color: #000; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
    .hero__strip > * { position: absolute; }
    .hero__strip-title { left: 96.5px; top: 7.3px; font-size: 14.2px; line-height: 17.37px; font-weight: 300; }
    .hero__strip-phone { left: 82.8px; top: 26.9px; font-size: 15.64px; line-height: 19.13px; font-weight: 700; letter-spacing: 2.03px; text-transform: uppercase; }
    .hero__strip-phone span { margin-left: 4px; letter-spacing: 0; color: #6a6a6a; }
    .hero__strip-hours { right: 82.8px; top: 27.9px; font-size: 14.16px; line-height: 17.32px; font-weight: 700; text-transform: uppercase; }
    .hero__eyebrow { left: 26px; top: 221.6px; z-index: 1; font-size: 13.95px; line-height: 17.06px; letter-spacing: 4.74px; white-space: nowrap; }
    .hero__eyebrow::after { top: 26.9px; width: 73.2px; height: 6px; }
    .hero__title, .hero__coords, .hero__route, .hero__cards { display: none; }
    .hero__shade { display: block; left: 0; top: 0; }
    .hero__shade span { position: absolute; border-radius: 50%; background: #363636; }
    .hero__shade span:nth-child(1) { left: -6.4px; top: 235.6px; width: 412.6px; height: 137px; filter: blur(20.8px); }
    .hero__shade span:nth-child(2) { left: 14.9px; top: 258.8px; width: 354px; height: 90.5px; filter: blur(12.8px); }
    .hero__shade span:nth-child(3) { left: -17.4px; top: 227.6px; width: 354px; height: 27.9px; filter: blur(12.8px); }
    .hero__title-m { display: block; left: 0; top: 0; }
    .hero__title-m img { position: absolute; max-width: none; }
    .hero__title-m-main { left: 16.9px; top: 259.45px; width: 369.5px; height: 47.4px; }
    .hero__title-m-lines { left: 18.2px; top: 260.7px; width: 366.4px; height: 45px; }
    .hero__title-m-accent { left: 10.8px; top: 296.6px; width: 372.9px; height: 50.4px; }
    .hero__route-m { display: block; left: -60px; top: 490px; z-index: 1; width: 120px; height: 270px; pointer-events: none; }
    /* Форма — панель-параллелограмм 507 × 227.6 от x = −47 (макет 141:504), выходит за оба края. */
    .hero-form { left: -47px; top: 502.7px; width: 507px; height: 227.6px; padding: 27.2px 0 0 79.6px; background-image: url('../img/form/panel-sfa-m.png'); }
    .hero-form__eyebrow { font-size: 16.7px; line-height: 20.4px; letter-spacing: 2.84px; }
    .hero-form__text { max-width: 260px; margin-top: 6.6px; font-size: 14.18px; line-height: 14.18px; }
    .hero-form__input, .hero-form__submit { width: 342.9px; height: 41.83px; font-size: 18.5px; line-height: 22.6px; }
    .hero-form__input { margin-top: 14px; padding: 0 16px 5px 32.8px; }
    .hero-form__submit { margin: 10.4px 0 0 18.7px; padding: 0 45px 0 46px; }
    .hero-form .consent--hero { gap: 6px; margin: 4.8px 0 0 18.7px; }
    .hero-form .consent--hero input, .hero-form .consent--hero .consent__box { width: 15px; height: 14px; margin-top: 1px; }
    .hero-form .consent--hero .consent__text { width: 300px; font-size: 8px; line-height: 9.5px; }
    .hero__consult { display: block; position: fixed; left: 0; top: auto; bottom: 0; z-index: 19; /* закреплена внизу экрана */ width: 402px; height: 48.67px; padding: 0; background: var(--red); color: #fff; font-size: 17.39px; line-height: 21.27px; font-weight: 700; text-align: center; text-transform: uppercase; } /* по просьбе заказчика: высота 73 → 48.67 (−1/3), шрифт 26.08 → 17.39 пропорционально */

    .drawer { width: 100vw; padding: 56px 20px 32px; }
    .lead-modal { width: 362px; height: 633px; padding: 236.4px 0 0 19px; }
    .lead-modal__pic { width: 362px; height: 218px; }
    .lead-modal__close { right: 20.7px; top: 14.4px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26.3 26.3'%3E%3Cpath d='M0 0l26.3 26.3M26.3 0L0 26.3' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
    .lead-modal__panel, .lead-modal__panel--calc, .lead-modal__panel--drive, .lead-modal__panel--done { padding-top: 0; }
    .lead-modal__title, .lead-modal__panel--drive .lead-modal__title, .lead-modal__panel--done .lead-modal__title { width: 330px; font-size: 38.1px; line-height: 38.1px; }
    .lead-modal__sub, .lead-modal__panel--drive .lead-modal__sub, .lead-modal__panel--done .lead-modal__sub { width: 330px; margin-top: 10.2px; font-size: 30px; line-height: 30px; }
    .lead-modal__panel--drive .lead-modal__sub { font-size: 21px; line-height: 25.8px; }
    .lead-modal__form, .lead-modal__panel--calc .lead-modal__form, .lead-modal__panel--drive .lead-modal__form { width: 322px; margin-top: 29.6px; }
    .lead-modal__panel--done { margin: -2.3px 0 0 3.8px; }
    .lead-modal__panel--done .lead-modal__title { width: 240px; font-size: 35px; line-height: 35px; }
    .lead-modal__panel--done .lead-modal__sub { width: 280px; margin-top: 16.1px; font-size: 27.1px; line-height: 27.1px; }
    .lead-modal__input { height: 52px; }
    .lead-modal__submit { margin-top: 11px; }
    .lead-modal__submit-d { display: none; }
    .lead-modal__submit-m { display: inline; }
    .consent--modal, .lead-modal__panel--drive .consent--modal { width: 349.5px; margin: 17px 0 0; }
}

/* ---------- Мобильная версия блоков ниже первого экрана — по макету 98:3243 (холст 402 px, масштаб --mfit) ---------- */
@media (max-width: 1023px) {
    main > section:not(.hero), .footer { zoom: var(--mfit, 1); position: relative; width: 402px; overflow: hidden; }
    .models, .product, .features, .leadbar, .tech, .who, .testimonials, .reviews, .gallery, .dealers, .faq, .footer { padding: 0; }
    .wrap { width: 402px; }
    .m-br { display: inline; }
    .m-only { display: block; }
    .title { margin-left: 19px; font-size: 30px; line-height: 36.69px; }

    /* Модели: SFA 1000, SFA 600, TSA 900 XU столбиком, 402 × 209.3 */
    .models { height: 689px; background: #f6f6f6; }
    .models__list { flex-direction: column; gap: 23.6px; margin-top: -1.9px; padding: 0; }
    .model { width: 402px; height: 209.3px; }
    .model--2 { order: 1; } .model--3 { order: 2; } .model--1 { order: 3; }
    .models .model .model__img { left: 0; top: 0; width: 402px; height: 209.3px; }
    .model::after { top: 105.8px; height: 103.5px; }
    .model__type { left: 17.6px; top: 143.6px; font-size: 15.61px; line-height: 19.09px; }
    .model__name { top: 161.6px; font-size: 28.32px; line-height: 34.64px; }
    .model__name::after { left: 346.2px; top: 12.8px; }

    /* Товар (только SFA 1000, как в макете), 847.1 */
    .product { height: 847.1px; }
    .product ~ .product { display: none; }
    .product__grid, .product__media, .product__info { display: contents; }
    .product__grid > * > * { position: absolute; margin: 0; }
    .product__brand { left: 16.2px; top: 29.9px; font-size: 15.42px; line-height: 18.85px; }
    .product__name { left: 16.2px; top: 47.9px; font-size: 27.97px; line-height: 34.21px; }
    .product__price { left: 214.2px; top: 57.9px; gap: 6.7px; font-size: 12.45px; line-height: 15.22px; }
    .product__price b { font-size: 19.88px; line-height: 24.32px; }
    .product__colors { left: 17.6px; top: 102.9px; align-items: flex-end; gap: 14.2px; font-size: 16.13px; line-height: 19.73px; }
    .product__colors span { width: 37px; margin-right: 7.2px; }
    .product__color { width: 36.9px; height: 39.3px; }
    .product__color:first-of-type { border-width: .75px; }
    .product__pic { left: 17.6px; top: 163.2px; width: 359.8px; height: 203.6px; }
    .product__pic img { left: -2.8px; top: -3.8px; width: 375.8px; height: 211.3px; }
    .product__thumbs { left: 17.6px; top: 379.9px; gap: 13.6px; width: 360.4px; }
    .product__thumb { width: 79.9px; height: 50.2px; }
    .product .product__thumb:nth-child(1) img { left: -10.9px; top: -3.5px; width: 101.7px; height: 57.2px; }
    .product .product__thumb:nth-child(2) img { left: -14.8px; top: -5.6px; width: 109.5px; height: 61.6px; }
    .product .product__thumb:nth-child(3) img { left: -6.6px; top: -1px; width: 93.1px; height: 52.4px; }
    .product .product__thumb:nth-child(n+4) img { left: -6.1px; top: -1.5px; width: 92px; height: 51.7px; }
    .product__thumb::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 .6px #ededed; }
    .product__text { left: 17.6px; top: 451.1px; width: 363.1px; font-size: 18.85px; line-height: 23.05px; }
    .product .specs { left: 17.6px; top: 771.1px; width: 359px; }
    .product__specs { padding: 0 16.8px 0 29.3px; }

    /* Преимущества: 2 столбца 157 × 157 */
    .features { height: 732.9px; }
    .features__list { display: grid; grid-template-columns: 157px 157px; column-gap: 46px; row-gap: 25px; padding-left: 17.6px; }

    /* Полоса-форма: карточка 360 × 360 */
    .leadbar { height: 388px; padding: 14px 0 0 19px; }
    .leadbar__box { flex-direction: column; width: 360px; height: 360px; margin: 0; }
    .leadbar__pic { flex: none; width: 360px; height: 147.7px; }
    .leadbar__pic img { left: 0; top: 0; width: 100%; height: 100%; }
    .leadbar__form { padding: 23.2px 0 0 18.8px; }
    .leadbar__row { flex-direction: column; gap: 9.9px; }
    .leadbar__input, .leadbar__submit { width: 322.5px; height: 45.7px; padding: 0; border-radius: 104px; font-size: 17.02px; line-height: 20.81px; text-align: center; letter-spacing: 0; }
    .leadbar .consent { margin-top: 15.6px; }
    .leadbar .consent__text { width: 295px; }

    /* Технический обзор, 938 */
    .tech { height: 938px; padding-top: 33.1px; }
    .tech__row { flex-direction: column; gap: 11.4px; margin-top: 14.2px; }
    .tech__pic { order: -1; width: 357px; height: 257px; margin-left: 22px; }
    .tech__pic img { left: -46.5px; top: -83.2px; width: 542.5px; height: 356.9px; }
    .tech__text { width: 362.3px; margin-left: 19.8px; font-size: 18.85px; line-height: 23.05px; }

    /* Кто мы, 2281 */
    .who { height: 2281px; background: #303030; } /* в макете текстура поверх — 4% непрозрачности, на ПК тоже не используется */
    .who__title { position: absolute; left: 19.9px; top: 24.8px; font-size: 30px; line-height: 36.69px; color: #e1000a; }
    .who .who__lead { display: none; }
    .who__wrap > .who__text { position: absolute; left: 19.8px; top: 85.7px; }
    .who .who__text { width: 361.3px; margin: 0; font-size: 18.85px; line-height: 23.05px; }
    .who__photos { inset: 0; }
    .who__photo--1 { left: 100.8px; top: 716.3px; width: 447.9px; height: 390.2px; }
    .who__photo--2 { left: -67.8px; top: 1017.5px; width: 441.1px; height: 389.3px; }
    .who__photo--3 { left: -90.5px; top: 614.2px; width: 384.7px; height: 335.2px; }
    .who__logo { left: 215.2px; top: 36px; width: 162.9px; }
    .who__row { display: contents; }
    .who__video { position: absolute; left: 18.3px; top: 1475px; width: 365.5px; height: 248.3px; margin: 0; }
    .who__video-img { left: 0; top: -154.9px; width: 378.2px; height: 671.9px; }
    .who__video-logo { left: 15.9px; top: 21.2px; width: 180.5px; }
    .who__video .play { left: 140.5px; top: 81.9px; width: 84.4px; height: 84.4px; }
    .who__col { position: absolute; left: 19.8px; top: 1752.5px; width: 361.3px; }

    /* Видео отзывы: одна карточка, 723 */
    .testimonials { height: 723px; padding-top: 33.1px; }
    .testimonials__carousel { gap: 24px; margin: 43.2px 0 0; }
    .testimonials__carousel .carousel__viewport { width: 282px; }
    .testimonials__carousel .carousel__track { gap: 24px; }
    .testimonials__carousel .arrow { margin-top: 150.5px; }
    .testimonial:nth-child(n+7) { display: none; }
    .dots { gap: 17.6px; }
    .dots button { width: 17.1px; height: 17.1px; }
    .testimonials__dots { margin: 48px 0 0; }

    /* Видео обзоры: одна карточка, 534 */
    .reviews { height: 534px; padding-top: 33.1px; }
    .reviews__carousel { display: block; margin: 20.2px 0 0 19px; }
    .reviews__carousel .carousel__viewport { width: 362px; }
    .reviews__carousel .carousel__track { gap: 20px; }
    .reviews__carousel .arrow, .gallery__row .arrow { position: absolute; top: 438px; height: 61px; margin: 0; }
    .reviews__carousel .arrow--prev { left: 32.8px; }
    .reviews__carousel .arrow--next { left: 329.8px; }
    .review { width: 362px; height: 333.5px; }
    .review__media { width: 353.4px; height: 208.5px; }
    .review__media .r1 { left: -8.7px; top: 0; width: 370.9px; height: 208.5px; }
    .review__media .r2 { left: -6.8px; top: -.3px; width: 398.1px; height: 224.1px; }
    .review__media .r3 { left: -16.9px; top: -5.6px; width: 418.1px; height: 235.6px; }
    .review__media .r4 { left: -37.8px; top: 0; width: 427.7px; height: 241.2px; }
    .review__media .play { left: 140.3px; top: 65.5px; width: 78.1px; height: 78.1px; }
    .review h3 { font-size: 19.43px; line-height: 19.43px; letter-spacing: .2px; }
    .review p { display: none; }
    .review .review__m { display: block; width: 362px; margin-top: 10px; font-size: 19.43px; line-height: 19.43px; letter-spacing: .2px; color: var(--muted); }
    .reviews__dots { margin: 36.4px 0 0; }

    /* Фото: одна фотография 361 × 306, 534 */
    .gallery { height: 534px; padding-top: 33.1px; }
    .gallery__title { margin-left: 19px; }
    .gallery__row { display: block; height: 306px; margin: 31.2px 0 0 19.8px; }
    .gallery__item--left, .gallery__item--right { display: none; }
    .gallery__item--center { width: 361px; height: 306px; margin: 0; }
    .gallery__item--center img.is-m-first { left: -16.8px; top: 0; width: 489.2px; height: 306px; }
    .gallery__row .arrow--prev { left: 30.5px; }
    .gallery__row .arrow--next { left: 327.5px; margin: 0; }
    .gallery__dots { margin-top: 52.9px; }

    /* Салоны, 613 */
    .dealers { height: 613px; padding-top: 33.1px; }
    .dealers__tabs { flex-wrap: wrap; gap: 9px 0; width: 380px; margin: 17.2px 0 0 19px; }
    .dealers__tabs button { text-align: left; }
    .dealers__tabs button:nth-child(1) { width: 177px; }
    .dealers__tabs button:nth-child(3) { width: 145px; }
    .dealers__phone { margin: 16.9px 0 0 19.9px; font-size: 19.51px; line-height: 23.87px; }
    .dealers__phone > span { margin-left: 19px; font-size: 17.67px; line-height: 21.61px; }
    .dealers__label { margin: 19.1px 0 0 19.9px; font-size: 21.12px; line-height: 25.83px; }
    .dealers__address { margin: 4.2px 0 0 19.9px; font-size: 21.12px; line-height: 25.83px; }
    .dealers__map { position: absolute; left: -559.1px; top: 263.9px; /* от .wrap: 297 − 33.1 */ width: 1440px; height: 279.5px; margin: 0; }

    /* Вопросы и ответы, 1187 */
    .faq { height: 1187px; padding-top: 33.1px; }
    .faq__list { width: 368.8px; margin: 22.2px 0 0 19.9px; }
    .faq__item { margin-bottom: 44px; }
    .faq__item summary { padding-right: 49px; font-size: 25.12px; line-height: 30.72px; }
    .faq__item summary::after { top: 39.6px; }
    .faq__item summary { min-height: 93px; } /* высоты рамок текста из макета (93 и 676), следующие вопросы — по координатам */
    .faq__item:first-child p { min-height: 676px; }
    .faq__item p { width: 340.7px; font-size: 21.12px; line-height: 25.83px; }

    /* Подвал, 487 */
    .footer { height: 487px; background: #111 url('../img/m/footer.webp') 0 0 / 402px 487px no-repeat; }
    .footer__wrap { position: relative; }
    .footer__logo { left: 23px; top: 37px; width: 306px; }
    .footer__phone { display: none; }
    .footer__links { left: 23px; top: 129.5px; flex-direction: column; gap: 26.46px; font-size: 17.95px; line-height: 21.54px; }
    .footer__social { left: 26.3px; top: 310.8px; gap: 31.3px; }
    .footer__social a { width: 62.4px; height: 62.4px; border-radius: 31.2px; }
    .footer__social li:nth-child(1) img { width: 35.1px; height: 24.7px; }
    .footer__social li:nth-child(2) img { width: 32.3px; height: 19.2px; }
    .footer__social li:nth-child(3) img { width: 31.2px; height: 31.2px; }
}

/* ---------- Фото товара на весь экран (как на tavridamoto.ru) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .8); cursor: pointer; opacity: 0; transition: opacity .3s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__img { max-width: 90%; max-height: 90%; object-fit: contain; cursor: default; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; display: flex; align-items: center; justify-content: center; background: rgba(30, 30, 30, .6); cursor: pointer; transition: background-color .2s; }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(30, 30, 30, .9); }
.lightbox__close { top: 20px; right: 20px; width: 40px; height: 40px; }
.lightbox__prev, .lightbox__next { top: 50%; width: 38px; height: 38px; transform: translateY(-50%); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox svg { width: 24px; height: auto; }
.lightbox__counter { position: absolute; top: 12px; left: 29px; transform: translateX(-50%); color: #fff; font: 14px/1.4 system-ui, -apple-system, sans-serif; }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next, .lightbox.is-single .lightbox__counter { display: none; }
