/**
 * Footer Module Styles
 * Scoped to [data-module="footer"]
 */

[data-module="footer"] {
    background-color: var(--wl-primary);
    color: rgba(255, 255, 255, 0.8);
    padding-top: var(--wl-space-12);
    padding-bottom: var(--wl-space-6);
}

/* Grid Layout */
[data-module="footer"] .footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--wl-space-8);
    margin-bottom: var(--wl-space-10);
}

@media (min-width: 768px) {
    [data-module="footer"] .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--wl-space-10);
    }
}

/* Company Section */
@media (min-width: 768px) {
    [data-module="footer"] .footer__company {
        grid-column: 1;
    }
}

[data-module="footer"] .footer__logo {
    display: flex;
    align-items: center;
    gap: var(--wl-space-3);
    margin-bottom: var(--wl-space-4);
    color: var(--wl-text-inverse);
    font-size: var(--wl-text-xl);
    font-weight: var(--wl-font-bold);
}

[data-module="footer"] .footer__logo-icon {
    width: 36px;
    height: 36px;
    color: var(--wl-secondary);
}

[data-module="footer"] .footer__tagline {
    font-size: var(--wl-text-sm);
    line-height: var(--wl-leading-relaxed);
    margin-bottom: var(--wl-space-5);
    max-width: 320px;
}

[data-module="footer"] .footer__contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--wl-space-2);
}

[data-module="footer"] .footer__contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--wl-space-2);
    color: var(--wl-text-inverse);
    font-size: var(--wl-text-sm);
    text-decoration: none;
    transition: color var(--wl-transition-fast);
}

[data-module="footer"] .footer__contact-link:hover {
    color: var(--wl-secondary-light);
    text-decoration: none;
}

/* Section Headings */
[data-module="footer"] .footer__heading {
    color: var(--wl-text-inverse);
    font-size: var(--wl-text-sm);
    font-weight: var(--wl-font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--wl-space-4);
}

/* Links */
[data-module="footer"] .footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

[data-module="footer"] .footer__links li {
    margin-bottom: var(--wl-space-2);
}

[data-module="footer"] .footer__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--wl-text-sm);
    text-decoration: none;
    transition: color var(--wl-transition-fast);
}

[data-module="footer"] .footer__links a:hover {
    color: var(--wl-text-inverse);
    text-decoration: none;
}

/* Bottom Bar */
[data-module="footer"] .footer__bottom {
    display: flex;
    flex-direction: column;
    gap: var(--wl-space-4);
    padding-top: var(--wl-space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    [data-module="footer"] .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

[data-module="footer"] .footer__copyright {
    font-size: var(--wl-text-sm);
    margin: 0;
}

[data-module="footer"] .footer__certifications {
    display: flex;
    gap: var(--wl-space-4);
    flex-wrap: wrap;
}

[data-module="footer"] .footer__cert {
    font-size: var(--wl-text-xs);
    color: rgba(255, 255, 255, 0.5);
    padding: var(--wl-space-1) var(--wl-space-3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--wl-radius-full);
}

/* Hidden elements - for production readiness */
[data-module="footer"] .footer__section.hidden,
[data-module="footer"] .footer__links li.hidden {
    display: none;
}
