/* =========================================
   FOOTER PROFESIONAL
   ========================================= */
#main-footer {
    background-color: #004a7c; /* Un azul más oscuro que el principal para contraste */
    color: #e0e0e0;
    padding-top: 70px;
    font-size: 0.95rem;
    border-top: 5px solid var(--color-verde-enfasis); /* Línea verde superior */
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

/* Columna Branding */
.footer-logo h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.footer-logo .highlight {
    color: var(--color-verde-enfasis);
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #b0c4de; /* Gris azulado claro */
}

/* Redes Sociales */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--color-verde-enfasis);
    color: var(--color-azul-principal);
    transform: translateY(-3px);
}

/* Títulos de columnas */
.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-verde-enfasis);
    border-radius: 2px;
}

/* Enlaces del footer */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-verde-enfasis);
    padding-left: 5px; /* Efecto de movimiento al hover */
}

/* Información de contacto */
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center; /* Alineación corregida */
    gap: 12px;
    margin-bottom: 15px;
    color: #b0c4de;
}

.footer-contact .contact-icon {
    color: var(--color-verde-enfasis);
    flex-shrink: 0;
}

/* Barra inferior (Copyright) */
.footer-bottom {
    background-color: #013b63; /* Fondo aún más oscuro */
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #8899a6;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #8899a6;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--color-verde-enfasis);
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%); /* Centrar la línea decorativa */
    }

    .footer-socials {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}