/* Estilos para el footer */
.footer {
    background-color: #1a1f36;
    color: #e2e8f0;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(99, 102, 241, 0) 0%,
        rgba(99, 102, 241, 0.5) 50%,
        rgba(99, 102, 241, 0) 100%
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Sección Principal */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Marca y Descripción */
.footer-brand {
    padding-right: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Links de Redes Sociales */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    transform: translateY(-2px);
}

/* Links del Footer */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

/* Información de Contacto */
.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
}

.contact-info li i {
    color: #818cf8;
    font-size: 0.875rem;
}

/* Divisor */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Parte inferior */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
}

.copyright {
    color: #94a3b8;
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #fff;
}

.separator {
    color: #4b5563;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }
}

/* Dark Mode Enhancement */
@media (prefers-color-scheme: dark) {
    .footer {
        background-color: #0f172a;
    }

    .social-link:hover {
        background-color: rgba(99, 102, 241, 0.3);
    }
}