/* Estilos exclusivos para funcionalidades compartidas de páginas de servicios */

.service-floating-contact {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #002874 0%, #0056b3 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(0, 40, 116, 0.35), 0 6px 12px rgba(0, 0, 0, 0.2);
    animation: serviceContactFloat 3s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, opacity 0.3s ease;
    opacity: 0;
}

.service-floating-contact.service-floating-contact--ready {
    opacity: 1;
}

.service-floating-contact:hover {
    transform: scale(1.1);
    filter: brightness(1.05);
    box-shadow: 0 18px 34px rgba(0, 40, 116, 0.4), 0 8px 16px rgba(0, 0, 0, 0.26);
    color: #ffffff;
}

.service-floating-contact:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.service-floating-contact__icon {
    width: 30px;
    height: 30px;
    display: block;
}

@keyframes serviceContactFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .service-floating-contact {
        width: 58px;
        height: 58px;
        right: 16px;
        bottom: 16px;
        border-radius: 16px;
    }

    .service-floating-contact__icon {
        width: 27px;
        height: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-floating-contact {
        animation: none;
        transition: none;
    }

    .service-floating-contact:hover {
        transform: none;
    }
}
