* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Involve", sans-serif;
  font-size: 16px;
  color: #1c1c1c;
  position: relative;
  font-weight: 400;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  max-width: 1920px;
  background: #181d21;
}

.fancybox-slide--html .fancybox-close-small {
  /* color: white !important; */
}

.fancybox-button svg {
  transform: scale(2);
}

.compensate-for-scrollbar {
  margin-right: auto !important;
  overflow: auto !important;
}

.fancybox-content {
  overflow: hidden;
}

input[type="file"] {
  display: none;
}

sup {
  display: inline-block;
  vertical-align: top;
  top: -3px;
  position: relative;
  font-size: 80%;
}

img {
  border-style: none;
  vertical-align: middle;
  max-width: 100%;
}

select::-ms-expand {
  display: none;
}

select::-ms-expand {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.fancybox-type-image .fancybox-close {
  right: 9px;
}

.fancybox-close {
  background: url(../img/bg_close.png) 50% 50% no-repeat !important;
  color: black;
  width: 22px !important;
  height: 22px !important;
  top: -25px !important;
  right: -25px !important;
}

.container {
  margin: 0px auto;
  padding: 0px 15px;
  max-width: 100%;
  position: relative;
}

@media (min-width: 1200px) {
  .container {
    width: 100%;
    max-width: 1420px;
    padding: 0 30px;
  }
}

.has-danger input,
.has-danger select,
.has-danger textarea {
  border-width: 2px;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 6px #eba5a3;
}

#form_popup,
#form_popup2 {
  display: none;
}

.popup_container {
  width: 500px;
  max-width: 100%;
  padding: 30px;
  overflow: hidden;
  position: relative;
  background: white;
}

.popup_container h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: black;
  padding: 0;
}

.popup_container .form-group {
  margin-bottom: 8px;
}

.popup_container .form_comment {
  text-align: center;
  font-size: 20px;
  color: #414141;
  padding-bottom: 15px;
}

.popup_container .form_comment a {
  display: block;
  color: #414141;
  text-decoration: none;
}

.popup_container .close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  -moz-transform: rotate(45deg); /* Aey Firefox */
  -ms-transform: rotate(45deg); /* Aey IE */
  -webkit-transform: rotate(45deg); /* Aey Safari, Chrome, iOS */
  -o-transform: rotate(45deg); /* Aey Opera */
  transform: rotate(45deg);
  cursor: pointer;
}

.popup_container .close:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 16px;
  width: 34px;
  height: 1px;
  display: block;
  background-color: #a8a8a8;
}

.popup_container .close:after {
  content: "";
  position: absolute;
  left: 16px;
  top: 0px;
  width: 1px;
  height: 34px;
  display: block;
  background-color: #a8a8a8;
}

.not_agree button {
  background-color: #cccccc !important;
  cursor: auto !important;
  color: white !important;
}

.agree_field {
  font-size: 10px;
  line-height: 100%;
  position: relative;
  display: inline-block;
  padding-left: 20px;
  top: 0px;
}

.agree_field input {
  position: absolute;
  top: -1px;
  left: 0px;
  margin: -0px;
}

.agree_field span {
  padding-left: 25px;
  display: inline-block;
}

form {
}

form .form-group {
  margin-bottom: 10px;
  position: relative;
}

form .form-group input[type="tel"],
form .form-group input[type="text"],
form .form-group input[type="number"],
form .form-group select {
  height: 45px;
  width: 100%;
  color: #000000;
  font-size: 16px;
  box-sizing: border-box;
  font-weight: 400;
  font-family: "Involve", sans-serif;
  padding: 0px 20px;
  outline: none;
  background: transparent;
  border-radius: 0px;
  border: 1px solid #1c1c1c;
}

form .form-group select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: url(../img/ico_select.png) 95% 50% no-repeat #ffffff;
  font-family: "Involve", sans-serif;
  outline: none;
}

form .form-group button {
  width: 100%;
  cursor: pointer;
  font-family: "Involve", sans-serif;
  outline: none;
}

form .form-group button:hover {
}

.form_title {
  color: black;
  font-size: 36px; /* text-transform: uppercase; */
  padding: 0px;
  margin: 0px;
  text-align: center;
  padding-bottom: 47px;
}

.form_title span {
  display: block;
  color: #ff0000;
  white-space: nowrap;
}

.btn {
  box-sizing: border-box;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  height: 45px;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  outline: none;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.btn.white {
  background: #ffffff;
  color: #1c1c1c;
}

.btn.glass {
  border: 1px solid var(--green);
  background: transparent;
  color: #ffffff;
}

.btn:hover {
  background: #0067b3;
  border-color: #0067b3 !important;
  color: #ffffff;
}

:root {
  --green: #007680;
  --green-grad: linear-gradient(94.29deg, #0a808a 0%, #007680 100.77%);
  --dark: #181d21;
  --dark2: #22272b;
  --muted: #d2d7db;
}

.btn {
  background: var(--green);
}

.btn:hover {
  background: #174950;
  border-color: #174950 !important;
}

/**********************
        HEADER
**********************/

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  background: var(--dark);
}

.head_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 15px 0;
}

.logo1 {
}

.logo1 img {
  height: 52px;
  display: block;
}

.top_addr,
.top_phone {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  font-size: 18px;
  white-space: nowrap;
}

.top_phone {
  font-weight: 700;
}

.top_addr .ico,
.top_phone .ico {
  flex: none;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 100%;
}

.ico_addr {
  background-image: url(../img/ico_addr.svg);
}

.ico_phone {
  background-image: url(../img/ico_phone.svg);
}

header .btn {
  padding: 0 52px;
  width: auto;
  height: 47px;
  font-weight: 700;
}

header .m_btn {
  display: none;
}

.menu {
  border-top: 1px solid #686d71;
}

.menu .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.menu_model {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.menu_model:hover {
  color: var(--green);
}

.menu_model span {
  text-transform: uppercase;
}

.menu_links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu_links a {
  color: #ffffff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.menu_links a:hover {
  color: var(--green);
}

/**********************
        BANNER
**********************/

.banner {
  margin-top: 143px;
  position: relative;
}

.banner picture img {
  max-width: none;
  height: 660px;
  transform: translateX(-50%);
  left: 50%;
  display: block;
  position: relative;
}

.banner .container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 1;
}

.title_container {
  position: absolute;
  top: 40px;
  left: 30px;
  max-width: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.title_container .title1,
.title_container .title3 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 400;
  white-space: nowrap;
}

.title_container .title2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 12px 24px;
  background-image: var(--green-grad);
}

/**********************
        TIMER
**********************/

.timer_block {
  background: var(--dark2);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: -50px;
}

.timer_form {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  width: 590px;
  max-width: 100%;
}

.timer_widget {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46%;
  max-width: 100%;
}

.timer_widget .sinoby-timer {
  width: 100%;
}

.timer_title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
}

.timer_row {
  display: flex;
  gap: 8px;
}

.timer_row .form-group {
  margin-bottom: 8px;
}

.timer_row .form-group:first-child {
  flex: 1;
}

.timer_form .form-control {
  height: 47px;
}

.timer_form .form-group input[type="tel"] {
  width: 100%;
  color: #ffffff;
  border-color: #ffffff;
}

.timer_form .form-group input[type="tel"]::placeholder {
  color: #aaaaaa;
}

.timer_form .btn {
  padding: 0 22px;
  width: auto;
  font-weight: 700;
  white-space: nowrap;
}

.timer_form .agree_field {
  color: #ffffff;
  font-size: 12px;
}

.timer_form .agree_field a {
  text-decoration: underline;
}

/**********************
         CARS
**********************/

.cars {
  padding: 70px 0;
}

.cars .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blocks_title {
  position: relative;
  align-self: center;
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  padding: 2px 13px;
  margin-bottom: 60px;
}

.blocks_title .corner_top,
.blocks_title .corner_bot {
  position: absolute;
  width: 12px;
  height: 12px;
}

.blocks_title .corner_top {
  top: 0;
  left: 0;
}

.blocks_title .corner_bot {
  bottom: 0;
  right: 0;
}

.model_card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 32px 32px;
  background: linear-gradient(98deg, #174950 0%, #2c3135 100%);
  clip-path: polygon(46px 0, 100% 0, 100% 100%, 0 100%, 0 46px);
}

.model_card::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: linear-gradient(98deg, #181d21 0.74%, #2c3135 100%);
  clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%, 0 44px);
  z-index: 0;
}

.model_card > * {
  position: relative;
  z-index: 1;
}

.model_top {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.model_car {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 32px;
}

.car_colors {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.car_colors > div {
  width: 24px;
  height: 14px;
  cursor: pointer;
  outline: 1px solid transparent;
  outline-offset: 3px;
  transition: outline-color 0.2s ease;
}

.car_colors > div.active {
  outline-color: #b3b8bc;
}

.car_photo {
  display: flex;
  align-items: center;
}

.car_photo img {
  width: 100%;
  height: auto;
}

.model_info {
  flex: 0 0 auto;
  width: 400px;
  max-width: 100%;
}

.model_name_mob {
  display: none;
}

.model_name {
  display: inline-block;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  background: #174950;
  padding: 16px 55px 16px 22px;
  margin-bottom: 30px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 22px),
    calc(100% - 22px) 100%,
    0 100%
  );
}

.model_feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model_feats li a {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.model_feats li a:hover span:last-child {
  color: var(--green);
}

.feat_ico {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat_ico img {
  width: 32px;
  height: 32px;
}

.model_feats li span:last-child {
  color: #ffffff;
  font-size: 18px;
  transition: color 0.2s ease;
}

.model_btns {
  display: flex;
  gap: 8px;
  margin-top: 30px;
}

.model_btns .btn {
  height: 47px;
  padding: 0 30px;
  font-weight: 700;
  flex: 1 1 0;
}

.model_btns .btn.white:hover {
  background: #174950;
  color: #ffffff;
}

/* ── GALLERY ─────────────────────────────── */

.model_gallery {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.gallery_nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery_prev,
.gallery_next {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #b3b8bc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery_prev svg,
.gallery_next svg {
  width: 16px;
  height: 16px;
  stroke: #b3b8bc;
  transition: stroke 0.2s ease;
}

.gallery_prev:hover,
.gallery_next:hover {
  background: #b3b8bc;
}

.gallery_prev:hover svg,
.gallery_next:hover svg {
  stroke: #181d21;
}

.gallery_prev.swiper-button-disabled,
.gallery_next.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

.gallery_prev.swiper-button-disabled:hover,
.gallery_next.swiper-button-disabled:hover {
  background: transparent;
}

.gallery_prev.swiper-button-disabled:hover svg,
.gallery_next.swiper-button-disabled:hover svg {
  stroke: #b3b8bc;
}

.gallery_swiper {
  width: 244px;
  height: 270px;
  margin: 0;
}

.gallery_scrollbar {
  display: none;
}

.gallery_swiper .swiper-slide {
  height: 131px;
  overflow: hidden;
}

.gallery_swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/**********************
       COMPLECTS
**********************/

.trims {
  padding: 70px 0;
}

.trims .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trims_row {
  width: 100%;
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: center;
}

.trim_card {
  position: relative;
  flex: 0 1 322px;
  max-width: 322px;
  display: flex;
  flex-direction: column;
  padding: 0 0 24px;
  background: linear-gradient(98deg, #174950 0%, #2c3135 100%);
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
}

.trim_card::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: linear-gradient(98deg, #181d21 0.74%, #2c3135 100%);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
  z-index: 0;
}

.trim_card > * {
  position: relative;
  z-index: 1;
}

.trim_head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 4px 0 28px 0;
}

.trim_name {
  flex: 0 0 auto;
  width: 161px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  background: #174950;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
}

.trim_model {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.trim_specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 auto;
  padding: 0 24px;
}

.trim_specs li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.trim_val {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.trim_lbl {
  font-size: 14px;
  color: #a2a7ab;
}

.trim_btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
  padding: 0 24px;
}

.trim_btns .btn {
  height: 47px;
  padding: 0 20px;
  font-weight: 700;
}

.trim_photo {
  flex: 0 1 322px;
  max-width: 322px;
  display: flex;
  align-items: center;
}

.trim_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tb_complects_showmore {
  display: block;
  margin-top: 40px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

/**********************
        TRADEIN
**********************/

.tradein {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.tradein_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tradein_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tradein .container {
  position: relative;
  z-index: 1;
}

.tradein_form {
  width: 600px;
  max-width: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.tradein_form.revealed {
  opacity: 1;
  transform: none;
}

.tradein_form .blocks_title {
  align-self: flex-start;
  color: #0d0a19;
  margin-bottom: 16px;
}

.tradein_text {
  font-size: 22px;
  line-height: 1.2;
  color: #0d0a19;
  margin-bottom: 16px;
}

.tradein_fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tradein_fields .form-control {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  height: 48px;
  padding: 0 20px;
  font-size: 16px;
  font-family: "Involve", sans-serif;
  color: #0d0a19;
  background: transparent;
  border: 1px solid #0d0a19;
  border-radius: 0;
  outline: none;
}

.tradein_fields select.form-control {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  font-weight: 700;
  cursor: pointer;
  padding-right: 44px;
  background: url(../img/ico_select.svg) right 16px center no-repeat;
  background-size: 16px;
}

.tradein_fields input.form-control::placeholder {
  color: #696969;
}

.tradein_fields .btn {
  flex: 1 1 100%;
  height: 48px;
  font-weight: 700;
  color: #ffffff;
  border: none;
  background: var(--green);
}

.tradein_fields .btn:hover {
  background: #174950;
}

.tradein_form .agree_field {
  color: #0d0a19;
  font-size: 12px;
}

/* ── JELAND reveal curtain ── */
.tradein_curtain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.tradein_curtain svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tradein_curtain .jeland_letters {
  transform-box: fill-box;
  transform-origin: center;
}

/**********************
       CREDIT
**********************/

.credit {
  padding: 70px 0;
}

.credit .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.credit .blocks_title {
  align-self: center;
}

.credit_grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.credit_col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.credit_form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credit_text {
  font-size: 22px;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 8px;
}

.credit_form .form-group {
  margin: 0;
}

.credit .credit_form .form-control {
  height: 50px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: "Involve", sans-serif;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 0;
  outline: none;
}

.credit_form input.form-control::placeholder {
  color: #aaaaaa;
  font-weight: 700;
}

.credit .credit_form button.btn {
  height: 50px;
  font-weight: 700;
  color: #ffffff;
  border: none;
  background: var(--green);
}

.credit .credit_form button.btn:hover {
  background: #174950;
}

.credit_form .agree_field {
  color: #ffffff;
  font-size: 12px;
}

.credit_img {
  overflow: hidden;
}

.credit_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.credit_img1 {
  flex: 1 1 auto;
  min-height: 0;
}

.credit_col2 .credit_img2 {
  height: 100%;
}

.credit_img3 {
  flex: 0 0 auto;
  height: 219px;
}

/* ── аккордеон ── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.accordion_item {
  background: #22272b;
}

.accordion_head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
}

.accordion_ico {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion_ico img {
  width: 28px;
  height: 28px;
}

.accordion_title {
  flex: 1 1 auto;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.accordion_arrow {
  flex: 0 0 18px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.accordion_item.active .accordion_arrow {
  transform: rotate(180deg);
}

.accordion_body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.accordion_body p {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  line-height: 1.3;
  color: #ccd1d5;
}

/**********************
      TEST DRIVE
**********************/

.test_drive {
  padding: 70px 0;
}

.td_grid {
  display: grid;
  grid-template-columns: minmax(0, 543fr) minmax(0, 792fr);
  gap: 24px;
  align-items: stretch;
}

.td_form_wrap {
  display: flex;
}

.td_form {
  width: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
}

.td_form .blocks_title {
  align-self: flex-start;
  color: #0d0a19;
  margin-bottom: 16px;
  font-size: 45px;
}

.td_text {
  font-size: 22px;
  line-height: 1.25;
  color: #0d0a19;
  margin-bottom: 8px;
}

.td_form .form-group {
  margin: 0;
}

.test_drive .td_form .form-control {
  height: 50px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: "Involve", sans-serif;
  color: #0d0a19;
  background: transparent;
  border: 1px solid #0d0a19;
  border-radius: 0;
  outline: none;
}

.test_drive .td_form input.form-control::placeholder {
  color: #828282;
  font-weight: 700;
}

.test_drive .td_form button.btn {
  height: 50px;
  font-weight: 700;
  color: #ffffff;
  border: none;
  background: var(--green);
}

.test_drive .td_form button.btn:hover {
  background: #174950;
}

.td_form .agree_field {
  color: #0d0a19;
  font-size: 12px;
}

/* ── слайдер ── */
.td_slider {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: #22272b;
}

.td_mob_img {
  display: none;
}

.td_swiper {
  width: 100%;
  flex: 1 1 auto;
  overflow: hidden;
}

.td_swiper .swiper-wrapper {
  align-items: stretch;
}

.td_swiper .swiper-slide.td_slide {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  height: auto;
}

.td_slide_img {
  flex: 0 0 272px;
  width: 272px;
  height: 262px;
  overflow: hidden;
}

.td_slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.td_slide_content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.td_slide_label {
  font-size: 16px;
  color: #ccd1d5;
}

.td_slide_title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.td_slide_desc {
  font-size: 16px;
  line-height: 1.4;
  color: #ccd1d5;
}

.td_tabs {
  display: flex;
  gap: 24px;
}

.td_tab {
  flex: 1 1 0;
  min-width: 0;
  cursor: pointer;
}

.td_tab_name {
  display: block;
  font-size: 16px;
  color: #686d71;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.td_tab.active .td_tab_name {
  color: #ffffff;
}

.td_tab_bar {
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.td_tab_bar i {
  position: absolute;
  inset: 0 100% 0 0;
  background: #ffffff;
}

.td_tab.active .td_tab_bar i {
  transition: right linear;
}

/**********************
      CONTACTS
**********************/

.contacts {
  position: relative;
}

/* ── единые отступы между блоками (десктоп) ── */
.cars,
.trims,
.tradein,
.credit,
.test_drive,
.contacts {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 120px;
}

#map1 {
  width: 100%;
  height: 519px;
  background: #d9d9d9;
}

.contacts .container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contacts_card {
  position: relative;
  width: 362px;
  max-width: 100%;
  padding: 32px;
  background: linear-gradient(98deg, #174950 0%, #2c3135 100%);
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  pointer-events: auto;
}

.contacts_card::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: linear-gradient(98deg, #181d21 0.74%, #2c3135 100%);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
  z-index: 0;
}

.contacts_card > * {
  position: relative;
  z-index: 1;
}

.contacts_logo img {
  display: block;
  height: 32px;
  width: auto;
}

.contacts_line {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.contacts_info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts_row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  font-size: 18px;
}

.contacts_phone {
  font-weight: 700;
}

.contacts_row .ico {
  flex: none;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 100%;
}

.ico_bot_phone {
  background-image: url(../img/bot_phone.svg);
}

.ico_bot_addr {
  background-image: url(../img/bot_addr.svg);
}

.ico_bot_time {
  background-image: url(../img/bot_time.svg);
}

.contacts_cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contacts_cta_text {
  color: #ffffff;
  font-size: 16px;
}

.contacts_cta .btn {
  width: 100%;
  height: 47px;
  font-weight: 700;
}

/**********************
        FOOTER
**********************/

footer {
  background: var(--dark);
  padding: 24px 0;
}

.foot_wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.yurinfo {
  font-size: 16px;
  line-height: 1.4;
  color: #ffffff;
}

.foot_links {
  display: flex;
  flex-direction: column;
  gap: 12px 0;
}

.foot_wrap a {
  color: #ffffff;
  font-size: 16px;
}

.sinoby {
  color: #ffffff;
  font-size: 16px;
}

footer .disclamer,
footer .yurinfo {
  color: #ffffff;
  font-size: 14px;
  text-align: left;
  display: none;
  padding-top: 20px;
}

/*------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 1600px) {
}

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {
  .head_top {
    gap: 20px;
    padding: 16px 0;
  }

  .top_addr,
  .top_phone {
    font-size: 15px;
    gap: 10px;
  }

  header .btn {
    padding: 0 24px;
  }

  .menu_model,
  .menu_links a {
    font-size: 15px;
  }

  .menu_links {
    gap: 16px;
  }

  .title_container .title1,
  .title_container .title3 {
    font-size: 22px;
  }

  .title_container .title2 {
    font-size: 24px;
  }

  .timer_block .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {
  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/

  /*******************************************************************/
}

/*IPAD END*/

/*MOBILE BEGIN*/
@media (max-width: 767px) {
  .fancybox-type-image {
    width: 100% !important;
    margin: 0px !important;
    left: 0px !important;
  }

  .fancybox-close {
    right: 9px !important;
    top: 9px !important;
  }

  .fancybox-inner {
    width: 100% !important;
    margin: 0px !important;
    padding: 0px !important;
  }

  .fancybox-wrap {
    margin: 0px !important;
    width: 100% !important;
    left: 0px !important;
    top: 20px !important;
  }

  .fancybox-type-image .fancybox-close {
    top: -8px !important;
  }

  .popup_container {
    width: 100%;
  }

  .popup_container .form-group {
    margin-bottom: 8px;
  }

  /*******************************************************************/

  header .m_btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    width: 30px;
    height: 21px;
    z-index: 1;
    top: 20px;
    right: 15px;
  }

  header .m_btn span {
    position: relative;
    display: block;
    width: 30px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s linear;
  }

  header .m_btn span:nth-child(2) {
    opacity: 1;
  }

  header .m_btn.active span:nth-child(1) {
    transform-origin: top right;
    transform: rotate(-45deg);
    top: -1px;
  }

  header .m_btn.active span:nth-child(2) {
    opacity: 0;
  }

  header .m_btn.active span:nth-child(3) {
    transform-origin: bottom right;
    transform: rotate(45deg);
    bottom: -1px;
  }

  .head_top {
    padding: 12px 0;
    gap: 15px;
  }

  .logo1 {
    width: 85%;
  }

  .logo1 img {
    height: auto;
  }

  .top_addr {
    display: none;
  }

  header .head_top .btn {
    display: none;
  }

  .top_phone {
    font-size: 14px;
    gap: 8px;
    margin-right: 45px;
    display: none;
  }

  .top_phone .ico {
    width: 26px;
    height: 26px;
  }

  .menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 82px;
    background: var(--dark);
    border-top: none;
    width: 100%;
    height: auto;
    right: -100%;
    left: unset;
    transition: all 0.3s linear;
    z-index: 2;
    padding: 20px 0;
    row-gap: 10px;
  }

  .menu.active {
    right: 0;
  }

  .menu .container {
    flex-direction: column;
    align-items: center;
    row-gap: 14px;
    padding: 0;
  }

  .menu_model {
    display: block;
    text-align: center;
  }

  .menu_links {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  /*******************************************************************/

  .banner {
    margin-top: 65px;
  }

  .banner picture img {
    height: auto;
    width: 100%;
    object-fit: initial;
    transform: none;
    left: 0;
  }

  .title_container {
    top: 20px;
    left: 15px;
    right: 15px;
    max-width: none;
    padding: 16px;
    gap: 10px;
  }

  .title_container .title1,
  .title_container .title2,
  .title_container .title3 {
    white-space: normal;
  }

  .title_container .title1,
  .title_container .title3 {
    font-size: 5vw;
  }

  .title_container .title2 {
    font-size: 6vw;
    padding: 8px 12px;
  }

  /*******************************************************************/

  .timer_block {
    padding: 20px 15px;
    margin-top: 20px;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 24px;
  }

  .timer_block .container {
  }

  .timer_form {
    max-width: 100%;
  }

  .timer_row {
    flex-direction: column;
    gap: 0;
  }

  .timer_row .form-group {
    margin-bottom: 8px;
  }

  .timer_form input[type="tel"] {
    width: 100%;
  }

  .timer_title {
    font-size: 6vw;
    text-align: center;
  }

  .timer_widget {
    width: 100%;
  }

  .timer_widget .sinoby-timer {
    min-height: auto !important;
  }

  .timer_form .btn {
    width: 100%;
  }

  /*******************************************************************/

  .cars {
    padding: 40px 0;
  }

  .blocks_title {
    font-size: 6.5vw !important;
    padding: 3px 12px;
    margin: 0 auto 30px;
    text-align: center;
  }

  .model_card {
    flex-direction: column;
    gap: 0;
    padding: 0 16px 16px;
    background: linear-gradient(98deg, #174950 0%, #2c3135 100%);
    clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
  }

  .model_name_mob {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    height: 52px;
    padding: 0 24px;
    margin: 3px 0 0 -12px;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    background: #174950;
    clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
  }

  .model_top {
    flex-direction: column;
    gap: 20px;
  }

  .model_car,
  .model_gallery {
    margin-top: 0;
  }

  .model_car {
    flex-direction: column-reverse;
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }

  .model_info {
    width: 100%;
  }

  .model_info .model_name {
    display: none;
  }

  .model_feats li span:last-child {
    font-size: 15px;
  }

  .model_btns {
    flex-direction: column;
    padding-top: 0;
    margin-top: 10px;
  }

  .model_btns .btn {
    flex: auto;
  }

  .model_gallery {
    display: block;
    width: 100%;
  }

  .gallery_nav {
    display: none;
  }

  .gallery_swiper {
    width: 100%;
    height: auto;
    max-width: none;
    padding-bottom: 15px !important;
  }

  .gallery_swiper .swiper-slide {
    width: 62%;
    height: 110px;
  }

  .gallery_scrollbar {
    display: block;
    left: 0;
    bottom: 0 !important;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
  }

  .gallery_scrollbar .swiper-scrollbar-drag {
    background: #ffffff;
  }

  .trims {
    padding: 40px 0;
  }

  .trims_row {
    flex-direction: column;
    gap: 20px;
  }

  .trim_card {
    max-width: 100%;
  }

  .trim_photo {
    max-width: 100%;
  }

  .trim_photo img {
    height: auto;
  }

  .tradein {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 40px 0 0;
  }

  .tradein .container {
    order: 1;
  }

  .tradein_bg {
    position: static;
    order: 2;
    margin-top: 24px;
  }

  .tradein_bg img {
    height: auto;
    object-position: center;
  }

  .tradein_curtain {
    display: none;
  }

  .tradein_form {
    width: 100%;
    padding: 20px;
    gap: 8px;
    opacity: 1;
    transform: none;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .tradein_form .blocks_title {
    margin-bottom: 16px;
  }

  .tradein_text {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .tradein_form .agree_field {
    margin-top: 0;
  }

  .tradein_fields .form-control {
    flex: 1 1 100%;
  }

  .credit {
    padding: 40px 0;
  }

  .credit_grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .credit_img1,
  .credit_img3 {
    display: none;
  }

  .credit_form {
    gap: 8px;
  }

  .credit_text {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .credit_img2,
  .credit_col2 .credit_img2 {
    height: 220px;
  }

  .accordion_title {
    font-size: 18px;
  }

  .accordion_body p {
    padding-left: 20px;
    font-size: 4vw;
  }

  .test_drive {
    padding: 40px 0;
  }

  .td_grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .td_form {
    padding: 20px;
    gap: 8px;
  }

  .td_slider {
    padding: 0;
  }

  .td_text {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .td_slider .td_swiper,
  .td_tabs {
    display: none;
  }

  .td_mob_img {
    display: block;
  }

  .td_mob_img img {
    width: 100%;
    height: auto;
  }

  .td_form .blocks_title {
    font-size: 6vw;
    margin-bottom: 16px;
  }

  /*******************************************************************/

  .contacts {
    display: flex;
    flex-direction: column;
  }

  .contacts_cta_text {
    font-size: 4vw;
  }

  #map1 {
    order: 2;
    height: 360px;
  }

  .contacts .container {
    order: 1;
    position: static;
    transform: none;
    pointer-events: auto;
  }

  .contacts_card {
    width: 100%;
    margin: 0 0 20px;
    gap: 20px;
  }

  .contacts_row {
    font-size: 16px;
  }

  .foot_wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .yurinfo,
  .foot_links > a,
  .sinoby {
    font-size: 14px;
  }

  /*******************************************************************/

  .cars,
  .trims,
  .tradein,
  .credit,
  .test_drive,
  .contacts {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 50px;
  }

  /*******************************************************************/
}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 390px) {
}

@media (max-width: 360px) {
}

@media (max-width: 320px) {
}
