/*
 * FOOTER STYLES - 3sidedcube inspired
 * Footer personalizado con fondo verde neón
 */

/* ========================================
   OCULTAR FOOTER DEL THEME
   ======================================== */

.site-footer,
footer.site-footer,
#colophon {
    display: none !important;
}

/* ========================================
   FOOTER CUSTOMIFY - Verde Neón
   ======================================== */

.customify-footer {
    background: var(--customify-verde-neon) !important;
    color: var(--customify-negro) !important;
    border-top: var(--customify-border-thick) solid var(--customify-negro) !important;
    padding: 0 !important;
    font-family: var(--customify-font-family) !important;
}

/* ========================================
   CONTENIDO PRINCIPAL DEL FOOTER
   ======================================== */

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

/* ========================================
   SECCIÓN: LOGO/MARCA
   ======================================== */

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--customify-negro) !important;
    border: var(--customify-border-thick) solid var(--customify-negro) !important;
    box-shadow: var(--customify-shadow-md) !important;
    padding: var(--customify-spacing-md) var(--customify-spacing-lg) !important;
    font-size: 18px !important;
    font-weight: var(--customify-font-weight-extrabold) !important;
    letter-spacing: -0.5px !important;
    color: var(--customify-verde-neon) !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: var(--customify-transition-normal) !important;
    border-radius: 4px !important;
    width: fit-content;
}

.footer-logo:hover {
    transform: var(--customify-hover-lift-sm) !important;
    box-shadow: var(--customify-shadow-hover) !important;
    color: var(--customify-verde-neon) !important;
}

.footer-tagline {
    font-size: 14px;
    font-weight: var(--customify-font-weight-medium);
    color: var(--customify-negro);
    line-height: 1.5;
    max-width: 250px;
}

/* ========================================
   SECCIÓN: NAVEGACIÓN
   ======================================== */

.footer-nav h4,
.footer-social h4,
.footer-contact h4 {
    font-size: 14px !important;
    font-weight: var(--customify-font-weight-extrabold) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--customify-negro) !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--customify-negro);
    display: inline-block;
}

.footer-nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav ul li {
    margin-bottom: 12px !important;
}

.footer-nav ul li a {
    font-size: 15px !important;
    font-weight: var(--customify-font-weight-semibold) !important;
    color: var(--customify-negro) !important;
    text-decoration: none !important;
    transition: var(--customify-transition-normal) !important;
    position: relative;
    display: inline-block;
}

.footer-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--customify-negro);
    transition: width 0.3s ease;
}

.footer-nav ul li a:hover::after {
    width: 100%;
}

/* ========================================
   SECCIÓN: REDES SOCIALES
   ======================================== */

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: var(--customify-border-thick) solid var(--customify-negro) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: var(--customify-transition-normal) !important;
    box-shadow: var(--customify-shadow-sm) !important;
}

.social-btn svg {
    width: 22px;
    height: 22px;
}

.social-btn:hover {
    transform: var(--customify-hover-lift-sm) !important;
    box-shadow: var(--customify-shadow-md) !important;
}

/* Colores por red social */
.social-btn.instagram {
    background: var(--customify-rosa-magenta) !important;
    color: var(--customify-blanco) !important;
}

.social-btn.facebook {
    background: var(--customify-negro) !important;
    color: var(--customify-blanco) !important;
}

.social-btn.twitter {
    background: var(--customify-negro) !important;
    color: var(--customify-blanco) !important;
}

.social-btn.tiktok {
    background: var(--customify-rosa-claro) !important;
    color: var(--customify-blanco) !important;
}

.social-btn.whatsapp {
    background: var(--customify-verde-esmeralda) !important;
    color: var(--customify-blanco) !important;
}

.social-btn.youtube {
    background: #FF0000 !important;
    color: var(--customify-blanco) !important;
}

/* ========================================
   SECCIÓN: CONTACTO
   ======================================== */

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: var(--customify-font-weight-medium);
    color: var(--customify-negro);
}

.footer-contact-item span.icon {
    font-size: 18px;
    line-height: 1;
}

.footer-contact-item a {
    color: var(--customify-negro) !important;
    text-decoration: none !important;
    font-weight: var(--customify-font-weight-semibold) !important;
    transition: var(--customify-transition-fast) !important;
}

.footer-contact-item a:hover {
    text-decoration: underline !important;
}

/* ========================================
   BARRA INFERIOR - COPYRIGHT
   ======================================== */

.footer-bottom {
    background: var(--customify-negro) !important;
    padding: 20px;
    text-align: center;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 13px !important;
    font-weight: var(--customify-font-weight-medium) !important;
    color: var(--customify-blanco) !important;
    margin: 0 !important;
}

.footer-copyright a {
    color: var(--customify-verde-neon) !important;
    text-decoration: none !important;
    font-weight: var(--customify-font-weight-bold) !important;
}

.footer-copyright a:hover {
    text-decoration: underline !important;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 12px !important;
    color: var(--customify-gris-claro) !important;
    text-decoration: none !important;
    transition: var(--customify-transition-fast) !important;
}

.footer-legal-links a:hover {
    color: var(--customify-verde-neon) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px 30px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .footer-tagline {
        max-width: 100%;
        text-align: center;
    }

    .footer-nav h4,
    .footer-social h4,
    .footer-contact h4 {
        display: block;
        text-align: center;
    }

    .footer-social-links {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

