@media screen and (max-width: 1200px) {
  .area__item {
    padding: 0 20px;
  }
}

@media screen and (max-width: 875px) {
  .header {
    padding: 7px 0 9px;
  }
  .header-contacts {
    display: none;
  }
  .header__phone {
    display: block;
  }
  .header__phone img {
    width: 27px;
  }
  .header .row:last-child {
    margin-top: 0;
  }
  .logo {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .logo__img {
    max-width: 160px;
  }
  #menu-btn {
    display: block;
    width: 24px;
  }
  #menu-btn .line {
    background-color: #2d3142;
    height: 4px;
    margin: 6px 0;
    -webkit-border-radius: 4px;
    border-radius: 4px;
  }
  .nav {
    position: absolute;
    top: 100%;
    display: block;
    left: 0;
    right: 50%;
    background-color: #fff;
    padding: 20px 24px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 300ms, visibility 300ms, -webkit-transform 300ms;
    transition: opacity 300ms, visibility 300ms, -webkit-transform 300ms;
    -o-transition: opacity 300ms, transform 300ms, visibility 300ms;
    transition: opacity 300ms, transform 300ms, visibility 300ms;
    transition: opacity 300ms, transform 300ms, visibility 300ms, -webkit-transform 300ms;
    -webkit-box-shadow: 20px 20px 30px 0 rgba(75, 75, 75, 0.13);
    box-shadow: 20px 20px 30px 0 rgba(75, 75, 75, 0.13);
    -webkit-transform: translateY(-30%);
    -ms-transform: translateY(-30%);
    transform: translateY(-30%);
  }
  .nav-lang {
    display: none;
  }
  .nav .nav__phone {
    display: none;
  }
  .nav.opened {
    opacity: 1;
    visibility: visible;
    z-index: 20;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  .nav__list {
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  .nav__list li {
    margin: 10px 0;
    display: inline-block;
  }
  .nav__list li a {
    font-family: "Open Sans", sans-serif;
  }
}

@media screen and (max-width: 950px) {
  .area .col {
    width: 50%;
  }
  .area .col:nth-child(n+3) {
    margin-top: 80px;
  }
  .area__item {
    padding: 0;
  }
  .area__item-descr {
    max-width: 100%;
  }
  .about__item {
    padding: 0;
  }
  .price__item-title {
    font-size: 55px;
  }
  .price__item-line {
    max-width: 180px;
  }
  .price__item-text {
    font-size: 25px;
  }
  .advant .col {
    width: 50%;
  }
  .advant .col:nth-child(n + 3) {
    margin-top: 16px;
  }
  .reviews {
    position: relative;
  }
  .reviews:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0.6)), to(white));
    background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.6), white);
    background-image: -o-linear-gradient(left, rgba(255, 255, 255, 0.6), white);
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.6), white);
    z-index: 1;
  }
  .reviews .container {
    position: relative;
    z-index: 2;
  }
  .contacts .row {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .contacts__info {
    padding-top: 0;
  }
  .contacts__form {
    max-width: 100%;
    margin-top: 25px;
    /* border: 1px solid #878787; */
    /* padding: 20px; */
  }
}

@media screen and (max-width: 767px) {
  .sect {
    padding: 60px 0;
  }
  .section-title {
    font-size: 30px;
    text-transform: uppercase;
  }
  .main-btn {
    font-size: 20px;
    padding: 10px 20px;
    background-color: #33302f;
    color: #e2dedc;
  }
  .main-slider {
    padding: 85px 0 55px;
  }
  .main-slider__title {
    font-size: 45px;
    line-height: 50px;
    letter-spacing: 5px;
    margin: 0 0 40px;
  }
  .main-slider__phone {
    display: block;
    margin-top: 10px;
  }
  .main-slider__phone:before {
    display: none;
  }
  .area {
    padding: 25px 0 30px;
  }
  .area .col:nth-child(n+3) {
    margin-top: 25px;
  }
  .area__item-title {
    margin: 0 0 13px;
    font-size: 17px;
    text-transform: uppercase;
  }
  .area__item-line {
    max-width: 75px;
    border: 1px solid #33302f;
    margin: 0 0 13px;
  }
  .area__item-descr {
    max-width: 260px;
    font-size: 12px;
  }
  .about {
    padding: 20px 0 35px;
  }
  .about__item {
    width: 60%;
  }
  .about__item-descr {
    margin: 0 0 20px;
    font-size: 18px;
  }
  .about__item-text {
    font-size: 12px;
    line-height: 17px;
    margin: 0 0 10px;
  }
  .about__item-name {
    font-size: 12px;
    margin: 0 0 15px;
  }
  .price {
    padding: 10px 0 15px;
  }
  .price__item-title {
    font-size: 36px;
    margin: 0 0 10px;
  }
  .price__item-descr {
    font-size: 10px;
    margin: 0 0 10px;
  }
  .price__item-line {
    max-width: 50px;
    margin: 0 auto 10px;
  }
  .price__item-text {
    font-size: 12px;
  }
  .advant {
    padding: 25px 0 20px;
  }
  .advant .section-title {
    margin: 0 0 25px;
  }
  .advant__item {
    border: 1px solid #7d7d7d;
    min-height: 170px;
  }
  .advant__item-img {
    max-width: 100px;
    padding: 5px 15px 10px 5px;
  }
  .advant__item-text {
    font-size: 16px;
    padding: 0 15px 20px;
  }
  .reviews {
    -webkit-background-size: cover;
    background-size: cover;
    padding: 20px 0 15px;
  }
  .reviews .section-title {
    text-align: left;
    margin: 0 0 20px;
    letter-spacing: 2px;
  }
  .reviews-marc {
    display: block;
  }
  .reviews__item {
    padding: 0;
    text-align: center;
  }
  .reviews__item:before {
    display: none;
  }
  .reviews__item:after {
    display: none;
  }
  .reviews__item-descr {
    font-size: 22px;
    line-height: 27px;
    margin: 0 0 15px;
  }
  .reviews__item-descr br {
    display: none;
  }
  .reviews__item-text {
    font-size: 16px;
    margin: 0 0 10px;
  }
  .reviews__item-client {
    display: block;
  }
  .reviews__item-name {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .reviews__item-name p {
    font-size: 18px;
  }
  .reviews__item-name img {
    display: none !important;
  }
  .reviews__item-photo {
    display: none !important;
  }
  .contacts {
    padding: 20px 0 35px;
  }
  .contacts .row {
    margin-top: 0;
  }
  .contacts .section-title {
    margin: 0 0 15px;
  }
  .contacts #map-address {
    font-size: 17px;
  }
  .contacts .logo-link {
    display: none;
  }
  .contacts__descr {
    display: none;
  }
  .contacts__line {
    display: none;
  }
  .contacts__title {
    font-size: 18px;
    margin: 0 0 10px;
  }
  .contacts__text {
    font-size: 16px;
    margin: 0 0 20px;
  }
  .contacts__form {
    margin-top: 0;
    width: 100%;
  }
  .contacts__form-title {
    display: block;
    font-weight: 400;
    font-size: 20px;
    margin: 0 0 20px;
  }
  .contacts__form .styled-inp {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .contacts__form .textarea {
    margin-bottom: 25px;
  }
  .contacts__form input[type='submit'] {
    display: block;
    margin: 0 auto;
    font-size: 18px;
    padding: 15px 10px;
    letter-spacing: 1px;
  }
  .map {
    height: 270px;
  }
  .footer .row {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .footer__item:first-child {
    display: none;
  }
  .footer__item:last-child {
    text-align: center;
  }
  .footer__item:last-child .footer__item-phone {
    margin: 0 0 20px;
  }
  .footer-contacts {
    display: block;
    margin: 10px 0 20px;
  }
  .flex-container {
    display: block;
  }
  .popup-container {
    max-width: 320px;
    padding: 24px;
  }
  .success__title {
    font-size: 40px;
    margin: 0 0 20px;
  }
  .success__subtitle {
    font-size: 22px;
    margin: 0 0 30px;
  }
  .success__btn {
    padding: 10px 70px;
  }
  .success__warn {
    font-size: 14px;
  }
}

@media screen and (max-width: 425px) {
  .about__item {
    width: 100%;
    padding-left: 60px;
  }
  .advant__item-img {
    width: 80px;
  }
  .footer__item {
    font-size: 16px;
  }
  .footer__item-copyr {
    font-size: 12px;
  }
  .contact__form-button{
    font-size: 18px;
    padding: 10px 15px;
  }
}

@media screen and (max-height: 768px) {
  .popup-container {
    overflow-y: auto;
  }
}
