.footer-legal {
    background: rgba(0, 0, 0, 0.2);
    color: #cbd5e0;
    margin: 2rem 0 0;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    line-height: 1.6;
}

.footer-legal-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-company {
    margin: 0;
    opacity: 0.7;
}

.footer-company span {
    display: inline-block;
}

.footer-legal-links,
.footer-consumer-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-legal-links a {
    color: inherit;
    opacity: 0.8;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-legal-links a:hover {
    color: #00bcd4;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-consumer-links {
    flex-shrink: 0;
    gap: 0.75rem;
}

.footer-consumer-links a {
    display: flex;
    align-items: center;
}

.footer-consumer-links img {
    display: block;
    width: auto;
    height: 20px;
    object-fit: contain;
    filter: grayscale(1) invert(1) brightness(2);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-consumer-links a:hover img,
.footer-consumer-links a:focus-visible img {
    filter: none;
    opacity: 0.9;
}

.footer-legal a:focus-visible {
    outline: 2px solid #00bcd4;
    outline-offset: 5px;
    border-radius: 2px;
}

.footer-legal + .footer-bottom {
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    font-size: 0.75rem;
    color: rgba(203, 213, 224, 0.6);
}

.error-footer {
    padding: 0 0 1.5rem;
}

.error-footer .footer-legal {
    background: #142c4c;
    margin: 0 0 1.5rem;
    text-align: left;
}

@media (max-width: 992px) {
    .footer-legal-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-legal a {
        display: flex;
        align-items: center;
        min-height: 24px;
    }

    .error-footer .footer-legal {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-legal-links {
        gap: 0.5rem 1rem;
    }
}
