.m-footer {
    padding: 60px 0;
}

.m-footer-menu-wrapper {
    padding-top: 60px;
    border-top: solid #E0E1E8 1px;
}

.m-footer .m-footer-menu-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 60px;
}

.m-footer .m-footer-menu-main .menu-chapter.logo img {
    width: 160px;
    height: 50px;
    aspect-ratio: 16/5;
}

.m-footer .menu-chapter .m-footer-menu-item:last-of-type a {
    padding-bottom: 0;
}

.m-footer .menu-chapter.chapter-2 .m-footer-col-wrapper > .m-footer-col.accordion-body:nth-child(2),
.m-footer .menu-chapter.chapter-3 .m-footer-col-wrapper > .m-footer-col.accordion-body:nth-child(2) {
    margin-bottom: 32px;
}

.m-footer .m-footer-contacts {
    display: flex;
    gap: 12px;
    width: 100%;
    color: #FFF;
}

.m-footer .m-footer-contacts a {
    color: #FFF;
}

.m-footer .m-footer-contacts .phone {
    display: flex;
    width: 344px;
    padding: 24px 40px;
    flex-direction: column;
    gap: 16px;
    border-radius: 12px;
    background-color: #6977F5;
    flex-shrink: 0;
}

.m-footer .m-footer-contacts .phone:first-of-type p {
    display: flex;
    flex-direction: column;
}

.m-footer .m-footer-contacts .phone:first-of-type p span:first-child {
    white-space: nowrap;
}

.m-footer .m-footer-contacts-mobile {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.m-footer .m-footer-contacts-mobile p {
    opacity: 0.7;
}

.m-footer .m-footer-contacts .links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
    padding: 24px 40px;
    border-radius: 12px;
    background: linear-gradient(89deg, #6977F5 -29.21%, #6977F5 45.54%, #6CB4F5 122.56%);
}

.m-footer .m-contacts-chapter1, .m-footer .m-contacts-chapter2, .m-footer .m-contacts-chapter4 {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.m-footer .m-contacts-chapter4 {
    max-width: 196px;
    justify-self: flex-end;
}

.m-footer .m-support-contacts, .m-footer .m-client-support-contacts, .m-footer .m-infosecure-contacts, .m-footer .m-sales-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-footer .m-address-block {
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-footer .m-address-block span {
    white-space: nowrap;
}

.m-footer .m-contacts-title {
    opacity: 0.7;
}

.m-footer .m-sales-contacts-mobile {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.m-footer .m-sales-contacts-mobile p {
    opacity: 0.7;
}

.m-footer .all-contacts-btn-link {
    min-width: 196px;
    display: flex;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border: solid 1px rgba(255, 255, 255, 0.40);
    transition: all 0.3s;
}

.m-footer .all-contacts-btn-link p {
    font-weight: 400;
    white-space: nowrap;
}

.m-footer .m-footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.m-footer .m-footer-social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 20%;
    background-color: #FFFFFF1A;
}

.m-footer .m-footer-social-link:hover, .m-footer .m-footer-social-link:focus {
    background-color: #FFFFFF4D
}

.m-footer .m-footer-contacts a:not(.m-footer-social-link):hover,
.m-footer .m-footer-contacts a:not(.m-footer-social-link):focus {
    opacity: 0.7;
}

.m-footer .m-footer-info {
    margin-top: 32px;
    margin-bottom: 16px;
    width: 100%;
    color: #9496AE;
}

.m-footer .m-footer-col {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.m-footer .m-footer-link {
    display: inline-block;
    color: #6A6C91;
    cursor: pointer;
    padding: 6px 0;
    transition: all .3s;
}

.m-footer .m-footer-link:hover {
    color: #0071EB;
}

.m-footer .m-footer-col-title {
    color: #212121;
}

.m-footer .m-footer-slider-images .slick-slide > div {
    display: table;
    margin: 0 auto;
}

.m-footer .m-footer-slider-images-item > img {
    display: block;
    max-width: 100%;
}

.m-footer .m-footer-slider-images .slick-arrow {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: calc(50% - 20px);
    overflow: hidden;
    color: rgba(255, 255, 255, 0);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0IDE4TDggMTJMMTQgNkwxNS40IDcuNEwxMC44IDEyTDE1LjQgMTYuNkwxNCAxOFoiIGZpbGw9IiMwMDA1M0UiIGZpbGwtb3BhY2l0eT0iMC43NCIvPgo8L3N2Zz4K);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    z-index: 1;
}

.m-footer .m-footer-slider-images .slick-arrow.slick-prev {
    left: 0;
}

.m-footer .m-footer-slider-images .slick-arrow.slick-next {
    right: 0;
    transform: rotate(180deg);
}

.m-footer .slick-list.draggable {
    width: 100%;
    min-width: 100%;
}

@media (max-width: 1600px) and (min-width: 1240px) {
    .m-footer {
        padding: 40px 0;
    }

    .m-footer .m-footer-menu-main {
        margin-bottom: 40px;
    }

    .m-footer .m-footer-col {
        margin-top: 6px;
    }

    .m-footer .m-footer-contacts .phone {
        width: 294px;
    }

    .m-footer .m-footer-contacts .links {
        padding: 24px 32px;
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 0;
    }

    .m-footer .m-contacts-chapter3 {
        margin-top: -14px;
        order: 4;
    }

    .m-footer .m-contacts-chapter4 {
        order: 3;
    }

    .m-footer .all-contacts-btn-link {
        padding: 0 8px;
    }
}

@media (max-width: 1239px) and (min-width: 768px) {
    .m-footer {
        padding: 40px 0;
    }

    .m-footer .menu-chapter.logo {
        grid-area: logo;
    }

    .m-footer .menu-chapter.chapter-1 {
        grid-area: chapter-1;
    }

    .m-footer .menu-chapter.chapter-2 {
        grid-area: chapter-2;
    }

    .m-footer .menu-chapter.chapter-3 {
        grid-area: chapter-3;
    }

    .m-footer .m-footer-menu-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        grid-template-areas:
        "logo logo logo"
        "chapter-1 chapter-2 chapter-3";
        grid-row-gap: 40px;
        margin-bottom: 40px;
    }

    .m-footer .m-footer-contacts .phone {
        width: 310px;
        padding: 24px 40px;
    }

    .m-footer .all-contacts-btn-link {
        padding: 0 8px;
    }

    .m-footer .m-footer-contacts .links {
        padding: 24px 32px;
        grid-template-columns: 1fr 1fr;
    }

    .m-footer .m-contacts-chapter2 {
        max-height: 116px;
    }

    .m-footer .m-contacts-chapter4 {
        grid-column: 1 / -1;
        justify-self: auto;
        flex-direction: row;
        max-width: none;
    }

    .m-footer .slick-list.draggable {
        max-width: 80%;
        min-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    .m-footer .m-footer-menu-main .m-footer-col-divider {
        display: none;
    }
}

@media (max-width: 767px) {
    .m-footer {
        padding: 40px 0;
    }

    .m-footer .m-footer-menu-main {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 40px;
    }

    .m-footer .m-footer-menu-main .menu-chapter.logo img {
        width: 120px;
        height: 38px;
    }

    .m-footer .m-footer-col {
        margin-top: 0;
    }

    .m-footer .m-footer-col.accordion-body {
        margin-bottom: 32px;
    }

    .m-footer .m-footer-menu-main .menu-chapter.logo {
        margin-bottom: 16px;
    }

    .m-footer .m-footer-menu-main .menu-chapter .m-footer-col.accordion-body {
        display: none;
    }

    .m-footer .menu-chapter .m-footer-menu-item:last-of-type a {
        padding-bottom: 6px;
    }

    .m-footer .m-footer-col-divider {
        border-bottom: 1px solid #E0E1E8;
    }

    .m-footer .m-footer-col-title {
        padding: 24px 0;
        position: relative;
    }

    .m-footer .m-footer-col-title.accordion-head:before {
        content: '';
        position: absolute;
        width: 24px;
        height: 24px;
        right: 16px;
        top: 22px;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDE1LjM3NTFMNiA5LjM3NTFMNy40IDcuOTc1MUwxMiAxMi41NzUxTDE2LjYgNy45NzUxTDE4IDkuMzc1MUwxMiAxNS4zNzUxWiIgZmlsbD0iIzAwMDUzRSIgZmlsbC1vcGFjaXR5PSIwLjc0Ii8+Cjwvc3ZnPgo=);
        transition: transform .5s;
    }

    .m-footer .m-footer-col-title.accordion-head.active:before {
        transform: rotate(180deg);
    }

    .m-footer .m-footer-contacts {
        flex-direction: column;
    }

    .m-footer .m-footer-contacts .phone {
        width: 100%;
        padding: 24px;
        flex-direction: column;
        background-color: #6977F5;
    }

    .m-footer .m-footer-contacts .links {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }

    .m-footer .m-footer-contacts .phone:first-of-type p {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .m-footer .m-footer-link {
        padding: 8px 0;
    }

    .m-footer .m-contacts-chapter1 {
        gap: 24px;
        order: 1;
    }

    .m-footer .m-contacts-chapter2 {
        order: 3;
    }

    .m-footer .m-contacts-chapter3 {
        order: 2;
    }

    .m-footer .m-contacts-chapter4 {
        order: 4;
        max-width: 100%;
        justify-self: auto;
    }

    .m-footer .m-footer-social {
        display: flex;
        flex-wrap: wrap;
    }

    .m-footer .slick-list.draggable {
        max-width: 80%;
        min-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1280px) {
    .m-footer .slick-track {
        display: flex !important;
        min-width: 100%;
    }

    .m-footer .m-footer-slider-images .slick-slide {
        width: 45px !important;
        height: 24px !important;
    }

    .m-footer .m-footer-slider-images .slick-slide:not(:last-child) {
        margin-right: 16px;
    }
}

@media (max-width: 1600px) {
    .m-footer-menu-wrapper {
        padding-top: 40px;
    }
}