/* Floating CTA coordination v1.3.0.0 */

body.hire-cta-active .wa-float-cta {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85) translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

body.hire-cta-active .back-to-top {
    bottom: calc(var(--hire-cta-offset, 88px) + 56px);
}

.hire-cta-float {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: linear-gradient(135deg, #1E3A8A, #2563EB 50%, #3B82F6);
    color: #fff;
    border-radius: 99px;
    padding: 12px 20px 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 9980;
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
    pointer-events: none;
}
.hire-cta-float.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
    display: flex !important;
}
.hire-cta-float__link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}
.hire-cta-float__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 4px rgba(52, 211, 153, 0.8); }
    50% { box-shadow: 0 0 12px rgba(52, 211, 153, 1); }
}
.hire-cta-float__close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.2s;
}
.hire-cta-float__close:hover { background: rgba(255, 255, 255, 0.25); }

@media (max-width: 767px) {
    .hire-cta-float { bottom: 100px; }
    body.hire-cta-active .back-to-top { bottom: 168px; }
}

@media (min-width: 768px) {
    .hire-cta-float { bottom: 32px; }
}

.ds-detail-foot-spacer { padding-bottom: 5rem; }

@media (prefers-reduced-motion: reduce) {
    .hire-cta-float__dot { animation: none; }
}
