/* =========================================
           SECCIÓN FOOTER
           ========================================= */
.footer {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    padding: 6rem var(--spacing-container) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

/* Footer brand column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand .logo img {
    height: 30px;
    filter: invert(1);
}

.footer-tagline {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: #888;
    line-height: 1.7;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--color-text-dark);
    color: var(--color-text-dark);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Footer nav column */
.footer-nav-col h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    color: #888;
    font-weight: 500;
}

.footer-nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav-col ul li a {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.footer-nav-col ul li a:hover {
    color: var(--color-text-dark);
}

/* Footer contact column */
.footer-contact-col h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    color: #888;
    font-weight: 500;
}

.footer-contact-col address {
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-contact-col .footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-col .footer-contact-links a {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-col .footer-contact-links a:hover {
    color: var(--color-text-dark);
}

/* Footer credit editorial */
.footer-credit {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    margin-top: 24px;
    font-size: 12px;
    font-family: var(--font-sans);
    color: #A0A0A0;
    letter-spacing: 0.8px;
    text-align: center;
}

.footer-credit a {
    color: #A0A0A0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: rgba(0, 0, 0, 0.7);
}

.footer-credit .mf-char,
.footer-credit .mf-logo-full {
    opacity: 0;
}

.footer-credit.in-view .mf-char:nth-child(1) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.10s forwards; }
.footer-credit.in-view .mf-char:nth-child(2) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s forwards; }
.footer-credit.in-view .mf-char:nth-child(3) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.20s forwards; }
.footer-credit.in-view .mf-char:nth-child(4) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s forwards; }
.footer-credit.in-view .mf-char:nth-child(5) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.30s forwards; }
.footer-credit.in-view .mf-char:nth-child(6) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s forwards; }
.footer-credit.in-view .mf-char:nth-child(7) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.40s forwards; }
.footer-credit.in-view .mf-char:nth-child(8) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s forwards; }
.footer-credit.in-view .mf-char:nth-child(9) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.50s forwards; }
.footer-credit.in-view .mf-char:nth-child(10) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s forwards; }
.footer-credit.in-view .mf-char:nth-child(11) { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.60s forwards; }
.footer-credit.in-view .mf-logo-full { animation: mfRevealGroup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.70s forwards; }

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 1400px;
    margin: 24px auto 0;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #aaa;
    letter-spacing: 1px;
}

.footer-lang {
    font-size: 0.75rem;
    color: #aaa;
    letter-spacing: 1px;
}

.footer-lang a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-lang a:hover,
.footer-lang a.active {
    color: var(--color-text-dark);
}

/* Animación Marquee del Footer */
.marquee-container {
    width: 100vw;
    margin-left: calc(-1 * var(--spacing-container));
    overflow: hidden;
    background: transparent;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-text {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 6rem);
    font-style: italic;
    padding-right: 2rem;
    color: var(--color-accent);
    opacity: 0.5;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem !important;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-links a,
    .footer-social a {
        padding: 0.5rem 0;
        display: inline-block;
    }
}
