/* ==========================================================================
   Global Footer — Apple Minimalist Redesign with Feather Mask Top Fade
   ========================================================================== */

/* Resetear ondas y elementos antiguos del tema */
.footer-deco .liquid::before,
.footer-deco .liquid::after,
.footer-deco .stone::before,
.footer-deco .stone::after,
.footer-deco .line,
.footer-deco .line .deco,
.footer-deco .deco,
.footer-deco .wave,
.footer-deco .wave::before,
.footer-deco .deco-mask,
.footer-sitemap::after {
    display: none !important;
    background: none !important;
    border: none !important;
    content: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Footer Container con máscara de degradado en la parte superior (estilo Viruzz) */
div.footer-deco,
.footer-deco {
    position: relative !important;
    background: #0a081a !important;
    border-top: none !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    
    /* Máscara de degradado (feather fade) en el borde superior */
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 30px, #000000 100px) !important;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 30px, #000000 100px) !important;
}

/* Container de la imagen de Shapes de fondo */
.footer-bg-shapes {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.footer-bg-shapes img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.85 !important;
}

/* Sitemap y contenido con espacio holgado */
footer.footer-sitemap,
.footer-sitemap {
    position: relative !important;
    z-index: 2 !important;
    padding-top: 90px !important;
    padding-bottom: 90px !important;
    background: transparent !important;
}

/* Columna Logo */
.footer-sitemap .logo-area {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-sitemap .logo img {
    height: 38px !important;
    width: auto !important;
}

.footer-sitemap .body-2 {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
}

/* Títulos de secciones */
.footer-sitemap h6.title,
.footer-sitemap .title {
    color: #ffffff !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    margin-bottom: 20px !important;
    text-transform: uppercase;
}

/* Listas de enlaces */
.footer-sitemap ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-sitemap ul li {
    margin-bottom: 4px !important;
}

.footer-sitemap ul li a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    display: inline-block;
}

.footer-sitemap ul li a:hover {
    color: #ffffff !important;
    transform: translateX(3px) !important;
}

/* Redes Sociales — Íconos perfectamente centrados */
.footer-sitemap .socmed {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}

.footer-sitemap .socmed .btn.btn-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.footer-sitemap .socmed .btn.btn-icon:hover {
    background: rgba(101, 31, 255, 0.25) !important;
    border-color: rgba(101, 31, 255, 0.5) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.footer-sitemap .socmed .btn.btn-icon i,
.footer-sitemap .socmed .btn.btn-icon .icon,
.footer-sitemap .socmed .btn.btn-icon [class^="ion-"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
}

/* Selector de Idioma — Texto centrado de forma elegante */
.footer-sitemap .select-lang {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    margin-top: 14px !important;
    width: 100% !important;
    max-width: 220px !important;
}

.footer-sitemap .select-lang select {
    width: 100% !important;
    text-align: center !important;
    text-align-last: center !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.85rem !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-sitemap .select-lang select option {
    background: #121024 !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    footer.footer-sitemap,
    .footer-sitemap {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}
