/* =====================================================
   REDES SOCIALES FLOTANTES - 10COM BUSINESS SOLUTIONS
   ACABADO PREMIUM Y ALTA DEFINICION
   ===================================================== */

.redes-sociales-flotantes {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

.redes-sociales-flotantes .red-social {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    text-decoration: none;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.22),
        0 0 10px rgba(255, 255, 255, 0.18),
        inset 0 1px 3px rgba(255, 255, 255, 0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.redes-sociales-flotantes .red-social::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.redes-sociales-flotantes .red-social svg {
    position: relative;
    z-index: 1;
    width: 29px;
    height: 29px;
    fill: currentColor;
    shape-rendering: geometricPrecision;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.20));
}

.redes-sociales-flotantes .red-social:hover {
    transform: scale(1.14);
    filter: brightness(1.13);
}

.redes-sociales-flotantes .red-social svg {
    transition: transform 0.25s ease, filter 0.25s ease;
}

.redes-sociales-flotantes .red-social:hover svg {
    transform: scale(1.25);
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.65));
}

.redes-sociales-flotantes .instagram {
    background: linear-gradient(
        135deg,
        #feda75 0%,
        #fa7e1e 24%,
        #d62976 52%,
        #962fbf 76%,
        #4f5bd5 100%
    );
    box-shadow:
        0 4px 12px rgba(214, 41, 118, 0.30),
        0 0 13px rgba(214, 41, 118, 0.24),
        inset 0 1px 3px rgba(255, 255, 255, 0.35);
}

.redes-sociales-flotantes .facebook {
    background: linear-gradient(145deg, #4595ff, #0866e8 75%);
    box-shadow:
        0 4px 12px rgba(24, 119, 242, 0.32),
        0 0 13px rgba(24, 119, 242, 0.25),
        inset 0 1px 3px rgba(255, 255, 255, 0.35);
}

.redes-sociales-flotantes .whatsapp {
    background: linear-gradient(145deg, #54ed86, #19bd59 75%);
    box-shadow:
        0 4px 12px rgba(37, 211, 102, 0.32),
        0 0 13px rgba(37, 211, 102, 0.25),
        inset 0 1px 3px rgba(255, 255, 255, 0.35);
}

.redes-sociales-flotantes .red-social:focus-visible {
    outline: 3px solid #1b2f62;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .redes-sociales-flotantes {
        right: 10px;
        gap: 10px;
    }

    .redes-sociales-flotantes .red-social {
        width: 46px;
        height: 46px;
    }

    .redes-sociales-flotantes .red-social svg {
        width: 25px;
        height: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .redes-sociales-flotantes .red-social {
        transition: none;
    }
}
