footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 1rem 0.75rem;
    background: var(--accent);
    color: var(---accent-content);
    z-index: 2;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto auto;
    grid-template-areas: "desc chat social";
    align-items: center;
    gap: 60px;
}

.footer__lang {
    display: none;
}

.lang-flag {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.lang-flag.active {
    display: none;
}

.lang-flag img {
    width: 1.9rem;
    height: auto;
    border-radius: 2px;
}

.lang-separator {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
}

footer .footer__desc {
    grid-area: desc;
    font-size: 0.8rem;
    font-family: "Knockout Cruiserweight", sans-serif;
    text-transform: uppercase;
}

footer .footer__social {
    grid-area: social;
    justify-self: end;
    text-align: center;
    color: var(--primary);
}

footer .footer__social svg {
    width: 3rem;
    height: 3rem;
    transition: color 200ms ease-in-out;
    color: var(--primary);
}

footer .footer__social a {
    display: flex;
}

footer .footer__social a:hover svg {
    color: color-mix(in oklab, var(--primary) 100%, black 10%);
}

footer .social-icons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 0;
}

/* ================= FOOTER RESPONSIVE (SEDERHANA) ================= */

/* Tablet & Mobile (max-width: 1024px) */
@media (max-width: 1023px) {
    .footer__inner {
        gap: 30px;
    }
    
    footer .footer__desc {
        font-size: 0.8rem;
    }
    
    footer .footer__social svg {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    footer {
        position: relative;
        padding: 0.75rem 1rem;
    }
        
    
    footer .footer__desc {
        font-size: 0.75rem;
    }
    
    footer .footer__social {
        justify-self: center;
    }
    
    body {
        padding-bottom: 0;
    }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
    footer {
        padding: 0.5rem 0.6rem;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "desc"
            "social";
        gap: 16px;
        text-align: center;
    }

    footer .footer__desc {
        font-size: 0.65rem;
    }
    
}

/* Desktop tetap fixed */
body {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 60px;
    }
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 68px;
    }
}