/* =========================
   WHATSAPP + REDES FLOTANTES
========================= */

.whatsapp-chat{
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:3000;
}

.whatsapp-toggle{
    width:56px;
    height:56px;
    border:none;
    border-radius:50%;
    background:#25D366;
    color:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    cursor:pointer;
    box-shadow:0 14px 34px rgba(0,0,0,.24);
    transition:.25s;
}

.whatsapp-toggle:hover{
    transform:translateY(-3px) scale(1.05);
}

.whatsapp-panel{
    position:absolute;
    right:0;
    bottom:84px;
    width:360px;
    max-width:calc(100vw - 32px);
    background:#ffffff;
    border-radius:26px;
    overflow:hidden;
    box-shadow:0 22px 60px rgba(0,0,0,.25);
    opacity:0;
    pointer-events:none;
    transform:translateY(16px) scale(.96);
    transition:.25s;
}

.whatsapp-chat.active .whatsapp-panel{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0) scale(1);
}

.whatsapp-header{
    background:#25D366;
    color:#ffffff;
    padding:18px 20px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
}

.whatsapp-header h3{
    font-size:20px;
    margin-bottom:4px;
}

.whatsapp-header p{
    font-size:14px;
    opacity:.9;
}

.whatsapp-close{
    width:34px;
    height:34px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.22);
    color:#ffffff;
    cursor:pointer;
}

.whatsapp-body{
    padding:18px;
    background:#F6F3EE;
}

.whatsapp-message{
    background:#ffffff;
    color:#2F5D50;
    padding:14px 16px;
    border-radius:16px;
    font-size:14px;
    line-height:1.45;
    margin-bottom:16px;
    border:1px solid rgba(47,93,80,.14);
}

.whatsapp-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.whatsapp-form textarea{
    width:100%;
    resize:none;
    border:1px solid rgba(47,93,80,.18);
    border-radius:16px;
    padding:14px;
    font-family:inherit;
    font-size:14px;
    outline:none;
    color:#2F5D50;
}

.whatsapp-form textarea:focus{
    border-color:#25D366;
}

.whatsapp-form button{
    border:none;
    border-radius:999px;
    background:#2F5D50;
    color:#ffffff;
    padding:14px 18px;
    font-weight:900;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    transition:.25s;
}

.whatsapp-form button:hover{
    transform:translateY(-2px);
    background:#376d5d;
}

.instagram-float,
.tiktok-float{
    position:absolute;
    right:0;
    width:56px;
    height:56px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#ffffff;
    font-size:28px;
    box-shadow:0 14px 34px rgba(0,0,0,.24);
    transition:.25s;
}

.instagram-float{
    bottom:66px;
    background:linear-gradient(
        135deg,
        #833AB4,
        #FD1D1D,
        #F77737,
        #FCAF45
    );
}

.tiktok-float{
    bottom:132px;
    background:#000000;
}

.instagram-float:hover,
.tiktok-float:hover{
    transform:translateY(-3px) scale(1.05);
    color:#ffffff;
}

@media(max-width:520px){
    .whatsapp-chat{
        right:14px;
        bottom:14px;
    }

    .whatsapp-panel{
        width:calc(100vw - 28px);
        bottom:78px;
    }
}
