@font-face {
    font-display: swap;
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Poppins-Regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/Poppins-Medium.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Poppins-Bold.woff2") format("woff2");
}

.site-footer {
    margin-top: auto;
    padding: 0 !important;
    background-color: #3c3d47 !important;
}

.redtrack-footer {
    padding: 60px 0;
    background-color: #3c3d47;
    font-family: "Poppins", sans-serif;
    color: #f6f7ff;
}

.redtrack-footer *,
.redtrack-footer *::before,
.redtrack-footer *::after {
    box-sizing: border-box;
}

.redtrack-footer img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

.redtrack-footer__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    width: 100%;
}

.redtrack-footer__top {
    width: 100%;
}

.redtrack-footer__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0 20px;
}

.redtrack-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px 0;
}

.redtrack-footer__item {
    list-style: none;
}

.redtrack-footer__item-desktop {
    list-style: none;
}

.redtrack-footer__item-mobile {
    display: none;
    list-style: none;
}

.redtrack-footer__text {
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    color: #ffffff;
}

.redtrack-footer__link {
    display: inline-flex;
    font-size: 12px;
    line-height: 16px;
    color: #8c8f9d;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.redtrack-footer__link:hover,
.redtrack-footer__link:focus {
    color: #ffffff;
}

.redtrack-footer__logos {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px 0;
}

.redtrack-footer__logos--mobile {
    display: none;
}

.redtrack-footer__logo-link {
    width: 100%;
    max-width: 148px;
}

.redtrack-footer__inner-box {
    width: 100%;
}

.redtrack-footer__socials {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 0 80px;
}

.redtrack-footer__logo {
    max-width: 141px;
    width: 100%;
}

.redtrack-footer__social-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 0 24px;
    flex-grow: 1;
}

.redtrack-footer__social-item {
    list-style: none;
}

.redtrack-footer__social-link {
    display: block;
    width: 24px;
    height: 24px;
}

.redtrack-footer__copyright {
    margin: 0;
    font-size: 14px;
    line-height: 18px;
    color: #8c8f9d;
}

@media screen and (min-width: 1023px) {
    .redtrack-footer__socials .redtrack-footer__copyright {
        margin-left: auto;
    }
}

.redtrack-footer__badge {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 16px 40px;
}

.redtrack-footer__badge-text {
    margin: 0;
    font-size: 14px;
    line-height: 18px;
    color: #f6f7ff;
}

.redtrack-footer__badge-img {
    display: block;
    width: 100%;
    max-width: 102px;
}

.redtrack-footer__badge-link {
    display: inline-flex;
    text-decoration: none;
}

.redtrack-footer__inner-height {
    max-height: none;
}

.redtrack-footer__list--mobile {
    display: none;
}

@media (max-width: 1200px) {
    .redtrack-footer__container {
        padding: 0 40px;
    }
}

@media (max-width: 1023px) {
    .redtrack-footer {
        padding: 40px 0;
    }

    .redtrack-footer__container {
        padding: 0 16px;
    }

    .redtrack-footer__grid {
        grid-template-columns: 1fr;
    }

    .redtrack-footer__inner-height {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-in-out;
    }

    .redtrack-footer__list--mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 20px;
        padding: 12px 0;
    }

    .redtrack-footer__item-desktop {
        display: none;
    }

    .redtrack-footer__item-mobile {
        display: flex;
    }

    .redtrack-footer__item--open .redtrack-footer__text::after {
        transform: translateY(-50%) rotate(0);
    }

    .redtrack-footer__text {
        padding: 12px 0;
        position: relative;
        border-bottom: solid 1px rgba(108, 179, 230, 0.5);
        cursor: pointer;
    }

    .redtrack-footer__text::after {
        width: 18px;
        height: 18px;
        position: absolute;
        content: "";
        top: 50%;
        right: 0;
        transform: translateY(-50%) rotate(180deg);
        background-image: url("../img/footer/arrow-up.svg");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        transition: all 0.2s ease-in-out;
    }

    .redtrack-footer__logos {
        display: none;
    }

    .redtrack-footer__logos--mobile {
        margin-bottom: 40px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .redtrack-footer__logo-link {
        max-width: 162px;
    }

    .redtrack-footer__socials {
        margin-top: 40px;
        flex-direction: column;
        gap: 20px 0;
    }

    .redtrack-footer__social-link {
        width: 24px;
        height: 24px;
    }

    .redtrack-footer__logo {
        display: none;
    }

    .redtrack-footer__badge {
        margin-top: 40px;
        flex-direction: column;
        align-items: center;
        gap: 16px 0;
    }
}

