/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
  --c-dark: #0A0C17;
  --c-dark2: #020202;
  --c-gray: #202020;
  --c-accent: #E8F5FF;
  --c-light: #e1e5e8;
  --c-white: #fff;
  --c-muted: #a2a2a2;
  --c-placeholder: #c2c2c2;
  --c-field: rgba(255, 255, 255, 0.5);
  --c-field-br: #D6D6D7;
  --font-base: "Geist", sans-serif;
  --container-w: 1420px;
  --control-h: 55px;
  --radius: 10px;
  --radius2: 16px;
  --gap-block: 120px;
  --transition: 0.3s ease;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  max-width: 1920px;
  margin: 0 auto;
  font: 400 16px/1.4 var(--font-base);
  color: var(--c-white);
  background: var(--c-dark2);
  overflow-x: hidden;
  padding-top: 84px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

sup {
  font-size: 0.7em;
  vertical-align: super;
}

/* Клавиатурный фокус (мышь/тач не трогаем). */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  position: relative;
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* height: 223px; */
}

main>section:not(.banner, .timer) {
  margin-bottom: var(--gap-block);
  position: relative;
  /* z-index: -1; */
  pointer-events: all;
  left: 0;
  right: 0;
}

.anim {
    transform: translateY(100px);
    opacity: 0;
    transition: all .5s linear;
}

.anim.animated {
    opacity: 1;
    transform: translateY(0px);
}

/* Инициализированный Swiper раскладывает слайды сам — flex у контейнера
   ломает ширину скроллбара (он становится flex-элементом). */
.swiper[data-mslider],
.swiper[data-cslider] {
  display: block;
}

/* Светлая зона макета: комплектации + технологии. */
.light-zone {
  padding: var(--gap-block) 0;
  background: var(--c-white);
  color: var(--c-dark2);
}

.light-zone>section {
  margin-top: 25px;
}

.light-zone>section+section {
  margin-top: var(--gap-block);
}

/* Заголовок блока: маркер + текст. */
.title {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 0.8px;
  /* text-transform: uppercase; */
}

.title::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--c-white);
}

.light-zone .title {
  /* gap: 19px; */
  /* line-height: 1.3; */
}

.light-zone .title::before {
  background: var(--c-dark2);
}

.title--multiline {
  align-items: flex-start;
  line-height: 1.3;
}

.title--multiline::before {
  margin-top: 18px;
}

/* Подпись у левой голубой черты. */
.lead {
  padding-left: 8px;
  font-size: 22px;
  line-height: 1.2;
  border-left: 1px solid var(--c-accent);
}

/* ==========================================================================
   BUTTONS — .btn + модификаторы .btn--white / .btn--glass / .btn--dark
   ========================================================================== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: var(--control-h);
  padding: 0 26px;
  font: 600 18px/1 var(--font-base);
  color: var(--c-dark);
  text-align: center;
  white-space: nowrap;
  background: var(--c-accent);
  border: 1px solid transparent;
  border-radius: var(--radius2);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

/* Иконка-стрелка: маска красится в currentColor, поэтому ховер меняет и её. */
.btn::after {
  flex: none;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url(../img/ico/btn_arrow.svg) center / contain no-repeat;
  mask: url(../img/ico/btn_arrow.svg) center / contain no-repeat;
  animation: arrow-move-x 2s linear infinite;
  content: "";
}

@keyframes arrow-move-x {
  0% {
    transform: translateX(0);
    animation-timing-function: ease-in-out;
  }

  50% {
    transform: translateX(clamp(3px, 3%, 10px));
    animation-timing-function: ease-in-out;
  }

  100% {
    transform: translateX(0);
  }
}

.btn--noico::after {
  display: none;
}

.btn:hover {
  background: #E1E5E8;
  color: var(--c-dark2);
  /* border-color: var(--c-dark2); */
}

.btn--white {
  background: var(--c-white);
}

.btn--white:hover {
  background: var(--c-accent);
}

.btn--glass {
  color: var(--c-dark);
  background: transparent;
  border-color: var(--c-dark);
}

.btn--glass:hover {
  color: var(--c-dark2);
  background: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-dark2);
}

.btn--dark {
  color: var(--c-accent);
  background: var(--c-dark);
}

.btn--dark:hover {
  color: var(--c-white);
  background: #1E254C;
  border-color: #1E254C;
}

/* ==========================================================================
   FORMS — поле / селект / согласие ПД (сноска) / состояния
   ========================================================================== */
.form-group {
  position: relative;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  height: var(--control-h);
  padding: 0 20px;
  font: 700 16px/1 var(--font-base);
  color: var(--c-white);
  background: var(--c-field);
  border: 1px solid var(--c-field-br);
  border-radius: var(--radius2);
  outline: none;
}

.form-group input::placeholder {
  color: var(--c-placeholder);
}

.form-group select {
  appearance: none;
  padding-right: 46px;
  background: url(../img/ico/select_arrow.svg) right 39px center / 18px 18px no-repeat var(--c-field);
}

.form-group select option {
  color: var(--c-dark2);
  background: var(--c-white);
}

input[type="file"] {
  display: none;
}

/* Согласие на обработку ПД — мелкая сноска под формой. */
.agree-field {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 19px;
  font-size: 12px;
  cursor: pointer;
  color: #9D9EA2;
  gap: 0px;
}

.agree-field a {
  text-decoration: underline;
}

.agree-field span {
  padding-top: 1px;
}

.agree-field input {
  position: absolute;
  top: 1px;
  left: 0;
  width: 12px;
  height: 12px;
  appearance: none;
  background: var(--c-white);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.agree-field input:checked:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  background: #1E254C;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.agree-field input:checked {
  /* background: url(../img/ico/done.svg) center / 11px 11px no-repeat  #E8F5FF; */
}

/* Подсветка невалидного поля + блок кнопки без согласия (классы вешает JS). */
.has-danger input,
.has-danger select {
  border-color: #eba5a3;
  box-shadow: 0 0 6px #eba5a3;
}

.not_agree button {
  background: #ccc !important;
  color: var(--c-white) !important;
  cursor: default;
  pointer-events: none;
}

/* ==========================================================================
   POPUP — fancybox копирует innerHTML источника, поэтому стили вешаем
   на .popup_container, а не на #form_popup.
   ========================================================================== */
#form_popup {
  display: none;
}

.popup_container {
  width: 440px;
  max-width: 100%;
  padding: 32px;
  color: var(--c-white);
  background: var(--c-gray);
  border-radius: var(--radius);
}

.form_title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.popup_container .btn {
  width: 100%;
  margin-bottom: 12px;
}

/* Системный alert рисуется во fancybox поверх белого фона. */
.alert {
  padding: 8px 44px;
  color: var(--c-dark2);
  text-align: center;
}

/* ==========================================================================
   FANCYBOX v3 — интеграция плагина (попапы форм + галереи)
   ========================================================================== */
.fancybox-content {
  overflow: hidden;
}

.fancybox-button svg {
  transform: scale(2);
}

.compensate-for-scrollbar {
  margin-right: auto !important;
  overflow: auto !important;
}

/* ==========================================================================
   HEADER — фикс-шапка + навигация
   ========================================================================== */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 15;
  /* color: var(--c-dark); */
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 32px;
  /*height: 85px;*/
  background: #020202;
  border-bottom: 1px solid #373737;
  transition:all 0.3s;
}

.logo-group {
  flex-shrink:0;
}

.logo-group img {
  display: block;
  transition:all 0.3s;
  height:47px;
}

.header__col {
  /* padding-left: 8px; */
  line-height: normal;
  /* border-left: 1px solid var(--c-accent); */
}

.header__label {
  font-size: 14px;
  color: var(--c-muted);
  display: none;
}

.header__value {
  font-weight: 500;
  white-space: nowrap;
  /* padding-left: 26px; */
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__value::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--c-white);
}

.addr .header__value {
  /* background: url(../img/addr.svg) left center no-repeat; */
}

.phone .header__value {
  background: url(../img/phone.svg) left center no-repeat;
  letter-spacing: 0;
}

.worktime .header__value {
  background: url(../img/worktime.svg) left center no-repeat;
  letter-spacing: 0;
}



.header__btn {
  flex: none;
  width: 247px;
  transition:all 0.3s;
}

.m_btn {
  display: none;
}


  .header.header--small .header__content {
    padding: 8px 0;
  }

  .header.header--small .header__top {
    padding: 6px 32px;
  }

  .header.header--small .logo-group img {
    height: 30px;
  }


  .header.header--small .menu__content {
    height: 32px;
  }

  .header.header--small .header__btn {
    height: 40px;
  }



/* ==========================================================================
   NAV — нижняя строка шапки (стеклянная)
   ========================================================================== */
.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 32px;
  height: 51px;
  background: #020202B2;
  backdrop-filter: blur(7px);
  /* border-radius: 0 0 var(--radius) var(--radius); */
  border-top: 1px solid #0A0C17;
  position: relative;
}

.menu .container {
  height: 100%;
  justify-content: space-between;
}

.menu__group {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 50px;
}

.menu__contact {
  display: none;
}

.menu a {
  transition: color var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 2px 0px;
  /* font-weight: 700; */
  /* font-weight: 500; */
  letter-spacing: 0.6px;
}

.menu a:after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  height: 2px;
  transition: 0.5s;
  width: 0px;
  background: var(--c-dark);
}

.menu a:hover {
  /* color: var(--c-accent); */
  text-shadow: 1px 0px 0px white;
}

.menu a:hover:after {
  width: 100%;
}

/* ==========================================================================
   BANNER — hero-баннер
   ========================================================================== */
.banner {
  position: relative;
}

.banner__bg {
  position: absolute;
  top: 90px;
  left: 50%;
  z-index: 2;
  padding: 30px 50px;
  padding-bottom: 0;
  transform: translateX(-50%);
  max-width: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
}

.banner__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;

  /* Единый сплошной цвет с полупрозрачностью */
  background-color: rgba(2, 2, 2, 0.7);

  /* Эффект блюра ТОЛЬКО ПОД ПЛАШКОЙ */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  /* Маска обрезает сам блок И размытие строго по контуру SVG */
  -webkit-mask-image:
    url(../img/banner_bg1.svg),
    url(../img/banner_bg2.svg),
    linear-gradient(#000, #000);
  -webkit-mask-position:
    left top,
    right top,
    center top;
  -webkit-mask-repeat:
    no-repeat,
    no-repeat,
    no-repeat;
  -webkit-mask-size:
    60px 100%,
    60px 100%,
    calc(100% - 80px) 100%;

  mask-image:
    url(../img/banner_bg1.svg),
    url(../img/banner_bg2.svg),
    linear-gradient(#000, #000);
  mask-position:
    left top,
    right top,
    center top;
  mask-repeat:
    no-repeat,
    no-repeat,
    no-repeat;
  mask-size:
    60px 100%,
    60px 100%,
    calc(100% - 80px) 100%;
}






.banner__media img {
  width: 100%;
  height: 820px;
  object-fit: cover;
}

.banner__badge {
  font-size: 36px;
  font-weight: 400;
  white-space: nowrap;
  border-radius: var(--radius);
  /* transform: translateX(-50%); */
  padding-bottom: 7px;
  gap: 20px;
  display: flex;
  align-items: center;
  letter-spacing: 0px;
}

.banner__badge b {
  font-weight:600;
}

.banner__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  /* color: var(--c-dark2); */
  padding-bottom: 33px;
}

.banner__title {
  margin-bottom: -8px;
  font-size: 44px;
  font-weight: bold;
  text-align: center;
  /* text-transform: uppercase; */
  line-height: 1.43;
}

.banner__sub {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

.banner .banner__buttons {
  display: flex;
  gap: 30px;
  margin-bottom: -25px;
}

.banner .btn {
  height: 50px;
  font-size: 20px;
  gap: 20px;
  padding: 12px 20px;
}

.banner .btn:after {
  display: none;
}

/* ==========================================================================
   TIMER — блок таймера акции
   ========================================================================== */
.timer-wrap {
    position: absolute !important;
    transform: translateY(-50%);
}
.timer {
  /* z-index: 2; */
  /* margin-top: -81px; */
  background: url(../img/timer_text.svg) right top no-repeat,
    url(../img/timer_bg1.svg) left top no-repeat,
    url(../img/timer_bg2.svg) right top no-repeat,
    url(../img/timer_bg3.svg) center top no-repeat;
  background-size: auto, auto 100%, auto 100%, auto 100%;
  padding: 40px 45px;
  /* margin-top: -125px; */
  max-width: 100%;
  width: 100%;
}

.timer__card {
  position: relative;
  display: flex;
  column-gap: 20px;
  justify-content: space-between;
  row-gap: 10px;
  /* align-items: center; */
  /* padding: 47px 0; */
  gap: 51px;
  width: 100%;
  overflow: hidden;
  /* background: var(--c-gray); */
}

.decor {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
}

.timer__form {
  flex: none;
  width: 50%;
}

.timer__title {
  margin-bottom: 13px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.8px;
}

.timer__row {
  display: flex;
  gap: 25px;
  margin-bottom: 10px;
}

.timer__row .form-group {
  flex: 1;
  margin: 0;
}

.timer__row .btn {
  width: 100%;
}

.timer__clock {
  width: 48%;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   CARS — карточки моделей
   ========================================================================== */
.cars {
    padding-top: 100px;
}

.cars .title {
  /* color: var(--c-dark); */
  text-align: center;
  justify-content: center;
  margin-bottom: -64px;
}

.cars .container {
  display: flex;
  flex-direction: column;
  /* gap: 80px; */
  gap: 0px;
}

.car {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* height: 485px; */
  padding: 40px;
  padding-top: 43px;
  padding-right: 0px;
  overflow: hidden;
  /* border: 1px solid rgba(222, 238, 250, 0.2); */
  /* border-radius: var(--radius); */
  /* background: linear-gradient(82.81deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 66.86%, rgba(255, 255, 255, 0) 100%); */
  /* color: var(--c-dark); */
  /* background: linear-gradient(82.81deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 66.86%, rgba(255, 255, 255, 0) 100%); */
  background: url(../img/car_bg.svg) left top no-repeat;
  background-size: 100% 100%;
  margin-top: 120px;
}

.car__bg {
  /* position: absolute; */
  /* right: 231px; */
  /* top: 132px; */
  /* z-index: -1; */
  /* display: flex; */
  /* justify-content: flex-end; */
  /* align-items: flex-start; */
  background: url(../img/car_image_bg.svg) center top no-repeat;
  width: 590px;
  height: 387px;
  max-width: 100%;
  background-size: 100% 100%;
  margin-right: 25px;
  position: relative;
  border-image-slice: 60 fill;
  /* 4. Задаем визуальную ширину этим нерастягиваемым углам */
  border-image-width: 60px;
  /* 5. Указываем, что прямые линии нужно тянуть (stretch), а не повторять */
  border-image-repeat: stretch;
}

.car__bg img {
  /* width: 100%; */
  /* height: 100%; */
  /* object-fit: cover; */
}

.car__bg::after {
  /*position: absolute;
  inset: 0;
  content: "";*/
}

.car__row1 {
  display: flex;
}

.car__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.car__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 20px; */
  margin-bottom: 38px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  gap: 12px;
  width: 100%;
  padding-right: 39px;
}

.car__title::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--c-dark2);
  order: 2;
}

.car__mob {
  display: none;
}

.car__badge {
  position: absolute;
  top: 32px;
  right: 32px;
  height: 40px;
  padding: 8px 17px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-accent);
  white-space: nowrap;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.1px;
  display: none;
}

.car__badge:before {
  content: '';
  background: url(../img/ico/badge.svg);
  width: 20px;
  height: 20px;
  display: block;
}

.car__badge .an {
  position: absolute;
  background: linear-gradient(88.96deg, #000000 1.64%, #6E6E6E 61.12%, #000000 100%);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  border-radius: var(--radius);
}

.car__badge .an:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: var(--radius);
  background: linear-gradient(88.96deg, #000000 1.64%, #000000 61.12%, #000000 100%);
  opacity: 0;
  transition: all 0.3s;
}

.car__badge:hover .an:before {
  opacity: 1;
}

.car__utp {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  width: 419px;
  max-width: 100%;
}

.car__utp li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
  min-height: 40px;
  line-height: 1;
  list-style: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(90deg, #DEEEFA 0%, rgba(222, 238, 250, 0.3) 100%);
  padding-left: 13px;
}

.car__utp li::before {
  flex: none;
  width: 28px;
  height: 28px;
  background-color: rgba(222, 238, 250, 0.3);
  background-position: left center;
  background-repeat: no-repeat;
  /* background-size: 16px 20px; */
  border: 1px solid var(--c-accent);
  border-radius: 4px;
  content: "";
}

.car__utp li:nth-child(1)::before {
  background-image: url(../img/ico/utp_ya.svg?v=2);
  /* background-size: 20px 20px; */
}

.car__utp li:nth-child(2)::before {
  background-image: url(../img/ico/utp_robot.svg?v=2);
  /* background-size: 20px 22px; */
}

.car__utp li:nth-child(3)::before {
  background-image: url(../img/ico/utp_avail.svg);
}

.car__utp b {
  font-size: 22px;
  color: var(--c-accent);
}

.car__utp span {
  font-size: 18px;
}

.car__specs {
  column-gap: 32px;
  row-gap: 15px;
  margin-bottom: 33px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 45px;
}

.car__specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  line-height: normal;
  list-style: none;
  background: var(--c-field);
  border-radius: 16px;
  padding-right: 20px;
  background-color: transparent;
  transition: all 0.3s;
}

.car__specs li:nth-child(1) {
  background:var(--c-accent);
}

.car__specs span {
  font-size: 20px;
}

.car__specs b {
  /* font-weight: 500; */
}

.car__specs li:hover {
  background-color: #E1E5E8;
}

.car__btns {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-right: 39px;
}

.car__btns .btn {
  flex: 1;
}

/* Контейнер всего блока выбора цвета */
.car__colors {
  /* margin: 20px 0; */
  position: absolute;
  top: -55px;
  left: 0;
  width: 590px;
  /* width: 157px; */
  /* max-width: 100%; */
  display: flex;
  align-items: center;
}

/* Заголовок "Выберите цвет:" */
.car__colors-title {
  font-size: 16px;
  color: #333333;
  font-weight: 500;
  min-height: 30px;
  background: #DEEEFA4D;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 5px 10px; */
  border-radius: var(--radius);
  background: url(../img/car_choose_color.svg) left center no-repeat;
  padding-left: 55px;
  font-size: 0;
}

/* Сетка/список для кнопок переключения */
.car__colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* Отступы между плашками */
}

/* Элемент плашки (кнопка-капсула) */
.car__colors-item {
  display: block;
  position: relative;
  width: 30px;
  /* Ширина капсулы */
  height: 30px;
  /* Высота капсулы */
  /* border-radius: var(--radius); */
  /* Идеальное скругление под капсулу */
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.2s ease;
  text-decoration: none;
  outline: none;
  border: 3px solid transparent;
}

/* Состояние при наведении на плашку */
.car__colors-item:hover {
  transform: scale(1.04);
}

/* CSS-ГАЛОЧКА (появляется только у активного элемента) */
.car__colors-item.active::after {
  content: '';
  position: absolute;
  /* Центрирование внутри капсулы */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* transform: translate(-50%, -60%) rotate(45deg); */

  /* Размеры сторон галочки */
  /* width: 6px; */
  /* height: 12px; */

  /* Толщина и цвет линий галочки */
  /* border-right: 2px solid var(--c-dark); */
  /* border-bottom: 2px solid var(--c-dark); */

  /* Эффект тени, чтобы белую галочку было видно на белом фоне плашки */
  /* filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.8)); */
  /* background: url(../img/ico/color_checked.svg) center center no-repeat; */
  border: 3px solid #9D9EA2;
}

.car__colors-name {
  margin-left: auto;
  color: #9D9EA2;
}

.car__row2 {}

.car__photos {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 10px;
  width: 206px;
  height: 387px;
  overflow: hidden;
  margin-bottom: 35px;
  padding-right: 38px;
}

.car__photos .swiper-pagination-vertical.swiper-pagination-bullets, .swiper-vertical>.swiper-pagination-bullets
{ right:0; }

/* Скроллбар галереи Swiper прячет сам, пока слайды влезают целиком. */
.car__photos .swiper-scrollbar {
  background: rgba(255, 255, 255, 0.25);
  display: none;
}

.car__photos .swiper-scrollbar-drag {
  background: var(--c-white);
}

.car__photo {
  display: block;
  height: 78px;
  overflow: hidden;
  border-radius: 16px;
}

.car__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car__photo:hover img {
  transform: scale(1.08);
}

.car .swiper-pagination-bullet {
  opacity: 1;
  width: 12px;
  height: 12px;
  background: #E1E5E8;
  border-radius: 0;
  position: relative;
  z-index: 2;
}

.car .swiper-pagination-bullet-active {
  width: 12px;
  height: 45px;
  background: #9D9EA2;
}

/* ==========================================================================
   COMPLECTS — таблица комплектаций (include.table.php)
   ========================================================================== */
#instock {
  padding-top: var(--gap-block);
  /* padding-bottom: var(--gap-block); */
}

#instock .container {}

#instock .container .title {
  /* margin-bottom: 43px; */
}

#instock .complects {
  width: 100%;
}

.complects__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* flex-direction: column; */
  gap: 0;
  /* margin-bottom: -16px; */
  margin-bottom: 63px;
}

.complects__menu {
  display: flex;
  overflow: hidden;
  column-gap: 25px;
  row-gap: 5px;
  background: #2F3030;
  border-radius: 24px;
  padding: 10px;
}

.complects__menu li {
  list-style: none;
  flex-direction: column;
  display: flex;
  /* opacity: 0.4; */
  border-radius: 16px;
  min-width: 300px;
}

.complects__menu li.current {
  opacity: 1;
  background: white;
}

.complects__menu button {
  font: 600 18px/1 var(--font-base);
  text-transform: uppercase;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
  /* height: 115px; */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px;
  color: #9D9EA2;
  background: none;
}

.complects__menu img {
  transform: translateY(-63px);
  pointer-events: none;
  display: none;
}

.complects__menu button:hover {
  color: var(--c-white);
}

.complects__menu li.current button {
  color: var(--c-dark2);
  /* background: var(--c-light); */
}

/* Селекты-фильтры костяка не нужны по макету (модель выбирается табами),
   но остаются в разметке — на них ссылается .anchor2 из шапки. */
.complects__filter {
  display: none;
}

.complects__list {
  display: flex;
  flex-direction: column;
  /* grid-template-columns: repeat(1, 1fr); */
  gap: 40px;
  width: 100%;
}

.complects__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: url(../img/complect_bg2.svg);
  background-size: 100% 100%;
}

.complects__body {
  display: grid;
  grid-template-columns: 462px 1fr;
  /* display: flex; */
  width: 100%;
  /* height: 270px; */
  gap: 0px;
  /* height: 245px; */
  /* background: var(--c-light); */
  border-radius: var(--radius);
  /* background: linear-gradient(87.89deg, #DEEEFA 0.19%, #DEEEFA 59.91%, #FFFFFF 100%); */
  padding: 46px 37px;
  padding-bottom: 36px;
}

.complects__image {
  width: 526px;
  position: relative;
  z-index: 2;
  margin-left: 5px;
  display: flex;
  align-items: center;
}

.complects__image img {
  /* width: 100%; */
  /* height: 100%; */
  /* object-fit: cover; */
}

.complects__info {
  color: var(--c-dark2);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url(../img/complect_bg.svg) right top no-repeat;
  border-radius: 16px;
  padding: 40px;
  padding-left: 140px;
  height: 226px;
  width: 858px;
  margin-left: -37px;
}

.complects__name {
  display: flex;
  line-height: 1.3;
  align-items: center;
  /* justify-content: space-between; */
  gap: 20px;
  margin-bottom: 3px;
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.complects__name span {
  padding: 8px 25px;
  /* padding-top: 12px; */
  line-height: 10px;
  font-size: 24px;
  font-weight: 600;
  background: var(--c-accent);
  color: var(--c-dark);
  border-radius: var(--radius);
  height: 51px;
  display: flex;
  align-items: center;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-left: auto;
  position: relative;
  right: 2px;
  top: -18px;
}

.benefit svg {}

.complects__specs {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 663px;
  max-width: 100%;
  margin-bottom: 32px;
}

.complects__specs li {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 4px;
  /* line-height: 23px; */
  list-style: none;
  position: relative;
  /* padding-left: 13px; */
  padding-right: 31px;
  /* flex-grow: 1; */
  /* height: 40px; */
}

.complects__specs li::before {}

.complects__specs em {
  flex: 1;
  align-self: flex-end;
  height: 1px;
  margin-bottom: 5px;
  background: repeating-linear-gradient(to right,
      #b9bdc0 0 2px,
      transparent 2px 4px);
  display: none;
}

.complects__specs span {
  color: #68696F;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

.complects__specs b {
  font-size: 24px;
  font-weight: 500;
  line-height: 23px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.complects__specs b:before {
  content: '';
  display: block;
  width: 12px;
  min-width: 12px;
  height: 12px;
  background: var(--c-dark);
}

.complects__btns {
  display: flex;
  gap: 24px;
}

.complects__btns .btn {
  flex: 1;
}

/* В комплектациях ховер инвертирует пару голубая ↔ чёрная. */
.complects .btn:hover {
  color: var(--c-accent);
  background: var(--c-dark2);
}

.complects .btn--dark:hover {
  color: var(--c-dark2);
  background: var(--c-accent);
}

.complects__more {
  margin: 24px auto 0;
  padding: 0 40px;
}

.complects__more[hidden] {
  display: none;
}



/* ==========================================================================
   Бегущая строка 
   ========================================================================== */
.run_now {
  display: flex;
  align-items: center;
  background: #2A3337;
  overflow: hidden;
  position: relative;
  height: 70px;
  background: #E8F5FF;
  /* margin-bottom: 41px; */
  /* margin-top: -45px; */
  position: relative;
  z-index: 2;
  color: #0A0C17;
}

.run_now_cont {
  white-space: nowrap;
  animation: runstring 20s infinite linear;
  font-size: 24px;
  font-weight: 500;
  /* text-transform: uppercase; */
  display: flex;
  align-items: center;
}

.run_now_cont span b {
  text-transform: uppercase;
}

.run_now_cont div {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 40px;
  padding-top: 3px;
}

.run_now_cont div:after {
  content:'';
  width:8px;
  height:8px;
  display:block;
  background:#0A0C17;
  margin-left: 40px;
}

.run_now_cont span {
  content: '';
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  margin-right: 20px;
  box-shadow: 0px 2px 34px 0px #3D3D3D26;
  background: #FFFFFF;
}

@keyframes runstring {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}


/* ==========================================================================
   Кредит / Лизинг
   ========================================================================== */
/* Общий контейнер для карточек */
.finance-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  /* flex-wrap: wrap; */
}

/* Карточка */
.finance-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 668px;
  min-height: 840px;
  padding: 37px 38px;
  background: #F6F8F9;
  border: 1px solid #D6D6D7;
  /* border-radius: 24px; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

/* Вариант карточки с инверсией (картинка снизу) */
.finance-card--reverse {
  flex-direction: column-reverse;
}

/* Картинка со срезанными противоположными углами (по макету Figma) */
.finance-card__img {
  width: 100%;
  height: 387px;
  overflow: hidden;
  border-radius: 20px;
  /* Срез верхнего правого и нижнего левого угла под 45 градусов */
  /* clip-path: polygon(0% 20px,
      20px 0%,
      calc(100% - 32px) 0%,
      100% 32px,
      100% calc(100% - 20px),
      calc(100% - 20px) 100%,
      32px 100%,
      0% calc(100% - 32px)); */
}

.finance-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Контентная часть */
.finance-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.finance-cards .btn {}

.finance-card__title {
    margin: 0 0 10px 0;
}

/* Черный квадратик у заголовка */
.finance-card__title .square {
  width: 12px;
  height: 12px;
  background-color: #0A0C17;
  flex-shrink: 0;
}

.finance-card__desc {
  font-weight: 400;
  font-size: 24px;
  line-height: 150%;
  color: #0A0C17;
  margin: 0 0 10px 0;
}

/* Форма */
.finance-card__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.finance-card__form .form-group {
  width: 100%;
  margin: 0;
}

/* Галочка согласия */
.finance-cards .agree-field {
}

.finance-cards .agree-field input[type="checkbox"] {
}

.finance-cards .agree-field a {
}


/* ==========================================================================
   Обмен авто 
   ========================================================================== */
.trade-in {
  position: relative;
  width: 100%;
  min-height: 922px;
  padding: 120px 0 60px;
  box-sizing: border-box;

  /* Фоновое изображение и градиент из Figma */
  background: linear-gradient(180deg, #8E939F 0%, rgba(142, 147, 159, 0) 16.98%),
    url('../img/tradein_bg.jpg') center/cover no-repeat,
    #8E939F;
  background: url('../img/tradein_bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 0 !important;
}

.trade-in .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.trade-in__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 790px;
  margin: 0 auto;
}

/* Заголовок и подзаголовок */
.trade-in__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.trade-in__title {
  color: var(--c-dark);
  margin-bottom: 22px;
}

.trade-in__title:before {
  background: var(--c-dark);
}

/* Черный квадратик перед заголовком */
.trade-in__square {
  width: 12px;
  height: 12px;
  background-color: #0A0C17;
  flex-shrink: 0;
}

.trade-in__subtitle {
  font-weight: 400;
  font-size: 24px;
  line-height: 150%;
  margin: 0;
  max-width: 726px;
  color: var(--c-dark);
}

/* Форма */
.trade-in__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 10px;
}

.trade-in__fields {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  width: 100%;
}

.trade-in__fields .form-group {
  margin: 0;
  width: 50%;
}

/* Поле ввода телефона */
.trade-in__fields .form-control {
  /*width: 100%;
  height: 55px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #FFFFFF;
  border-radius: 16px;
  font-family: 'Geist', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 23px;
  letter-spacing: 0.02em;
  color: #0A0C17;
  box-sizing: border-box;
  outline: none;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;*/
  border: 1px solid var(--c-white);
}

.trade-in__fields .form-control::placeholder {
  color: #595A63;
}

.trade-in__fields .form-control:focus {
  background: rgba(255, 255, 255, 0.8);
  border-color: #0A0C17;
}

/* Кнопка отправки */
.trade-in__fields .btn {
  /*flex: 1;
  height: 55px;
  padding: 16px 30px;
  background: #0A0C17;
  border: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 23px;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  transition: background-color 0.3s ease;*/
  margin: 0;
  width: 50%;
}

.trade-in__fields .btn:hover {
  background: #1e2338;
}

/* Галочка согласия */
.trade-in .agree-field {
  color: var(--c-white);
}

.trade-in .agree-field input[type="checkbox"] {
  /* width: 12px; */
  /* height: 12px; */
  /* accent-color: #1E254C; */
  /* cursor: pointer; */
  /* border: 2px solid #E8F5FF; */
}

.trade-in .agree-field a {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ==========================================================================
   info-cards 
   ========================================================================== */
/* Контейнер для 4-х карточек */
.info-cards {
  position: absolute;
  left: 50%;
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: center;
  gap: 25px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  transform: translate(-50%,-50%);
  z-index: 2;
}

/* Сама карточка */
.info-card {
  box-sizing: border-box;
  width: 321px;
  height: 275px;
  padding: 20px;
  background: rgba(41, 42, 49, 0.5);
  border: 1px solid #434347;
  border-radius: 16px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

/* Картинка карточки со срезанными углами */
.info-card__img {
  width: 100%;
  height: 163px;
  overflow: hidden;
  border-radius: 11px;
  /* Срез углов по габаритам повернутых квадратов из Figma */
  clip-path: polygon(0% 16px,
      16px 0%,
      calc(100% - 16px) 0%,
      100% 16px,
      100% calc(100% - 16px),
      calc(100% - 16px) 100%,
      16px 100%,
      0% calc(100% - 16px));
}

.info-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Заголовок с белым квадратиком */
.info-card__title {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 10px;
}

.info-card__square {
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  flex-shrink: 0;
  margin-top: 7px;
}

.info-card__text {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  color: #FFFFFF;
}

.info-cards:hover {}

.info-cards::before {}

.info-cards::after {}

.info-card:hover {}

.info-card:active {}

.info-card::before {}

.info-card::after {}

.info-card__img:hover {}

.info-card__img img:hover {}

.info-card__title:hover {}

.info-card__square:hover {}

.info-card__text:hover {}


/* ==========================================================================
   Обмен авто 
   ========================================================================== */
.testdrive {
  position: relative;
  width: 100%;
  min-height: 922px;
  padding-top: 255px;
  padding-bottom: 60px;
  box-sizing: border-box;

  /* Фоновое изображение и градиент из Figma */
  background: url('../img/testdrive_bg.jpg') center top no-repeat,
    #8E939F;
  background-size: 100% 100%;
  background-size: cover;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 !important;
}

.testdrive .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testdrive__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 790px;
  margin: 0 auto;
}

/* Заголовок и подзаголовок */
.testdrive__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 27px;
}

.testdrive__title {
  color: var(--c-white);
  margin-bottom: 23px;
}

.testdrive__title:before {
  background-color: var(--c-white);
}

/* Черный квадратик перед заголовком */
.testdrive__square {
  width: 12px;
  height: 12px;
  background-color: #0A0C17;
  flex-shrink: 0;
}

.testdrive__subtitle {
  font-weight: 400;
  font-size: 24px;
  line-height: 150%;
  color: var(--c-white);
  margin: 0;
  max-width: 726px;
}

/* Форма */
.testdrive__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 10px;
}

.testdrive__fields {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  width: 100%;
}

.testdrive__fields .form-group {
  margin: 0;
  width: 50%;
}

/* Поле ввода телефона */
.testdrive__fields .form-control {
  /*width: 100%;
  height: 55px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #FFFFFF;
  border-radius: 16px;
  font-family: 'Geist', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 23px;
  letter-spacing: 0.02em;
  color: #0A0C17;
  box-sizing: border-box;
  outline: none;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;*/
  border: 1px solid #B4B4B4;
}

.testdrive__fields .form-control::placeholder {
  color: #595A63;
}

.testdrive__fields .form-control:focus {
  background: rgba(255, 255, 255, 0.8);
  border-color: #0A0C17;
}

/* Кнопка отправки */
.testdrive__fields .btn {
  /*flex: 1;
  height: 55px;
  padding: 16px 30px;
  background: #0A0C17;
  border: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 23px;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  transition: background-color 0.3s ease;*/
  margin: 0;
  width: 50%;
}

.testdrive__fields .btn:hover {
  background: #1e2338;
}

/* Галочка согласия */
.testdrive .agree-field {
  color: var(--c-white);
}

.testdrive .agree-field input[type="checkbox"] {
  /* width: 12px; */
  /* height: 12px; */
  /* accent-color: #1E254C; */
  /* cursor: pointer; */
  /* border: 2px solid #E8F5FF; */
}

.testdrive .agree-field a {
  color: #FFFFFF;
  text-decoration: underline;
}


/* ==========================================================================
   CONTACTS — контакты + карта
   ========================================================================== */
/* Раздел Контакты */
.contacts {
  position: relative;
  width: 100%;
  padding-top: 120px;
  box-sizing: border-box;
  background: url(../img/contact_text.png) center center no-repeat;
}

.contacts .container {
}

/* Сетка для двух карточек */
.contacts__grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  width:100%;
}

/* 1. Левая карточка (Информация) */
.contacts__card {
  box-sizing: border-box;
  max-width: 100%;
  width: 50%;
  min-height: 791px;
  padding: 40px;
  background: #19191C;
  border: 1px solid #303033;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Картинка со срезанными углами (Figma geometry) */
.contacts__img {
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 20px;
  clip-path: polygon(0% 32px,
      32px 0%,
      calc(100% - 32px) 0%,
      100% 32px,
      100% calc(100% - 32px),
      calc(100% - 32px) 100%,
      32px 100%,
      0% calc(100% - 32px));
}

.contacts__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Блок логотипов */
.contacts__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 24px 0 6px;
}

.contacts__logo-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contacts__logo-umo {
  height: 46px;
  width: auto;
  display: block;
}

.contacts__logo-divider {
  width: 1px;
  height: 46px;
  background-color: #9D9EA2;
  display: inline-block;
  display: none;
}

.contacts__dealer {
  display: flex;
  flex-direction: column;
  display: none;
}

.contacts__dealer-name {
  font-weight: 700;
  font-size: 22px;
  line-height: 26px;
  color: #FFFFFF;
}

.contacts__dealer-sub {
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #9D9EA2;
}

.contacts__square {
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  flex-shrink: 0;
}

/* Список контактов */
.contacts__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.contacts__item {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 50px;
}

.contacts__icon {
  width: 50px;
  height: 50px;
  background: #E8F5FF;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contacts__text {
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0.02em;
  color: #FFFFFF;
}

.contacts__link {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

/* Кнопка */
.btn--blue {
  background: #E8F5FF;
  color: #0A0C17;
  border: none;
}

.btn--blue:hover {
  background: #d4ebfc;
}

/* 2. Правая карточка (Карта) */
.contacts__map-card {
  box-sizing: border-box;
  position: relative;
  max-width: 100%;
  width: 50%;
  min-height: 791px;
  /* border: 1px solid #303033; */
  border-radius: 24px;
  overflow: hidden;
  /* Срез углов карты как в Figma */
  clip-path: path('M 0,20 A 20,20 0 0 1 20,0 L 618,0 Q 626,0 631,5 L 663,37 Q 668,42 668,50 L 668,771 A 20,20 0 0 1 648,791 L 50,791 Q 42,791 37,786 L 5,754 Q 0,749 0,741 Z');
}

.contacts__map {
  width: 100%;
  height: 100%;
  /*background: #19191C;*/
  filter: grayscale(100%);
}

/* Кастомный маркер карты */
.contacts__marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.contacts__marker-box {
  width: 75px;
  height: 75px;
  background: #0A0C17;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.contacts__marker-box img {
  max-width: 100%;
  height: auto;
}

.contacts__marker-dot {
  width: 12px;
  height: 12px;
  background: #0A0C17;
  border-radius: 50%;
}

.contacts:hover {}

.contacts::before {}

.contacts::after {}

.contacts__grid:hover {}

.contacts__card:hover {}

.contacts__card:active {}

.contacts__card::before {}

.contacts__card::after {}

.contacts__img:hover {}

.contacts__img img:hover {}

.contacts__logos:hover {}

.contacts__logo-group:hover {}

.contacts__logo-umo:hover {}

.contacts__logo-divider:hover {}

.contacts__dealer:hover {}

.contacts__dealer-name:hover {}

.contacts__dealer-sub:hover {}

.contacts__square:hover {}

.contacts__list:hover {}

.contacts__item:hover {}

.contacts__icon:hover {}

.contacts__icon svg {}

.contacts__text:hover {}

.contacts__link:hover {
  opacity: 0.8;
}

.contacts__map-card:hover {}

.contacts__map-card::before {}

.contacts__map-card::after {}

.contacts__map:hover {}

.contacts__marker:hover {}

.contacts__marker-box:hover {}

.contacts__marker-dot:hover {}


/* ==========================================================================
   FOOTER — подвал
   ========================================================================== */
footer {
  padding: 32px 0 31px;
  background: #19191C;
}

footer .container {
  display: flex;
  flex-direction: column;
}

.footer__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.footer__legal {
  width: 500px;
  letter-spacing: 0.21px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.footer__links a:hover {
  color: var(--c-accent);
}

.disclamer {
  display: none;
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--c-muted);
}

/* ==========================================================================
   MEDIA — медиазапросы
   ========================================================================== */
@media (max-width: 1400px) {
  .car__utp {
    width: 330px;
  }

  .car__specs {
    grid-template-columns: repeat(2, 176px);
  }

  .car__colors {
    right: 0;
  }

  .complects__body {
    /* display: grid; */
    /* grid-template-columns: 1fr 323px; */
    padding: 20px;
    grid-template-columns: 400px 1fr;
  }

  .complects__specs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .complects__btns {
    gap: 10px;
  }

  .complects__image {
    width:400px;
  }

  .complects__info {
    width:auto;
    padding: 20px;
    height: auto;
    margin: 0;
    width: 100%;
  }

  .tradein-buttons {
    padding: 15px;
    gap: 5px;
  }

  .tradein__card {
    position: relative;
    flex: 0 0 50%;
  }

  .tradein-buttons a {}

  .credit {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .credit__card {
    position: relative;
    flex: 0 0 50%;
  }

  .credit__row {
    width: 100%;
  }

  .credit .container {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 1;
  }

  .credit__img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
  }

  .testdrive {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .testdrive .container {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 1;
  }

  .testdrive__img {
    position: absolute;
    top: 0;
    bottom: 0;
  }
}

/*--------------------------*/
@media (max-width: 1250px) {
  .header__col.addr { display:none; }

  .banner__title { font-size:3vw; }

  .info-cards {position: static;transform: none;display: grid;grid-template-columns: repeat(2, 1fr);flex-wrap:wrap;margin-top: 25px;margin-left: 30px;margin-right: 30px;width: calc( 100% - 60px );}
  .info-card {width: 100%;}

  .contacts__grid {
    flex-direction: column;
    align-items: center;
  }

  .contacts__card,
  .contacts__map-card {
    width: 100%;
    min-height: auto;
    clip-path: none;
  }

  .car__row1 {
    flex-wrap:wrap;
  }

  .car__photos {
    width:100%;
    height: auto;
    padding-right: 0;
  }

  .car__photo {
    height:auto;
  }

  .car .swiper-pagination-bullet-active {
    width: 45px;
    height: 12px;
  }

  .car__bg {
    margin-right:0;
  }

  .complects__specs {
    margin-bottom: 20px;
}
  .complects__btns {flex-direction:column;height: auto;}
  .complects__btns .btn { flex:auto; }

  .complects__info { background-size:auto 100%; }

  .contacts__map {
    min-height: 550px;
  }
}


/*--------------------------*/
@media (max-width: 1100px) {
  header .addr.header__col {
    display: none;
  }

  .menu__group {
    gap: 0px;
  }

  .banner .banner__buttons {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:5px;
    width:100%;
    align-items:center;
  }

  .banner .btn {
  }

  .timer__card {
    gap: 20px;
    flex-direction: column;
    width: 100%;
  }

  .timer__form {
    width: 100%;
  }

  .timer__clock {
    width: 100%;
  }

  .complects__body {
    height: auto;
    padding: 15px 20px;
  }

  .complects__name {
    margin-bottom: 10px;
  }

  .complects__specs {
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 5px;
  }

  .complects__specs li {
    width: calc(50% - 12px);
    height: auto;
    padding-right: 0;
  }
}


@media (max-width: 991px) {
  .anim {
      opacity: 1;
      transform: translateY(0px);
  }

  .light-zone .title {
  }

  .car__main {
	width:40%;
  }
  .car__bg {
	width:60%;
  }
}


@media (max-width: 767px) {
  :root {
    --gap-block: 48px;
  }

  .container {
    padding: 0 15px !important;
  }

  .title {
    gap: 12px;
    font-size: 24px;
  }

  .anim {
      opacity: 1;
      transform: translateY(0px);
  }

  .light-zone .title {
  }

  .title::before {
    width: 18px;
    height: 14px;
  }

  .title--multiline::before {
    margin-top: 7px;
  }

  .lead {
    font-size: 16px;
  }

  /* Шапка: логотип + бургер, остальное — в выезжающем меню. */
  .header__top {
    padding: 12px 15px;
    border-radius: 0 0 10px 10px;
  }

  .header__top .header__col,
  .header__top .header__btn {
    display: none;
  }

  .logo-group img {
    /* width: 200px; */
    height: auto;
  }

  .m_btn {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
  }

  .m_btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--c-dark);
    transition: var(--transition);
  }

  .m_btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(-45deg);
  }

  .m_btn.active span:nth-child(2) {
    opacity: 0;
  }

  .m_btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(45deg);
  }

  /* Выезжающее меню (позицию сверху JS уточняет по высоте хедера). */
  .menu {
    position: fixed;
    top: 48px;
    right: -100%;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    row-gap: 16px;
    width: calc(100% - 30px);
    /* margin-top: 8px; */
    margin: 0;
    top: 0;
    padding: 20px;
    /* background: rgba(2, 2, 2, 0.92); */
    border-radius: var(--radius);
    transition: right var(--transition);
    height: auto;
  }

  .menu.active {
    right: 15px;
    height: auto;
  }

  .menu__group {
    flex-direction: column;
    align-items: center;
    row-gap: 12px;
    order: 2;
  }

  .menu .container {
    display: flex;
    flex-direction: column;
  }

  /* Телефон — первой строкой меню. */
  .menu__contact {
    display: flex;
    align-items: center;
    order: -1;
  }

  .menu__contact .header__col {
    flex: none;
    padding: 12px 0;
  }

  /* Баннер. */
  .banner__bg {top: 20px;padding: 20px;}
  .banner__media img {
    height: auto;
  }

  .banner__badge {
    top: 75px;
    /* padding: 7px 14px; */
    font-size: 19px;
    height: auto;
    gap: 7px;
  }

  .banner__badge svg {
    width:20px;
  }

  .banner__panel {
    top: 100px;
    gap: 10px;
    width: 100%;
    padding: 0;
  }

  .banner .banner__buttons {
    flex-direction: column;
    margin: 0;
}

  .banner__title {
    margin-bottom: -6px;
    font-size: 16px;
  }

  .banner__sub {
    font-size: 14px;
  }

  .banner .btn {
    width: 100%;
    padding: 0 20px;
    display: none;
  }

  /* Таймер. */
  .timer-wrap {
    transform: none;
    position: static !important;
  }
  .timer-wrap .container {
    width: 100%;
    padding: 0;
}
  .timer {
    /* margin-top: -40px; */
  }

  .timer__card {
    flex-direction: column-reverse;
    gap: 24px;
    padding: 24px 15px;
  }

  .timer__form {
    width: 100%;
  }

  .timer__title {
    margin-bottom: 16px;
    font-size: 20px;
    text-align: center;
  }

  .timer__row {
    flex-direction: column;
  }

  .timer__clock {
    width: 100%;
    margin-right: 0;
  }

  .decor {
    width: 120px;
    height: auto;
  }

  .sinoby-timer {
    min-height: auto !important;
  }

  /* Карточки моделей. */
  .cars {
    padding:0;
  }
  .cars .container {
    gap: 24px;
  }

  .car__main { width:100%; }
  .car__main { width:100%; }

  .car {
    flex-direction: column;
    gap: 16px;
    height: auto;
    padding: 20px 15px;
    margin-top: 48px;
  }

  .car__bg {
    display: none;
  }

  .car__mob {
    display: block;
    /* margin-bottom: 8px; */
    overflow: hidden;
    border-radius: 8px;
    margin-top: -40px;
  }

  .car__mob img {
    width: 100%;
  }

  .lead br {
    display: none;
  }

  .header__value {
    white-space: normal;
    padding: 0;
  }

  .car__title {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .car__title::before {
    width: 18px;
    height: 14px;
  }

  .car__badge {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
    align-self: flex-start;
    order: -1;
    margin-bottom: 0;
    font-size: 14px;
  }

  .car__utp {
    gap: 12px;
    margin-bottom: 10px;
    margin-top: 0px;
    width: 100%;
    gap: 5px;
    order: 1;
  }

  .car__utp li {
    font-size: 18px;
    line-height: 1.2;
  }

  .car__utp li::before {
    width: 24px;
    height: 24px;
  }

  .car__utp b {
    font-size: 20px;
  }

  .car__utp span {
    font-size: 18px;
  }

  .car__specs {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0px;
    column-gap: 15px;
    row-gap: 10px;
    order: 2;
  }

  .car__specs li {
    height: auto;
    padding: 2px 8px;
  }
  .car__specs li img {
    height: 40px;
  }

  .car__btns {
    flex-direction: column;
    gap: 5px;
    margin-right: 0;
    padding-right: 0;
  }

  .car__btns .btn {
    flex: none;
  }

  .car__colors {
    position: absolute;
    z-index: 1;
    top: 66px;
    right: 0;
    left: unset;
    width: 104px;
  }

  .car__colors-title {
    padding: 0;
    white-space: nowrap;
    justify-content: flex-end;
    margin: 0;
  }

  .car__colors-list {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-end;
    height: 110px;
  }

  .car__colors-item {}

  .car__row1 {
    flex-direction: column;
    gap: 15px;
  }

  .car__row2 {}

  .car__photos {
    flex-direction: row;
    width: auto;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
  }

  .car__photos .car__photo {
    flex: none;
    /* Swiper вешает margin-right на все слайды, включая последний. */
    width: calc((100% - 24px) / 3);
    height: 80px;
  }

  /* Комплектации. */
  .complects__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 45px;
  }

  .complects__menu {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .complects__menu li {
    flex: 1;
  }

  .complects__menu button {
    /* color: var(--c-dark2); */
    width: 100%;
    padding: 15px;
  }

  .complects__list {
    display: flex;
    gap: 12px;
  }

  .complects__list .complects__card {
    width: 100%;
    height: auto;
  }

  .complects__body {
    grid-template-columns: 1fr;
    height: auto;
  }

  .complects__image {
    border-radius: var(--radius) var(--radius) 0 0;
    margin-top: 10px;
    margin-bottom: 20px;
    width: auto;
  }

  .complects__info {
    padding: 15px;
    order: 2;
  }

  .complects__specs {
        margin-bottom: 15px;
  }

  .complects__name {
    font-size: 24px;
    position: static;
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .complects__name span { font-size:22px; }

  .benefit {position: static;margin: 0 auto;margin-bottom: 10px;}

  .complects__btns {
    flex: none;
    flex-direction: column;
    gap: 8px;
  }

  .complects__btns .btn {
    /* flex: none; */
    /* gap: 0; */
    /* padding: 10px; */
    /* display: flex; */
    /* flex-direction: column; */
    /* white-space: nowrap; */
  }

  .complects__body {
    flex: none;
    gap: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
  }

  .run_now {}
  .run_now_cont { font-size:14px; }
  .run_now_cont div {
    padding-right: 20px;
}
  .run_now_cont span {
    background: no-repeat;
    box-shadow: none;
    width: 30px;
}
  .run_now_cont span b {}
  .run_now_cont div:after {
    margin-left: 20px;
}
  .run_now_cont img {width: 30px;}

  .finance-cards {flex-direction:column;padding: 0 15px;}

    .trade-in {
    min-height: auto;
    padding: 60px 0;
  }

  .trade-in {
    background: url('../img/tradein_mob_bg.jpg') center bottom no-repeat;
    background-size: cover;
    height: calc( 500px + 10vw );
    background-position: center bottom;
  }


  .trade-in__title {
    font-size: 32px;
    line-height: 40px;
    gap: 12px;
    margin-bottom: 10px;
  }

  .trade-in__head {
    margin-bottom:15px;
  }

  .trade-in__subtitle {
    font-size: 18px;
  }

  .trade-in__fields {
    flex-direction: column;
    gap: 15px;
  }

  .trade-in__fields .form-group,
  .trade-in__fields .btn {
    width: 100%;
  }

  .info-cards {
    gap: 15px;
    padding: 0;
    grid-template-columns: repeat(1, 1fr);
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
  }

  .info-card {
    width: 100%;
    /* max-width: 321px; */
  }

  .testdrive {
    min-height: auto;
    padding: 60px 0;
    background: url(../img/testdrive_mob_bg.jpg) center top no-repeat, #8E939F;
    background-size: cover;
    height: calc(700px + 10vw);
    background-position: center bottom;
  }

  .testdrive__title {
    font-size: 32px;
    line-height: 40px;
    gap: 12px;
  }

  .testdrive__subtitle {
    font-size: 18px;
  }

  .testdrive__fields {
    flex-direction: column;
    gap: 15px;
  }

  .testdrive__fields .form-group,
  .testdrive__fields .btn {
    width: 100%;
  }

.contacts {
    padding: 40px 0;
  }

  .contacts__card {
    padding: 24px;
  }

  .contacts__img {
    height: 220px;
  }

  .contacts__logo-group {
    gap: 10px;
  }

  .contacts__logo-umo {
    height: 28px;
  }

  .contacts__logo-divider {
    height: 30px;
  }

  .contacts__dealer-name {
    font-size: 18px;
  }

  .contacts__dealer-sub {
    font-size: 12px;
  }

  .contacts__text {
    font-size: 16px;
    line-height: 22px;
  }

  .contacts__icon {
    width: 40px;
    height: 40px;
  }

  .contacts__map {
    min-height: 350px;
  }


  /* Контакты. */
  #map1 {
    height: 320px;
    order: 3;
  }

  /* Подвал. */
  .footer__wrap {
    flex-direction: column;
    gap: 16px;
    font-size: 14px;
  }

  .footer__legal {
    width: 100%;
  }

  .footer__links {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  /* Попап на всю ширину. */
  .popup_container {
    width: 100%;
  }

  .fancybox-close {
    top: 9px !important;
    right: 9px !important;
  }
}


@media (max-width: 680px) {
  .finance-card {
    padding: 15px;
    min-height: auto;
    gap: 20px;
  }

  .finance-card__img {
    height: 160px;
  }

  .finance-card__title {
    font-size: 32px;
    gap: 12px;
    line-height: 40px;
  }

  .finance-card__desc {
    font-size: 18px;
  }
}


@media (max-width: 480px) {

  .btn { font-size:16px; }
  
  .info-card {}

  .complects__specs b { font-size:18px }
  .complects__specs span { font-size:14px; }
  .complects__specs { gap:10px; }

  .info-card__text { font-size:18px; }

  .contacts__logos {
    flex-wrap: wrap;
    gap: 10px;
  }

  .contacts__square {
    display: none;
  }
}
