/**
 * Global Footer Styles
 * ====================
 * Status: 🔒 VISUALLY LOCKED
 * Version: 2.0.0
 * 
 * Legacy-aligned Brand Footer.
 * Design Authority: UI_GOVERNOR
 */

/* Footer Container */
.global-footer {
    background: var(--brand-dark, #0a1628);
    color: rgba(255, 255, 255, 0.9);
    padding: 6rem 0 3rem;
    margin-top: auto;
    border-top: none;
    /* Clean start */
}

/* Layout Structure */
.footer-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
    /* Wide breathing room */
    margin-bottom: 5rem;
    justify-content: space-between;
}

/* Brand Column (Left) */
.footer-brand-col {
    flex: 1 1 300px;
    max-width: 380px;
}

.footer-brand-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* Links Layout (Right - 3 Cols) */
.footer-links-layout {
    flex: 2 1 600px;
    display: flex;
    justify-content: flex-end;
    /* Push to right */
    gap: 4rem;
    /* Spacing between link groups */
    flex-wrap: wrap;
}

.footer-section {
    min-width: 160px;
}

/* Headings */
.footer-heading {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    opacity: 1;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease, transform 0.2s ease;
    font-weight: 400;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* One subtle divider */
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    /* Ensure centering if needed */
}

.footer-social a:hover {
    color: var(--brand-primary, #0babe4);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-layout {
        gap: 4rem;
    }

    .footer-links-layout {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .footer-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-brand-col {
        max-width: 100%;
    }

    .footer-links-layout {
        justify-content: flex-start;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-links-layout {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}