/* ==========================================================================
   Botón flotante de WhatsApp + Barra flotante de redes sociales
   ========================================================================== */

/* Teléfonos y WhatsApp cliqueables en Sucursales */
.contact-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed #9dbb54;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus {
    color: #7fa03c;
    border-color: #7fa03c;
    text-decoration: none;
}

/* WhatsApp flotante (abajo a la derecha) */
.float-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-whatsapp:hover,
.float-whatsapp:focus {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    text-decoration: none;
}

.float-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

/* Barra de redes sociales flotante (fija a la izquierda) */
.float-social {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.float-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.float-social a svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.float-social a:hover,
.float-social a:focus {
    filter: brightness(0.85);
    color: #ffffff;
    text-decoration: none;
}

.float-social a + a {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.rrss-facebook {
    background-color: #1877f2;
}

.rrss-instagram {
    background-color: #e4405f;
}

/* Íconos de redes sociales en el pie de página */
.pie-rrss {
    align-items: center;
    gap: 8px;
}

.rrss {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #ffffff;
    font-size: 17px;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.rrss svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.rrss:hover,
.rrss:focus {
    filter: brightness(0.85);
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 767px) {
    .float-whatsapp {
        width: 50px;
        height: 50px;
        right: 12px;
        bottom: 12px;
    }

    .float-whatsapp svg {
        width: 26px;
        height: 26px;
    }

    .float-social a {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .float-social a svg {
        width: 17px;
        height: 17px;
    }
}
