@media (max-width: 1400px){
  .services-min{
    -webkit-border-top-left-radius: 100px;
       -moz-border-radius-topleft: 100px;
            border-top-left-radius: 100px;
    -webkit-border-bottom-right-radius: 100px;
       -moz-border-radius-bottomright: 100px;
            border-bottom-right-radius: 100px;
  }
}

@media (max-width: 1290px){
  .services-min {
    -webkit-border-top-left-radius: 50px;
       -moz-border-radius-topleft: 50px;
            border-top-left-radius: 50px;
    -webkit-border-bottom-right-radius: 50px;
       -moz-border-radius-bottomright: 50px;
            border-bottom-right-radius: 50px;
  }
  .services-min__list{
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .services-min__item:nth-child(1),
  .services-min__item:nth-child(2),
  .services-min__item:nth-child(3){
    width: -webkit-calc(33.33% - 12px);
    width: -moz-calc(33.33% - 12px);
    width: calc(33.33% - 12px);
    margin-right: 18px;
  }
  .services-min__item:nth-child(3){
    margin-right: 0;
  }
  .services-min__item:nth-child(4),
  .services-min__item:nth-child(5){
    width: -webkit-calc(50% - 9px);
    width: -moz-calc(50% - 9px);
    width: calc(50% - 9px);
    margin-right: 18px;
  }
  .services-min__item:nth-child(5){
    margin-right: 0;
  }
  .messages__cookies {
    padding-right: 25px;
  }
}

@media (max-width: 1200px){
  .head-section{
    -webkit-border-bottom-right-radius: 100px;
       -moz-border-radius-bottomright: 100px;
            border-bottom-right-radius: 100px;
  }
  .services, .description, .contact-banner__inner{
    -webkit-border-top-left-radius: 100px;
       -moz-border-radius-topleft: 100px;
            border-top-left-radius: 100px;
    -webkit-border-bottom-right-radius: 100px;
       -moz-border-radius-bottomright: 100px;
            border-bottom-right-radius: 100px;
  }
}

@media (max-width: 1024px){
  .about-service__item{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .about-service__img{
    width: 100%;
    padding-right: 0;
    padding-bottom: 25px;
  }
  .about-service__img img{
    margin: 0 auto;
  }
  .about-service__info{
    width: 100%;
    padding-left: 0;
  }
}

@media (max-width: 980px){
  .services__item{
    width: 100%;
    margin-right: 0;
  }
  .footer__inner{
      -webkit-flex-wrap: wrap;
          -ms-flex-wrap: wrap;
              flex-wrap: wrap;
  }
  .footer__info{
    margin-right: 0;
    margin-bottom: 25px;
  }
  .reasons-list{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .reasons-item{
    margin-right: 0;
    width: 100%;
    margin-bottom: 25px;
  }
}

@media (max-width: 850px){
  .advantage__list{
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .advantage__item{
    width: 100%;
    margin-right: 0;
    margin-bottom: 25px;
  }
  .advantage__text{
    height: auto;
  }
  .contacts {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .contacts-form {
    width: 100%;
    margin-right: 0;
    margin-bottom: 50px;
  }
  .contacts-map {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 780px){
  .logo-text{
    display: none;
  }
  .logo > img{
    max-height: 38px;
  }
  .menu{
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .header-mobile__menu{
    display: block;
  }
  .header-mobile__menu-icon{
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fa6400;
    position: relative; 
    -webkit-border-radius: 2px; 
       -moz-border-radius: 2px; 
            border-radius: 2px;
  }
  .header-mobile__menu-icon:after{
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fa6400;
    position: absolute;
    left: 0;
    top: -8px; 
  }
  .header-mobile__menu-icon:before{
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fa6400;
    position: absolute;
    top: 8px;  
  }
  .header.mobile-menu__open .header-mobile__menu-icon{
    width: 25px;
    height: 25px;
    background: url(../img/close-btn.svg) no-repeat center/contain;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s; 
  }
  .header.mobile-menu__open .header-mobile__menu-icon:after{
    display: none; 
  }
  .header.mobile-menu__open .header-mobile__menu-icon:before{
    display: none; 
  }
  .menu__list{
    display: none;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; 
    position: absolute;
    background-color: #fa6400;
    right: 0;
    top: 70px;
    border-left: 1px solid #52504e;
    -webkit-border-bottom-right-radius: 25px;
       -moz-border-radius-bottomright: 25px;
            border-bottom-right-radius: 25px;
    -webkit-border-top-left-radius: 25px;
       -moz-border-radius-topleft: 25px;
            border-top-left-radius: 25px;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
  }
  .header.mobile-menu__open .menu__list{
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  }
  .menu__item{
    border-left: none;
    border-top: 1px solid #52504e;
    width: 100%;
    text-align: center;
  }
  .menu__item:first-child{
    border-top: none;
  }
  .menu__item:hover{
    border-left: none;
  }
  .menu__link{
    padding: 15px 20px;
  }
  .menu__item:hover .menu__link{
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff;
  }
  .main-page h1.main-title {
    padding-top: 75px;
  }
  .services-page__item{
    margin-bottom: 50px;
  }
  .services-page__item:nth-child(2n+1){
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .services-page__item:nth-child(2n){
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
       -moz-box-orient: vertical;
       -moz-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
  .services-page__img{
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .services-page__info{
    width: 100%;
    padding-top: 25px;
    text-align: center;
  }
  .services-page__item:nth-child(2n+1) .services-page__img{
    margin-right: 0;
  }
  .services-page__item:nth-child(2n+1) .services-page__info{
    margin-left: 0;
  }
  .services-page__item:nth-child(2n) .services-page__img{
    margin-left: 0;
  }
  .services-page__item:nth-child(2n) .services-page__info{
    margin-right: 0;
  }
  .services-page__info .services__info-title{
    text-align: center;
  }
  .services-page__info .services__info-text{
    text-align: center;
  }
  .messages__cookies {
    bottom: 15px;
  }
  .messages__cookies {
    padding-left: 15px;
    padding-right: 15px;
  }
  .messages__cookies-container {
    max-width: 100%;
  }
  .popup-success, .popup-error {
    padding-top: 75px;
  }
  .popup-content {
    width: 80%;
  }
}

@media (max-width: 580px){
  .services__img img{
    min-width: 100px;
  }
  .services__info{
    padding-left: 15px;
  }
  .services__item{
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
       -moz-box-align: start;
        -ms-flex-align: start;
                -ms-grid-row-align: flex-start;
            align-items: flex-start;
  }
}

@media (max-width: 520px){
  .head-section {
    -webkit-border-bottom-right-radius: 50px;
       -moz-border-radius-bottomright: 50px;
            border-bottom-right-radius: 50px;
  }
  h1, h1.main-title{
    font-size: 50px;
    line-height: 60px;
  }
  h2, h2.title{
    font-size: 40px;
    line-height: 50px;
  }
  * + h2{
    margin-top: 50px;
  } 
  .btn{
    padding: 15px;
  }
  .info-section{
    padding-top: 75px;
  }
  .advantage__inner{
    padding-top: 75px;
    padding-bottom: 50px;
  }
  .advantage__title{
    -webkit-border-top-left-radius: 25px;
       -moz-border-radius-topleft: 25px;
            border-top-left-radius: 25px;
  }
  .advantage__text{
    -webkit-border-bottom-right-radius: 25px;
       -moz-border-radius-bottomright: 25px;
            border-bottom-right-radius: 25px;
  }
  .services, .description, .contact-banner__inner{
    -webkit-border-top-left-radius: 50px;
       -moz-border-radius-topleft: 50px;
            border-top-left-radius: 50px;
    -webkit-border-bottom-right-radius: 50px;
       -moz-border-radius-bottomright: 50px;
            border-bottom-right-radius: 50px;
  }
  .services__inner{
    padding-top: 50px;
    padding-bottom: 0;
  }
  .about {
    padding-top: 75px;
  }
  .about__info, .description__info{
    -webkit-border-top-left-radius: 30px;
       -moz-border-radius-topleft: 30px;
            border-top-left-radius: 30px;
    -webkit-border-bottom-right-radius: 30px;
       -moz-border-radius-bottomright: 30px;
            border-bottom-right-radius: 30px;
    padding: 30px;
  }
  .about__info::before, .description__info::before{
    left: 20px;
  }
  .about__info::after, .description__info::after{
    display: none;
  }
  .services-page{
    padding-top: 75px;
    padding-bottom: 50px;
  }
  .description__inner{
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .about-service{
    padding-top: 75px;
    padding-bottom: 50px;
  }
  .services-min__item:nth-child(1),
  .services-min__item:nth-child(2),
  .services-min__item:nth-child(3),
  .services-min__item:nth-child(4){
    width: -webkit-calc(50% - 9px);
    width: -moz-calc(50% - 9px);
    width: calc(50% - 9px);
    margin-right: 18px;
  }
  .services-min__item:nth-child(2),
  .services-min__item:nth-child(4){
    margin-right: 0;
  }
  .services-min__item:nth-child(5){
    width: 100%;
  }
  .reasons{
    padding-top: 75px;
    padding-bottom: 50px;
  }
  .contact-banner__inner{
    padding: 75px 25px;
  }
  .contact-btn{
    min-width: 100%;
  }
  .footer__inner{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .footer-menu__list{
    min-width: 100%;
    margin-right: 0;
    margin-bottom: 25px;
  }
  .footer-menu__list-policy{
    min-width: 100%;
  }
  .footer-menu__item{
    padding-bottom: 15px;
  }
}

@media (max-width: 465px){
  .form-container{
    width: 100%;
  }
}

@media (max-width: 420px){
  .services__img{
    display: none;
  }
  .services__info{
    padding-left: 0;
  }
}

@media (max-width: 375px){
  .main-page h1.main-title{
    padding-top: 50px;
  }
  .services-min__item:nth-child(1),
  .services-min__item:nth-child(2),
  .services-min__item:nth-child(3),
  .services-min__item:nth-child(4),
  .services-min__item:nth-child(5){
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 340px){
  .singup__btn{
    min-width: 100%;
  }
}


