/* ==========================================================================
   Footer del sitio: bloque de informacion, iconos y barra legal.

   Extraido de benditasea_inject_custom_footer_styles() del plugin roto, que lo
   inyectaba en wp_head. El marcado vive en widgets de WordPress, asi que al
   desactivar aquel plugin el footer se quedo sin estilos: los <svg> del bloque
   no llevan width/height propios y se expandian hasta llenar su columna.
   ========================================================================== */
/* Footer Container Custom Styling */
.site-footer, 
#footer-widgets, 
.footer-widgets, 
.inside-footer-widgets {
    background: linear-gradient(180deg, #071c14 0%, #030d09 100%) !important;
    border-top: 2px solid rgba(0, 230, 118, 0.15) !important;
    color: #a7f3d0 !important;
    padding: 40px 0 20px 0 !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

/* Remove any theme widget background/border/shadows */
.site-footer .widget,
.footer-widgets .widget,
#footer-widgets .widget {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Widgets area alignment */
.inside-footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    background: transparent !important;
    border: none !important;
}

/* Make columns equal width/flex responsive */
.footer-widget-1, .footer-widget-2, .footer-widget-3 {
    flex: 1 1 300px;
    margin: 0 !important;
    padding: 10px 20px !important;
    background: transparent !important;
    border: none !important;
}

/* Logo widget custom layout */
.footer-widget-1 aside {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}
.footer-widget-1 img {
    max-width: 220px !important;
    height: auto !important;
    filter: drop-shadow(0 0 15px rgba(0, 230, 118, 0.05));
    transition: all 0.4s ease;
}
.footer-widget-1 img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 20px rgba(0, 230, 118, 0.2));
}

/* Info blocks styling */
.footer-info-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-title {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    position: relative !important;
    padding-bottom: 8px !important;
    margin-bottom: 10px !important;
    border-bottom: 2px solid rgba(0, 230, 118, 0.2) !important;
    display: inline-block !important;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00E676;
    box-shadow: 0 0 10px #00E676;
}

/* List items in columns */
.footer-info-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem !important;
    color: #cbd5e1 !important;
    line-height: 1.4 !important;
}
.footer-list-icon {
    width: 20px;
    height: 20px;
    color: #00E676;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(0, 230, 118, 0.3));
}
.footer-list-icon.warning-icon {
    color: #ff3838;
    filter: drop-shadow(0 0 5px rgba(255, 56, 56, 0.3));
}
.warning-text {
    color: #fca5a5 !important;
    font-weight: 600 !important;
}

/* Address and Google Maps styling */
.footer-address-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.address-details {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.footer-maps-link {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    transition: color 0.3s ease !important;
}
.footer-maps-link:hover {
    color: #00E676 !important;
}
.city-country {
    font-weight: 600 !important;
}

/* Clean Google Maps button badge */
.footer-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.25);
    color: #00E676 !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    align-self: flex-start;
    transition: all 0.3s ease !important;
}
.footer-map-btn:hover {
    background: #00E676 !important;
    color: #052e16 !important;
    border-color: #00E676 !important;
    box-shadow: 0 4px 12px rgba(0, 230, 118, 0.3);
}
.footer-map-btn svg {
    transition: transform 0.3s ease;
}
.footer-map-btn:hover svg {
    transform: translate(2px, -2px);
}

/* Copyright & bottom bar custom styling */
.site-info {
    background: #030a07 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 30px 0 !important;
    color: #64748b !important;
}
.inside-site-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Menu Legales list styling */
#menu-legales {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
#menu-legales a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}
#menu-legales a:hover {
    color: #00E676 !important;
}

/* Copyright note */
.copyright-bar {
    font-size: 0.85rem !important;
}
.copyright-bar a {
    color: #64748b !important;
    text-decoration: none !important;
}
.copyright-bar a:hover {
    color: #ffffff !important;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .inside-footer-widgets {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-widget-1, .footer-widget-2, .footer-widget-3 {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-widget-1 aside {
        justify-content: center;
    }
    .footer-info-block {
        align-items: center;
    }
    .footer-info-list li {
        justify-content: center;
    }
    .address-details {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .footer-map-btn {
        align-self: center;
    }
    .inside-site-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    #menu-legales {
        justify-content: center;
        gap: 12px;
    }
}
