/* Estilos para el footer */
.footer {
    background: linear-gradient(135deg, #064b98 0%, #053a7a 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF6B35, transparent);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #FF6B35;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

.footer-logo p {
    font-size: 1.1rem;
    font-style: italic;
    color: #f0f0f0;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #FF6B35;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #5faee3;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #f0f0f0;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding-left: 15px;
}

.footer-column ul li a:before {
    content: '›';
    position: absolute;
    left: 0;
    color: #FF6B35;
    transition: transform 0.3s;
}

.footer-column ul li a:hover {
    color: #FF6B35;
    padding-left: 20px;
}

.footer-column ul li a:hover:before {
    transform: scale(1.2);
}

.footer-column address {
    font-style: normal;
    line-height: 1.6;
}

.footer-column address p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f0f0f0;
}

.footer-column address p i {
    color: #FF6B35;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
    background: #FF6B35;
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Botón volver arriba */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FF6B35;
    color: white;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #064b98;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .footer {
        padding-bottom: 80px; /* Espacio para el menú móvil */
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 2rem;
    }
    
    .footer-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul li a {
        padding-left: 0;
    }
    
    .footer-column ul li a:before {
        display: none;
    }
    
    .footer-column ul li a:hover {
        padding-left: 0;
    }
    
    .footer-column address p {
        justify-content: center;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 70px;
        right: 20px;
    }
}