
@media (max-width: 1440px){
  .advantage{
    background: url(../img/advantage-bg.png) no-repeat center;
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
  }
  .messages__cookies {
    left: -webkit-calc(50% - 630px);
    left: -moz-calc(50% - 630px);
    left: calc(50% - 630px);
    max-width: 1260px;
  }
}

@media (max-width: 1260px){
  .head-section{
    background: url(../img/head-bg-small.png) no-repeat right 0 center/50% 730px, #949494;
  }
  .services {
    -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__info {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    margin-left: 0;
  }
  .services__img{
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    margin-right: 0;
    width: 100%;
  }
  .services__img img{
    max-height: 350px;
  }
  .form-container{
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .messages__cookies {
    max-width: 100%;
    left: 15px;
    right: 15px;
  }
}

@media (max-width: 1024px){
  .form-item {
    width: -webkit-calc(33.33% - 20px);
    width: -moz-calc(33.33% - 20px);
    width: calc(33.33% - 20px);
  }
  input{
    width: 100%;
  }
  .submit-btn{
    margin-right: 0;
    width: -webkit-calc(33.33% - 20px);
    width: -moz-calc(33.33% - 20px);
    width: calc(33.33% - 20px);
    min-width: -webkit-calc(33.33% - 20px);
    min-width: -moz-calc(33.33% - 20px);
    min-width: calc(33.33% - 20px);
  }
}

@media (max-width: 920px){
  .menu__list{
    display: none;
  }
  .header-mobile__menu{
    display: block;
  }
  .header-mobile__menu-icon{
    display: block;
    width: 25px;
    height: 3px;
    background-color: #191919;
    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: #191919;
    position: absolute;
    left: 0;
    top: -8px; 
  }
  .header-mobile__menu-icon:before{
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: #191919;
    position: absolute;
    top: 8px;  
  }
  .header.mobile-menu__open{
    height: 300px;
  }
  .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; 
  }
  .header.mobile-menu__open  .menu{
    position: relative;
  }
  .header.mobile-menu__open  .menu__list{
    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;
    width: 100%;
    top: 60px;
  }
  .header.mobile-menu__open .menu__item {
    margin-bottom: 20px;
  }
  .head-section {
    background: #949494;
  }
  .head-section__info {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .about-us {
    -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;
  }
  .about-us__img img{
    max-height: 350px;
  }
  .about-us__info {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    margin-right: 0;
  }
  .about-us__img {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    margin-left: 0;
  }
  .form-item {
    width: -webkit-calc(50% - 30px);
    width: -moz-calc(50% - 30px);
    width: calc(50% - 30px);
  }
  .form-item:nth-child(2){
    margin-right: 0;
  }
  .submit-btn{
    margin-right: 30px;
    width: -webkit-calc(50% - 30px);
    width: -moz-calc(50% - 30px);
    width: calc(50% - 30px);
    min-width: -webkit-calc(50% - 30px);
    min-width: -moz-calc(50% - 30px);
    min-width: calc(50% - 30px);
  }
  .message-form{
    width: -webkit-calc(50% - 30px);
    width: -moz-calc(50% - 30px);
    width: calc(50% - 30px);
  }
  .footer-menu__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;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
                -ms-grid-row-align: center;
            align-items: center;
  }
  .footer-menu__item{
    margin-bottom: 15px;
    text-align: center;
  }
  .footer-menu__item > a, .footer-menu__item > span {
    border-right: none;
    padding: 0;
  }
}

@media (max-width: 768px){
  .head-section {
    min-height: 450px;
  }
  h1, .main-title{
    padding-top: 75px;
  }
  .privacy-policy__page .main-title {
    padding-top: 75px;
  }
  h2, h2.title {
    font-size: 40px;
    line-height: 50px;
    padding-bottom: 35px;
  }
  h3 {
    font-size: 35px;
    line-height: 45px;
  }
  * + h3 {
    margin-top: 25px;
  }
  * + h4 {
    margin-top: 15px;
  }
  .services {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .services__list > li {
    width: -webkit-calc(50% - 30px);
    width: -moz-calc(50% - 30px);
    width: calc(50% - 30px);
    margin-right: 30px;
  }
  .services__list > li:nth-child(3n){
    margin-right: 30px;
  }
  .services__list > li:nth-child(2n), .services__list > li:nth-child(4n){
    margin-right: 0;
  }
  .advantage{
    background: url(../img/advantage-bg-line.png) no-repeat right 0 top 20px/auto 11px,
    url(../img/advantage-bg-line.png) no-repeat right 0 bottom 20px/auto 11px,#494949;
  }
  .advantage__inner {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .advantage__list{
    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;
  }
  .advantage__list > li {
    margin-right: 0;
    width: 100%;
  }
  .about-us {
    padding-bottom: 50px;
  }

  .description__inner {
    padding-top: 100px;
    padding-bottom: 50px;
  }
  .contact {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .info-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 590px){
  .services__list > li {
    width: 100%;
    margin-right: 0;
  }
  .services__list > li:nth-child(3n) {
    margin-right: 0;
  }
  .form-item {
    width: 100%;
    margin-right: 0;
  }
  .submit-btn{
    margin-right: 0;
    width: 100%;
    min-width: 100%;
  }
  .message-form {
    width: 100%;
  }
  .footer-logo {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .footer-line {
    display: none;
  }
}



