@media (min-width: 991px) and (max-width: 1700px) {
    .about__img {
      max-width: 840px;
    }
    .about__img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
}

@media (max-width: 1280px) {
    .about {
        overflow: hidden;
    }
    .cases-modal__title {
        font-size: 25px;
        line-height: 30px;
    }
    .cases-modal__text {
        font-size: 15px;
        line-height: 20px;
    }
    .cases-modal__price span {
        font-size: 25px;
        line-height: 30px;
    }
    .cases-modal__days span {
        font-size: 25px;
        line-height: 30px;
    }
    .cases-modal__img {
        min-height: 250px;
    }
    .cases-modal__wrapper {
        min-width: 1000px;
        max-width: 1000px;
    }
    .cases-modal__close {
        right: -50px;
        top: 0px;
    }
  .header__wrapper-menu {
      display: none;
  }
  .header {
      background-color: #fff;
      box-shadow: 0px 0px 30px -11px rgba(0, 0, 0, 0.8);
      border-radius: 0px 0px 10px 10px;
  }
  .header .menu a {
      color: #565A59;
    }
    .header .header__info a {
      color: #565A59;
    }
    .header .header__info .fa-whatsapp {
      color: #00E676;
    }
    .header .header__info .fa-telegram {
      color: #2AABEE;
    }
    .header .header__info .fa-vk {
      color: #0077ff;
    }
    .header .header__info .header__contacts-item:hover {
      color: #00BD99;
    }
    .header .header__info .header__contacts-icon i {
      color: #565A59;
    }
    
  .burger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .burger-button {
      transition: .2s all linear;
  }
  
  .burger-button {
      cursor: pointer;
  }
  .burger-button:hover {
      opacity: 0.6;
  }
   .header .menu {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .header .menu__item {
        margin: 0;
        margin-bottom: 30px;
    }
    .header .menu__link {
        position: relative;
        font-size: 20px;
        line-height: 28px;
    }
    .header .menu__link::after {
        position: absolute;
        content: "";
        right: -40px;
        top: 50%;
        
        transform: rotateY(90deg);
        width: 30px;
        height: 1px;
        background-color: #00BD99;
    }
    .header__info {
        justify-content: flex-start;
    }
    .header__btn {
        justify-content: flex-start;
        margin-left: 40px;
    }
    .slider__title {
        font-size: 45px;
        line-height: 45px;
    }
    .slider__subtitle {
        font-size: 20px;
        line-height: 25px;
    }
    .title {
        font-size: 40px;
        line-height: 45px;
    }
    .text {
        font-size: 16px;
        line-height: 25px;
    }
    .title-small {
        font-size: 30px;
        line-height: 35px;
    }
    .numbers__title {
        font-size: 70px;
        line-height: 75px;
    }
    .numbers__text {
        font-size: 18px;
        line-height: 22px;
    }
    .partners__item {
        margin-bottom: 20px;
    }
    .form-wrapper__title {
        font-size: 30px;
        line-height: 40px;
    }
    .form-wrapper {
        padding: 30px 40px;
    }
    .test__title {
        font-size: 22px;
        line-height: 25px;
    }
    .team__item-role {
        font-size: 14px;
    }
    .team__item-title {
        font-size: 16px;
    }
    .team__item-info {
        padding: 20px;
    }
    .process__item {
        min-height: auto;
    }
}


@media (max-width: 991px) {
    .cases-modal__close {
        right: 0;
        top: -55px;
    }
    .mfp-container {
        padding: 120px 6px;
        overflow-y: auto;
    }
    
    .cases-modal__img {
        margin-top: 30px;
        border-radius: 10px;
    }
    .cases-modal__days {
        margin-top: 10px;
    }
    .cases-modal__price-info {
        flex-direction: column;
    }
    .cases-modal__title {
        margin-top: 10px;
    }
    .cases-modal__wrapper {
        padding: 20px;
        min-width: auto;
        max-width: auto;
    }
    .faq__list-heading span {
        font-size: 16px;
    }
    .faq__list-text {
        font-size: 15px;
        padding: 20px 10px;
    }
    .faq__list-heading {
        padding: 20px 10px;
    }
    .merits__slider-slide {
        justify-content: center;
        display: flex;
    }
    .about__img {
        position: static;
        transform: none;
        right: 0;
        margin-top: 40px;
        max-width: initial;
        height: initial;
    }
    .about__img img {
        width: 100%;
    }
    .numbers__item {
        margin-bottom: 40px;
    }
    .contact-form__text {
        font-size: 16px;
        line-height: 25px;
    }
    .test__wrapper {
        flex-direction: column;
        padding: 20px 15px;
    }
    .test__info {
        flex-direction: column;
    }
    .test__text {
        margin-right: 0;
        margin-top: 10px;
        margin-bottom: 20px;
        text-align: center;
        font-size: 16px;
    }
    .test__title {
        font-size: 16px;
        line-height: 20px;
        text-align: center;
    }
    .cases__long-item {
        padding-right: 0;
    }
    .cases__long-wrapper {
        padding: 30px;
    }
    .cases__long-img {
        border-radius: 10px 0px 0px 0px;
    }
    .team__item-img {
        min-height: 250px;
    }
    .reviews__item {
        min-height: auto;
    }
    .contact-form-second {
        min-height: auto;
    }
    .contact-form-second .contact-form__wrapper {
        min-height: auto;
    }
    
    .contacts__item-text_bold {
        font-size: 18px;
        line-height: 25px;
    }
    .form-wrapper_green {
        border-radius: 0px 0px 10px 10px;
    }
    .contacts__item {
        padding: 15px;
    }
}


@media (max-width: 767px) {
    .footer__fs-payments {
        justify-content: flex-start;
    }
    .modal__close {
        top: -45px;
    }
    .reviews-modal__close,
    .modal__close {
        right: 0;
    }
    .reviews-modal__wrapper {
        min-width: auto;
        max-width: 300px;
        padding: 20px;
    }
    .reviews-modal__item-btn a {
        padding: 5px;
        font-size: 12px;
    }
    .burger {
        justify-content: flex-end;
    }
    .header {
        padding: 15px 0px;
    }
    .menu-burger__bottom  {
        flex-direction: column;
    }
    .header__btn {
        margin-left: 0px;
        margin-top: 30px;
        width: 100%;
    }
    .menu-burger__bottom .btn-small {
        max-width: none;
        width: 100%;
    }
    .slider__title {
        font-size: 25px;
        line-height: 35px;
    }
    .subtitle {
        font-size: 14px;
    }
    .slider__subtitle {
        font-size: 16px;
        line-height: 25px;
    }
    .title {
        font-size: 25px;
        line-height: 30px;
    }
    .section {
        padding: 70px 0px;
    }
    .title-small {
        font-size: 20px;
        line-height: 25px;
    }
    .numbers__title {
        font-size: 50px;
        line-height: 60px;
    }
    .numbers__text {
        font-size: 16px;
        line-height: 22px;
    }
    .partners__title {
        font-size: 16px;
        line-height: 20px;
    }
    .partners__text {
        font-size: 15px;
        line-height: 20px;
    }
    .partners {
        padding-bottom: 50px;
    }
    .partners__item {
        margin-bottom: 20px;
    }
    .form-wrapper__title {
        font-size: 20px;
        line-height: 25px;
    }
    .form-wrapper__text {
        font-size: 15px;
        line-height: 22px;
    }
    .form__info {
        flex-direction: column;
    }
    .form__info-text {
        margin-left: 0;
        margin-top: 5px;
    }
    .form-wrapper {
        padding: 20px 10px;
    }
    .contact-form__text {
        margin-bottom: 30px;
    }
    .services__item-img {
        border-radius: 10px 10px 0px 0px;
        min-height: 130px;
        min-width: 100%;
        
    }
    .services__item {
        padding-left: 0;
        flex-direction: column;
    }
    .services__item-info {
        padding: 25px;
    }
    .services__item-title {
        font-size: 16px;
        line-height: 22px;
    }
    .services__item-text {
        font-size: 15px;
        line-height: 22px;
    }
    .tariff__info {
        font-size: 13px;
    }
    .message {
        padding-top: 0;
    }
    .message__item-title {
        font-size: 15px;
    }
    .message__item {
        flex-direction: column;
    align-items: flex-start;
    }
    .message__item-price {
        margin-top: 10px;
    }
    .products__item {
        min-height: auto;
    }
    .products__title {
        flex-direction: column;
        align-items: flex-start;
    }
    .products__slider-arrows {
        margin-top: 40px;
    }
    .products__title {
        margin-bottom: 20px;
    }
    .test {
        padding-bottom: 0;
    }
    .cases__item {
        min-height: 250px;
        padding: 10px;
    }
    .cases__item-title {
        font-size: 16px;
        line-height: 20px;
    }
    .cases__item-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .cases__item-days {
        margin-top: 10px;
    }
    .cases__long-img {
        min-height: 250px;
    }
    .cases__long-title {
        margin-top: 0;
        font-size: 16px;
        line-height: 20px;
    }
    .cases__long-text {
        font-size: 15px;
        line-height: 20px;
    }
    .team__title {
        flex-direction: column;
        align-items: flex-start;
    }
    .team__slider-arrows {
        margin-top: 40px;
    }
    .team__title {
        margin-bottom: 20px;
    }
    .merits__title {
        flex-direction: column;
        align-items: flex-start;
    }
    .merits__slider-arrows {
        margin-top: 40px;
    }
    .merits__title {
        margin-bottom: 20px;
    }
    .process__item-title {
        font-size: 16px;
        line-height: 25px;
    }
    .process__item-text {
        font-size: 15px;
        line-height: 22px;
    }
    .process__item  {
        padding: 15px;
    }
    .clients__title {
        flex-direction: column;
        align-items: flex-start;
    }
    .clients__slider-arrows {
        margin-top: 40px;
    }
    .clients__title {
        margin-bottom: 20px;
    }
    .reviews__title-text {
        font-size: 15px;
    }
    .reviews__line {
        margin-top: 0;
        margin-bottom: 40px;
    }
    .reviews__item-text {
        font-size: 15px;
    }
    .reviews__item {
        padding: 20px 15px;
    }
    .reviews__title-text_second {
        margin-bottom: 20px;
    }
    .reviews-second__item {
        border: none;
    }
    .reviews__title {
        flex-direction: column;
        align-items: flex-start;
    }
    .reviews__slider-arrows {
        margin-top: 40px;
    }
    .reviews__title {
        margin-bottom: 20px;
    }
    .gallery__row {
        grid-template-areas: "f f f f f f f f"
                             "i i i i i i i i"
                             "b b b b b b b b";
    }
    .gallery__title {
        flex-direction: column;
        align-items: flex-start;
    }
    .gallery__slider-arrows {
        margin-top: 40px;
    }
    .gallery__title {
        margin-bottom: 20px;
    }
    .gallery__item_big {
        min-height: 250px;
    }
    .gallery__item {
        min-height: 250px;
    }
    .gallery {
        padding-bottom: 0;
    }
    .footer__info {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer__info-items {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }
    .footer__fs {
                margin-top: 25px;
        align-items: flex-start;
    }
    .footer__info-item {
        margin-right: 0;
        margin-bottom: 5px;
    }
    .footer__logo {
        margin-bottom: 15px;
    }
    .footer__menu-link {
        font-style: 13px;
    }
    .footer__menu-item {
        margin-right: 20px;
    }
    .footer__menu {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .modal__wrapper {
        padding: 15px 20px;
    }
    .modal__title  {
        font-size: 25px;
        line-height: 30px;
    }
    .modal__wrapper {
        max-width: 300px;
    }
}

@media (max-width: 575px) {
    .slider__btns {
        flex-direction: column;
    }
    .slider__btn {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    .slider__btn a {
        min-width: none;
        width: 100%;
    }
    .faq__list-heading:before {
        display: none;
    }
    .faq__list-heading:after {
        display: none;
    }
}