/* footer.css */

/* Contenedor general */
.footer {
    background: #222; /* gris muy oscuro */
    color: #fff; /* texto claro para contraste */
    padding: 30px 20px;
    border-radius: 0px;
    font-family: Arial, sans-serif;
}

/* Columnas del footer-top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-col {
    flex: 1 1 200px; /* que se adapte al tamaño mínimo */
}

.footer-col h4 {
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #2DB614;
}

/* Redes sociales */
.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    background: #2DB614;
    color: #fff;
    border-radius: 50%;
    transition: background 0.2s;
    text-decoration: none;
}

.footer-socials a:hover {
    background: #1a8e0c;
}

.footer-socials a,
.footer-socials a:hover,
.footer-socials a:visited {
    text-decoration: none;
}

/* Mapa */
.footer-info {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 15px;
}

.footer-info iframe {
    margin-top: 10px;
}

/* Footer bottom centrado */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.descripcion-institucional {
    max-width: 500px;        /* evita que el texto sea demasiado largo */
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.6;        /* mejora la lectura */
    color: #bdbdbd;          /* gris suave */
    text-align: left;
}

/* Móviles */
@media (max-width: 768px) {
    .descripcion-institucional {
        text-align: left;
        margin: 20px auto 0 auto; /* centra el bloque */
        font-size: 13px;
        line-height: 1.6;
        padding: 0 5px; /* evita que el texto toque los bordes */
    }
}