/* ==========================================
   ESTILOS DEL PIE DE PÁGINA (FOOTER)
   ========================================== */

.main-footer {
    background-color: var(--white);
    padding: 50px 8% 20px 8%;
    border-top: 2px solid #fff0f2; /* Una línea divisoria muy sutil en tono rosa */
    
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.footer-column h3 span {
    color: var(--primary-color);
}

.footer-column h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 5px;
}

/* Decoración tierno debajo de los títulos del footer */
.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    color: #777777;
    margin-bottom: 10px;
}

.footer-column p i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Enlaces del Footer */
.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #777777;
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Efecto dinámico sutil al pasar el mouse */
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #fff0f2; /* Fondo rosa ultra-claro */
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Barra inferior de derechos reservados */
.footer-bottom {
    border-top: 1px solid #f1f1f1;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #999999;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 600px) {
    .main-footer {
        padding: 40px 5% 20px 5%;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%); /* Centra la línea decorativa en móviles */
    }

    .social-links {
        justify-content: center;
    }
    
    .footer-column ul li a:hover {
        padding-left: 0; /* Desactiva el desplazamiento lateral en móviles */
    }
}