@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;900&display=swap');

/* style general
-----------------*/
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

html {
  background-image: url("../img/line-bg.svg");
  background-position: top center;
  background-repeat: no-repeat;
}

body {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  display: grid;
  grid-template-columns: 1fr 1440px 1fr;
  font-family: "Montserrat", "Arial", sans-serif;
  background: url(../img/backgrounds/bg-1.svg) 100% 0 no-repeat,
  url(../img/backgrounds/bg-2.svg) 0 935px no-repeat,
  url(../img/backgrounds/bg-3.svg) 100% 2040px no-repeat,
  url(../img/backgrounds/bg-4.svg) 0 3520px no-repeat,
  url(../img/backgrounds/bg-5.svg) 100% 4810px no-repeat,
  url(../img/backgrounds/bg-6.svg) 0 5665px no-repeat,
  url(../img/backgrounds/bg-7.svg) 100% 7035px no-repeat,
  url(../img/backgrounds/bg-8.svg) 0 8805px no-repeat;
  background-size: auto;
  overflow-x: hidden;
}

html.fix {
  overflow: hidden;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

section {
  width: 100%;
  grid-column-start: 2;
  grid-column-end: 3;
  position: relative;
}

button {
  background: transparent;
  border: none;
}

/* style preloader
-------------------*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #edf5f8;
  width: 100%;
  height: 100vh;
  opacity: 0;
  z-index: -100;
  transition: .7s ease;
}

.preloader.loaded-hiding {
  z-index: 150;
  opacity: 1;
}

.preloader-wrap, .preloader {
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-wrap {
  flex-direction: column;
  width: 100px;
  height: 100px;
}

.loaded-text {
  margin-top: 15px;
  color: #000;
  font-size: 14px;
}

/* style header
-----------------*/
.header {
  width: 100%;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  z-index: 50;
  position: sticky;
  top: 0;
  left: 0;
}

.header.scrollBottom {
  background-color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 11px 32px;
  width: calc(100% - 64px);
}

.header.scrollBottom .header__logo-img {
  width: 91px;
  padding: 0;
}

.menu, .header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.header__logo-img {
  width: 183px;
  padding-top: 21px;
}

.menu {
  width: 598px;
}

.menu__link {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  color: #313131;
  transition: .4s ease color;
}

.menu__link:hover, .header-phones__number:hover {
  color: #FFB526;
}

.header-phones__number mark {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #0085BF;
  background: transparent;
  margin-left: 10px;
}

.header-phones {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.header-phones__number {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #313131;
  display: inline-flex;
  transition: .4s ease color;
}

.header-phones__number:last-child {
  margin-top: 3px;
}

.header-phones__number:before {
  content: url("../img/icons/phone.svg");
  margin-right: 6px;
}

.header__button-feedback {
  width: 230px;
  height: 50px;
  background-color: #FFB526;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #313131;
  text-transform: uppercase;
  cursor: pointer;
  transition: .4s ease;
}

.header__button-feedback:hover, .modal-form__submit:hover {
  background-color: #ffc107;
  color: #fff;
  transform: scale(1.03);
}

.header__button-feedback br {
  display: none;
}

.header__button-menu {
  width: 24px;
  height: 20px;
  position: relative;
  cursor: pointer;
  display: none;
}

.line-menu {
  width: 24px;
  height: 2px;
  background-color: #1B1B1B;
  border-radius: 20px;
  position: absolute;
  left: 0;
}

.line-menu:nth-child(1) {
  top: 0;
}

.line-menu:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.line-menu:nth-child(3) {
  bottom: 0;
}

/* style content
-----------------*/
.content-sidebar {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 3;
  display: grid;
  grid-template-columns: 1fr 1440px 1fr;
}

/* style section
-----------------------*/
.section__title-wrap {
  width: 100%;
  position: relative;
}

.section__title {
  font-weight: 600;
  font-size: 40px;
  line-height: 49px;
  text-transform: uppercase;
  color: #313131;
  position: absolute;
  z-index: 5;
  top: 86px;
  left: 4px;
}

.section__title-bg {
  font-weight: 900;
  font-size: 150px;
  line-height: 183px;
  text-transform: uppercase;
  color: #EDF5F8;
  position: relative;
  z-index: 5;
}

/* style section preview*/
.section-preview {
  margin: 100px 0 200px;
}

.preview-wrap {
  width: 643px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.preview-location, .preview-phone {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.preview-phone {
  display: none;
}

.preview-phone svg, .preview-location svg {
  height: 18px;
  width: auto;
}

.preview-location__text, .preview-phone__text {
  margin-left: 5px;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #313131;
}

.preview-phone__text {
  margin-left: 3px;
}

.preview-title__wrap {
  width: 100%;
  position: relative;
}

.preview-title__faq {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFB526;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  position: absolute;
  top: 11px;
  right: 25px;
  border-radius: 100%;
  cursor: help;
  z-index: 45;
}

.preview-title__faq:hover:after {
  visibility: visible;
}

.preview-title__faq:after {
  content: "все цены в белках";
  display: block;
  background-color: #FFF5F3;
  border-radius: 15px;
  padding: 5px 10px;
  font-weight: normal;
  font-size: 12px;
  line-height: 15px;
  color: #282828;
  position: absolute;
  bottom: 7px;
  left: 21px;
  white-space: nowrap;
  visibility: hidden;
  transition: .2s ease visibility;
  z-index: 100;
}

.preview-title {
  font-weight: 900;
  font-size: 64px;
  line-height: 78px;
  text-transform: uppercase;
  color: #0085BF;
  text-align: left;
  margin: 12px 0 28px;
}

.preview-text {
  font-weight: 500;
  font-size: 25px;
  line-height: 30px;
  color: #313131;
}

.stag-link {
  text-transform: uppercase;
  color: #0085BF;
  transition: .4s ease color;
}

.stag-link:hover {
  color: #ffc107;
}

.preview-buttons-feedback__wrap {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-top: 36px;
}

.preview__button-feedback {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: .4s ease;
  padding: 0 7px 0 22px;
  box-sizing: border-box;
}

.preview__button-feedback:nth-child(1) {
  width: 187px;
  background-color: #FFB526;
  margin-right: 47px;
}

.preview__button-feedback:nth-child(2) {
  width: 198px;
  background-color: #0085BF;
}

.preview__button-feedback:hover {
  background-color: #ffc107;
}

.preview__car-img {
  position: absolute;
  right: -130px;
  top: 230px;
  transform: translateY(-50%);
  width: 925px;
  transition: .5s ease-out;
}

.clients__list, .certificates__list, .services__list, .brands__list {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.preview-info__wrap {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-column-gap: 30px;
  grid-row-gap: 10px;
}

.clients__list, .services__list, .brands__list, .certificates__list-wrap {
  margin-top: 31px;
}

/* style section clients*/
.section-clients {
  margin: 129px 0 131px;
}

/* style section contacts*/
.section-certificates {
  margin: 123px 0 131px;
}

.certificates__list {
  display: inline-flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.certificates__item {
  margin: 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
}

.certificates__item .swiper-slide {
  width: auto;
}

.certificates__item, .certificates__img {
  position: relative;
  transition: .4s ease;
  height: 265px;
}

.certificates__img {
  z-index: 3;
  cursor: pointer;
}

.certificates__img:hover {
  transform: scale(1.05);
}

.certificates__list-wrap {
  width: 100%;
  padding: 35px 0;
}

.certificates__list-wrap::-webkit-scrollbar {
  width: 5px;
  height: 10px;
  background-color: #e6e6e6;
}

.certificates__list-wrap::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #ffb900;
}

.certificates__list-wrap::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
  border-radius: 5px;
  background-color: #e6e6e6;
}

  /*style section services
  -------------------------*/
.section-services {
  margin: 87px 0 133px;
  /*background-color: #fdfdfd;*/
}

.services__item {
  width: 333px;
  height: 304px;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  transition: .4s ease;
}

.services__item:hover {
  transform: translateY(-40px);
  cursor: pointer;
}

.services__link {
  padding: 40px 18px 23px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: calc(100% - 36px);
  height: calc(100% - 63px);
}

.services__link:nth-child(1) {
  padding: 40px 11px 23px;
  width: calc(100% - 22px);
}

.services__icon {
  margin-bottom: 26px;
}

.services__item-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: #313131;
  text-align: left;
  width: 100%;
}

.services__item-title span {
  font-weight: 300;
}

.section-contacts .section__title-bg, .section-brands .section__title-bg, .section-instagram .section__title-bg,
.section-steeps .section__title-bg, .section-calculator .section__title-bg {
  color: #FFF5F3;
}

/* style section contacts*/
.section-contacts {
  margin: 131px 0 123px;
}

.contacts__wrap {
  width: 100%;
  margin-top: 31px;
  display: grid;
  grid-template-columns: 1fr 720px;
  grid-gap: 72px 0;
}

.contacts__list, .contacts__item {
  width: 100%;
}

.contacts__item {
  margin-bottom: 20px;
}

.contacts__item:nth-child(4), .contacts__item:nth-child(7) {
  margin-bottom: 40px;
}

.contacts__item:last-child {
  margin-bottom: 0;
}

.contacts__item {
  display: grid;
  grid-template-columns: 19px 1fr;
  grid-gap: 0 22px;
}

.contacts__item svg {
  margin: auto;
}

.contacts__text {
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  color: #313131;
  transition: .4s ease color;
}

a.contacts__text:hover {
  color: #ffc107;
}

.map {
  width: 100%;
  height: 450px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.section-instagram {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 4;
  margin: 131px 0 179px;
}

.section-instagram .section__title-wrap {
  max-width: 1440px;
  margin: 0 auto;
}

.slider-photo {
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 4;
}

.slider-photo__wrap {
  width: 100%;
  padding: 10px 0;
  position: relative;
  overflow-x: hidden;
}

.photos-list {
  width: auto;
  display: inline-flex;
  position: relative;
  top: 0;
  left: 0;
  transition: .4s ease all;
}

.photos-list__item {
  margin-right: 10px;
}

.photos-list__item:last-child {
  margin-right: 0;
}

.slider-photo__img {
  transition: .4s ease;
}

.slider-photo__img:hover {
  transform: scale(1.01);
}

.slider-photo__controls {
  width: 100%;
  margin-top: 65px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.slider__button-prev, .slider__button-next {
  width: 14px;
  height: 24px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}

.slider__button-prev:disabled, .slider__button-next:disabled {
  opacity: .5;
  cursor: default;
}

.slider__button-prev {
  background-image: url("../img/icons/arrow-prev.svg");
}

.slider__button-next {
  background-image: url("../img/icons/arrow-next.svg");
}

.slider-photo__button-subscribe {
  width: 229px;
  height: 50px;
  background-color: #FFB526;
  border-radius: 30px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  color: #fff;
  transition: .4s ease;
}

.slider-photo__button-subscribe:hover {
  background-color: #ffc107
}

.button-instagram__text {
  margin-right: 14px;
}

.section-steeps .section__title-wrap, .section-advantages .section__title-wrap, .section-calculator .section__title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-steeps .section__title, .section-advantages .section__title, .section-calculator .section__title,
.section-calculator .section__title-bottom {
  text-align: center;
  width: 100%;
  left: 0;
}

/* style section steeps*/
.section-steeps {
  margin: 131px 0 129px;
}

.steeps-list {
  margin-top: 31px;
  width: 100%;
  display: grid;
  grid-template-columns: auto 340px repeat(2, auto);
  grid-column-gap: 41px;
  grid-row-gap: 47px;
}

.steeps-list__item {
  width: 100%;
}

.number-steep__wrap {
  width: 107px;
  height: 107px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  position: relative;
}

.number-steep {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 120px;
  line-height: 35px;
  letter-spacing: -0.05em;
  color: #0085BF;
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
}

.number-steep__title {
  font-weight: 500;
  font-size: 30px;
  line-height: 37px;
  text-transform: uppercase;
  color: #313131;
  margin: 22px 0 15px;
}

.steeps-list__button-feedback, .advantages-info__button-feedback {
  flex-direction: row;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  color: #fff;
  width: 187px;
  height: 50px;
  background-color: #FFB526;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 7px;
  transition: .4s ease;
}

.steeps-list__button-feedback:hover, .advantages-info__button-feedback:hover {
  background-color: #ffc107;
}

.steeps-list__button-feedback, .button-feedback__circle, .advantages-info__button-feedback {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-feedback__circle {
  width: 37px;
  height: 37px;
  background-color: #fff;
  border-radius: 50%;
}

.number-steep__text {
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #6d6d6d;
}

/* style section advantages*/
.section-advantages {
  margin: 127px 0 133px;
}

.advantages-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 723px 1fr;
  grid-column-gap: 79px;
  margin-top: 28px;
}

.advantages-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 340px);
  grid-template-rows: 86px 159px 43px 43px 43px 160px 43px 43px 86px;
  grid-column-gap: 43px;
}

.advantages-list__item {
  width: 100%;
  height: 245px;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.advantages-list__item:nth-child(1) {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 5;
}

.advantages-list__item:nth-child(2) {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 6;
  grid-row-end: 8;
}

.advantages-list__item:nth-child(3) {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}

.advantages-list__item:nth-child(4) {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 4;
  grid-row-end: 7;
}

.advantages-list__item:last-child {
  height: 130px;
  background-color: #FFB526;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 8;
  grid-row-end: 9;
}

.advantages-list__item:last-child .advantages-list__item-text {
  color: #fff;
}

.advantages-list__item-text {
  width: 100%;
  display: block;
  text-align: center;
  font-weight: 500;
  font-size: 22px;
  line-height: 27px;
  text-transform: uppercase;
  color: #313131;
  margin-top: 17px;
}

.advantages-info__title {
  font-weight: 500;
  font-size: 30px;
  line-height: 37px;
  text-align: center;
  color: #000;
  margin-bottom: 33px;
}

.advantages-info__text {
  margin-bottom: 18px;
  font-weight: normal;
  font-size: 20px;
  line-height: 24px;
}

.advantages-info__text:last-child {
  margin-bottom: 0;
}

.advantages-info__button-feedback {
  margin-top: 63px;
}

/* style section brands*/
.section-brands {
  margin: 127px 0 104px;
}

/* style section sale*/
.section-sale {
  margin: 104px 0 131px;
}

.sale-list {
  display: inline-flex;
  margin-top: 28px;
}

.sale-list__item {
  width: 333px;
  height: 304px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  transition: .4s ease;
  margin-right: 42px;
  cursor: pointer;
}

.sale-list__item:hover {
  transform: translateY(-41px);
}

.sale-list__link {
  width: calc(100% - 27px);
  padding: 48px 9px 5px 18px;
  height: calc(100% - 53px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.sale-list__text {
  margin-top: 10px;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #313131;
}

.sale__car-img {
  position: absolute;
  right: -231px;
  top: 70px;
}

.section__title {
  top: 82px;
}

.section__title-bottom {
  font-weight: 500;
  font-size: 36px;
  line-height: 44px;
  color: #313131;
  position: absolute;
  z-index: 5;
  top: 131px;
}

/*style section calculator
--------------------------*/
.section-calculator {
  margin: 133px 0 127px;
}

.calc-wrap {
  width: 100%;
  margin: 74px 0 84px;
}

.fuel-radio {
  display: none;
}

.fuel-number {
  font-weight: 600;
  font-size: 25px;
  line-height: 30px;
  color: #313131;
  margin-right: 12px;
}

.calc-title__wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 555px 1fr;
  grid-template-rows: 79px 126px;
}

.gas-title {
  grid-column-start: 1;
  grid-column-end: 2;
  background-color: #0085BF;
  border-radius: 15px 0 0 0;
}

.gasoline-title {
  grid-column-start: 2;
  grid-column-end: 3;
  border-radius: 0 15px 0 0;
  background-color: #FFB526;
}

.gasoline-title, .gas-title {
  width: 100%;
  height: 79px;
  grid-row-start: 1;
  grid-row-end: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-weight: normal;
  font-size: 25px;
  line-height: 30px;
}

.gas-select__wrap {
  width: calc(100% - 72px);
  height: 68px;
  padding: 28px 42px 30px 30px;
  grid-column-start: 1;
  grid-column-end: 2;
  border-right: 1px solid #C4C4C4;
}

.gas-select__wrap, .gasoline-select__wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  grid-row-start: 2;
  grid-row-end: 3;
}

.gasoline-select__wrap {
  grid-column-start: 2;
  grid-column-end: 3;
  width: calc(100% - 120px);
  height: 68px;
  padding: 28px 74px 30px 46px;
}

.propane, .methane, .gasoline-98, .gasoline-95, .gasoline-92 {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

.gasoline-label, .gas-label {
  cursor: pointer;
  display: grid;
  grid-template-columns: 68px auto;
  grid-column-gap: 18px;
  grid-row-gap: 11px;
}

.fuel-logo {
  width: 68px;
  height: 68px;
  background-color: #E5E1E1;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 30px;
  line-height: 37px;
  color: #313131;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 3;
}

.fuel-name {
  grid-row-start: 1;
  grid-row-end: 2;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

.fuel-name, .fuel-cost {
  grid-column-start: 2;
  grid-column-end: 3;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  color: #313131;
}

.fuel-cost {
  grid-row-start: 2;
  grid-row-end: 3;
  font-weight: normal;
  font-size: 18px;
  line-height: 22px;
}

.fuel-radio:checked + .gas-label .fuel-logo {
  color: #fff;
  background-color: #0085BF;
}

.fuel-radio:checked + .gas-label .fuel-name {
  color: #0085BF;
}

.fuel-radio:checked + .gasoline-label .fuel-logo {
  color: #fff;
  background-color: #FFB526;
}

.fuel-radio:checked + .gasoline-label .fuel-name {
  color: #FFB526;
}

.calc-content {
  width: calc(100% - 62px);
  background: rgba(40, 40, 40, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 15px;
  background-image: url("../img/calc-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 31px 32px 83px 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 32px;
  grid-row-gap: 91px;
}

.calc__sum-text {
  font-weight: normal;
  font-size: 30px;
  line-height: 37px;
  color: #C4C4C4;
  text-align: left;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.calc__sum-text br {
  display: none;
}

#sum {
  font-weight: bold;
  margin: 0 7px;
  display: block;
}

.calc__distance-wrap, .calc__consumption-wrap {
  width: 576px;
  height: 161px;
  background: rgba(32, 32, 32, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 15px;
  padding: 31px 42px 51px 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.calc__button-feedback {
  width: 364px;
  height: 61px;
  background-color: #0085BF;
  border-radius: 30px;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  border: none;
  margin: auto 0 auto auto;
  transition: .4s ease;
}

.calc__button-feedback:hover {
  background-color: #FFB526;
}

.calc__distance-title, .calc__consumption-title {
  font-weight: normal;
  font-size: 25px;
  line-height: 30px;
  color: #E5E1E1;
}

.range-content {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-column-gap: 30px;
}

.range-content__min, .range-content__max {
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  color: #C4C4C4;
}

.range-wrap {
  width: 100%;
  height: 8px;
  background-color: #C4C4C4;
  position: relative;
  margin: auto;
}

.range-color {
  background-color: #FFB526;
  z-index: 3;
  width: 0;
}

.range-input, .range-color {
  position: absolute;
  top: 0;
  left: 0;
  height: 8px;
}

.range-input {
  width: 100%;
  cursor: pointer;
  z-index: 5;
}

.range-input {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  border: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 19px;
  height: 19px;
  background-color: #FFB526;
  box-shadow: 0 0 0 15px rgba(255,255,255,1);
  border-radius: 100%;
  border: none;
}

.range-input::-moz-range-thumb {
  appearance: none;
  width: 19px;
  height: 19px;
  background-color: #FFB526;
  box-shadow: 0 0 0 15px rgba(255,255,255,1);
  border-radius: 100%;
  border: none;
}

.range-input::-ms-track {
  width: 0;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

.bubble {
  width: 70px;
  height: 41px;
  background-color: #FFB526;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.bubble::after {
  content: "";
  position: absolute;
  border: 10px solid transparent;
  border-bottom: 10px solid #FFB526;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.card-list {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.title-card {
  font-weight: 600;
  font-size: 30px;
  line-height: 37px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 30px;
}

/* style footer
-----------------*/
.footer {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 4;
  grid-row-end: 5;
  background-color: #313131;
  padding: 78px 0 81px;
  display: grid;
  grid-template-columns: 1fr 1440px 1fr;
}

.footer__wrap {
  width: 100%;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  display: grid;
  grid-template-columns: 236px 1fr 175px 1fr 386px 19px 378px;
  grid-template-rows: 82px 54px auto;
}

.footer__logo-link {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__logo-img {
  height: 82px;
}

.company-info {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-top: 12px;
}

.company-info-text {
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 35px;
  color: #C4C4C4;
}

.footer-nav {
  width: 100%;
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 4;
}

.footer-nav__menu {
  width: 100%;
}

.footer-nav__menu-link {
  font-weight: 500;
  font-size: 16px;
  line-height: 35px;
  text-transform: uppercase;
  color: #C4C4C4;
  transition: .4s ease;
}

.footer-nav__menu-link:hover {
  color: #FFB526;
}

.footer-contacts {
  width: 100%;
  grid-column-start: 5;
  grid-column-end: 6;
  grid-row-start: 1;
  grid-row-end: 4;
}

.footer-contacts__item {
  width: 100%;
  display: grid;
  grid-template-columns: 12px 1fr;
  grid-gap: 0 13px;
}

.footer-contacts__item svg {
  fill: #C4C4C4;
  margin: auto;
}

.footer-contacts__text {
  font-weight: normal;
  font-size: 16px;
  line-height: 35px;
  color: #C4C4C4;
  transition: .4s ease color;
}

a.footer-contacts__text:hover {
  color: #ffc107;
}

.footer-social {
  width: 100%;
  grid-column-start: 7;
  grid-column-end: 8;
  grid-row-start: 1;
  grid-row-end: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
}

.footer__button-feedback {
  margin-bottom: 36px;
}

.footer__button-instagram, .footer__button-feedback {
  width: 229px;
  height: 50px;
  background: #EFEFEF;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  color: #313131;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: .4s ease;
}

.footer__button-instagram span {
  margin-right: 13px;
}

.footer__button-instagram:hover, .footer__button-feedback:hover {
  background-color: #FFB526;
}

.text-copyright {
  width: 100%;
  grid-column-start: 7;
  grid-column-end: 8;
  grid-row-start: 3;
  grid-row-end: 4;
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
  text-align: right;
  text-transform: uppercase;
  color: #C4C4C4;
  margin-top: 71px;
}

.author-link {
  color: #C4C4C4;
  transition: .4s ease color;
}

.author-link:hover {
  color: #ffc107;
}

/* style modal
-----------------*/
.modal__wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__wrap.close-modal {
  display: none;
}

.modal-form, .post-status {
  width: 381px;
  position: relative;
  background-color: #fff;
  border-radius: 5px;
}

.post-status {
  padding: 20px;
}

.post-status__text {
  color: #0085BF;
  font-size: 18px;
  line-height: 27px;
  text-align: center;
}

.modal-form.hide, .modal-info.hide, .post-status.hide {
  display: none;
}

.modal__button-close, #closeZoomImage {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 27px;
  height: 27px;
  background-color: #0085BF;
  border: 2px solid #fff;
  border-radius: 50%;
  background-image: url("../img/icons/close.svg");
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  transition: .4s ease;
}

.modal__button-close:hover, #closeZoomImage:hover {
  transform: rotate(180deg);
}

.modal-form__title-wrap, .modal__title-wrap {
  width: calc(100% - 42px);
  padding: 28px 21px 23px;
  background-color: #0085BF;
  border-radius: 5px;
}

.modal-form__title, .modal__title {
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
  text-align: center;
}

.modal-form__title-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}

.modal-form__inputs {
  width: calc(100% - 50px);
  padding: 48px 25px 27px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.modal-form__input-name, .modal-form__input-phone {
  width: 100%;
  height: 50px;
  border: 1px solid #cacaca;
  box-sizing: border-box;
  border-radius: 5px;
  padding: 0 10px 0 56px;
  background-repeat: no-repeat;
  background-position: 13.38px center;
  position: relative;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #000;
}

.modal-form__input-name:focus, .modal-form__input-phone:focus {
  border-color: #FFB526;
}

.modal-form__input-name::placeholder, .modal-form__input-phone::placeholder {
  color: #A5A5A5;
}

.modal-form__input-phone {
  margin-top: 20px;
  background-image: url("../img/icons/phone-form.svg");
}

.modal-form__input-name {
  background-image: url("../img/icons/person.svg");
}

.modal-form__input-name:before, .modal-form__input-phone:before {
  content: "";
  width: 1px;
  height: 40px;
  background-color: #c4c4c4;
  position: absolute;
  display: block;
  top: 5px;
  left: 44px;
}

.modal-form__submit {
  width: 230px;
  height: 50px;
  margin: 39px 0 22px;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  color: #313131;
  background-color: #FFB526;
  border-radius: 30px;
  transition: .4s ease;
  cursor: pointer;
}

.modal-form__text {
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  color: #7c7c7c;
}

.modal-info {
  width: 874px;
  position: relative;
}

.modal-info__content {
  background-color: #fff;
  padding: 41px 46px 30px;
}

.modal-info__img {
  margin: 0 auto 21px;
  display: block;
}

.modal-info__text {
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #313131;
  text-align: left;
}

/*style zoom image*/
#zoomImage {
  position: relative;
}

#zoomImage img {
  width: 400px;
}

/*@media screen
-----------------*/
@media screen and (max-width: 1920px ) {
  .photos-list__link {
    width: 100%;
    height: 100%;
  }

  .slider-photo__img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 1600px ) {
  body {
    display: block;
    background: none;
  }

  .header {
    width: 1300px;
    margin: 0 auto;
  }

  .header.scrollBottom {
    width: 1236px;
  }

  .content-sidebar {
    width: 100%;
    margin: 0 auto;
  }

  .content-sidebar {
    display: block;
  }

  section {
    width: 1300px;
    padding: 0 calc(50% - 650px);
  }

  .section-instagram {
    width: 100%;
    padding: 0;
  }

  .section-instagram > .section__title-wrap {
    width: 1300px;
    margin: 0 auto;
  }

  .preview__car-img {
    width: 745px;
    right: 15px;
  }

  .services__item {
    width: 304px;
  }

  .calc__distance-wrap, .calc__consumption-wrap {
    width: 515px;
  }

  .photos-list__item {
    height: auto;
  }

  .section__title-bg {
    font-size: 120px;
  }

  .preview-title {
    font-size: 48px;
    line-height: 56px;
  }

  .preview-location__text, .preview-phone__text {
    font-size: 13px;
  }

  .preview-text {
    font-size: 21px;
    line-height: 26px;
  }

  .preview-wrap {
    width: 560px;
  }

  .preview-title__faq {
    right: 80px;
  }

  .sale__car-img {
    width: 500px;
    right: 0;
    top: 235px;
  }
}

@media screen and (max-width: 1520px ) {
  .header, section, .section-instagram > .section__title-wrap {
    width: 960px;
  }

  .header.scrollBottom {
    width: 896px;
  }

  section {
    padding: 0 calc(50% - 480px);
  }

  .header__logo-img {
    width: 125px;
  }

  .menu__link {
    font-size: 14px;
  }

  .menu {
    width: 415px;
  }

  .header-phones__number {
    font-size: 14px;
  }

  .header__button-feedback {
    width: 175px;
    height: 40px;
    font-size: 14px;
  }

  .preview__car-img {
    width: 570px;
    right: auto;
    left: calc(50% + 100px);
    top: 180px;
  }

  .services__item:first-child .services__icon, .services__item:last-child .services__icon {
    width: auto;
    height: 75px;
  }

  .services__icon {
    width: 115px;
  }

  .services__item-title {
    font-size: 15px;
    line-height: 19px;
  }

  .services__item {
    width: 220px;
    height: 270px;
  }

  .section__title-bg {
    font-size: 100px;
  }

  .calc-title__wrap {
    grid-template-columns: 430px 1fr;
    grid-template-rows: 79px auto;
  }

  .gas-select__wrap, .gasoline-select__wrap {
    width: calc(100% - 40px);
    height: auto;
    padding: 15px 20px;
  }

  .gasoline-label, .gas-label {
    grid-template-columns: 30px auto;
    grid-column-gap: 11px;
    grid-row-gap: 4px;
  }

  .fuel-logo {
    width: 30px;
    height: 30px;
    font-size: 13px;
    line-height: 17px;
  }

  .fuel-name {
    font-size: 14px;
    line-height: 18px;
  }

  .fuel-cost {
    font-size: 14px;
  }

  .fuel-number {
    font-size: 16px;
    line-height: 24px;
    margin-right: 10px;
  }

  .calc__distance-wrap, .calc__consumption-wrap {
    width: calc(100% - 30px);
    height: auto;
    padding: 20px 15px;
  }

  .calc__distance-title, .calc__consumption-title {
    font-size: 14px;
    line-height: 24px;
  }

  .range-content {
    margin-top: 30px;
  }

  .bubble {
    width: 55px;
    height: 30px;
    top: 40px;
    z-index: 10;
  }

  .calc__distance-title br, .calc__consumption-title br {
    display: none;
  }

  .range-input::-webkit-slider-thumb {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 1);
  }

  .range-input::-moz-range-thumb {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 1);
  }

  .calc__sum-text {
    font-size: 19px;
  }

  .calc__button-feedback {
    width: 320px;
    height: 50px;
    font-size: 16px;
    line-height: 20px;
  }

  .range-content__min, .range-content__max {
    font-size: 16px;
    line-height: 20px;
  }

  .calc-content {
    padding: 30px 32px 50px 30px;
  }

  .advantages-list__item-text {
    font-size: 16px;
    line-height: 20px;
  }

  .advantages-list__item-img {
    width: 75px;
  }

  .advantages-wrap {
    grid-template-columns: 520px 1fr;
    grid-column-gap: 50px;
  }

  .advantages-info__text {
    font-size: 16px;
    line-height: 22px;
  }

  .advantages-info__title {
    font-size: 24px;
    line-height: 28px;
  }

  .advantages-list {
    grid-template-columns: repeat(2, 250px);
    grid-template-rows: 60px 100px repeat(3, 30px) 100px repeat(2, 30px) 80px;
    grid-column-gap: 20px;
  }

  .advantages-list__item, .advantages-list__item:last-child {
    height: 100%;
  }

  .advantages-list__item:nth-child(2) {
    grid-row-end: 9;
  }

  .advantages-list__item:last-child {
    grid-row-end: 10;
  }

  .brands__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 20px;
  }

  .brands__item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .brands__item, .brands__logo {
    width: 100%;
  }

  .brands__item:nth-child(1) .brands__logo, .brands__item:nth-child(2) .brands__logo, .brands__item:last-child .brands__logo {
    width: auto;
    height: 65px;
  }

  .sale-list__item:last-child {
    margin-right: 0;
  }

  .steeps-list {
    margin-top: 31px;
    width: 100%;
    display: grid;
    grid-template-columns: auto 200px repeat(2, auto);
    grid-column-gap: 23px;
    grid-row-gap: 35px;
  }

  .number-steep__text {
    font-size: 16px;
    line-height: 26px;
  }

  .number-steep__title {
    font-size: 20px;
    line-height: 25px;
  }

  .number-steep__wrap {
    width: 86px;
    height: 86px;
  }

  .clients__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 20px;
  }

  .clients__item, .clients__logo {
    width: 100%;
  }

  .contacts__wrap {
    grid-template-columns: 1fr 555px;
  }

  .footer {
    grid-template-columns: 20px 1fr 20px;
  }

  .certificates__item, .certificates__img {
    position: relative;
    transition: .4s ease;
    height: 200px;
  }
}

@media screen and (max-width: 1450px ) {
  .sale-list__img {
    height: 120px;
  }

  .sale-list__item {
    width: 240px;
    height: 250px;
  }

  .sale-list__text {
    font-size: 13px;
    line-height: 18px;
  }

  .number-steep {
    font-size: 90px;
  }

  .number-steep__title {
    font-size: 21px;
    line-height: 29px;
  }
}

@media screen and (max-width: 1300px ) {
  .footer__wrap {
    grid-template-columns: 236px 1fr 175px 1fr 300px 19px 378px;
  }
}

@media screen and (max-width: 1260px ) {
  .footer__wrap {
    grid-template-columns: 236px 1fr 175px 1fr 300px 19px 230px;
  }

  .text-copyright {
    grid-column-start: 1;
    grid-column-end: 8;
    grid-row-start: 4;
    grid-row-end: 5;
    text-align: center;
  }

  .certificates__list-wrap {
    overflow-x: auto;
  }

  .certificates__list {
    width: auto;
  }
}

@media screen and (max-width: 1100px ) {
  section, .section-instagram > .section__title-wrap, .footer__wrap {
    width: 830px;
  }

  section {
    padding: 0 calc(50% - 415px);
  }

  .header, .header.scrollBottom {
    width: 810px;
    padding: 10px;
  }

  .header__logo-img {
    width: 80px;
    padding: 0;
  }

  .menu {
    width: 360px;
  }

  .menu__link {
    font-size: 12px;
  }

  .header__button-feedback br {
    display: block;
  }

  .header-phones__number {
    font-size: 12px;
  }

  .preview__car-img {
    width: 425px;
  }

  .content-sidebar section {
    margin: 100px auto;
  }

  .preview-text {
    font-size: 19px;
    line-height: 24px;
  }

  .section__title-bg {
    font-size: 80px;
  }

  .gasoline-title, .gas-title {
    font-size: 18px;
    line-height: 25px;
  }

  .calc-title__wrap {
    grid-template-columns: 340px 1fr;
  }

  .card-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 20px;
  }

  .card-list__item, .card-list__img {
    width: 100%;
  }

  .advantages-wrap {
    grid-template-columns: 370px 1fr;
    grid-column-gap: 30px;
  }

  .advantages-list {
    grid-template-columns: repeat(2, 175px);
    grid-template-rows: 45px 90px repeat(3, 25px) 75px repeat(2, 25px) 65px;
  }

  .advantages-list__item-img {
    width: 57px;
  }

  .advantages-list__item-text {
    font-size: 12px;
    line-height: 17px;
  }

  .advantages-info__title {
    font-size: 22px;
    line-height: 26px;
  }

  .advantages-info__text {
    font-size: 15px;
    line-height: 21px;
  }

  .section__title {
    font-size: 34px;
    line-height: 44px;
  }

  .sale__car-img {
    width: 400px;
  }

  .contacts__text {
    font-size: 16px;
    line-height: 18px;
  }

  .contacts__wrap {
    grid-template-columns: 1fr 480px;
  }

  .footer__wrap {
    grid-template-columns: 236px 1fr 315px;
    grid-template-rows: auto;
    grid-column-gap: 0;
    grid-row-gap: 30px;
    margin: 0 auto;
  }

  .footer-nav {
    grid-column-start: 2;
    grid-column-end: 3;
  }

  .footer-nav__menu-item, .footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-contacts {
    grid-column-start: 3;
    grid-column-end: 4;
  }

  .footer-social {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 4;
    grid-row-end: 5;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
  }

  .footer__button-instagram, .footer__button-feedback {
    margin: 0 10px;
  }

  .text-copyright {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 5;
    grid-row-end: 6;
    text-align: center;
    margin-top: 20px;
  }

  .services__item {
    width: 195px;
    height: 220px;
  }
}

@media screen and (max-width: 1000px ) {
  .sale__car-img {
    width: 310px;
    top: 290px;
  }

  .modal-info {
    width: 620px;
  }
}

@media screen and (max-width: 880px ) {
  .menu {
    width: 390px;
  }

  .header__button-feedback {
    display: none;
  }

  .services__icon {
    width: 95px;
  }

  .services__item {
    width: 200px;
    height: 245px;
  }

  .header, .header.scrollBottom {
    width: 670px;
  }

  section, .section-instagram > .section__title-wrap, .footer__wrap {
    width: 690px;
  }

  section {
    padding: 0 calc(50% - 345px);
  }

  .preview-title {
    font-size: 36px;
    line-height: 42px;
  }

  .preview-location__text, .preview-phone__text {
    font-size: 11px;
  }

  .preview-wrap {
    width: 485px;
  }

  .preview-title__faq {
    right: 120px;
  }

  .preview-text {
    font-size: 15px;
    line-height: 21px;
  }

  .preview__button-feedback:nth-child(1) {
    margin-right: 30px;
  }

  .content-sidebar section {
    margin: 50px auto;
  }

  .section__title-bg {
    font-size: 60px;
  }

  .section__title {
    font-size: 24px;
    line-height: 33px;
    top: 83px;
  }

  .section__title-bottom {
    font-size: 24px;
    line-height: 34px;
    top: 120px;
  }

  .services__item {
    width: 160px;
    height: 220px;
  }

  .services__item-title {
    font-size: 12px;
    line-height: 17px;
  }

  .services__icon {
    width: 73px;
  }

  .gasoline-title, .gas-title {
    font-size: 15px;
    line-height: 21px;
  }

  .calc-title__wrap {
    grid-template-columns: 290px 1fr;
  }

  .gasoline-label, .gas-label, .calc__sum-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .advantages-wrap {
    display: flex;
    flex-direction: column;
  }

  .advantages-list {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 45px 90px repeat(3, 25px) 75px repeat(2, 25px) 65px;
    margin-bottom: 50px;
  }

  .steeps-list {
    grid-template-columns: 190px 215px 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 35px;
  }

  .number-steep__title {
    font-size: 20px;
  }

  .number-steep__text {
    font-size: 14px;
    line-height: 23px;
  }

  .steeps-list__item:last-child {
    grid-column-start: 2;
    grid-column-end: 4;
  }

  .contacts__text {
    font-size: 14px;
  }

  .contacts__wrap {
    grid-template-columns: 1fr 400px;
  }

  .sale-list__img {
    height: 95px;
  }

  .sale-list__text {
    font-size: 12px;
  }

  .sale-list__item {
    width: 170px;
    height: auto;
    padding-bottom: 20px;
    margin-right: 20px;
  }

  .footer-contacts__text {
    font-size: 14px;
  }

  .footer__wrap {
    grid-column-gap: 10px;
    grid-template-columns: 236px 1fr 260px;
  }
}

@media screen and (max-width: 768px ) {
  .header, .header.scrollBottom {
    width: calc(100% - 40px);
    padding: 0 10px;
  }

  section, .footer__wrap {
    width: calc(100% - 20px);
    padding: 0 10px;
  }

  .footer__wrap {
    width: calc(100% - 40px);
    padding: 0 20px;
  }

  .section-instagram > .section__title-wrap {
    width: 100%;
  }

  .header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 200;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s ease;
  }

  .header-menu.menu-open {
    width: 100%;
    height: 100vh;
  }

  .header__button-menu {
    display: block;
  }

  .header__button-menu.fix {
    position: relative;
    z-index: 500;
  }

  .header__button-menu.fix .line-menu {
    background-color: #fff;
  }

  .header__button-menu.fix .line-menu:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }

  .header__button-menu.fix .line-menu:nth-child(2) {
    display: none;
  }

  .header__button-menu.fix .line-menu:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 10px;
  }

  .menu {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .menu__item {
    margin: 10px 0;
  }

  .menu__link {
    font-size: 18px;
    color: #fff;
  }

  .header__button-feedback {
    display: block;
  }

  .header__button-feedback br {
    display: none;
  }

  .advantages-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .advantages-list {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 50px;
  }

  .sale-list {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .sale-list__item {
    width: 240px;
    height: 230px;
    padding: 0;
  }

  .clients__logo {
    width: 90%;
  }

  .preview-buttons-feedback__wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .preview__button-feedback, .preview__button-feedback:nth-child(1) {
    margin: 0 0 15px 0;
    width: 198px;
  }

  .preview__button-feedback:last-child {
    margin-top: 15px;
  }

  .preview__car-img {
    width: 405px;
    top: 260px;
  }

  .sale__car-img {
    display: none;
  }

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

  .steeps-list__item:last-child {
    grid-column-start: auto;
    grid-column-end: auto;
  }

  .clients__list {
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 20px;
  }

  .card-list {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  .card-list__item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .card-list__img {
    width: 180px;
  }

  .contacts__wrap, .section__title-wrap, .calc-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .section__title-wrap {
    align-items: center;
  }

  .section__title, .calc-content {
    width: 100%;
    text-align: center;
  }

  .calc-content {
    width: calc(100% - 60px);
  }

  .calc__sum-text {
    width: 100%;
    flex-direction: row;
    margin: 30px 0;
  }

  .calc__button-feedback {
    margin: 0 auto;
  }

  .calc-content {
    grid-row-gap: 0;
  }

  .calc__distance-wrap, .calc__consumption-wrap {
    margin-bottom: 50px;
  }

  .title-card {
    width: 100%;
    text-align: center;
  }

  .slick-next {
    right: 115px;
  }

  .slick-prev {
    left: 115px;
  }

  .content-sidebar .section-instagram {
    margin-top: 150px;
  }

  .calc-title__wrap {
    grid-template-columns: 1fr;
  }

  .gasoline-title {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 3;
    grid-row-end: 4;
  }

  .gas-select__wrap, .gasoline-select__wrap {
    justify-content: center;
    border: none;
  }

  .gas-select__wrap, .gasoline-select__wrap {
    justify-content: center;
    border: none;
  }

  .gasoline-select__wrap {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 4;
    grid-row-end: 5;
  }

  .gasoline-label, .gas-label {
    display: grid;
  }

  .gas-propane {
    margin-right: 30px;
  }

  .gasoline-95 {
    margin: 0 30px;
  }

  .footer-nav {
    display: none;
  }

  .footer__wrap {
    grid-template-rows: auto;
    grid-template-columns: 300px 1fr;
  }

  .services__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 25px;
  }

  .services__item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    height: auto;
  }

  .services__link, .services__link:nth-child(1) {
    width: 250px;
    height: 125px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
  }

  .services__icon {
    width: 100px;
  }

  .services__item-title {
    font-size: 14px;
    line-height: 24px;
  }

  .gasoline-title, .gas-title {
    border-radius: 15px 15px 0 0;
  }

  html {
    overflow-x: hidden;
  }
}

@media screen and (max-width: 650px ) {
  .slick-next {
    right: 70px;
  }

  .slick-prev {
    left: 40px;
  }

  .modal-info {
    width: calc(100% - 60px);
  }
}

@media screen and (max-width: 630px ) {
  .footer__logo-link {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
  }

  .company-info {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    margin: 0;
    align-items: flex-start;
  }

  .footer-social {
    flex-direction: column;
  }

  .footer-contacts {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    margin-top: 36px;
  }

  .footer-social {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
    margin: 23px 0 36px;
  }

  .text-copyright {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;
    margin: 0;
    font-size: 16px;
  }

  .footer__button-feedback {
    margin: 0 0 40px 0;
  }

  .footer {
    padding: 38px 0;
  }

  .footer__logo-img {
    height: 68px;
  }

  .footer-contacts__item {
    grid-column-gap: 9px;
  }

  .header__logo-img {
    width: 100px;
  }

  .header__button-feedback {
    display: none;
  }

  .advantages-info__button-feedback {
    margin: 36px auto 0;
  }

  .advantages-list {
    grid-template-rows: 34px 90px 16px 42px 16px 60px 16px 43px 34px;
  }

  .advantages-list__item:last-child {
    height: 98px;
    border-radius: 10px;
  }

  .advantages-list__item:nth-child(2) {
    grid-row-end: 9;
  }

  .advantages-list__item-img {
    width: 45px;
  }

  .advantages-list__item {
    height: auto;
  }

  .section__title {
    top: 45px;
  }

  .number-steep__wrap {
    width: 59px;
    height: 59px;
  }

  .number-steep {
    font-size: 64px;
  }

  .number-steep__title {
    font-size: 17px;
    line-height: 22px;
  }

  .number-steep__text {
    font-size: 16px;
  }

  .preview-info__wrap {
    grid-template-columns: 1fr;
    grid-row-gap: 10px;
  }

  .preview-location__text, .preview-phone__text {
    font-size: 14px;
    line-height: 17px;
  }

  .preview-title {
    font-size: 29px;
    line-height: 35px;
  }

  .preview-wrap {
    width: 100%;
  }

  .preview__car-img {
    left: calc(50% + 20px);
    top: 330px;
  }

  .photos-list__item, .slider-photo__img {
    width: 100%;
    height: auto;
  }

  .slider-photo__button-subscribe {
    width: 168px;
    font-size: 14px;
  }

  .button-instagram__icon {
    width: 24px;
  }

  .button-instagram__text {
    margin-right: 5px;
  }

  .slick-prev {
    left: 0;
  }

  .slick-next {
    right: 0;
  }

  .slick-prev:before, .slick-next:before {
    width: 13px;
    height: 24px;
    bottom: -110px;
  }

  .content-sidebar {
    display: block;
  }

  section, .section-instagram, .section-certificates {
    width: calc(100% - 30px);
    padding: 0 15px;
  }

  .slick-prev, .slick-next {
    bottom: -108px;
  }

  #zoomImage img {
    width: 290px
  }

  .preview-title__faq {
    top: 2px;
    right: 6px;
  }

  .preview-title__faq:after {
    right: 12px;
    left: auto;
    bottom: 25px;
  }

  .section__title-bottom {
    font-size: 18px;
    line-height: 29px;
  }

  .services__link {
    width: 100%;
  }

  .services__list {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }

  .section__title {
    font-size: 17px;
  }

  .section__title-bottom {
    top: 140px;
  }

  .preview-location {
    width: 100%;
    justify-content: flex-start;
  }

  .preview-title, .preview-title__wrap {
    width: 300px;
  }

  .section__title-bg {
    font-size: 42px;
    line-height: 95px;
  }

  .preview-phone {
    display: flex;
  }

  .preview-info__wrap {
    grid-template-columns: repeat(1, auto);
  }

  .preview-phone svg, .preview-location svg {
    height: 9px;
    width: auto;
  }

  .header-phones__number:before {
    content: none;
  }

  .header-phones__number mark {
    font-size: 14px;
  }

  .content-sidebar section {
    margin: 25px auto 50px;
  }
}

@media screen and (max-width: 600px ) {
  .preview-title, .preview-title__wrap {
    width: 100%;
    font-size: 4vw;
  }

  .preview__car-img {
    width: 310px;
  }

  .preview-title__faq {
    right: 47px;
  }

  .preview__car-img {
    left: 50%;
    top: 362px;
  }

  .services__link, .services__link:nth-child(1) {
    width: 100%;
  }

  .services__link {
    height: calc(100% - 63px);
  }

  .preview-title {
    font-size: 47px;
    line-height: 50px;
  }

  .header, .header.scrollBottom {
    padding: 10px;
  }

  .header.scrollBottom .header__logo-img {
    width: 38px;
  }

  #document-wrap {
    overflow-x: hidden;
  }

  .brands__item:nth-child(1) .brands__logo, .brands__item:nth-child(2) .brands__logo,
  .brands__item:last-child .brands__logo {
    height: auto;
    width: 100%;
  }

  .brands__list {
    grid-column-gap: 15px;
  }

  .footer__wrap {
    grid-column-start: 1;
  }

  .range-input::-webkit-slider-thumb {
    width: 30px;
    height: 30px;
    background-color: #FFB526;
    border: 7px solid #fff;
    box-shadow: none;
  }

  .range-input::-moz-range-thumb {
    width: 30px;
    height: 30px;
    background-color: #FFB526;
    border: 7px solid #fff;
    box-shadow: none;
  }

  .footer__button-feedback, .footer-social .footer__button-instagram {
    width: 100%;
  }

  .footer-social .footer__button-instagram {
    margin: 0;
  }

  .footer-contacts {
    margin-top: 0;
  }

  .services__item:first-child .services__icon, .services__item:last-child .services__icon {
    width: auto;
    height: 70px;
  }

  .services__item-title span {
    font-size: 8px;
  }

  .services__item-title {
    font-size: 10px;
    text-align: center;
    line-height: 17px;
  }

  .footer__wrap {
    width: 100%;
    padding: 0;
    grid-column-start: 2;
    grid-column-end: 3;
  }
}

@media screen and (max-width: 530px ) {
  .section__title {
    font-size: 17px;
  }

  .section__title-bottom {
    font-size: 13px;
    top: 115px;
  }

  .advantages-list {
    grid-column-gap: 16px;
  }

  .advantages-list__item-text {
    font-size: 11px;
  }

  .advantages-list__item-img {
    width: 45px;
  }

  .advantages-list__item {
    height: auto;
  }

  .services__icon {
    width: 55px;
    margin-bottom: 15px;
  }

  .services__item {
    height: 150px;
  }

  .services__link {
    padding: 17px 0 6px;
  }

  .brands__item:nth-child(3) > .brands__logo, .brands__item:nth-child(4) > .brands__logo,
  .brands__item:nth-child(5) > .brands__logo, .brands__logo {
    width: 100%;
  }

  .sale-list__text {
    font-size: 16px;
  }

  .contacts__text {
    font-size: 15px;
  }

  .contacts__item {
    grid-column-gap: 8px;
  }

  .map {
    height: 250px;
    margin-top: 15px;
  }

  .steeps-list {
    grid-template-columns: 1fr;
  }

  .number-steep__wrap {
    float: left;
    margin: 0 40px 5px 0;
  }

  .number-steep__title {
    margin: 0 0 16px;
  }

  .section__title {
    line-height: 140%;
  }

  .steeps-list__button-feedback {
    margin: auto 0 auto auto;
  }

  .bubble {
    width: 31px;
    height: 18px;
    font-size: 12px;
    line-height: 15px;
    top: 30px;
  }

  .bubble::after {
    border: 7px solid transparent;
    border-bottom: 7px solid #FFB526;
    top: -14px;
  }

  .calc__distance-wrap, .calc__consumption-wrap {
    height: auto;
    width: calc(100% - 22px);
    padding: 19px 11px 22px;
  }

  .gas-select__wrap, .gasoline-select__wrap {
    flex-direction: column;
    height: auto;
  }

  .calc-title__wrap {
    grid-template-rows: auto;
  }

  .propane {
    margin: 0 0 15px 0;
  }

  .gasoline-95 {
    margin: 15px 0;
  }

  .gasoline-label, .gas-label {
    display: grid;
    grid-template-columns: 68px auto;
  }

  .fuel-logo {
    width: 68px;
    height: 68px;
    font-size: 30px;
  }

  .calc-content {
    padding: 25px 16px 30px;
    width: calc(100% - 32px);
  }

  .calc__button-feedback {
    width: 100%;
    font-size: 15px;
  }

  .calc__sum-text br, .calc__sum-text {
    display: block;
    line-height: 37px;
  }

  .calc__sum-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .title-card {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .calc-wrap {
    width: 100%;
    margin: 74px 0 26px;
  }

  .modal-info__text {
    font-size: 11px;
    line-height: 19px;
  }

  .preview__car-img {
    top: 343px;
    width: 235px;
  }

  .preview-text {
    font-size: 17px;
  }

  .preview-location__text, .preview-phone__text {
    font-size: 13px;
  }

  .section__title-bottom {
    top: 80%;
  }

  .sale-list {
    flex-direction: column;
  }

  .sale-list__item {
    margin: 0 0 15px 0;
  }

  .sale-list__text {
    font-size: 14px;
  }

  .preview-title__faq {
    right: auto;
    left: 337px;
    top: -3px;
  }

  .preview-title {
    font-size: 36px;
    line-height: 41px;
  }

  .modal-info__img {
    height: 100px;
  }

  .services__link, .services__link:nth-child(1) {
    height: 85px;
  }

  .services__item:first-child .services__icon, .services__item:last-child .services__icon {
    height: 45px;
  }
}

@media screen and (max-width: 500px ) {
  .card-list__img {
    width: 100%;
  }

  .modal-form {
    width: calc(100% - 70px);
    margin: 0 20px;
  }

  .footer__wrap {
    grid-template-columns: 175px 1fr;
  }
}

@media screen and (max-width: 430px ) {
  .preview__car-img {
    top: 338px;
    width: 235px;
    left: calc(50% + 30px);
  }
}

@media screen and (max-width: 400px ) {
  .header__logo-img {
    width: 38px;
  }

  .header-phones__number {
    font-size: 14px;
  }

  .advantages-info__title {
    font-size: 18px;
    line-height: 22px;
  }

  .services__item {
    height: 150px;
  }

  .services__link, .services__link:nth-child(1) {
    padding: 17px 0 6px;
    width: 100%;
    height: calc(100% - 23px);
  }

  .sale-list__item {
    width: 100%;
    height: auto;
  }

  .clients__logo {
    width: 100%;
  }

  .modal-info__content {
    background-color: #fff;
    padding: 31px 20px 20px;
  }

  .preview__car-img {
    left: calc(50% + 60px);
  }

  .preview-title {
    font-size: 27px;
    line-height: 38px;
  }

  .preview-title__faq {
    left: 255px;
  }

  .section__title-bg {
    font-size: 34px;
    line-height: 100px;
  }

  .section__title-bottom {
    font-size: 12px;
    top: 85%;
  }
}

.swiper-container {
  width: 100%;
  height: auto;
}