.footer {
    position: relative;
    background: #4F203E;
    border: 3px solid rgba(79, 32, 63, 0.1);
    border-radius: 32px;
    padding: 64px 48px 48px;
    margin: 80px 24px 24px;
    color: #FDFAF1;
    overflow: hidden;
    isolation: isolate;
}

.footer__bg-text {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05; /* Increased slightly */
    pointer-events: none;
    z-index: 1; /* Move into visibility */
}

.footer__container {
    position: relative;
    z-index: 2; /* Ensure content is above bg */
    display: flex;
    flex-direction: column;
    gap: 120px;
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer__brand {
    max-width: 252px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__logo {
    height: 35px;
    width: auto;
}

.footer__tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    line-height: 1.25;
    color: #FDFAF1;
}

.footer__nav {
    display: flex;
    gap: 72px;
    flex-wrap: wrap;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__col-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.footer__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    color: #FDFAF1;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer__link:hover {
    opacity: 1;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(253, 250, 241, 0.1);
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__bottom-left {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.footer__bottom-right {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    gap: 12px;
}

@media (max-width: 1024px) {
    .footer__nav {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 24px;
        margin: 40px 16px 16px;
    }
    
    .footer__container {
        gap: 60px;
    }
    
    .footer__top {
        flex-direction: column;
    }
    
    .footer__nav {
        justify-content: space-between;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
