/* ====================
   FOOTER
   ==================== */
.footer {
    margin-top: 48px;
    padding: 64px 0 24px;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-brand p {
    max-width: 80%;
    margin: 16px 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.logo.dark {
    color: var(--primary-blue);
}

.company-info {
    font-size: 0.75rem !important;
}

.footer-links h4 {
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-legal a {
    margin-left: 16px;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-legal a:hover {
    color: var(--light-blue);
}

/* ====================
   RESPONSIVE (MOBILE)
   ==================== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand p {
        max-width: 100%; /* Memaksimalkan lebar teks di layar kecil */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal a {
        margin: 0 8px; /* Merapikan jarak link berdampingan di mode center */
        display: inline-block;
    }
}