/* ============================================================
   FOOTER STYLES
============================================================ */
footer {
    background: var(--brand-dark, #03213a);
    color: rgba(255,255,255,.65);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6,97,166,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6,97,166,.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    position: relative;
    z-index: 1;
}

/* Brand section */
.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand-logo img {
    width: 50% !important;
    display: block;
    height: auto;
}
.footer-desc {
    font-size: .85rem;
    line-height: 1.7;
    color: rgba(255,255,255,.35);
    max-width: 280px;
}

/* Footer columns */
.footer-col-title {
    font-family: var(--font-accent, 'Poppins', sans-serif);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.25);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-primary, #0661a6);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::before {
    transform: scale(2);
}

/* Footer bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.footer-copy {
    font-size: .78rem;
    color: rgba(255,255,255,.25);
}

.footer-copy strong {
    color: var(--brand-accent, #c7380a);
}

/* Language switcher in footer */
.footer-langs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-langs a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    font-size: .73rem;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-langs a img {
    width: 16px;
    border-radius: 2px;
}

.footer-langs a:hover {
    background: rgba(6,97,166,.2);
    border-color: rgba(6,97,166,.4);
    color: white;
}

/* ============================================================
   FOOTER RESPONSIVE
============================================================ */
@media (max-width: 768px) {
    footer {
        padding: 60px 0 0;
    }
    
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 0 20px 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .footer-desc {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .footer-langs {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .footer-brand-logo {
        justify-content: center;
    }
    
    .footer-desc {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-col-title {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
}