.articles-center {
    display: none;
    text-align: center;
}

@media (max-width: 1024px) {

    .form__input,
    .form__select {
        width: 100%;
    }
}

@media (max-width: 920px) {

    .header__nav {
        position: absolute;
        left: 0;
        top: 0;
        width: 10%;
        min-width: 100px;
        height: 100vh;
        z-index: 1000;
        padding: 50px;
        box-shadow: 0 0 5px #888;
        background-color: #fff;
        overflow-y: auto;
        visibility: hidden;
        transform: translateX(-120%);
        transition: visibility 0.3s ease-in-out;
    }

    .header__nav--active {
        visibility: visible;
        transform: none;
    }

    .header__nav .nav__list {
        flex-direction: column;
    }

    .header__nav .nav__item:not(:last-child) {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .header__nav .nav__link {
        font-size: 18px;
    }

    .stop-scroll {
        overflow: hidden;
    }

    .hero__content {
        max-width: 75%;
    }

    .company__items {
        flex-wrap: wrap;
        justify-content: center;
    }

    .company__item {
        width: calc((100% - (var(--gap))) / 3);
        margin-bottom: var(--gap);
    }

    .company__item:not(:nth-child(4n)) {
        margin-right: 0;
    }

    .company__item:not(:nth-child(2n)) {
        margin-right: var(--gap);
    }

    .price_blocks {
        flex-wrap: wrap;
        margin: 0;
    }

    .price_block {
        width: 570px;
        padding: 350px 30px 30px 30px;
    }

    .price_block:not(:nth-child(2n)) {
        margin-right: 0px;
    }

.uslugi__title {
    text-align: center;
}

.uslugi_descr {
    text-align: center;
}

    .company__items {
        padding: 0px;
    }

.contacts__title {
    text-align: center;
}

    .address__item {
        background-position: center top;
    }
    
    .address__caption {
        text-align: center;
    }
    
    .address__text {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }
    
    .address__link {
        text-align: center;
    }





  .footer__nav {
    position: absolute;
        left: 0;
        top: 0;
        width: 10%;
        min-width: 100px;
        height: 100vh;
        z-index: 1000;
        padding: 50px;
        box-shadow: 0 0 5px #888;
        background-color: #fff;
        overflow-y: auto;
        visibility: hidden;
        transform: translateX(-120%);
        transition: visibility 0.3s ease-in-out;
  }

  .footer__nav--active {
    visibility: visible;
    transform: none;
}

.footer__nav .nav__list {
    flex-direction: column;
}

.footer__nav .nav__item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 30px;
}

.footer__nav .nav__link {
    font-size: 18px;
}
}

@media (max-width: 836px) {

.uslugi-item-descr {
    text-align: left;
    font-size: 12px;
}


    .address__list {
        flex-wrap: wrap;
        margin-bottom: -30px;
    }

    .address__item:not(:nth-child(3n)) {
        margin-right: 0;
    }

    .address__item {
        padding-top: 40px;
        margin-bottom: 30px;
        width: 100%;
    }


    .address__caption {
        margin-bottom: 9px;
    }

    
}

@media (max-width: 664px) {
    :root {
        --gap: 15px;
    }


    .hero {
        padding-top: 29px;
        background-image: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__title {
        margin-bottom: 15px;
    }

    .hero__descr {
        margin-bottom: 15px;
    }

    .hero__wrapper {
        width: 100%;
    }

    .hero__btn {
        width: 100%;
    }

    .section-offset {
        margin-bottom: 0;
        padding: 60px 0;
    }


    .price_block {
        width: 420px;
        padding: 280px 30px 30px 30px;
    }

    .company__items {
        padding: 0px;
    }

    .uslugi__items {
        display: flex;
        flex-direction: column;
        padding: 0px
    }
    
    .uslugi__item {
        width: inherit;
        margin-bottom: 30px;
    }
    
    .uslugi__item:not(:nth-child(4n)) {
        margin-right: 0px;
    }

    .atantion_content {
        padding: 0px;
    }

    .contacts__title {
        margin-bottom: 12px;
    }
}

@media (max-width: 430px) {

.section-offset {
    padding: 30px 0;
    margin-bottom: 30px;
}

.header {
    padding: 20px 0;
}

.hero__title {
    font-size: 28px;
}

.section-title {
    font-size: 26;
    margin-bottom: 20px;
}

.section-descr {
    font-size: 12px;
}

.icon_company {
    margin-bottom: 15px;
}

.company-item-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.company-item-descr {
    font-size: 12px;
}

.uslugi__title {
    text-align: center;
}

.uslugi_descr {
    text-align: center;
    font-size: 12px;
}

.uslugi-item-descr {
    text-align: center;
}

.price_block {
    padding: 240px 30px 30px 30px;
}

.atantion_title {
    text-align: center;
}

.atantion_descr {
    font-size: 12px;
    text-align: center;
}

.contacts__title {
    text-align: center;
}

.address__caption {
    font-size: 15px;
    margin-bottom: 7px;
}

.address__text {
    font-size: 12px;
}


}

@media (max-width: 415px) {
    

.company-item-descr {
    font-size: 10px;
}

.company-item-title {
    font-size: 12px;
}

.company__item {
    padding: 30px 20px;
}

.price_block {
    padding: 220px 10px 30px 10px;
}

.price-block-title {
    font-size: 14px;
}

.price-block-title-text {
    font-size: 10px;
}

.address__caption {
    font-size: 12px;
    margin-bottom: 5px;
}

.address__text {
    font-size: 10px;
}

.header-contact {
    font-size: 13px;
}

.phone-img {
    display: none;
}

}


@media (max-width: 320px) {
    
.price_block {
    padding: 170px 10px 30px 10px;
}

}