.page-footer {
    color: var(--white);
    background: linear-gradient(180deg, #005DA0 0%, #1A4795 100%);
    padding: 65px 0 24px;
}

.footer-top__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 24px;
    border-bottom: 1px solid #D1D3D4;
    margin: 0 0 24px;
}

.footer-logo a {
    display: block;
}

.footer-top__head .btn-tertiary {
    color: var(--white);
    padding: 12px 16px;
    border-color: var(--white);
}

.footer-social {
    margin: 0 0 20px;
}

.footer-social ul {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
}

.footer-social ul li {
    padding: 0;
    margin: 0;
}

.footer-social ul li:before {
    display: none;
}

.footer-social ul li a {
    font-size: 27px;
    color: var(--white);
    text-decoration: none;
}

.footer-top__bottom {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
}

.footer-top {
    position: relative;
    padding: 0 0 100px;
}

.footer-top__right ul {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 17px;
    flex-direction: column;
    min-width: 108px;
}

.footer-top__right ul li {
    padding: 0;
    margin: 0;
}

.footer-top__right ul li:before {
    display: none;
}

.footer-top__right ul li a {
    font-size: 16px;
    color: var(--white);
    text-decoration: none;
    display: block;
    font-weight: 300;
}

.footer-top__right ul li a i {
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 17px;
}

.footer-top__right ul li a:has(i) {
    padding-left: 27px;
}

.footer-top__right {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.back-to-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: all ease 0.3s;
}

.back-to-top.js-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 0;
    font-weight: 300;
    color: var(--black);
    text-decoration: none;
    gap: 0;
}

.back-to-top a i {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 51px;
    height: 51px;
    background: #162851;
    box-shadow: 0 4px 12px rgba(0, 86, 210, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 20px;
    font-weight: normal;
}

@media(min-width: 768px) {
    .page-footer {
        padding: 75px 0 36px;
    }

    .footer-top__head {
        padding: 0 0 36px;
        margin: 0 0 36px;
    }

    .footer-top__head .btn-tertiary {
        padding: 13px 16px;
    }

    .footer-social {
        margin: 0 0 30px;
    }

    .footer-top {
        padding: 0 0 123px;
    }

    .footer-top__bottom p,
    .footer-top__right ul li a {
        font-size: 18px;
    }
}


@media(min-width: 1200px) {
    .page-footer {
        padding: 52px 0 52px;
    }

    .footer-top {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0;
    }

    .footer-top__head {
        padding: 0 0 52px;
        margin: 0 0 52px;
        width: 100%;
    }

    .footer-top__bottom {
        text-align: left;
        position: relative;
        left: unset;
        transform: unset;
        width: auto;
        max-width: 306px;
    }

    .footer-social ul {
        justify-content: flex-start;
        gap: 41px;
    }

    .footer-social {
        margin: 0 0 80px;
    }

    .footer-top__right {
        width: 431px;
        margin-top: 10px;
    }

    .footer-top__head .btn-tertiary {
        padding: 15px 25px;
    }

    .back-to-top {
        right: 20px;
        bottom: 30px;
        font-size: 16px;
    }

    .back-to-top a {
        gap: 6px;
        font-size: 16px;
    }

    .back-to-top a:hover i,
    .footer-top__head .btn-tertiary:hover::before {
        background: var(--light-blue);
    }

    .back-to-top a:hover,
    .footer-top__right ul li a:hover,
    .footer-social ul li a:hover {
        color: var(--light-blue);
    }
}