/* footer.css - Footer elegante y corregido */

.footer {
    background: var(--primary-color); /* Fondo oscuro principal */
        background: #0F2322;

    color: white;
    padding: 40px 20px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;

    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "ft-links-box ft-logo-box ft-contact-box";

    justify-content: center;
    align-items: center;

}

.footer-logo-box {
    grid-area: ft-logo-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.footer-logo-box img {
    width: 200px;
    height: auto;
}

.footer-logo-box p {
    text-align: center;
    
    font-size: 1.3rem;
    font-style: italic;
    opacity: 0.9;
    margin: 0;
}


.footer-links-box{
    grid-area: ft-links-box;

    width: 100%;
    height: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.footer-nav-box ul {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-nav-box li {
    
    padding: 5px;
    width: 100%;


}
.footer-nav-link {
    display: block;
    width: 100%;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
    font-weight: 600;
    vertical-align: middle;
    text-align: center;
}
.footer-nav-link:hover {
    font-weight: 800;
    color: var(--accent-color);
    transform: scale(1.2);
}


.footer-contact-box {
    grid-area: ft-contact-box;
}
.footer-contact-box ul{
    width: 100%;
    height: 100%;
}
.footer-contact-box li{
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
}
.footer-contact-label {
    font-size: 1rem;
    opacity: 0.85;
    
}
.footer-contact-span {

}
.footer-contact-link  {
    
    text-decoration: none;
    color: white;
    text-align: center;
    font-weight: 700;
}
.footer-contact-link:hover {
    color: var(--accent-color);
}

.footer-socialmedia-box{
    width: 100%;
    height: auto;

}

.footer-copyright-box {
    width: 100%;
    max-width: 1600px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.85;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-poweredby-box {
    width: 100%;
    max-width: 1600px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.75;
    padding-top: 16px;

    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}
.footer-poweredby-box img {

    width: 150px;
    height: auto;
    margin-top: 10px;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.footer-social-box {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    gap: 32px;
    font-size: 1.8rem;
    margin-bottom: 20px;


}

.footer-social-box a {
    color: white;
    transition: color 0.3s, transform 0.3s;
}

.footer-social-box a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}


/* Responsive */
/* Responsive */
@media (max-width: 992px) {
    .footer-wrapper {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        grid-template-areas: "ft-logo-box"
                             "ft-links-box"
                             "ft-contact-box";
        gap: 50px;
        text-align: center;
    }

    .footer-logo-box {
        margin-bottom: 30px;
    }

    .footer-logo-box img {
        width: 180px;
    }

    .footer-logo-box p {
        font-size: 1.2rem;
    }

    .footer-links-box ul {
        flex-direction: column;
        gap: 20px;
    }

    .footer-nav-box li {
        padding: 10px 0;
    }

    .footer-nav-link {
        font-size: 1.4rem;
    }

    .footer-contact-box {
        gap: 20px;
    }

    .footer-contact-label {
        font-size: 1.1rem;
    }

    .footer-contact-span, .footer-contact-link {
        font-size: 1.3rem;
    }

    .footer-socialmedia-box {
        margin-top: 20px;
    }

    .footer-social-box {
        gap: 28px;
        font-size: 2rem;
    }

    .footer-copyright-box {
        font-size: 0.9rem;
        padding: 20px 0;
    }

    .footer-poweredby-box {
        font-size: 0.85rem;
        gap: 10px;
    }

    .footer-poweredby-box img {
        width: 120px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 50px 12px 30px;
    }

    .footer-wrapper {
        padding: 0 10px;
    }

    .footer-logo-box img {
        width: 160px;
    }

    .footer-logo-box p {
        font-size: 1.1rem;
    }

    .footer-nav-link {
        font-size: 1.3rem;
    }

    .footer-contact-link {
        font-size: 1.2rem;
    }

    .footer-social-box {
        gap: 22px;
        font-size: 1.7rem;
    }

    .footer-copyright-box {
        font-size: 0.85rem;
    }

    .footer-poweredby-box {
        font-size: 0.8rem;
    }

    .footer-poweredby-box img {
        width: 110px;
    }
}