/* ===================================================
   FOOTER 
   =================================================== */

#main-footer {
    position: relative;
    padding: 30px 0 10px 0; /* Reducido drásticamente */
    background-image: url('../../assets/img/vista-del-planeta-tierra-azul-en-el-espacio.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.footer-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(19, 36, 52, 0.25); 
    backdrop-filter: blur(2px);
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 20px;
    text-align: center;
    align-items: center;
}

/* --- COLUMNA LOGO --- */
.footer-logo {
    max-width: 220px; 
    height: auto;
    margin-bottom: 5px;
}

.footer-divider {
    width: 180px;
    border: 0;
    border-top: 1.5px solid white;
    margin: 5px auto 10px;
}

.footer-address {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem; 
    letter-spacing: 0.5px;
    color: #ffffff;
}

/* --- COLUMNA SECCIONES --- */
.footer-col h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem; 
    font-weight: 700;
    margin-bottom: 15px; 
    letter-spacing: 1.5px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
    padding: 0;       
    margin: 0;
}

.footer-links li {
    margin-bottom: 4px; 
    list-style-type: none; 
}

.footer-links a {
    color: white;
    font-size: 0.95rem;
}

/* --- COLUMNA CONTACTO --- */
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px; 
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
}

.footer-icon {
    width: 20px; 
    height: auto;
    filter: brightness(0) invert(1);
}

/* --- COPYRIGHT --- */
.footer-bottom {
    position: relative;
    z-index: 2;
    margin-top: 20px; 
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 0.75rem;
    font-family: 'Lato', sans-serif;
    opacity: 0.8;
}