/* ============================================
   FOOTER OSCURO PROFESIONAL - Estilo Landing Page
   Diseño "Sandwich" para Editorial Jurídica
   ============================================ */

/* Footer siempre oscuro (ambos modos) - Color de landing page */
.site-footer {
    background: #1a1f37 !important;
    color: #cbd5e1 !important;
    border-top: 1px solid #2d3548;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

/* Modo oscuro - aún más oscuro */
[data-theme="dark"] .site-footer {
    background: #151829 !important;
    border-top: 1px solid #252a3d;
}

/* Footer Container */
.site-footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer Sections */
.footer-section h3,
.footer-section h4 {
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section li {
    color: #a0aec0 !important;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Footer Links - Color naranja dorado de landing */
.footer-section a {
    color: #cbd5e1 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f59e0b !important;
}

/* Footer List */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1 !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a i {
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: #f59e0b !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Icono X específico - Color dorado/naranja como landing */
.social-links a.x-icon span {
    color: #f59e0b !important;
}

.social-links a.x-icon:hover span {
    color: #ffffff !important;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8 !important;
    font-size: 0.9rem;
    margin: 0;
}

/* Iconos en footer - Color naranja dorado */
.site-footer i {
    color: #f59e0b;
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer {
        padding: 2rem 0 1rem;
    }
}

/* Información de contacto */
.footer-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section .contact-info a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Enlaces de navegación */
.footer-section .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section .footer-links a {
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-section .footer-links a:hover {
    padding-left: 0.5rem;
}

/* Logo del footer */
.footer-section img {
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

.footer-section img:hover {
    filter: brightness(1.3);
}