/* ============================================================
   ELK — самоходный опрыскиватель. Лендинг.
   Базовая ширина макета 1920, контейнер 1600.
   ============================================================ */

/* ---------- 1. Токены ---------- */
:root {
  --red: #f02727;
  --red-dark: #d82222;
  --ink: #272727;
  --ink-soft: #2b2b2a;
  --ink-70: rgba(39, 39, 39, .7);
  --ink-80: rgba(39, 39, 39, .8);
  --label: rgba(34, 34, 34, .7);
  --bg: #f4f4f4;
  --white: #fff;
  --line: rgba(0, 0, 0, .1);

  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1600px;

  --r-card: 10px;
  --r-cta: 15px;
  --r-pill: 60px;
}

/* ---------- 2. База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { display: block; max-width: 100%; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input { font: inherit; color: inherit; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

/* ---------- 3. Раскладка ---------- */
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* Базовый ритм: 120px между секциями */
.section { padding-block: 60px; }

.section__label {
  display: block;
  margin: 0 0 35px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--label);
}

/* ---------- 4. Типографика ---------- */
.h1 {
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
}

.h2 {
  font-size: 45px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
}

.h2--muted { color: rgba(39, 39, 39, .6); }

.h3 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
}

.lead {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-80);
}

.text-sm {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink-80);
}

/* ---------- 5. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 0 44px;
  border-radius: var(--r-cta);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: background-color .2s ease, color .2s ease;
}

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }

.btn--ghost {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
  color: var(--white);
}

.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: var(--white); }

.btn--outline {
  box-shadow: inset 0 0 0 1px var(--ink);
  color: var(--ink);
}

.btn--outline:hover { background: rgba(39, 39, 39, .06); color: var(--ink); }

.btn--wide { width: 100%; }

/* ---------- 6. Пилюля и иконки ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 25px;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--white);
}

.pill--icon { padding-left: 23px; }

.pill__icon { width: 15px; height: 15px; flex: none; color: var(--white); }

.icon { display: block; fill: currentColor; }

/* ---------- 7. Шапка ---------- */
.header {
  position: absolute;
  inset: 34px 0 auto;
  z-index: 20;
  color: var(--white);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  min-height: 76px;
}

.nav { display: flex; align-items: center; gap: 69px; }

.nav__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
  transition: opacity .2s ease;
}

.nav__link:hover { opacity: .7; color: inherit; }

.logo {
  display: grid;
  justify-items: center;
  gap: 9px;
  width: 80px;
  color: inherit;
}

.logo:hover { color: inherit; }

.logo__mark { width: 80px; height: 46px; }
.logo__word { width: 63px; height: 21px; }

.header__side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 45px;
}

.contact { display: grid; gap: 4px; }

.contact__caption {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, .5);
}

.contact__value {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

.contact__value:hover { color: inherit; opacity: .8; }

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  margin-left: 6px;
  padding: 0 22px 0 20px;
  border-radius: var(--r-cta);
  background: var(--red);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  transition: background-color .2s ease;
}

.btn-contact:hover { background: var(--red-dark); color: var(--white); }

.btn-contact__dot {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
}

.btn-contact__dot .icon { width: 8px; height: 8px; }

/* Липкая шапка */
.sticky {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: var(--bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  transform: translateY(-100%);
  transition: transform .28s ease;
}

.sticky.is-visible { transform: translateY(0); }

.sticky .header__inner { padding-block: 24px; }
.sticky .nav__link,
.sticky .contact__value,
.sticky .logo { color: var(--ink); }
.sticky .contact__caption { color: rgba(39, 39, 39, .5); }

/* ---------- 8. Герой ---------- */
.hero {
  position: relative;
  min-height: 940px;
  padding-block: 228px 50px;
  overflow: hidden;
  color: var(--white);
  background: #1a1a1a;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: url("../assets/8f56196bf90c0b9b.webp") center / cover no-repeat;
}

.hero__inner { position: relative; z-index: 1; }

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero__title {
  max-width: 664px;
  margin-bottom: 21px;
  color: var(--white);
}

.hero__lead {
  max-width: 608px;
  margin-bottom: 30px;
  font-weight: 600;
  color: var(--white);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 81px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.spec { display: grid; gap: 9px; flex: 1 1 0; min-width: 140px; }

.spec__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, .8);
}

.spec__value {
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
}

/* ---------- 9. Преимущества ---------- */
.advantages { padding-block: 20px 59px; }

/* Текст и фото лежат в одной ячейке сетки: высота секции = большее из двух */
.advantages__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.advantages__text { position: relative; z-index: 1; grid-area: 1 / 1; width: 43.63%; padding-top: 114px; }
.advantages__text .section__label { margin-bottom: 52px; }
.advantages__text .h2 { margin-bottom: 39px; }
.advantages__text .lead + .lead { margin-top: 24px; }

.advantages__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 39px;
}

.mini-card {
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 91px;
  padding: 16px 5px 19px 15px;
  border-radius: var(--r-card);
  background: var(--white);
}

.mini-card__num {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--red);
}

.mini-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}

.advantages__media {
  position: relative;
  z-index: 0;
  grid-area: 1 / 1;
  width: 53.94%;
  margin-left: 39.19%;
  margin-bottom: -7.19%; /* пустая тень под фото не раздувает секцию: низ = низ видео */
  aspect-ratio: 1;
  background: url("../assets/54e665f088777f7d.webp") center / cover no-repeat;
}

.video-card {
  position: absolute;
  left: 63.5%;
  top: 53.8%;
  width: 49.25%;
  aspect-ratio: 425 / 279;
  border-radius: var(--r-cta);
  overflow: hidden;
  background: url("../assets/e9428d2c9028d42a.webp") center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  cursor: pointer;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.08); }
.video-card__play .icon { width: 10px; height: 10px; margin-left: 2px; transform: rotate(90deg); }

/* ---------- 10. Секции с фото-врезкой ---------- */
.feature__media {
  display: flex;
  min-height: 654px;
  padding: 63px 55px 70px;
  border-radius: var(--r-cta);
  overflow: hidden;
  color: var(--white);
  background-color: #1a1a1a;
  background-position: center;
  background-size: cover;
}

.feature__media--a { --photo: url("../assets/a672571ce6fad06e.webp"); --grad: linear-gradient(91.825deg, rgba(0, 0, 0, .45) 24.9%, rgba(102, 102, 102, 0) 49.36%); background-image: var(--grad), var(--photo); }
.feature__media--b { --photo: url("../assets/bd9267f41e8de4a6.webp"); --grad: linear-gradient(265.809deg, rgba(0, 0, 0, .35) 30.44%, rgba(102, 102, 102, 0) 67.28%); background-image: var(--grad), var(--photo); }
.feature__media--c { --photo: url("../assets/a6e9a04e0c99ad4a.webp"); --grad: linear-gradient(116.383deg, rgba(0, 0, 0, .45) 19.93%, rgba(102, 102, 102, 0) 82.12%); background-image: var(--grad), var(--photo); }

.feature__media--right { justify-content: flex-end; }

/* Лёгкое движение фото за курсором (ПК с мышью) */
@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .feature .feature__media { position: relative; isolation: isolate; background-image: none; }
  .feature .feature__media::before,
  .feature .feature__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  }
  .feature .feature__media::before {
    background: var(--photo) center / cover no-repeat;
    transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1.04);
    transition: transform .9s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
  }
  .feature .feature__media::after { background-image: var(--grad); }

  .contacts__inner { isolation: isolate; background: #1a1a1a; }
  .contacts__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url("../assets/7c6a1e3f3079121f.webp") center / cover no-repeat;
    transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1.04);
    transition: transform .9s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
  }
}

.feature__col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  width: 584px;
  max-width: 100%;
}

.feature__media--right .feature__col { margin-right: 40px; }

.feature__pill { align-self: flex-start; margin-left: 2px; }

.feature__title { margin-bottom: 25px; color: var(--white); }

.feature__lead { margin-bottom: 35px; color: var(--white); }

.feature__body .btn { align-self: flex-start; }

.feature__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 10px;
}

.info-card {
  display: grid;
  align-content: start;
  padding: 27px 25px;
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}

.info-card__icon {
  width: 45px;
  height: 42px;
  margin-bottom: 54px;
  object-fit: contain;
  object-position: left center;
  color: var(--red);
}

.info-card__title { margin-bottom: 15px; max-width: 272px; }
.info-card__text { max-width: 302px; }

/* ---------- 11. Характеристики ---------- */
.specs__head {
  max-width: 763px;
  margin: 0 auto 40px;
  text-align: center;
}

.specs__head .section__label { margin-bottom: 50px; }

.specs__grid {
  display: grid;
  grid-template-columns: 392px minmax(0, 1fr);
  gap: 11px;
  align-items: stretch;
}

/* В режиме правки Битрикс оборачивает вывод компонента в bx_incl_area.
   Убираем эту техническую обёртку из сетки, сохраняя редактирование по клику. */
.specs__grid > [id^="bx_incl_area_"] { display: contents; }

.accordion { display: grid; gap: 5px; align-content: start; }

.accordion__item {
  border-radius: var(--r-card);
  background: var(--white);
  transition: box-shadow .2s ease;
}

.accordion__item.is-open { box-shadow: inset 0 0 0 1px var(--red); }

.accordion__button {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 23px 20px 22px 30px;
  text-align: left;
  transition: padding-bottom .26s ease;
}

.accordion__item.is-open .accordion__button { padding-bottom: 6px; }

.accordion__title { flex: 1; padding-top: 3px; }

.accordion__chevron {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: none;
  border-radius: 50%;
  background: var(--bg);
  color: var(--red);
  transition: background-color .2s ease, color .2s ease;
}

.accordion__chevron .icon {
  width: 15px;
  height: 9px;
  transform: rotate(90deg);
  transition: transform .26s ease;
}

.accordion__item.is-open .accordion__chevron { background: var(--red); color: var(--white); }
.accordion__item.is-open .accordion__chevron .icon { transform: rotate(180deg); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .26s ease;
}

.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }

.accordion__text { padding: 0 30px 25px; }

.specs__media {
  position: relative;
  min-height: 100%;
  border-radius: var(--r-cta);
  overflow: hidden;
  background: #ededed;
}

/* Размытая подложка из активного фото — видна, когда фото вписано целиком */
.specs__media::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--spec-bg, none) center / cover no-repeat;
  filter: blur(28px) saturate(1.1);
  opacity: .9;
  transition: background-image .3s ease;
}

.specs__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease;
}

.specs__media img.is-active { opacity: 1; }

/* ---------- 12. Комплектация ---------- */
.kit__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}

.kit__head .h2 { max-width: 647px; }

.slider-nav { display: flex; gap: 13px; flex: none; }

.slider-nav__btn {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  transition: background-color .2s ease, color .2s ease;
}

.slider-nav__btn:hover { background: var(--red); color: var(--white); }

.slider-nav__btn .icon { width: 16px; height: 10px; }
.slider-nav__btn--prev .icon { transform: rotate(-90deg); }
.slider-nav__btn--next .icon { transform: rotate(90deg); }

.kit__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.kit__grid::-webkit-scrollbar { display: none; }

.kit-card { display: grid; gap: 15px; align-content: start; }

.kit-card__media {
  position: relative;
  border-radius: var(--r-cta);
  overflow: hidden;
  aspect-ratio: 387 / 359;
  background-position: center;
  background-size: cover;
}

.kit-card__badge {
  position: absolute;
  z-index: 1;
  left: 24px;
  top: 26px;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 17px;
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--red);
}

.kit-card__title { min-height: 50px; }

.kit__footer { display: flex; justify-content: center; margin-top: 49px; }

/* Фото внутри рамки: копия фона во ::before, её и увеличиваем при наведении */
.kit-card__media,
.part__media { isolation: isolate; }

.kit-card__media::before,
.part__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: inherit;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .kit-card:hover .kit-card__media::before,
  .part:hover .part__media::before { transform: scale(1.06); }
}

/* ---------- 13. Демонстрация ---------- */
.demo__grid {
  display: grid;
  grid-template-columns: 686px minmax(0, 1fr);
  gap: 123px;
  align-items: stretch;
}

.demo__body { display: flex; flex-direction: column; }

.demo__title { margin-bottom: 25px; max-width: 507px; }
.demo__lead { margin-bottom: 37px; }

.demo__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.note-card {
  padding: 25px 20px 35px;
  border-radius: var(--r-card);
  background: var(--white);
}

.note-card__title {
  margin-bottom: 17px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.note-card__list {
  display: grid;
  gap: 6px;
  font-size: 16px;
  line-height: 1.3;
}

.note-card__list li { position: relative; padding-left: 14px; }
.note-card__list li::before { content: "•"; position: absolute; left: 0; }

.demo__footer { margin-top: 20px; }

.slider {
  position: relative;
  border-radius: var(--r-cta);
  overflow: hidden;
  min-height: 100%;
  background: #1a1a1a;
}

.slider__slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity .4s ease;
}

.slider__slide.is-active { opacity: 1; }

.slider__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 33.14%, rgba(0, 0, 0, .2) 91.2%);
  pointer-events: none;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 25px;
  color: var(--white);
  transform: translateY(-50%);
  transition: opacity .2s ease;
}

.slider__arrow:hover { opacity: .7; }
.slider__arrow--prev { left: 30px; }
.slider__arrow--next { right: 28px; }
.slider__arrow .icon { width: 24px; height: 14px; }
.slider__arrow--prev .icon { transform: rotate(-90deg); }
.slider__arrow--next .icon { transform: rotate(90deg); }

.slider__dots {
  position: absolute;
  left: 50%;
  bottom: 35px;
  z-index: 2;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  transition: background-color .2s ease;
}

.slider__dot.is-active { background: var(--red); }

/* ---------- 14. Сервис ---------- */
.service__head {
  max-width: 892px;
  margin: 0 auto 71px;
  text-align: center;
}

.service__head .lead { margin-top: 28px; padding-inline: 35px; }

.service .feature__cards { margin-bottom: 97px; }

.service__title { max-width: 892px; margin: 0 auto 46px; text-align: center; }

.parts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 19px;
}

.part { display: grid; gap: 20px; align-content: start; }

.part__media {
  position: relative;
  border-radius: var(--r-cta);
  overflow: hidden;
  aspect-ratio: 251 / 267;
  background-color: var(--white);
  background-position: center;
  background-size: cover;
}

.part__name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink-soft);
}

/* ---------- 15. Цена и условия ---------- */
.price { padding-block: 112px 127px; }

.price .container { width: 100%; max-width: 1920px; }

.price__grid {
  display: grid;
  grid-template-columns: 54.64% minmax(0, 1fr);
  align-items: center;
}

.price__media {
  position: relative;
  z-index: 0;
  aspect-ratio: 1049 / 783;
}

.price__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/f0b8a13ff125c4b9.webp") center / cover no-repeat;
}

.price-tag {
  position: absolute;
  z-index: 1;
  left: 158px;
  bottom: 101px;
  display: grid;
  gap: 0;
  min-width: 323px;
  padding: 17px 23px 14px;
  border-radius: var(--r-cta);
  background: var(--white);
}

.price-tag__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.price-tag__caption {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-70);
}

.price-tag__old {
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--red);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  text-decoration: line-through;
}

.price-tag__value {
  margin-top: -2px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.03em;
}

.price__body {
  position: relative;
  z-index: 1;
  margin-left: -55px;
  padding-right: 280px;
}

.price__body .h2 { max-width: 600px; margin-bottom: 25px; }
.price__lead { max-width: 646px; margin-bottom: 40px; }

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 323px));
  gap: 15px 0;
  margin-bottom: 35px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.checklist .icon { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--red); }

.price__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- 16. Контакты ---------- */
.contacts { padding-block: 60px 0; }

.contacts .container { width: min(100% - 48px, 1800px); }

.contacts__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 548px;
  padding: 47px 100px 60px;
  border-radius: var(--r-cta);
  overflow: hidden;
  color: var(--white);
  background: url("../assets/7c6a1e3f3079121f.webp") center / cover no-repeat;
}

.contacts__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(73.723deg, rgba(0, 0, 0, .5) 27.93%, rgba(0, 0, 0, .3) 71.31%);
}

.contacts__body,
.contacts__card { position: relative; z-index: 1; }

.contacts__body { padding-top: 73px; max-width: 541px; }
.contacts__body .section__label { margin-bottom: 127px; color: rgba(255, 255, 255, .7); }
.contacts__title { margin-bottom: 26px; color: var(--white); }
.contacts__lead { color: rgba(255, 255, 255, .8); }

.contacts__card {
  align-self: start;
  padding: 27px 41px 34px 38px;
  border-radius: var(--r-cta);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(30px);
}

.contacts__card-title {
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
}

.form { display: grid; gap: 10px; }

.field { position: relative; }

.field__input {
  width: 100%;
  height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  caret-color: var(--red);
  outline: none;
  transition: box-shadow .2s ease;
}

.field__input::placeholder { color: rgba(255, 255, 255, .7); }
.field__input:focus { box-shadow: inset 0 0 0 1px var(--white); }
.field.is-invalid .field__input { box-shadow: inset 0 0 0 1px var(--red); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
}

.contacts .checkbox { font-size: 14px; }

.checkbox + .checkbox { margin-top: 4px; }
.checkbox + .btn { margin-top: 14px; }

.checkbox input { position: absolute; opacity: 0; pointer-events: none; }

.checkbox__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  transition: background-color .2s ease, box-shadow .2s ease;
}

.checkbox__box .icon {
  width: 12px;
  height: 9px;
  color: var(--white);
  opacity: 0;
  transition: opacity .15s ease;
}

.checkbox input:checked + .checkbox__box { background: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.checkbox input:checked + .checkbox__box .icon { opacity: 1; }
.checkbox.is-invalid .checkbox__box { box-shadow: inset 0 0 0 1px var(--red); }

.form__success { display: none; padding: 44px 16px; text-align: center; }

.form.is-sent .field,
.form.is-sent .checkbox,
.form.is-sent .btn { display: none; }

.form.is-sent .form__success { display: block; }

.form__success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
}

.form__success-icon svg { display: block; width: 100%; height: 100%; }
.form__success-icon circle { fill: #0acb83; }
.form__success-icon path { fill: #fff; }

.form__success-title {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}

.form__success-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
}

/* ---------- 17. Подвал ---------- */
.footer {
  margin-top: 100px;
  padding-block: 89px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 60px;
}

.footer .logo { width: 100px; color: var(--ink-soft); }
.footer .logo__mark { width: 100px; height: 57px; }
.footer .logo__word { width: 78px; height: 26px; margin-top: 2px; }

.footer__nav { display: flex; justify-content: center; gap: 69px; }
.footer__nav .nav__link { color: var(--ink-soft); }

.footer__contacts { display: flex; gap: 136px; }

.footer .contact { gap: 1px; }
.footer .contact__caption { color: rgba(43, 43, 42, .5); }

.footer .contact__value {
  font-size: 25px;
  color: var(--ink-soft);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding-bottom: 22px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(43, 43, 42, .5);
}

.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--red); }

.footer__legal { display: flex; flex-wrap: wrap; gap: 40px; }

/* ---------- 18. Попап ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  padding: 24px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.modal.is-open { visibility: visible; opacity: 1; transition: opacity .3s ease, visibility 0s; }

.modal .modal__card { transform: translateY(20px) scale(.98); transition: transform .4s cubic-bezier(.22, .61, .36, 1); }
.modal.is-open .modal__card { transform: none; }

.modal__scrim { position: absolute; inset: 0; background: rgba(217, 217, 217, .6); }

.modal__card {
  position: relative;
  width: min(100%, 480px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 32px 40px 40px;
  border-radius: 20px;
  background: var(--white);
}

.modal__close {
  position: absolute;
  top: 32px;
  right: 40px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: #8c8c8c;
  transition: background-color .2s ease, color .2s ease;
}

.modal__close:hover { background: #e3e3e3; color: var(--ink); }

.modal__title {
  max-width: 352px;
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.modal__text {
  margin-bottom: 26px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(39, 39, 39, .75);
}

.modal .form { gap: 14px; }

.modal .field__input {
  height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #d9d9d9;
  font-size: 15px;
  color: var(--ink);
}

.modal .field__input::placeholder { color: #737373; }
.modal .field__input:focus { box-shadow: inset 0 0 0 1px var(--ink); }
.modal .field.is-invalid .field__input { box-shadow: inset 0 0 0 1px var(--red); }

.modal .checkbox { margin: 0; font-size: 13px; color: #737373; }

.modal .checkbox__box {
  width: 20px;
  height: 20px;
  margin-top: -1px;
  box-shadow: inset 0 0 0 1px #d9d9d9;
}

.modal .checkbox input:checked + .checkbox__box { box-shadow: inset 0 0 0 1px var(--red); }

.modal .btn { margin-top: 10px; min-height: 56px; }

.modal .form__success { padding: 40px 0; color: var(--ink); }
.modal .form__success-text { color: rgba(39, 39, 39, .75); }

/* ---------- 18a. Попап документов ---------- */
.checkbox a,
.footer__legal a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.checkbox a { color: inherit; }
.checkbox a:hover { color: var(--red); }

.doc-modal {
  position: fixed;
  inset: 0;
  z-index: 66;
  display: grid;
  padding: 24px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.doc-modal.is-open { visibility: visible; opacity: 1; transition: opacity .3s ease, visibility 0s; }

.doc-modal .doc-modal__card { transform: translateY(20px) scale(.98); transition: transform .4s cubic-bezier(.22, .61, .36, 1); }
.doc-modal.is-open .doc-modal__card { transform: none; }

.doc-modal__scrim { position: absolute; inset: 0; background: rgba(217, 217, 217, .6); }

.doc-modal__card {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 40px 48px 48px;
  border-radius: 20px;
  background: var(--white);
}

.doc-modal__close { position: sticky; top: 0; float: right; margin: -8px -16px 0 16px; }

.doc { display: none; color: var(--ink); }
.doc.is-active { display: block; }

.doc__title {
  margin-bottom: 8px;
  padding-right: 40px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.doc h3 { margin: 28px 0 10px; font-size: 18px; font-weight: 600; line-height: 1.3; }

.doc p,
.doc li { font-size: 15px; line-height: 1.55; color: var(--ink-80); }

.doc p + p { margin-top: 10px; }

.doc__lead { margin-bottom: 8px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); }

.doc a { color: var(--red); word-break: break-word; }

.doc__table { margin: 14px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.doc table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; line-height: 1.45; color: var(--ink-80); }
.doc th,
.doc td { min-width: 170px; padding: 10px 12px; border: 1px solid rgba(39, 39, 39, .12); text-align: left; vertical-align: top; word-break: break-word; }
.doc th { font-weight: 600; color: var(--ink); background: rgba(39, 39, 39, .04); }

.doc ul { display: grid; gap: 4px; }
.doc li { position: relative; padding-left: 16px; }
.doc li::before { content: "—"; position: absolute; left: 0; color: var(--red); }

@media (max-width: 1024px) {
  .doc-modal { padding: 12px; }
  .doc-modal__card { max-height: calc(100vh - 24px); padding: 24px 20px 28px; border-radius: 12px; }
  .doc-modal__close { margin: -4px -4px 0 12px; }
  .doc__title { font-size: 24px; }
  .doc h3 { margin-top: 22px; font-size: 16px; }
  .doc p, .doc li { font-size: 14px; }
}

/* ---------- 19. Попап с видео ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  padding: 24px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.video-modal.is-open { visibility: visible; opacity: 1; transition: opacity .3s ease, visibility 0s; }

.video-modal .video-modal__box { transform: translateY(20px) scale(.98); transition: transform .4s cubic-bezier(.22, .61, .36, 1); }
.video-modal.is-open .video-modal__box { transform: none; }

.video-modal__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); }

.video-modal__box {
  position: relative;
  width: min(100%, 1280px);
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 110px);
  border-radius: var(--r-cta);
  overflow: hidden;
  background: #000;
}

.video-modal__box [data-video-slot] { width: 100%; height: 100%; }

.video-modal__box video {
  object-fit: contain;
  background: #000;
}

.video-modal__box iframe,
.video-modal__box video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  font-size: 20px;
  line-height: 1;
  color: var(--white);
  transition: background-color .2s ease;
}

.video-modal__close:hover { background: rgba(255, 255, 255, .3); }

/* ---------- 20. Бургер и мобильное меню ---------- */
.burger { display: none; position: relative; width: 30px; height: 20px; padding: 0; }

.burger span {
  position: absolute;
  right: 0;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: width .2s ease;
}

.burger span:nth-child(1) { top: 0; width: 25px; }
.burger span:nth-child(2) { top: 9px; width: 30px; }
.burger span:nth-child(3) { top: 18px; width: 30px; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--white);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .45s;
}

.menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .45s cubic-bezier(.22, .61, .36, 1), visibility 0s;
}

/* Пункты меню появляются лесенкой */
.menu__head,
.menu__contacts,
.menu__label,
.menu__link,
.menu__footer {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .4s cubic-bezier(.22, .61, .36, 1);
}

.menu.is-open .menu__head,
.menu.is-open .menu__contacts,
.menu.is-open .menu__label,
.menu.is-open .menu__link,
.menu.is-open .menu__footer { opacity: 1; transform: none; }

.menu.is-open .menu__head { transition-delay: .05s; }
.menu.is-open .menu__contacts { transition-delay: .1s; }
.menu.is-open .menu__label { transition-delay: .15s; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: .18s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: .22s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: .26s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: .30s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: .34s; }
.menu.is-open .menu__link:nth-child(6) { transition-delay: .38s; }
.menu.is-open .menu__link:nth-child(7) { transition-delay: .42s; }
.menu.is-open .menu__footer { transition-delay: .46s; }

.menu__inner {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100%;
  padding: 24px;
}

.menu__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 25px;
}

.menu .logo { color: var(--ink); }
.menu .logo__mark { height: 43px; }
.menu .logo__word { height: 20px; }

.menu__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  font-size: 18px;
  line-height: 1;
  color: #808080;
}

.menu__contacts { display: flex; gap: 30px; margin-bottom: 78px; }

.menu .contact__caption { font-weight: 400; color: #808080; }
.menu .contact__value { font-size: 17px; color: var(--ink); }

.menu__label {
  display: block;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--red);
}

.menu__nav { display: grid; align-content: start; }

.menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 23px;
  padding: 6px 0 12px;
  border-bottom: 1px solid #ebebeb;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.menu__link::after { content: "›"; font-size: 18px; color: #808080; }

.menu__footer { align-self: end; padding-top: 20px; }

/* WOW.js: мягче и быстрее стандартных анимаций animate.css */
.wow.animated { animation-duration: .7s; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 30px, 0); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .menu, .menu *, .modal, .modal__card, .doc-modal, .doc-modal__card, .video-modal, .video-modal__box { transition: none !important; }
}

/* Элементы только для мобильной версии */
.chips,
.video-card--mobile,
.part__stock,
.accordion__img { display: none; }

/* ============================================================
   21. Адаптив — ноутбук (макет 1400, диапазон 1025–1919)
   ============================================================ */
@media (max-width: 1919px) {
  .container { width: min(100% - 200px, var(--container)); }

  .h1 { font-size: 50px; }
  .h2 { font-size: 40px; }
  .lead { font-size: 18px; }
  .section__label { margin-bottom: 30px; }

  /* Фото характеристик 2,28:1 в окне ~1,5:1 — вписываем целиком, чтобы не резать выноски */
  .specs__media img { object-fit: contain; }

  /* Шапка */
  .header { inset: 36px 0 auto; }
  .header__inner { min-height: 69px; }
  .nav { gap: 50px; }
  .header__side { gap: 35px; }
  .header .logo__mark { height: 41px; }
  .header .logo__word { height: 19px; }

  /* Герой */
  .hero { min-height: 900px; padding-block: 236px 52px; }
  .hero__pills { margin-bottom: 23px; }
  .hero__title { max-width: 576px; margin-bottom: 36px; }
  .hero__lead { max-width: 521px; margin-bottom: 36px; }
  .hero__specs { justify-content: space-between; gap: 24px; margin-top: 78px; padding-top: 30px; }
  .spec { flex: 0 0 auto; min-width: 0; white-space: nowrap; }
  .spec__name { font-size: 14px; }
  .advantages__text { width: 58.17%; padding-top: 48px; }
  .advantages__text .h2,
  .advantages__text .lead { max-width: 481px; }
  .advantages__media { width: 50.5%; margin-left: 45.42%; margin-bottom: 5.26%; }
  .video-card { left: 37.95%; top: 64.36%; width: 70.13%; }

  /* Секции с фото-врезкой */
  .feature__media { min-height: 570px; }
  .feature__col { width: 520px; }
  .feature__media--right .feature__col { width: 405px; }
  .feature__cards { gap: 8px; margin-top: 11px; }

  .info-card { min-height: 259px; padding: 25px; }
  .feature:has(.feature__media--c) .info-card { min-height: 230px; }
  .service .info-card { min-height: 228px; }
  .info-card__icon { margin-bottom: 52px; }
  .info-card__title { font-size: 20px; }
  .info-card__text { font-size: 14px; }

  /* Характеристики */
  .specs__head { max-width: 661px; margin-bottom: 50px; }
  .specs__head .section__label { margin-bottom: 30px; }

  /* Комплектация */
  .kit__head { margin-bottom: 30px; }
  .kit__head .h2 { max-width: 573px; }
  .kit__grid { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; }
  .kit-card__title { min-height: 0; font-size: 20px; }
  .kit__footer { margin-top: 54px; }

  /* Демонстрация */
  .demo__grid { grid-template-columns: 610px minmax(0, 1fr); gap: 68px; }
  .demo__title { max-width: 484px; }
  .demo__lead { margin-bottom: 30px; }
  .demo__footer { order: 1; margin: 0 0 30px; }
  .demo__footer .btn { width: 365px; max-width: 100%; }
  .demo__cards { order: 2; gap: 10px; }
  .note-card { padding: 25px 15px; }
  .note-card__title { margin-bottom: 20px; font-size: 18px; }
  .note-card__list { font-size: 14px; }

  /* Сервис */
  .service__head { margin-bottom: 57px; }
  .service .feature__cards { gap: 16px; margin-bottom: 80px; }
  .service__title { max-width: 744px; }
  .parts { gap: 16px; }
  .part { gap: 15px; }

  /* Цена */
  .price { padding-block: 80px 90px; }
  .price__grid { grid-template-columns: 51.43% minmax(0, 1fr); }
  .price__body { margin-left: -26px; padding-right: 95px; }
  .price__lead { max-width: 600px; }
  .checklist { grid-template-columns: repeat(2, minmax(0, 256px)); }
  .price-tag { left: 108px; bottom: 69px; }

  /* Контакты */
  .contacts .container { width: min(100% - 80px, 1800px); }
  .contacts__inner { gap: 40px; padding: 47px 60px 60px; }
  .contacts__body { max-width: 492px; padding-top: 47px; }

  /* Подвал */
  .footer__top { gap: 40px; }
  .footer__nav { gap: 50px; }
  .footer__contacts { gap: 40px; }
}

/* ============================================================
   22. Адаптив — узкий ноутбук / планшет альбомный (1025–1399)
   ============================================================ */
@media (max-width: 1399px) {
  .container { width: min(100% - 80px, var(--container)); }

  .nav { gap: 25px; }
  .header__side { gap: 24px; }
  .header__side .contact:nth-of-type(2) { display: none; }

  .hero__specs { justify-content: flex-start; gap: 20px 40px; }

  .advantages__text { width: 62%; }

  .specs__grid { grid-template-columns: 340px minmax(0, 1fr); }

  .demo__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 40px; }

  .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }

  .price__body { padding-right: 40px; }
  .price-tag { left: 40px; bottom: 40px; }

  .contacts .container { width: min(100% - 40px, 1800px); }
  .contacts__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); padding: 40px; }
  .contacts__card { padding: 27px 30px 30px; }

  .footer__nav { flex-wrap: wrap; gap: 12px 40px; }
}

/* ============================================================
   23. Адаптив — мобильная версия (макет 400, всё ≤1024)
   ============================================================ */
@media (max-width: 1024px) {
  .container,
  .contacts .container { width: min(100% - 40px, 720px); }

  .section { padding-block: 40px; }
  .section__label { font-size: 12px; }

  .h1 { font-size: 35px; }
  .h2 { font-size: 30px; }
  .lead { font-size: 16px; }

  .btn { border-radius: 10px; }

  /* Шапка */
  .header { inset: 20px 0 auto; }
  .header__inner { display: flex; gap: 70px; min-height: 59px; }
  .header .nav,
  .sticky .nav,
  .header__side .contact:nth-of-type(2),
  .btn-contact { display: none; }
  .header__inner .logo { order: -1; gap: 7px; width: 70px; }
  .header__inner .logo__mark { width: 70px; height: 36px; }
  .header__inner .logo__word { width: 54px; height: 16px; }
  .header__side { flex: 1; justify-content: space-between; gap: 20px; }
  .burger { display: block; height: 16px; color: var(--white); }
  .sticky .burger { color: var(--ink); }
  .burger span:nth-child(2) { top: 7px; }
  .burger span:nth-child(3) { top: 14px; }
  .sticky .header__inner { padding-block: 12px; }

  /* Герой */
  .hero { display: flex; align-items: flex-end; min-height: 853px; padding-block: 140px 66px; }
  /* Кадр из мобильного макета: фото 667×1311 в герое 400×873, сдвиг −219/−426 */
  .hero__media { background: url("../assets/hero-mobile.webp") 75.75% 66% / cover no-repeat; }
  .hero__inner { width: min(100% - 40px, 720px); }
  .hero__pills,
  .hero__specs { display: none; }
  .hero__title { max-width: 361px; margin-bottom: 20px; }
  .hero__lead { max-width: 349px; margin-bottom: 30px; }
  .hero__actions { display: grid; max-width: 360px; }
  .hero__actions .btn { width: 100%; }

  /* Характеристики-чипы */
  .chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 40px;
  }

  .chip {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 10px;
    background: var(--white);
  }

  .chip__name { font-size: 12px; font-weight: 500; line-height: 16px; color: rgba(39, 39, 39, .6); }
  .chip__value { font-size: 20px; font-weight: 500; line-height: 24px; white-space: nowrap; }

  /* Преимущества */
  .advantages { padding-block: 20px 40px; }
  .advantages__grid { display: flex; flex-direction: column; align-items: stretch; }
  .advantages__text { display: contents; }
  .advantages__text .section__label { order: 1; margin-bottom: 20px; }
  .advantages__text .h2 { order: 2; max-width: none; margin-bottom: 20px; }
  .advantages__text .lead { order: 3; max-width: none; }
  .advantages__text .lead + .lead { margin-top: 16px; }
  .advantages__media {
    order: 4;
    align-self: center;
    width: min(100% + 36px, 460px);
    margin: 20px -18px 0;
  }
  .advantages__media .video-card { display: none; }
  .advantages__cards { position: relative; z-index: 1; order: 5; align-self: stretch; width: 100%; gap: 15px 12px; margin-top: -69px; }
  .mini-card { min-height: 107px; padding: 15px; border-radius: 5px; }
  .mini-card__title { font-size: 16px; letter-spacing: -.05em; }

  .video-card--mobile {
    position: relative;
    left: auto;
    top: auto;
    order: 6;
    display: block;
    width: 100%;
    margin-top: 45px;
    aspect-ratio: 360 / 240;
    border-radius: 5px;
    box-shadow: none;
  }
  .video-card--mobile .video-card__play { width: 35px; height: 35px; }
  .video-card--mobile .video-card__play .icon { width: 8px; height: 8px; }

  /* Секции с фото-врезкой */
  .feature .container { position: relative; display: flex; flex-direction: column; }
  .feature__media,
  .feature__col,
  .feature__body { display: contents; }
  /* Кадр из мобильного макета: фото 748×318 в окне 360×300, сдвиг −314/−12 */
  .feature__media::before {
    content: "";
    order: 0;
    aspect-ratio: 6 / 5;
    margin-bottom: 30px;
    border-radius: 5px;
    background: #686868 var(--photo) 80.93% 66.67% / 207.78% auto no-repeat;
  }
  .feature__pill {
    position: absolute;
    left: 15px;
    top: calc(min(100vw - 40px, 720px) * 5 / 6 - 45px);
    min-height: 30px;
    margin: 0;
    padding: 0 12px;
    border-radius: 5px;
    box-shadow: none;
    background: var(--white);
    font-size: 12px;
    color: var(--red);
  }
  .feature__media--b::before { background-position: 28% 66.67%; }
  .feature__title { order: 1; margin-bottom: 20px; color: var(--ink); }
  .feature__lead { order: 2; margin-bottom: 30px; color: var(--ink-80); }
  .feature__cards { order: 3; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; }
  .feature__body .btn { order: 4; align-self: stretch; margin-top: 9px; }

  .info-card,
  .feature:has(.feature__media--c) .info-card {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 15px;
    row-gap: 4px;
    align-content: center;
    min-height: 89px;
    padding: 16px;
    border-radius: 10px;
    background: var(--white);
  }
  .info-card__icon { grid-row: 1 / 3; align-self: center; width: 44px; height: 41px; margin: 0; }
  .info-card__title {
    align-self: end;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
  }
  .info-card__text { align-self: start; max-width: none; font-size: 12px; font-weight: 500; line-height: 1.35; }

  /* Характеристики */
  .specs__grid { display: block; }
  .specs__media { display: none; }
  .accordion { gap: 0; padding: 8px 16px; border-radius: 5px; background: var(--white); }
  .accordion__item,
  .accordion__item.is-open { border-radius: 0; background: none; box-shadow: none; }
  .accordion__button,
  .accordion__item.is-open .accordion__button { align-items: center; padding: 16px 0; }
  .accordion__title { padding: 0; font-size: 16px; font-weight: 600; letter-spacing: 0; }
  .accordion__chevron,
  .accordion__item.is-open .accordion__chevron { width: 16px; height: 16px; background: none; color: #999; }
  .accordion__item.is-open .accordion__chevron { color: var(--red); }
  .accordion__chevron .icon { width: 8px; height: 5px; }
  .accordion__item.is-open .accordion__panel > div { padding-bottom: 16px; }
  .accordion__text { padding: 0; font-size: 14px; line-height: 1.4; }
  .accordion__img { display: block; width: 100%; height: auto; margin-top: 12px; border-radius: 6px; }

  /* Комплектация */
  .kit__head { display: block; }
  .kit__head .h2 { max-width: none; }
  .kit__head .slider-nav,
  .kit__footer { display: none; }
  .kit__grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: 20px 16px;
    overflow: visible;
    padding: 0;
  }
  .kit-card { gap: 8px; }
  .kit-card__media { aspect-ratio: 172 / 129; border-radius: 8px; }
  .kit-card__title { font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
  .kit-card:has(.kit-card__badge) .kit-card__title { color: rgb(141, 141, 141); }
  .kit-card__badge {
    left: 8px;
    top: auto;
    bottom: 8px;
    min-height: 21px;
    padding: 4px 8px 5px;
    border-radius: 10px;
    font-size: 10px;
    text-transform: lowercase;
    color: rgb(217, 38, 38);
  }

  /* Демонстрация */
  .demo__grid { display: flex; flex-direction: column; gap: 0; }
  .demo__body { display: contents; }
  .demo__body .section__label { order: 1; }
  .demo__title { order: 2; max-width: none; margin-bottom: 20px; }
  .demo__lead { order: 3; }
  .slider { order: 4; min-height: 0; height: auto; aspect-ratio: 6 / 5; border-radius: 5px; }
  .demo__footer { order: 5; margin: 30px 0; }
  .demo__footer .btn { width: 100%; }
  .demo__cards { order: 6; }
  .note-card { min-height: 230px; }
  .slider__arrow--prev { left: 15px; }
  .slider__arrow--next { right: 15px; }
  .slider__dots { bottom: 20px; }

  /* Сервис */
  .service__head { margin-bottom: 30px; }
  .service__head .lead { margin-top: 20px; padding: 0; }
  .service .feature__cards {
    counter-reset: step;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 40px;
  }
  .service .info-card {
    counter-increment: step;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    align-content: start;
    gap: 10px;
    min-height: 160px;
    padding: 14px;
    border-radius: 5px;
    box-shadow: none;
  }
  .service .info-card::before {
    content: "ШАГ 0" counter(step);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: var(--red);
  }
  .service .info-card__icon { display: none; }
  .service .info-card__title { align-self: start; }
  .service__title { margin-bottom: 30px; }
  .parts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .part {
    grid-template-columns: 80px minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: 12px;
    row-gap: 0;
    min-height: 72px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--white);
  }
  .part__media { grid-row: 1 / -1; aspect-ratio: auto; height: 100%; border-radius: 0; }
  .part__name { grid-row: 2; padding-right: 12px; font-size: 14px; font-weight: 600; line-height: 1; color: var(--ink); }
  .part__stock {
    grid-row: 3;
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--red);
  }

  /* Цена */
  .price { padding-block: 40px; }
  .price .container { width: min(100% - 40px, 720px); }
  .price__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 30px 20px;
    border-radius: 5px;
    background: var(--white);
  }
  .price__body { display: contents; }
  .price__body .section__label { margin: 0; font-weight: 600; }
  .price__body .h2 { max-width: none; margin: 0; }
  .price__lead { margin: 0; }
  .checklist { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; }
  .checklist li { align-items: center; font-size: 14px; font-weight: 400; line-height: 1.4; }
  .checklist .icon { width: 18px; height: 18px; margin: 0 3px; }
  .price__actions { display: grid; gap: 8px; }
  .price__actions .btn { min-height: 54px; }
  .price__media { order: 1; aspect-ratio: 8 / 5; border-radius: 12px; overflow: hidden; }
  .price-tag {
    left: 15px;
    top: 15px;
    bottom: auto;
    min-width: 132px;
    padding: 8px 12px;
    border-radius: 5px;
  }
  .price-tag__caption { font-size: 12px; line-height: 1; color: var(--ink-80); }
  .price-tag__old { display: none; }
  .price-tag__value { margin-top: 0; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--red); }

  /* Контакты */
  .contacts { padding-block: 40px 0; }
  .contacts__inner {
    display: block;
    padding: calc(min(100vw - 40px, 720px) * 201 / 360 + 20px) 0 0;
    border-radius: 0;
    overflow: visible;
    color: var(--ink);
    background: none;
  }
  .contacts__inner::before {
    inset: 0 0 auto;
    height: auto;
    aspect-ratio: 360 / 201;
    border-radius: 5px;
    background: url("../assets/7c6a1e3f3079121f.webp") center / cover no-repeat;
  }
  .contacts__body { max-width: none; padding: 0; }
  .contacts__body .section__label { margin-bottom: 12px; font-weight: 600; letter-spacing: .04em; color: var(--red); }
  .contacts__title { margin-bottom: 12px; color: var(--ink); }
  .contacts__lead { color: var(--ink-80); }
  .contacts__card { margin-top: 20px; padding: 0; border-radius: 0; background: none; backdrop-filter: none; }
  .contacts__card-title { display: none; }
  .contacts .field__input {
    height: 48px;
    padding: 0 14px;
    border-radius: 8px;
    box-shadow: none;
    background: var(--white);
    font-size: 14px;
    font-weight: 400;
    color: var(--ink);
  }
  .contacts .field__input::placeholder { color: var(--ink-80); }
  .contacts .field__input:focus { box-shadow: inset 0 0 0 1px var(--ink); }
  .contacts .field.is-invalid .field__input { box-shadow: inset 0 0 0 1px var(--red); }
  .contacts .checkbox { gap: 8px; margin-top: 10px; font-size: 12px; font-weight: 400; line-height: 1.2; color: var(--ink-80); }
  .contacts .checkbox + .checkbox { margin-top: 2px; }
  .contacts .checkbox__box { width: 16px; height: 16px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(39, 39, 39, .3); }
  .contacts .checkbox__box .icon { width: 9px; height: 7px; }
  .contacts .checkbox + .btn { margin-top: 10px; }
  .contacts .btn { min-height: 52px; border-radius: 8px; font-size: 14px; }
  .contacts .form__success { color: var(--ink); }
  .contacts .form__success-text { color: var(--ink-80); }

  /* Подвал */
  .footer {
    margin-top: 80px;
    padding: 48px 0 32px;
    border-top: 0;
    background: rgb(26, 26, 26);
    color: var(--white);
  }
  .footer__top { display: flex; flex-direction: column; }
  .footer .logo { gap: 6px; width: 80px; color: var(--white); }
  .footer .logo .icon { filter: brightness(0) invert(1); }
  .footer .logo__mark { width: 80px; height: 46px; }
  .footer .logo__word { width: 62px; height: 20px; margin: 0; }
  .footer__contacts { order: 1; flex-direction: column; align-items: center; gap: 20px; }
  .footer .contact { justify-items: center; gap: 4px; }
  .footer .contact__caption { color: rgba(255, 255, 255, .5); }
  .footer .contact__value { font-size: 20px; font-weight: 600; line-height: 1; color: var(--white); }
  .footer .contact + .contact .contact__value { font-size: 18px; font-weight: 500; }
  .footer__nav { order: 2; display: grid; grid-template-columns: repeat(2, auto); gap: 16px 12px; }
  .footer__nav .nav__link {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    font-size: 13px;
    line-height: 1;
    text-align: center;
    color: var(--white);
  }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-weight: 400;
    text-align: center;
    color: rgba(255, 255, 255, .4);
  }
  .footer__legal { flex-direction: column; align-items: center; gap: 16px; color: rgba(255, 255, 255, .5); }
}

/* Планшеты (601–1024): характеристики по 3 в ряд */
@media (min-width: 601px) and (max-width: 1024px) {
  .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Телефоны: крупнее кадр героя, как в макете 400 */
@media (max-width: 560px) {
  .hero__media { background-size: auto 150.2%; background-position: 75.75% 97.3%; }
}

/* Телефоны: карточки «Демонстрации» в одну колонку */
@media (max-width: 767px) {
  .demo__cards { grid-template-columns: minmax(0, 1fr); }
  .service .feature__cards { grid-template-columns: minmax(0, 1fr); }
  .service .info-card { min-height: 0; }
}

/* Узкие телефоны (≤400) */
@media (max-width: 400px) {
  .chip__value { font-size: 17px; white-space: normal; }
}
