.section__contacts {
    margin-top: 120px;
    position: relative;
    overflow: clip;
    background: #131313;
    border-radius: 24px;
    height: 100%;
}

.section__contacts-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
}

.section__contacts-decoration_red {
    width: 146px;
    height: 146px;
    top: 75px;
    left: 1216px;
    background: #E20714;
}

.section__contacts-decoration_blue {
    width: 182px;
    height: 182px;
    background: #113C4A;
    top: -154px;
    left: 584px;
}

.section__contacts-decoration_orange {
    width: 182px;
    height: 182px;
    top: 462px;
    left: 345px;
    background: #E95A0C;
}

.contacts__container {
    display: grid;
    grid-template-areas:
"footer_logotype footer_links footer_contacts"
"copyright       .            social_links";
    grid-template-columns: 251px 496px auto;
    grid-template-rows: minmax(400px, auto) 92px;
}

.footer__logotype {
    grid-area: footer_logotype;
    margin: 56px 0 0 auto;
    height: fit-content;
}

.footer__links {
    display: flex;
    flex-direction: column;
    grid-area: footer_links;
    margin: 75px 106px 0 171px;
    gap: 32px;
}

.footer__link {
    color: #fff;
    text-decoration: none;
}

.footer__contacts {
    grid-area: footer_contacts;
    margin: 64px 0 0;
}

.contacts__tabs-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact__tab-button {
    border-radius: 24px;
    padding: 0 16px;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: 0.1s;
    height: 40px;
    text-transform: unset;
}

.contact__tab-button:hover, .contact__tab-button.active {
    background: #E20714;
    border-color: #E20714;
}

.contact__tab-button:first-child {
    margin-left: 0;
}

.contacts__tabs {
    margin-top: 40px;
}

.contact__tab {
    display: none;
}

.contact__tab.active {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    line-height: 24px;
}

.contact__phone {
    text-decoration: none;
    color: #fff;
}

.contact__phone {
}

.contact__address {
    margin-top: 12px;
    color: #fff;
}

.contact__email {
    margin-top: 12px;
    color: #E95A0C;
    text-decoration: none;
}

.contact__working-time {
    margin-top: 40px;
    color: #6d6d6d;
    font-size: 16px;
}

.social__icon {
    width: 56px;
    height: 56px;
    display: inline-block;
    margin-left: 20px;
}

.social__icon:first-child {
    margin-left: 0;
}

.social-buttons {
    grid-area: social_links;
}

.social__icon_vk {
    background: url('../../images/home/contacts/vk.svg');
}

.social__icon_youtube {
    background: url('../../images/home/contacts/youtube.svg');
}

.social__icon_tg {
    background: url('../../images/home/contacts/tg.svg');
}

.copyright {
    font-size: 12px;
    line-height: 20px;
    color: #6D6D6D;
    grid-area: copyright;
    margin: 0 0 0 56px;
}
.policy {
    font-size: 12px;
    line-height: 20px;
    color: #FFFFFF;
    text-decoration: underline !important;
    grid-area: copyright;
}
@media screen and (max-width: 1380px) {
    .contacts__container {
        display: flex;
        flex-direction: column;
        padding: 40px 24px;

        display: grid;
        grid-template-areas:
        "a b"
        "a c"
        "f g";
        grid-template-columns: auto;
    }
    .footer__logotype {
        margin: 0;
        width: 195px;


        display: grid;
        grid-area: a;
    }
    .footer__links, .footer__contacts, .social-buttons, .copyright {
        margin-top: 56px;
    }
    .footer__links {
        grid-area: b;
    }
    .footer__link {
        display: grid;
        grid-area: b;
    }
    .footer__contacts {
        display: grid;
        grid-area: a;
        margin-top: 130px;
    }
    .social-buttons {
        display: grid;
        grid-area: f;
    }
    .copyright {
        display: grid;
        grid-area: g;
        margin-left: auto;
    }
}

@media screen and (max-width: 768px) {
    .section__contacts {
        margin-top: 80px;
    }

    .section__contacts-decoration_red {
        top: 73px;
        left: -118px;
    }

    .section__contacts-decoration_blue {
        left: 256px;
    }

    .section__contacts-decoration_orange {
        width: 135px;
        height: 135px;
        top: 598px;
        left: 361px;
    }

    .contacts__container {
        display: flex;
        flex-direction: column;
        padding: 40px 24px;
    }

    .footer__logotype {
        margin: 0;
        width: 195px;
    }

    .footer__links {
        margin-left: 0;
    }

    .footer__links,
    .footer__contacts,
    .social-buttons,
    .copyright {
        margin-top: 56px;
    }

    .copyright {
        margin-left: 0;
    }
}
