.sd-floating-icon--phone {
    display: none;
}

.sd-floating-icon {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #e53935 0%, #d32f2f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 99999;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.sd-floating-icon svg { display: block; }

.sd-floating-icon:active,
.sd-floating-icon:focus {
    transform: scale(0.96);
    outline: none;
}

.sd-floating-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.sd-floating-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    left: 0;
    top: 0;
    box-shadow: 0 0 0 0 rgba(229,57,53,0.5);
    animation: sd-pulse 2.6s infinite;
    pointer-events: none;
}

@keyframes sd-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229,57,53,0.45);
        transform: scale(1);
        opacity: 1;
    }
    70% {
        box-shadow: 0 0 0 18px rgba(229,57,53,0.0);
        transform: scale(1.08);
        opacity: 0.0;
    }
    100% {
        box-shadow: 0 0 0 18px rgba(229,57,53,0);
        transform: scale(1.08);
        opacity: 0;
    }
}

/* ukryj na bardzo małych ekranach (opcjonalne) */
@media (max-width: 360px) {
    .sd-floating-icon {
        right: 12px;
        bottom: 12px;
        width: 48px;
        height: 48px;
    }
}

@media all and ( max-width: 787px ) {
    .sd-floating-icon--phone {
        display: flex;
    }

    .sd-floating-icon--mail {
        display: none;
    }
}