@media(max-width: 1200px) {
    .header__phones {
        display: flex;
        flex-direction: column;
    }
    .header__menu-list a {
        padding: 12px 14px 8px;
    }
}
@media(max-width: 1000px) {
    .btn__menu {
        display: block;
        color: #351D74;
        background: none;
        height: 25px;
    }
    .header {
        padding: 5px 0;
    }
    .header__right {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 3;
        background: #351D74;
        margin: 0;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: 0.3s;
    }
    .header__right.active {
        transform: translateX(0);
    }
    .header__phones,
    .callback {
        display: none;
    }
    .header__menu-list {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .header__menu-list a {
        color: #fff;
        text-align: center;
        font-size: 20px;
    }
    .header__menu-list a:hover {
        color:#fff;
    }
    .header__menu,
    .header__menu-list {
        height: 100%;
    }
    .header__menu {
        border: none;
    }
    .header__menu-list li {
        margin: 5px 0;
    }
    .header__links {
        order: 1;
        justify-content: center;
    }
    .header__links a {
        color: #fff;
    }
    .cabinet {
        margin-bottom: 15px;
    }
    .close__menu {
        display: block;
        width: 35px;
        height: 35px;
        position: absolute;
        top:15px;
        right: 15px;
        background: none;
        color: #fff;
    }
    .mainSlider img {
        height: 300px;
    }
    .slider__desc {
        left: 40px;
    }
    .slider__title {
        font-size: 24px;
    }
    .footer__item h6 {
        font-size: 16px;
    }
    .footer__item {
        max-width: 200px;
    }
    .footer__logo {
        max-width: 150px;
        transform: translateY(-8px);
    }
    .slogan {
        margin-top: 14px;
    }
}
@media(max-width: 700px) {
    .mainSlider img {
        width: 100%;
        height: 230px;
        object-fit: cover;
    }
    .slider__desc {
        left: 15px;
        padding-right: 15px;
    }
    .slider__title {
        font-size: 20px;
    }
    .slider__text {
        font-size: 14px;
    }
    .page__title {
        font-size: 34px;
    }
    .footer__footer {
        flex-wrap: wrap;
    }
    .footer__item {
        width: 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }
    .slogan {
        margin-left: 0;
        margin-bottom: 30px;
    }
    .socials {
        margin-left: 0;
    }
    .footer__item h6 {
        margin-bottom: 25px;
    }
    .tarif__name {
        min-width: 100px;
        width: auto;
    }
    .tarif__desc,
    .tarif__desc2 {
        width: 130px;
    }
    .section-callback h2 {
        margin-bottom: 30px;
        font-size: 20px;
    }
    .why__container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .why__item {
        width: calc(45% - 30px);
    }
    .tarif-item__desc {
        padding-right: 18px;
    }
    .footer__copyright .footer__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .policy {
        margin: 15px 0;
        width: 100%;
    }
}
@media(max-width: 600px) {
    .tarif__item {
        flex-direction: column;
    }
    .tarifs__tab:last-child {
        margin-right: 0;
    }
    .tarif__col {
        padding: 5px;
    }
    .tarif__name {
        border-bottom: 1px solid #000;
    }
    .form__col-left,
    .form__col-right {
        width: calc(100% - 15px);
        margin-left: 0;
        margin-right: 0;
    }
    .why__item {
        width: 100%;
        margin: 0 0 30px;
    }
}
@media(max-width: 480px) {
    .slogan {
        display: none;
    }
    .socials {
        margin-top: 10px;
    }
    .footer__copyright .footer__container {
        flex-direction: column;
        align-items: center;
    }
}