
@media (min-width: 321px) and (max-width: 2000px) {
  .form__header {
    right: 10%;
  }
 }






@media (max-width: 1366px) {

  /* .container {
    max-width: 954px;
  } */
  /* .header__nav {
    display: none;
   } */

   .header__logo {
    margin-right: 3%;
}

  .header {
    margin-bottom: 50px;
  }

.header__logo img {
  width: 67%;
}


  .burger {
    position: relative;
    display: block;
    margin-right: 12%;
    width: 30px;
    height: 23px;
    border: none;
    color: var(--black-color);
    z-index: 6;

  }


  .burger__line {
    position: absolute;
    left: 50%;
    width: 30px;
    height: 3px;
    transform: translateX(-50%);
    background-color: currentColor;
    transition: transform .3s ease-in-out, opacity .3s ease-in-out;

  }

  .burger__line:nth-child(1) {
    top: -3px;

  }
  .burger__line:nth-child(2) {
  top: 39%;
  transform: translateX(-50%) translateY(-50%);

  }
  .burger__line:nth-child(3) {
  bottom: 3px;
}

/* .header__nav {
  display: block;
} */



 .nav__close {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  top: 0;
  min-width: 320px;
  width: 41%;
  height: 100vh;
  z-index: 7;
  padding: 40px;
  padding-left: 170px;
  background-color: #fff;
  box-shadow: 0px 5px 40px rgba(0, 0, 0, 0.1);
  border-radius: 0px 0px 32px 32px;
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(-120%);
  transition: visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.new__close {
  text-align: left;
  margin-bottom: 100px;
  width: 23px;
  height: 24.26px;
}
/* .header.open .nav__close {
  display: flex;
  flex-direction: column;
} */
.header__list__item:not(:last-child) {
  margin-right: 0;
  margin-bottom: 60px;
}


.header__link {
  display: block;
  font-size: 24px;
  line-height: 29px;
}
.header.open .nav__list__header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}
.nav__list {

  gap: 0;

}
.header.open .new__close {
  display: block;
}
.header.open .nav__close {
  transform: translateX(0%);
  visibility: visible;
}



/* .header.open .burger__line:nth-child(2) {
  opacity: 0;
}
.header.open .burger__line:nth-child(1) {
  left: 0%;
  top: 50%;
  transform: rotate(45deg);
  transform-origin: center;
}
.header.open .burger__line:nth-child(3) {
  bottom: auto;
  left: 0%;
  top: 50%;
  transform: rotate(-45deg);
  transform-origin: center;
} */

.hero__content {
  min-height: 668px;

}
  .hero__wrapper {
  padding: 160px 0 0 80px;

  }
  .hero__h1 {
    font-size: 60px;
    line-height: 73px;

  }
  .hero__h2 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 50px;
    transform: translateY(-10px);
  ;
  }

  .about {
    padding-top: 35px;
    padding-bottom: 27px;
  }

  .about__wrapper {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .about__text {
    width: 100%;
    margin-bottom: 60px;
  }

  .about__right {
    width: 100%;
    flex-wrap: wrap;
    min-height: 640px;

  }
  .about__icon {
    width: 16%;
    height: 165px;
  }
  .about__transparent {
    width: 100%;
  }
  .about__left {
    width: 100%;

  }
  .how {
    padding-bottom: 52px;
  }
  .how__steps {
    margin-bottom: 50px;
  }
  .how__descr {
    max-width: 437px;
    min-height: 576px;
    margin-bottom: 47px;
  }
  .tabs__item--active::before  {
    border-radius: 32px;
    width: 47%;
    height: 80%;
    bottom: -23px;
  }
  /* .how__link {
    margin-right: auto;
  } */
  .faq {
    padding-bottom: 75px;
  }
  .item__top__question {
    text-align: left;
    font-size: 20px;
    width: 77%;


  }
  .footer__right {
    display: none;
  }
  .footer__center {
    width: 60%;
  }
  .footer__left {
    margin-right: 22%;
  }

  .footer__form__wrapper {
    /* max-width: 544px; */
    gap: 30px;
    align-items: center;
  }
  .form__btn {
    width: 241px;
    height: 58px;
  }
  .form__descr {
    height: 144px;
    margin-bottom: 5px;
  }
  .form__input {
    width: 100%;
    padding: 14px 24px;
  }
   .form__h2 {
    align-self: flex-start;

  }


}



@media (max-width: 992px) {

 .container {
    max-width: 698px;
  }
  .header {
    padding: 14px 25px 7px 25px;
    margin-bottom: 39px;

  }

.burger {
  margin-right: 22%;
}
  .header__logo {
    margin-right: 10%;
    min-width: 150px;
}
.nav__close{
  padding-left: 50px;
  padding-top: 23px;
  width: 55%;
  border-radius: 0px 0px 24px 24px;
}


  .hero {
    padding-bottom: 25px;
  }
  .hero__content {
    min-height: 662px;
  }

  .hero__wrapper {
    max-width: 588px;
    padding: 162px 37px 0 37px;
  }
  .hero__h1 {
    font-size: 44px;
    line-height: 61px;
  }
  .hero__h2 {
     margin-bottom: 46px;
  }

  .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 21px 10px;
}
  .about {
    padding-top: 12px;
  }
  .about__text {
    width: 100%;
    margin-bottom: 55px;
}
  .about__right {
    min-height: 650px;
    border-radius: 24px;
  }
  .about__transparent {
    min-height: 196px;
    padding: 34px 40px;
  }
  .about__transparent__descr {
    margin-right: 8%;
    max-width: 366px;

  }
  .about__card {
    padding: 5% 4% 5% 3%;
  /* padding: 35px 46px 35px 40px; */
  min-height: 235px;
  }
  .about__title {
    font-size: 23px;
  }
   .about__icon {
    /* width: 23%;
  height: 99px; */
  margin-right: 5%;
}
  .about__descr__left {
    transform: translateY(7px);

  }
  .how__steps {
    justify-content: space-between;
    max-width: 100%;
    padding-left: 0;
    /* margin-bottom: 335px; */
    margin-bottom: 372px;

  }
  .tabs__item--active::before  {

    top: 183px;
    width: 100%;
    height: 30%;
    /* height: 29%; */
    right: 0;
  }

  .how__descr {
    max-width: 100%;
    min-height: 352px;
    margin-bottom: 45px;

  }

  .faq {
    padding-top: 20px;
    padding-bottom: 112px;
  }
  .item__top__question {
    width: 90%;
  }
.footer__wrapper {
  flex-direction: column-reverse;
  align-items: left;
}
.form__h2 {

  line-height: 58px;
}
.footer__form__wrapper {
  /* max-width: 544px; */
  align-items: flex-start;
  gap: 29px;
}
.form__input {
  width: 100%;
}

  .form__active {
    height: 54px;
  }
  .form__descr {
    height: 150px;
  }
  .footer__nav {
    display: none;
  }
  .footer__center {
    width: 82%;
    margin-bottom: 50px;
  }
  .form__descr {
    margin-bottom: 0;
  }
  .footer__left {
    margin-right: 0;
    margin-bottom: 0;
    width: 36%;
    min-height: 148px;
  }

  .footer__logo img {
    width: 224px;
    height: 72px;
  }
  .footer__right {
    display: none;

}
}
@media (max-width: 576px) {
  /* .container {
    max-width: 320px;
  } */

  .header {
    padding: 13px 0px 7px 0px;
    margin-bottom: 29px;
    min-height: 64px;
    border-radius: 0px 0px 16px 16px;
}

.header__logo {

  margin-right: 1%;
  align-self: center;
  min-width: 70px;
}
/* .header__logo img {
  width: 50%;
  margin-right: 0;

} */



.nav__close{
  padding-left: 15px;
  padding-top: 23px;
  width: 100%;
  border-radius: 0px 0px 16px 16px;
}
.new__close {
  margin-bottom: 32px;
}
.header__nav {
  margin-right: -24%;
}
.header__list__item:not(:last-child) {
  margin-bottom: 32px;
}

/* .burger {

   margin-right: 23%;
} */

/* .header__logo {
  margin-right: 6%;
} */
.form__header  {
max-width: 320px;
height: 65px;
padding: 23px 18px 21px 15px;
border-radius: 0px 0px 24px 24px;

}
.header__form__input {
  max-width: 179px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;


}
.form-btn__submit{
  margin-right: 10px;
}

.header__link {
  display: block;
  font-size: 16px;
  line-height: 20px;
}
  .hero {
    min-height: 290px;

  }
  .hero__h1 {
    font-size: 19px;
    line-height: 24px;
    margin-bottom: 17px;
    text-align: center;
  }
  .hero__content {
    background-image: url(../img/bg/bg__small.png);
    min-height: 308px;
    border-radius: 16px;
  }
  .hero__h2 {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 22px;
    text-align: center;
  }
  .hero__wrapper {
    align-items: center;
    padding: 63px 30px 34px 26px;

  }
  .hero__btn {
    width: 162px;
    height: 41px;
    font-size: 12px;
    line-height: 15px;
    border-radius: 8px;
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;


  }
  .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 2px 10px;
  }

  .section__h2 {
    font-size: 24px;
    line-height: 29px;
  }



  .section__descr {
    font-size: 13px;
    line-height: 28px;
  }

  .about {
    padding-top: 35px;
  }

  .about__descr__left {
    transform: translateY(2px);
    width: 96%;
}
  .about__text {
    font-size: 13px;
    margin-bottom: 15px;
    width: 95%;
  }

  .about__card {

    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    border: none;
    min-height: 245px;
  }
  .about__right {
    min-height: 200px;
    position: relative;
    margin-bottom: 198px;
    border-radius: 16px;
}
  .about__transparent {
    position: absolute;
    bottom: -204px;
    flex-direction: column;
    background-color: rgba(1, 1, 1, 0);
    padding: 1px 1px;
    align-items: flex-start;


  }
  .about__transparent__descr {
    color: var(--black-color);
    max-width: 100%;
    margin-bottom: 12px;
  }
  .about__btn {
    width: 162px;
    height: 39px;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    color: #FF9900;
    border: 2px solid #FF9900;
    border-radius: 8px;
  }
  .section__h3 {
    font-size: 18px;
    line-height: 22px;
  }
  .about__icon {
    /* width: 64px;
    height: 49px; */
    width: 71px;
    height: 68px;
    /* padding: 10px ; */
    align-self: flex-start;
    margin-right: 0;


  }
  .about__title {
    transform: translateY(-5px);
  }
  .about__left {
    gap: 24px;
  }
  /* .about__icon svg {
    width: 100%;
  } */

  .how {
    padding-top: 38px;
    padding-bottom: 40px;

  }

  .how__number {
    font-size: 14px;
    line-height: 17px;
  }
  .how__steps {
    gap: 40px;
    padding-right: 5px;
    margin-bottom: 198px;
  }
  .how__h2 {
    margin-bottom: 20px;

  }
  .how__link__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  .how__descr {
    margin-bottom: 25px;
    padding: 0 17px 0 5px;
    font-size: 14px;
  }
  .how__h3 {
    margin-bottom: 11px;
  }

  .tabs__item--active::before  {
    top: 80px;
    height: 15%;
    border-radius: 8px;

}


.how__link {
  width: 162px;
  height: 39px;
  font-size: 12px;
  line-height: 15px;
  border-radius: 8px;
  text-align: center;
  padding: 12px 0;

}
.how__link:first-child {
  margin-right: 5%;
}

.link__transparent {
  width: 118px;

}
.item__top__question {
  font-size: 14px;
  line-height: 24px;
  transform: translateY(5px);
}
.faq {
  padding-bottom: 60px;
}
.faq__btn__new {
  width: 30px;
  height: 30px;
}
.faq__h2 {
  margin-bottom: 18px;
}
.footer {
  padding: 33px 0;
}
.form__input {
  max-width: 100%;
  font-size: 14px;
  padding: 7px 16px;
}

.form__descr {
  padding: 24px 16px;
}
.form__btn {
  width: 180px;
  height: 39px;
  font-size: 12px;
  border-radius: 8px;
}
.footer__wrapper {
  align-items: center;
}
.footer__logo img {
  width: 131px;
  height: 42px;
}
.social__item {
  width: 40px;
  height: 40px;
}
.social__link svg {
  width: 40px;
  height: 40px;
}
.footer__form__wrapper {
  /* max-width: 290px; */
  gap: 26px;
}
.footer__center {
  width: 100%;
  /* align-self: flex-start; */

  /* max-width: 290px; */
  margin-bottom: 35px;

}
.footer__left {
  width: 49%;
  min-height: 98px;

}
.social__wrapper {
  gap: 18px;
}

.footer__social {
  display: flex;
  justify-content: center;
}

}


