/* --- Estilos base del footer --- */
.footer {
    background-color: #4CAF50; /* Color de fondo oscuro */
    color: #ffffff; /* Color de texto claro */
    padding: 3rem 0 0; /* Espaciado superior */
    font-family: 'Arial', sans-serif; /* Fuente general */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Grid de columnas --- */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    padding: 0 1rem;
}

/* --- Logo y descripción --- */
.footer-col img {
    margin-bottom: 1rem;
    filter: brightness(0) invert(1); /* Convierte el logo a blanco */
}

.footer-col p {
    line-height: 1.6;
    opacity: 0.8;
}

/* --- Títulos de columnas --- */
.footer-col h4 {
    color: #ffffff; /* Amarillo destacado */
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 2px;
    background-color: #ffffff;
}

/* --- Listas de enlaces --- */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #00000091; /* Amarillo al hover */
    padding-left: 5px; /* Efecto de desplazamiento */
}

/* --- Copyright --- */
.footer-copyright {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.655);
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}