/* Footer Moderno y Responsivo */
.footer {
    background-color: #0b5891;
    color: #ffffff;
    padding: 3rem 0 0 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

/* Logo y marca */
.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
}

.footer-brand-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-slogan {
    font-size: 0.95rem;
    font-style: italic;
}

/* Títulos de secciones */
.footer-heading {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 50px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

/* Enlaces rápidos */
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: "›";
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 20px;
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

/* Contacto */
.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.footer-contact-icon {
    min-width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.footer-contact li:hover .footer-contact-icon {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.footer-contact-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-text a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Redes sociales */
.footer-social {
    margin-top: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ffffff;
    color: #0b5891;
    transform: translateY(-5px);
}

/* Línea divisoria */
.footer-divider {
    margin: 2rem 0 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer inferior */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.copyright,
.developer {
    margin-bottom: 0;
}

.developer a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.developer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.developer a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.developer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Responsive */
@media (max-width: 991.98px) {
    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-heading {
        margin-top: 1.5rem;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    .footer {
        padding-top: 2rem;
    }

    .copyright,
    .developer {
        text-align: center;
    }

    .copyright {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .footer-logo {
        max-width: 100px;
    }

    .footer-brand-info h4 {
        font-size: 1.2rem;
    }

    .footer-contact-text,
    .footer-tagline,
    .footer-slogan,
    .copyright,
    .developer {
        font-size: 0.85rem;
    }
}