@media (max-width: 1200px) {
  .descr {
    font-size: 18px;
  }
  .brief__title,
  .hero__title {
    font-size: 40px;
  }
  .hero {
    padding-top: 20%;
    background-image: url(../img/hero1200.webp);
  }
  .hero__title {
    margin-bottom: 30px;
  }
  .hero__descr {
    margin-bottom: 60px;
  }
  .order-link {
    padding: 20px 60px;
  }
  .company__block {
    flex-direction: column;
    text-align: center;
  }
  .company__content {
    width: 100%;
    margin-bottom: 30px;
  }
  .company__foto {
    justify-content: space-around;
    width: 100%;
  }
  .company__block-foto img {
    width: 350px;
    height: 350px;
  }
  .popup__content {
    width: 60%;
  }
}
@media (max-width: 950px) {
  .reviews__item,
  .reviews__list {
    flex-direction: column;
  }
  .descr,
  .nav__item {
    font-size: 13px;
  }
  .container {
    padding-right: 50px;
    padding-left: 50px;
  }
  .nav__social-link svg {
    height: 30px;
    width: 30px;
  }
  .hero {
    padding-top: 35%;
    padding-bottom: 160px;
  }
  .advantages__title,
  .brief__title,
  .company__title,
  .hero__title,
  .order__title,
  .quote__text {
    font-size: 35px;
  }
  .order-link {
    padding: 15px 50px;
    font-size: 14px;
  }
  .advantages,
  .company,
  .reviews,
  .services {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .advantages__descr,
  .advantages__text,
  .company__descr,
  .order__descr,
  .services__descr {
    font-size: 15px;
  }
  .error,
  .sent,
  .services__item {
    width: 50%;
  }
  .advantages__caption,
  .services__caption {
    font-size: 20px;
  }
  .gallery {
    padding-bottom: 120px;
    padding-top: 70px;
  }
  .swiper-button-next {
    right: 30%;
    top: 110%;
  }
  .swiper-button-prev {
    left: 30%;
    top: 110%;
  }
  .quote__author {
    font-size: 25px;
  }
  .reviews__item {
    align-items: center;
    width: 100%;
    height: 20%;
  }
  .reviews__item img {
    margin-bottom: 30px;
    margin-right: 0;
    width: 200px;
    height: 200px;
  }
  .reviews__coments {
    min-height: 50px;
  }
  .reviews__coment {
    width: 90%;
    text-align: center;
  }
  .reviews__item:not(:last-child) {
    margin-bottom: 40px;
  }
  .order__container-input input {
    padding: 20px 0 20px 15px;
    margin-bottom: 20px;
  }
  .order__form {
    flex-direction: column;
    align-items: center;
  }
  .footer {
    margin-bottom: 70px;
    margin-top: 70px;
  }
  .popup__content {
    width: 100%;
  }
}
@media (max-width: 650px) {
  .header__burger span,
  .header__burger::after,
  .header__burger::before {
    background-color: #fff;
    position: absolute;
    height: 3.65px;
    left: 15px;
    transition: transform 0.3s ease-in-out;
  }
  .container {
    padding-right: 20px;
    padding-left: 20px;
  }
  .header {
    height: 65px;
  }
  .header__burger {
    display: block;
    position: absolute;
    width: 36px;
    height: 28px;
    z-index: 20;
  }
  .header__burger span {
    width: 79%;
    top: 24px;
  }
  .header__burger::after,
  .header__burger::before {
    content: '';
    width: 100%;
  }
  .header__burger::before {
    top: 15px;
  }
  .header__burger::after {
    bottom: -9px;
    width: 68%;
  }
  .header__burger.active::before {
    transform: rotate(45deg);
    top: 22px;
  }
  .header__burger.active::after {
    transform: rotate(-45deg);
    bottom: 2px;
    width: 100%;
  }
  .header__burger.active span {
    transform: scale(0);
  }
  .header__nav {
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    top: -300%;
    height: 100%;
    padding-bottom: 60px;
    background-color: #000;
    width: 100%;
    transition: top 0.5s ease-in-out, opacity 0.7s ease-in-out;
    opacity: 0;
    overflow: auto;
    visibility: initial;
  }
  .header__nav.active {
    top: 10px;
    opacity: 1;
  }
  .nav__list {
    position: relative;
    display: block;
    padding-top: 20%;
  }
  .nav__item {
    font-size: 30px;
  }
  .nav__item:not(:last-child) {
    margin-bottom: 25px;
  }
  .nav__social-link svg {
    height: 50px;
    width: 50px;
  }
  .hero {
    padding-top: 50%;
  }
  .brief {
    background-size: cover;
    background-position: center;
  }
  .gallery {
    padding-bottom: 70px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  .order__form {
    justify-content: inherit;
  }
  .order__container-input {
    width: 100%;
  }
  .footer__mail,
  .footer__tel {
    font-size: 20px;
  }
  .popup__container-input {
    width: 80%;
  }
  .error-text,
  .sent-text {
    font-size: 15px;
  }
  .error,
  .sent {
    width: 90%;
    height: 30%;
  }
}
