/* ============================================
   FOOTER Y INFORMACIÓN DE CONTACTO
   ============================================ */

/* Contacto Rápido */
.contacto-rapido {
    padding: 2rem 0;
    background-color: var(--fondo-secundario);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contacto-icon {
    width: 40px;
    height: 40px;
    background: var(--azul-institucional);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texto-inverso);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contacto-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--texto-principal);
    margin-bottom: 0.25rem;
}

.contacto-info p {
    font-size: 0.85rem;
    color: var(--texto-secundario);
}

.contacto-info a {
    color: var(--azul-institucional);
    font-weight: 600;
}

/* Footer Principal */
.footer {
    position: relative;
    background-color: var(--fondo-footer);
    color: var(--texto-inverso);
    padding: 3rem 0 1.5rem;
    margin-top: 2.5rem;
}

.footer .container {
    position: relative;
    z-index: 2;
}

/* Ola decorativa superior del Footer */
.footer-wave-top {
    position: absolute;
    top: -35px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.footer-wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--texto-inverso);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--naranja);
}

/* Enlaces de Redes Sociales en el Footer (Sin diseño de card) */
.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-social-link:hover {
    transform: translateX(3px);
}

.social-icon-svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    flex-shrink: 0;
    fill: currentColor !important;
    display: inline-block !important;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Alcalde en Footer */
.alcalde-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.alcalde-foto-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: var(--azul-institucional);
    flex-shrink: 0;
}

.alcalde-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.alcalde-info h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1.1rem;
    color: #ffffff;
}

.alcalde-cargo {
    font-size: 0.85rem;
    color: var(--naranja);
    font-weight: 600;
    margin: 0;
}

/* Responsividad Footer */
@media (min-width: 768px) {
    .contacto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contacto-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
    }
}
