.main__top-content {
  position: relative;
  padding-bottom: 70px;
}

.main__top-content::before,
.main__top-content::after {
  content: "";
  position: absolute;
  bottom: 43%;
  left: 50px;
  width: 659px;
  height: 156px;
  background: url(/static/img/main__bg.webp) no-repeat center;
  background-size: contain;
  z-index: -1;
  pointer-events: none;
}

.main__top-content::after {
  left: initial;
  bottom: initial;
  top: 0;
  right: 50px;
  width: 426px;
  height: 333px;
  background: url(/static/img/main__bg2.webp) no-repeat center;
  background-size: contain;
}

.main__text-top {
  font-weight: 900;
  font-size: 52px;
  line-height: 70px;
  text-transform: uppercase;
  margin-top: 25px;
  color: #696F7B;
}

.main__text-bottom {
  max-width: 496px;
  width: 100%;
  line-height: 18px;
  margin-top: 30px;
}

.main__top-images {
  position: relative;
  right: 50px;
  max-width: 700px;
  width: 100%;
  margin-left: auto;
  margin-top: -70px;
}

.main__top-images::before,
.main__top-images::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 200px;
  background: url(/static/img/main__car-bg.webp) no-repeat center;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}

.main__top-images::after {
  left: initial;
  right: 0;
  bottom: -20px;
  width: 68px;
  height: 134px;
  background: url(/static/img/main__car-bg2.webp) no-repeat center;
  background-size: contain;

}

.main__top-img {
  position: relative;
  left: 95px;
  max-width: 560px;
  width: 100%;
}

.main__top-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.main__top-img p {
  position: absolute;
  bottom: 33px;
  right: 20px;
  z-index: 1;
  padding-left: 52px;
  font-weight: 500;
  line-height: 18px;
  color: #FDFEF7;
}

.main__top-img p span {
  font-weight: 900;
  color: #B3CE2C;
}

.main__top-img p::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 48px;
  height: 42px;
  background: url(/static/svg/main-present.svg) no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.main__credit-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.main__credit-bottom::before,
.main__credit-bottom::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 95%;
  height: 80px;
  background: url(/static/img/main__credit-bg2.webp) no-repeat center;
  background-size: cover;
  pointer-events: none;
  z-index: 3;
}

.main__credit-bottom::after {
  bottom: 6px;
  right: initial;
  left: 75px;
  max-width: 663px;
  height: 150px;
  background: url(/static/img/main__credit-bg1.webp) no-repeat center;
  background-size: contain;
  z-index: 1;
  -webkit-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

.main__credit-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  margin-left: 90px;
  position: relative;
}

.main__credit-img img {
  position: relative;
  max-width: 400px;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  z-index: 3;
}

.main__credit-img::before {
  content: "";
  position: absolute;
  width: 94%;
  bottom: 0;
  right: 67px;
  height: 98px;
  background: url(/static/img/main__credit-bg3.webp) no-repeat center;
  background-size: cover;
  z-index: 2;
}

.main__credit-tel {
  position: relative;
  right: 80px;
  bottom: 12px;
  z-index: 3;
  -webkit-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.main__credit-tel p {
  font-weight: 900;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: -0.8px;
  text-transform: uppercase;
}

.main__credit-tel span {
  border-radius: 33px;
  border: 2px solid #C2E50A;
  background: var(--main-color);
  -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.95);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.95);
  padding: 8px 16px;
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
  color: #FFF;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.main__credit-tel:hover span {
  color: var(--main-color);
  background: #fff;
}

/* ----------------- types -------------------- */

.main__filter {
  background: rgba(213, 236, 93, 0.05);
  border: 1px solid rgba(18, 31, 58, 0.05);
  border-left: none;
  border-right: none;
  margin-top: 20px;
  padding-bottom: 20px;
}

.filter__col {
  position: relative;
}

.type__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 4px 1fr 4px 1fr 4px 1fr 4px 1fr 4px 1fr 4px 1fr 4px 1fr;
  grid-template-columns: repeat(8, 1fr);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
}

.type__item {
  border-radius: 112px;
  border: 1px solid #93AE04;
}

.type__item-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0px;
  padding: 6px 4px;
  height: 37px;
}

.type__list-left,
.type__list-right {
  position: absolute;
  top: 42px;
  width: 20px;
  height: 12px;
  background: url(/static/svg/arrow__down.svg) no-repeat center;
  background-size: contain;
  cursor: pointer;
}

.type__list-left {
  left: 0;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.type__list-right {
  right: 0;
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

/* ----------------- brands -------------------- */

.brands__container {
  border-radius: 14px;
  background: var(--main-color);
  padding: 20px 28px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 20px;
}

.brands__container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 13px;
  width: 170px;
  height: 50px;
  background: url(/static/svg/brand-bg.svg) no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.brands__container::after {
  content: "";
  position: absolute;
  bottom: -44px;
  right: 0;
  width: 50px;
  height: 120px;
  background: var(--secondary-color);
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.brands__container-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 30px;
  color: var(--secondary-color);
  letter-spacing: 0.725px;
  min-width: 160px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  height: 100%;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

.brands__container-title span {
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.35px;
  color: #FFF;
}

.brand__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 10px;
}

.brand__item {
  display: block;
  width: 100%;
  border-radius: 27px;
  border: 1px solid var(--secondary-color);
  -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.05), 0px 1.538px 3.076px 0px rgba(0, 0, 0, 0.05), 0px 36.916px 9.998px 0px rgba(0, 0, 0, 0.00);
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.05), 0px 1.538px 3.076px 0px rgba(0, 0, 0, 0.05), 0px 36.916px 9.998px 0px rgba(0, 0, 0, 0.00);
}

.brand__item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  padding: 6px;
}

.brand__item p {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #fff;
}

.brand__item span {
  font-weight: 500;
  color: var(--secondary-color);
}

.filter__col h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 18px;
  margin: 30px 0 12px;
}

.slider__offer {
  margin: 0 -10px;
  margin-bottom: 20px;
}

.slider__offer .slick-slide,
.offer__block {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  height: 196px;
  margin: 0 5px;
  overflow: hidden;
}

.slider__offer .slick-slide::before,
.offer__block::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -12px;
  width: 205px;
  height: 59px;
  background: url(/static/svg/brand-bg.svg) no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.slider__offer .slick-slide:not(:first-child),
.offer__block {
  max-width: 24%;
}

.main__bottom {
  margin: 30px 0;
}

.main__bottom p {
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  text-align: justify;
  text-indent: 15px;
  margin-bottom: 15px;
}

.main__bottom p span {
  font-weight: 600;
  color: #93AE04;
}

/* -------------------- @media --------------------- */

@media screen and (max-width: 1199px) {
  .brand__list {
    grid-template-columns: repeat(6, 1fr);
  }

  .type__list {
    -ms-grid-columns: 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr 8px 1fr;
    grid-template-columns: repeat(7, 1fr);
    gap: 25px 8px;
  }

  .slick-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    margin-top: 20px;
  }

  .slick-dots li {
    width: 55px;
    height: 5px;
    border-radius: 50px;
    background: var(--secondary-color);
    border-radius: 4px;
  }

  .slick-dots .slick-active {
    border: 2px solid var(--secondary-color);
    background: #fff;
  }

  .slick-dots button {
    font-size: 0;
  }
}

@media screen and (max-width: 1024px) {
  .brand__list {
    grid-template-columns: repeat(5, 1fr);
  }

  .main__top-content::before,
  .main__credit-bottom::after {
    left: 0;
  }

  .main__credit-bottom::before {
    right: 0;
    width: 100%;
    height: 72px;
  }

  .main__top-content::after,
  .main__top-images {
    right: 0;
  }

  .main__top-images::before {
    bottom: -67px;
  }

  .main__top-img p {
    right: 10px;
  }

  .main__text-top {
    font-size: 40px;
  }

  .main__credit-img {
    margin-left: 0;
  }

  .main__top-img {
    left: 150px;
    max-width: 500px;
  }

  .main__credit-img img {
    max-width: 370px;
  }

  .main__credit-img::before {
    width: 100%;
    right: 0;
  }
}

@media screen and (max-width: 1023px) {
  .main__top-content::after {
    width: 370px;
  }

  .main__text-bottom {
    max-width: 312px;
  }

  .main__credit-img img {
    max-width: 290px;
  }

  .main__credit-bottom::after {
    max-width: 500px;
    height: 100%;
    bottom: 0;
  }

  .brands__container {
    padding: 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
  }

  .brands__container-title {
    margin-right: auto;
    margin-left: 60px;
    margin-top: 15px;
  }

  .type__list {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .main__top-content::before {
    width: 100%;
    bottom: 45%;
  }

  .main__top-content::after {
    content: none;
  }

  .main__text-top {
    font-size: 32px;
    line-height: 54px;
    margin-top: 10px;
  }

  .main__text-bottom {
    margin-top: 0;
  }

  .main__top-img {
    top: 10px;
    left: initial;
    max-width: 360px;
    height: 200px;
    margin-left: auto;
  }

  .main__top-img p {
    display: none;
  }

  .main__top-images {
    margin: 0;
    margin-top: -20px;
  }

  .main__top-images::before {
    height: 160px;
    bottom: -70px;
    left: 20px;
    background: url(/static/img/main__car-bg.webp) no-repeat right;
    background-size: contain;
  }

  .main__top-images::after {
    content: none;
  }

  .main__credit-img img {
    max-width: 270px;
  }

  .main__credit-tel {
    right: 20px;
    gap: 3px;
  }

  .brand__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .brands__container {
    padding: 20px 10px;
  }

  .brand__item a {
    gap: 8px;
    padding: 5px;
  }

  .brands__container::after {
    bottom: -70px;
  }

  .type__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .type__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 525px) {
  .main__top::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 130px;
    background: url(/static/img/main__bg.webp) no-repeat center;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
  }

  .main__top-content::before {
    content: none;
  }

  .main__text-top {
    font-size: 24px;
    line-height: 42px;
  }

  .main__top-img {
    max-width: 290px;
  }

  .main__credit-tel {
    right: 75px;
  }

  .main__credit-tel p {
    display: none;
  }

  .main__credit-tel span {
    min-width: 174px;
  }

  .brand__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand__item {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
}

@media screen and (max-width: 460px) {
  .type__item-link img {
    min-width: 35px;
    width: 36px;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
  }
}

@media screen and (max-width: 410px) {
  .main__text-top {
    font-size: 20px;
    line-height: 34px;
  }

  .main__top-img {
    top: 20px;
    height: 170px;
  }

  .main__credit-img img {
    max-width: 253px;
    height: 120px;
  }

  .main__credit-bottom::after {
    height: 145px;
  }

  .brand__list {
    gap: 5px;
  }

  .brand__item {
    padding: 2px;
  }

  .brand__item p {
    font-weight: 500;
    letter-spacing: -0.6px;
  }

  .main__bottom {
    margin: 20px 0;
  }

  .main__bottom p {
    font-weight: 400;
    font-size: 14px;
    text-indent: 10px;
    margin-bottom: 10px;
  }

  .type__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .type__item-link img {
    width: 50px;
  }
}

@media screen and (max-width: 375px) {
  .main__top-images {
    margin-top: -10px;
  }

  .main__top-images::before {
    left: 10px;
  }

  .main__credit-tel {
    right: 80px;
    bottom: 8px;
  }

  .main__credit-tel span {
    font-size: 14px;
    min-width: 144px;
    padding: 8px 10px;
  }

  .brands__container::after {
    content: none;
  }

  .main__filter {
    background: #fff;
    border: none;
    margin-top: 0;
    padding-bottom: 0;
  }

  .filter__col h2 {
    text-align: center;
  }

  .type__item-link {

    padding: 6px 5px;
  }

  .type__item-link img {
    max-width: 45px;
    width: 45px;
  }

  .type__item-link p {
    font-size: 12px;
  }
}