@media (max-width: 1239px) {
  .benefits,
  .header__wrap,
  .footer__wrap {
    width: 100%;
  }
  .menu__item {
    margin-left: 50px;
  }
  .service__title {
    font-size: 30px;
  }
  .footer__map {
    width: 439px;
  }
  .footer__contacts {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-bottom: 25px;
  }
  .service__img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 1023px) {
  .title-h1 {
    font-size: 58px;
  }
  .title-h1::after {
    width: 600px;
  }
  .benefits__item,
  .header__link,
  .header__text,
  .title-h2 {
    font-size: 28px;
  }
  .header__phones {
    width: 600px;
  }
  .form__area,
  .form__input {
    width: 90%;
  }
  .service__title,
  .footer__title {
    font-size: 22px;
  }
  .footer__map {
    width: 100%;
  }
  .service__text {
    font-size: 12px;
    line-height: 2;
    width: auto;
    padding: 0 10px;
  }
  .logo__pic {
    width: 150px;
    height: auto;
  }
  .logo {
    margin-left: 20px;
  }
  .menu__btn {
    display: block;
    width: 30px;
    height: 30px;
    margin-right: 20px;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    outline: 0;
    cursor: pointer;
  }
  .header__wrap {
    padding: 0;
  }
  .header {
    padding-bottom: 150px;
  }
  .menu {
    position: relative;
    padding-top: 20px;
  }
  .menu--closed .menu__list {
    display: none;
  }
  .menu--closed .menu__btn {
    background-image: url(../img/icon-menu-ham.svg);
  }
  .menu--opened {
    margin-bottom: 350px;
  }
  .menu--opened .menu__btn {
    background-image: url(../img/icon-menu-cross.svg);
  }
  .menu--opened .menu__list {
    position: absolute;
    top: 97px;
    right: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    width: 100%;
    z-index: 5;
    background-color: #fff;
  }
  .menu--opened .menu__item {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  .menu--opened .menu__link {
    width: 100%;
    line-height: 60px;
    color: #50cb70;
    font-weight: 700;
  }
  
  .second-menu{left:initial; position:relative;top:initial;padding:0}
}
@media (max-width: 668px) {
  .title-h1 {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 40px;
  }
  .title-h1::after {
    width: 500px;
  }
  .benefits__item,
  .header__link,
  .header__text,
  .title-h2,
  .title-h3 {
    font-size: 24px;
  }
  .header__phones {
    width: 500px;
  }
  .benefits__item p {
    font-size: 20px;
  }
  .service__text {
    font-size: 10px;
  }
  .service__title {
    text-align: center;
  }
  .service__text {
    font-size: 9px;
  }
  .footer__item:first-child {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  .footer__link:nth-child(2) {
    margin-left: 0;
  }
  .footer {
    padding-top: 0;
  }
}
@media (max-width: 570px) {
  .footer__block,
  .service__item,
  .title-h1::after {
    width: 100%;
  }
  .header__phones {
    width: 100%;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-align: center;
        align-items: center;
  }
  .title-h3 {
    font-size: 20px;
  }
  .footer__wrap,
  .service,
  .benefits__list {
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-align: center;
        align-items: center;
  }
  .benefits__item {
    margin-bottom: 40px;
  }
  .footer__contacts {
    margin-top: 25px;
  }
  .footer__copyright {
    font-size: 12px;
  }
  .menu--closed {
    margin-bottom: 80px;
  }
  .header {
    padding-bottom: 100px;
  }
  .service,
  .benefits__list {
    margin-bottom: 50px;
  }
  .benefits {
    padding-bottom: 50px;
  }
  .footer__title {
    font-size: 18px;
  }
}
