/* ============================================
   FOOTER + WHATSAPP FLOAT
   (Extraído del <style> inline de pf/pie.php)
   ============================================ */

/* IGUALITARIO */
.pie{
background: linear-gradient(135deg, #1a7f4a 0%, #198754 50%, #20c997 100%)!important;
color:white!important;
}

.site-footer {
    background: #1a2a3a;
    color: #c8d6e5;
    font-size: 0.9rem;
}
.site-footer h6 {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
.site-footer a {
    color: #9db3c8;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    padding: 2px 0;
}
.site-footer a:hover {
    color: #fff;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #c8d6e5;
    font-size: 1rem;
    transition: all 0.2s;
    margin-right: 6px;
}
.footer-social a:hover {
    background: #198754;
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 0;
    font-size: 0.82rem;
    color: #6c8ba0;
}
.footer-bottom a {
    color: #9db3c8;
}
.footer-bottom a:hover {
    color: #fff;
}
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: max(24px, env(safe-area-inset-left));
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
    transition: all 0.2s;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    color: #fff;
}
@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 18px;
        left: max(18px, env(safe-area-inset-left));
    }
}
/* Ancla nativa: funciona sin JavaScript y separada del contacto flotante. */
.site-back-top {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 1030;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #d1e7dd;
    border-radius: 50%;
    background: #fff;
    color: #146c43;
    box-shadow: 0 3px 12px rgb(0 0 0 / 15%);
    text-decoration: none;
}
.site-back-top:hover { background: #e9f6ef; color: #0f5132; }
.site-back-top:focus-visible { outline: 3px solid #198754; outline-offset: 3px; }
