/* FOOTER */
.footer {
    flex-shrink: 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.footer-gradient {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 221px;
    background: url("../images/bg-gradient.png") no-repeat center;
    background-size: cover;
    transform: rotate(180deg) scaleX(-1);
    transform-origin: center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.footer__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 0;
    border-top: 0.5px solid #C6C1B9;
}

.footer__divider {
    display: none;
    width: 100%;
    height: 1px;
    background-color: #DEE2E6;
    margin-bottom: 8px;
}

.footer__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.footer__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer__socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__social-link:hover {
    opacity: 0.75;
    transform: translateY(-1px);
}

.footer__social-link img {
    display: block;
    width: 16px;
    height: 16px;
}

.footer__copyright {
    margin: 24px 0 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
    color: #9B98A6;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
}

.footer__nav-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 21.7px;
    color: #808080;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer__nav-link:hover {
    color: #5E5C74;
}
    
/* desktop: fullscreen 1024 */
@media (min-width: 1024px) {
    .footer__container {
        padding: 56px 0 40px;
    }

    .footer__content {
        column-gap: 48px;
    }
}

/* desktop: fullscreen 1440 */
@media (min-width: 1440px) {
    .footer__social-link img {
        width: 20px;
        height: 20px;
    }
    
    .footer__nav {
        align-items: flex-start;
    }
}
