/* =========================================================
   FOOTER
   Escuela Técnica N°1 - Chascomús
   ========================================================= */


/* =========================================================
   ESTRUCTURA
   ========================================================= */

footer.footer {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
    padding: 3rem 1.5rem 1.5rem;
    background: #1e3a8a;
    color: white;
    z-index: 1;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.footer-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}


/* =========================================================
   CONTENIDO PRINCIPAL
   ========================================================= */

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}


/* =========================================================
   INFORMACIÓN
   ========================================================= */

.footer-info {
    flex: 1;
    max-width: 500px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}


/* =========================================================
   ENLACES Y REDES
   ========================================================= */

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 4rem;
}

.footer-section-title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-link:hover {
    color: #facc15;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   PARTE INFERIOR
   ========================================================= */

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    text-align: center !important;
}


/* =========================================================
   FULL WIDTH
   ========================================================= */

footer.footer.fullwidth-bg::before {
    z-index: -1;
    background: #1e3a8a;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    footer.footer {
        padding: 2.5rem 1rem 1.25rem;
    }

    .footer-main {
        flex-direction: column;
        gap: 2.5rem;
    }

    .footer-info {
        max-width: none;
    }

    .footer-links-grid {
        width: 100%;
        gap: 2rem;
    }

    .footer-logo-img {
        width: 50px;
        height: 50px;
    }

    .footer-title {
        font-size: 1.25rem;
    }

    .footer-bottom {
        margin-top: 2rem;
    }
}


@media (max-width: 480px) {

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}