.footer {
    position: relative;
    padding: 80px 0 40px;
    background: transparent;
}

.footer__container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--spacing-8);
}

.footer__title {
    font-family: var(--font-primary);
    font-size: 52px;
    line-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 48px;
}

.footer__title--bold {
    font-weight: 700;
    font-style: normal;
}

.footer__title--italic {
    font-weight: 300;
    font-style: italic;
}

.footer__social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 44px;
    max-width: 1044px;
    margin-left: auto;
    margin-right: auto;
}

.footer__social-link {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 14px;
    gap: 12px;
    width: 334.67px;
    height: 72px;
    border: 1px solid #4D4F45;
    border-radius: 12px;
    transition: all var(--transition-fast);
    text-decoration: none;
    flex: 1;
}

.footer__social-link:hover {
    border-color: #CDF850;
}

.footer__social-link img {
    width: 32px;
    height: 32px;
}

.footer__social-link span {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    color: #FFFFFF;
}

.footer__nav {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: left;
    gap: 124px;
    margin-bottom: 78px;
    margin-left: 20px;
}

.footer__nav-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 142px;
    overflow: visible;
}

.footer__link {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #9B9F8E;
    transition: color var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.footer__link:hover {
    color: #CDF850;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.footer__copyright,
.footer__legal {
    font-family: var(--font-secondary);
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.03em;
    color: #4D4F45;
}

.footer__legal-link {
    color: #4D4F45;
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.footer__legal-link:hover {
    color: #9B9F8E;
}

/* ==========================================================================
   Mobile Footer Styles
   Base: 375px | Breakpoint: 640px
   ========================================================================== */

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

    .footer__container {
        max-width: 375px;
        padding: 0 40px;
    }

    .footer__title {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 24px;
    }

    .footer__social {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 40px;
    }

    .footer__social-link {
        width: 295px;
        height: 72px;
        justify-content: center;
        padding: 20px 14px;
    }

    .footer__social-link span {
        font-size: 16px;
        line-height: 20px;
    }

    .footer__nav {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-left: 0;
        margin-bottom: 40px;
    }

    .footer__nav-column {
        align-items: center;
        width: auto;
        gap: 20px;
    }

    .footer__link {
        font-size: 16px;
        line-height: 20px;
        text-align: center;
    }

    .footer__bottom {
        gap: 4px;
    }

    .footer__copyright,
    .footer__legal {
        font-size: 11px;
        line-height: 16px;
        text-align: center;
        max-width: 300px;
    }
}
