/* ============================ Общие стили ============================ */
:root {
  --orange: rgb(255, 149, 73);
}

@font-face {
  font-family: 'Tank';
  src: url('/assets/fonts/TT_TANK_Light.woff') format('woff');
  font-weight: 200;
}

@font-face {
  font-family: 'Tank';
  src: url('/assets/fonts/TT_TANK_Medium.woff') format('woff');
  font-weight: 400;
}

@font-face {
  font-family: 'Tank';
  src: url('/assets/fonts/TT_TANK_Bold.woff') format('woff');
  font-weight: 600;
}

body {
  font-family: 'Tank', sans-serif;
  font-size: 14px;
  color: white;
  background-color: black;
}

h1 {
  font-size: 42px;
  font-weight: 600;
}

h2 {
  margin-bottom: 30px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

h3 {
  font-weight: 200;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.mt-30 {
  margin-top: 30px;
}

.mt-60 {
  margin-top: 60px;
}

.mt-90 {
  margin-top: 90px;
}

.pt-90 {
  padding-top: 90px;
}

.anchor {
  padding-top: 124px;
}

.callback-button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 0;
  align-self: flex-end;
  padding: 12px 32px;
  background-color: var(--orange);
  /* border-radius: 8px; */
  opacity: 1;
  cursor: pointer;
  font-size: 16px;
  font-weight: 200;
  outline: none;
  color: black;
  transition: background-color 0.3s ease;
}

.callback-button.left {
  align-self: flex-start;
}

.callback-button.center {
  align-self: center;
}

.callback-button img {
  margin-right: 8px;
}

.callback-button:hover {
  background-color: white;
}

.detail-button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 0;
  align-self: flex-end;
  padding: 12px 32px;
  background-color: black;
  border: 1px solid white;
  /* border-radius: 8px; */
  opacity: 1;
  cursor: pointer;
  font-size: 16px;
  font-weight: 200;
  outline: none;
  color: white;
  transition: background-color 0.3s ease;
}

.detail-button a {
  color: white;
  text-decoration: none;
}

.detail-button img {
  margin-right: 8px;
}

.detail-button:hover {
  background-color: white;
  color: black;
}

.detail-button:hover a {
  color: black;
}

.divider {
  width: 30%;
  height: 1px;
  margin: 30px auto 30px auto;
  background-color: var(--orange);
}

@media (min-width: 969px) {
  .aspect-16_9 {
    aspect-ratio: aspect-ratio: 16/9;
    ;
  }
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.section-header__model {
  margin-right: 30px;
  font-weight: 600;
  font-size: 4rem;
  text-transform: uppercase;
  color: var(--orange);
}

.section-header__section {
  padding: 7px 0;
  color: white;
  font-weight: 200;
  font-size: 1.5rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--orange);
}

@media (max-width: 968px) {

  .anchor {
    padding-top: 60px;
  }
  

  .section-header__model {
    margin-right: 15px;
    font-weight: 600;
    font-size: 10vw;
    text-transform: uppercase;
    color: var(--orange);
  }

  .section-header__section {
    padding: 7px 0;
    color: white;
    font-weight: 200;
    font-size: 3vw;
    text-transform: uppercase;
    border-bottom: 1px solid var(--orange);
  }
}

/* ============================ Preloader ============================ */
.loader-logo {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
}

/* ============================ Шапка ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 30px 0 24px;
  z-index: 1000;
  background-color: black;
}

.dealer-detail {
  font-weight: 200;
  font-size: 12px;
  line-height: 8px;
}

.dealer-name {
  font-weight: 600;
  font-size: 24px;
}

.header-adress {
  opacity: 0.7;
  margin-right: 30px;
  margin-left: 30px;
  font-size: 14px;
  color: white;
}

.menu {
  padding: 12px 0 12px 0;
}

.menu-item {
  text-decoration: none;
  color: white;
  text-align: center;
  padding-bottom: 5px;
  margin-right: 30px;
}

.menu-item:hover {
  color: var(--orange);
  cursor: pointer;
  transition: border-bottom 0.3s ease, color 0.3s ease;
}

@media (max-width: 968px) {
  .header {
    display: none;
  }

  .header-mob {
    display: block;
  }
}

@media (min-width: 969px) {
  .header {
    display: block;
  }

  .header-mob {
    display: none;
  }
}

/* ============================ Основной баннер ============================ */
.main-banner {
  width: 100%;
  aspect-ratio: 16/8;
  position: relative;
  /* background-image: url('/assets/img/TANK-500-KV-HIGHREZ.jpg'); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right bottom;
}

.main-banner-1 {
  /* margin-top: 94px; */
  background-image: url('/assets/img/TANK-500-KV-HIGHREZ.jpg');
}

.main-banner-2 {
  background-image: url('/assets/img/banner-urban.jpg');
}

.main-banner-1 .text-block {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35%;
  height: 100%;
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.main-banner-2 .text-block {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.main-banner .slogan {
  font-weight: 200;
  font-size: 0.9vw;
  margin: -15px 0 15px 0;
}

.main-banner .model-name {
  font-weight: 600;
  font-size: 4.5vw;
  color: var(--orange);
}

.main-banner .base-price {
  font-weight: 200;
  font-size: 3.3vw;
}

.main-banner .base-price-disclaimer {
  font-weight: 200;
  font-size: 0.7vw;
  opacity: 0.7;
  margin-top: -20px;
  margin-bottom: 30px;
}

.main-banner .base-old-price {
  font-weight: 200;
  font-size: 1.3vw;
  margin-top: 30px;
  opacity: 0.7;
}

.main-banner .base-old-price span {
  /* text-decoration: line-through; */
}

.main-banner .bonus {
  font-weight: 200;
  font-size: 0.8vw;
  margin-bottom: 24px;
  padding: 15px;
  background-color: var(--orange);
  color: black;
}

.main-banner .bonus span.bonus-price {
  font-weight: 600;
  font-size: 1.8vw;
}

.main-banner .bonus span {
  font-weight: 400;
  font-size: 1.2vw;
}

.offerta {
  margin-top: 15px;
  font-weight: 200;
  opacity: 0.5;
  font-size: 0.7vw;
}

.main-banner-mob {
  width: 100%;
  height: 85vh;
  position: relative;
}

.main-banner-mob-1 {
  background-image: url('/assets/img/banner-mob-11.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

.main-banner-mob-2 {
  margin-top: 60px;
  background-image: url('/assets/img/banner-mob-12.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

.main-banner-mob .model {
  font-weight: 200;
  font-size: 3vw;
}

.main-banner-mob .model span {
  font-weight: 600;
  color: var(--orange);
  font-size: 10vw;
}

.main-banner-mob .price {
  margin-top: 9px;
  font-weight: 400;
  font-size: 8vw;
}

.main-banner-mob .price span {
  font-weight: 200;
  font-size: 4vw;
  opacity: 0.7;
  /* text-decoration: line-through; */
}

.main-banner-mob .bonus {
  margin: 30px 0;
  background-color: var(--orange);
  padding: 10px;
  color: black;
  font-weight: 200;
}

.main-banner-mob .bonus span {
  font-weight: 600;
  font-size: 4vw;
}

.main-banner-mob .bonus .bonus-price {
  font-weight: 600;
  font-size: 7vw;
}

@media (max-width: 968px) {
  .main-banner {
    display: none;
  }

  .main-banner-mob {
    display: block;
  }

  .offerta {
    margin-top: 15px;
    font-weight: 200;
    opacity: 0.5;
    font-size: 3vw;
  }

  .callback-button {
    padding: 12px 12px;
  }
}

@media (min-width: 969px) {
  .main-banner-mob {
    display: none;
  }

  .main-banner {
    display: block;
  }

}

/* ============================ Таймер ============================ */

.timer {
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-mob h3 {
  font-size: 3vw;
}

.timer-mob span {
  display: inline;
  margin-left: 15px;
  font-weight: 600;
  font-size: 7vw;
}

.timer h3 {
  line-height: 2.5rem;
}

.timer-500 h3 {
  font-size: 1.5vw;
  /* color: var(--orange); */
  font-weight: 400;
  line-height: 2.5rem;
}

.timer h3 span {
  color: var(--orange);
  font-weight: 400;
}

#countdown {
  font-weight: 600;
  font-size: 3rem;
  margin-bottom: 30px;
}

#countdown500,
#countdown500-1 {
  font-weight: 600;
  font-size: 3vw;
  /* color: var(--orange); */
  /* margin-bottom: 30px; */
}

/* ============================ Галерея ============================ */
.tabs-links {
  font-weight: 200;
  font-size: 1rem;
  margin-bottom: 30px;
}

@media (max-width: 968px) {
  .tabs-links {
    width: 90%;
    margin: 0 auto;
    font-weight: 200;
    font-size: 1rem;
    margin-bottom: 30px;
  }
}

.tab-link {
  cursor: pointer;
  text-transform: uppercase;
}

.tab-link:hover {
  color: var(--orange);
  transition: color 0.3s;
}

.tab-link.active {
  color: var(--orange);
  transition: color 0.3s;
}

.aspect-16_9 {
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  transform: scale(1);
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ============================ Цвета ============================ */
.colors-block {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(13, 15, 15);
  padding: 30px 0;
}

.color-tabs {
  margin-right: 60px;
}

.color-tab {
  display: flex;
  align-items: center;
  font-weight: 200;
  font-size: 1rem;
  margin-bottom: 30px;
  cursor: pointer;
  /* text-transform: uppercase; */
}

.color-name {
  font-weight: 200;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.color-tab:hover {
  color: var(--orange);
  transition: color 0.3s;
}

.color-tab.active {
  color: var(--orange);
  transition: color 0.3s;
}

.color-sample {
  height: 60px;
  width: 60px;
  margin-right: 15px;
  border-radius: 50%;
}

.color-tab-content img {
  text-align: center;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 968px) {
  .colors-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(13, 15, 15);
    padding: 30px 0;
  }

  .color-tabs {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 0;
  }

  .color-tab {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 200;
    font-size: 2vw;
    margin-bottom: 30px;
    cursor: pointer;
    /* text-transform: uppercase; */
  }

  .color-name {
    font-weight: 200;
    font-size: 2vw;
    text-transform: uppercase;
  }

  .color-tab:hover {
    color: var(--orange);
    transition: color 0.3s;
  }

  .color-tab.active {
    color: var(--orange);
    transition: color 0.3s;
  }

  .color-sample {
    height: 30px;
    width: 30px;
    margin-right: 0;
    margin-bottom: 8px;
    border-radius: 50%;
  }

  .color-tab-content img {
    text-align: center;
    width: 100%;
    object-fit: cover;
  }
}

/* ============================ Комплектации ============================ */
.complect-block {
  /* aspect-ratio: 16/4; */
  overflow: hidden;
  margin-bottom: 60px;
}

.complect-img {
  overflow: hidden;
  /* aspect-ratio: 16/4; */
}

.complect-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  transform: scale(1);
}

.complect-img img:hover {
  transform: scale(1.05);
}

.complect-detail {
  padding: 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

.complect-detail--name {
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 3rem;
  color: var(--orange);
}

.complect-detail--name span {
  font-weight: 200;
  font-size: 1.8rem;
  color: white;
}

.complect-detail--char {
  padding: 15px 0;
  font-weight: 200;
  font-size: 1rem;
  border-bottom: 1px solid #333;
}

.complect-detail--char-name {
  font-weight: 400;
}

.complect-buttons {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  margin-top: 30px;
}

@media (max-width: 968px) {

  .complect-premium {
    display: none;
  }

  .complect-detail {
    padding: 30px 60px;
  }

  .complect-detail--name {
    font-size: 1.8rem;
  }

  .complect-detail--name span {
    font-size: 1rem;
  }

  .complect-detail--char {
    padding: 15px 0;
    margin-right: 15px;
    font-weight: 200;
    font-size: 0.8rem;
    border-bottom: 1px solid #333;
  }

  .complect-detail--char-name {
    font-weight: 400;
  }

  .complect-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    row-gap: 15px;
    margin-top: 30px;
  }

  .complect-buttons .detail-button {
    font-size: 14px;
  }

}

/* ============================ Авто в наличии ============================ */
.stock-block {
  margin-bottom: 60px;
}

.car-card {
  display: none;
  padding: 0 15px;
  margin-bottom: 60px;
}

.car-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.car-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  transform: scale(1);
}

.car-card__image img:hover {
  transform: scale(1.05);
}

.car-card__char {
  padding: 30px 15px;
}

.car-card__char__item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.car-card__char__item__div {
  flex-grow: 1;
  margin: 0 8px;
  margin-bottom: 5px;
  border-bottom: 1px solid #777;
}

.car-card__char__item__name {
  font-weight: 200;
}

.car-card .detail-button {
  margin-bottom: 30px;
}

@media (max-width: 968px) {
  .car-card {
    display: none;
    padding: 0 30px;
    margin-bottom: 60px;
  }
}

/* ============================ Кредит ============================ */
.credit {
  margin-bottom: 60px;
}

.credit-divider {
  color: var(--orange);
}

.credit__item {
  padding: 30px;
  background-color: rgb(13, 15, 15);
  /* border-bottom: 1px solid var(--orange); */
  margin-bottom: 30px;
}

.credit__item__img {
  width: 100%;
  height: 100%;
}

.credit__item__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.credit__item__info {
  padding: 30px;
}

.credit__item__info h4 {
  font-size: 2rem;
}

.credit__item__info p {
  font-weight: 200;
  font-size: 1.2rem;
  opacity: 0.7;
}

.credit__item__info__head {
  font-size: 1.1rem;
  margin: 30px 0 0 0;
}

.credit__item__info__data {
  font-size: 3rem;
  font-weight: 600;
  color: var(--orange);
}

.credit__buttons {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 968px) {
  .credit-fix {
    display: none !important;
  }

  .credit__item__info h4 span {
    display: block;
  }

  .credit__item__info__head {
    font-size: 1rem;
    margin: 15px 0 0 0;
  }

  .credit__item__info__data {
    font-size: 2rem;
    font-weight: 600;
    color: var(--orange);
  }

  .credit__buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    row-gap: 15px;
    margin-top: 30px;
  }

  .credit__buttons .detail-button {
    align-self: center;
  }
}

/* ============================ Footer ============================ */
footer {
  padding: 30px 30px;
}

.inn {
  margin-top: 30px;
  font-weight: 200;
  margin-bottom: 30px;
}

a.footer-menu__item {
  display: block;
  font-weight: 200;
  font-size: 1rem;
  line-height: 1.7rem;
  color: white;
  text-decoration: none;
}

a.footer-menu__item:hover {
  color: var(--orange);
  cursor: pointer;
}

.politic {
  margin-bottom: 30px;
}

.politic a {
  display: block;
  color: #aaa;
  font-weight: 200;
  font-style: 0.9rem;
  text-decoration: none;
}

.copyright {
  color: #aaa;
  ;
}

.footer-social a {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 24px;
  border-radius: 50%;
  background-color: #555;
  color: white;
  text-align: center;
  margin-right: 7px;
}

.footer-social a:last-child {
  margin-right: 0;
}

.footer-social a:hover {
  background-color: #333;
}

.footer-adress {
  margin-top: 30px;
  font-weight: 200;
}

.footer-adress a {
  color: white;
  text-decoration: none;
}

.footer-adress a:hover {
  color: var(--orange);
  text-decoration: none;
}

.footer-adress__item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-adress__item__icon {
  display: inline-block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  border-radius: 50%;
  background-color: #555;
  color: white;
  text-align: center;
  margin-right: 15px;
}

@media (max-width: 968px) {
  .footer .dealer-detail {
    line-height: 1.5rem;
  }

 .copyright {
  margin-bottom: 15px;
 }

 .qr {
  margin: 15px 0;
 }
}

/* ============================ Модальное окно ============================ */
.modal {
  /* display: none;  */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.modal-content {
  /* position: relative; */
  position: fixed;
  top: 10%;
  left: calc(50% - 180px);
  background-color: black;
  color: white;
  padding: 20px;
  width: 360px;
}

.modal-content h2 {
  text-align: left;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.modal-content h2 span {
  font-size: 18px;
  font-weight: 600;
  color: var(--orange);
}

.modal-content h3 {
  text-transform: none;
  font-size: 16px;
  font-weight: 200;
  opacity: 0.7;
}

.form-field {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 15px 0;
  background-color: #333;
}

.form-field label {
  opacity: 0.7;
  display: block;
  width: 100px;
  margin-right: 10px;
  margin-top: 5px;
  font-weight: 200;
}

input[type="text"] {
  flex-grow: 1;
  margin-top: 8px;
 /* Внутренние отступы */
  width: calc(100% - 30px);
  font-size: 14px; /* Размер шрифта */
  border: none;
  outline: none;
  background-color: #333;
  border-bottom: 1px solid #333;
  color: white;
}

input[type="text"]:hover,
input[type="text"]:focus {    
    transition: border-color 0.3s;
    border-color: #777;
}

.submit-block {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.submit-block button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  padding: 10px 10px;
  margin-right: 15px;
  background-color: var(--orange);
  opacity: 1;
  cursor: pointer;
  font-size: 16px;
  font-weight: 200;
  outline: none;
  border: none;
  color: black;
  transition: background-color 0.3s ease;
}

.submit-block button:hover {
  background-color: white;
  color: black;
} 

.submit-block .agree {
  font-size: 11px;
  line-height: 13px;
  font-weight: 200;
  opacity: 0.7;
}

.submit-block .agree a {
  color: var(--orange);
  text-decoration: none;
}

.modal-content img {
  margin: 0 -20px -20px -20px;
}

.close {
  position: absolute;
  color: #aaa;
  top: 10px;
  right: 10px;
  font-size: 32px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}