/* ══ Плаваюча кнопка "Потрібна інформація" ══
   Закріплена внизу справа на всіх сторінках, окрім самої форми контактів.
   Пускає хвилі (pulse-анімація) та веде на contact.html */

.floating-cta {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary, #187635);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-cta:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.floating-cta svg {
    width: 26px;
    height: 26px;
    stroke: #fff;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.floating-cta-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--primary, #187635);
    opacity: 0.55;
    animation: floating-cta-pulse 2.4s ease-out infinite;
    z-index: 1;
    pointer-events: none;
}

.floating-cta-ripple.delay {
    animation-delay: 1.2s;
}

@keyframes floating-cta-pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .floating-cta {
        width: 52px;
        height: 52px;
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .floating-cta svg {
        width: 22px;
        height: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-cta-ripple {
        animation: none;
        display: none;
    }
}
