/* ============================================
   FOOTER - ELISAY CODE
   Estilos para el pie de página
   ============================================ */

.footer {
    background: var(--bg-color);
    padding: 5rem 9% 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

/* ========== Footer Content ========== */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

/* ========== Footer Section ========== */
.footer-section h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--main-color);
    font-weight: var(--font-weight-bold);
}

.footer-section h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: var(--font-weight-semibold);
}

.footer-section p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-section ul li a:hover {
    color: var(--main-color);
    transform: translateX(5px);
}

.footer-section ul li i {
    font-size: 1.8rem;
    min-width: 1.8rem;
}

/* ========== Footer Social ========== */
.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(0, 217, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--main-color);
    font-size: 2rem;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--main-color);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

/* ========== Footer Bottom ========== */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

/* ========== Footer Links ========== */
.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--main-color);
}

/* ========== Scroll to Top Button ========== */
.scroll-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background: var(--main-color);
    color: var(--bg-color);
    border: none;
    border-radius: var(--radius-full);
    font-size: 2.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: var(--z-tooltip);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}

.scroll-top.active {
    display: flex;
}

.scroll-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.6);
}

/* ========== Responsive Footer ========== */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 5% 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 450px) {
    .scroll-top {
        bottom: 2rem;
        right: 2rem;
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
}
