/* ════════════════════════════════════════════
   FIXED BOTTOM BAR — GLASS MORPHISM DESIGN
   ════════════════════════════════════════════ */

.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    background: rgba(20, 20, 20, 0.80);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border-top: 1px solid rgba(255, 255, 255, 0.07);

    padding: 14px 24px;
    height: 66px;

    /* Transition for scroll visibility */
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0, 1);
}
.fixed-icons-group {
    display: flex;
    align-items: center;
    gap: 14px; /* расстояние между иконками на десктопе */
}


/* Initially hidden on mobile (will be shown by JS via .is-visible class) */
@media (max-width: 768px) {
    .fixed-bottom-bar {
        transform: translateY(120%);
        justify-content: space-between;
        /* Hide by default */
    }
    
    .fixed-icons-group {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .fixed-bottom-bar.is-visible {
        transform: translateY(0);
        /* Slide up */
    }
}

/* ── Online Booking Button ── */
.btn-online {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    border: 2px solid #fff;
    color: #1a1a1a;

    font-family: Montserrat;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;

    padding: 10px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-online:hover {
    background: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* ── Icon Buttons (round) ── */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    text-decoration: none;

    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.icon-btn:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #1a1a1a !important;
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.icon-btn .svg-whatsapp {
    width: 26px;
    height: 26px;
}

.icon-btn .svg-telegram {
    width: 22px;
    height: 22px;
}

/* ── Responsive Design ── */
@media (max-width: 480px) {
    .fixed-bottom-bar {
        gap: 10px;
        padding: 12px 14px;
        height: 60px;
    }

    .btn-online {
        font-size: 11.5px;
        letter-spacing: 1.4px;
        padding: 9px 20px;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
    }

    .icon-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ── Google reCAPTCHA Badge Control ── */
/* Hide by default (push down 100px so it's offscreen/unobtrusive) */
.grecaptcha-badge {
    transition: transform 0.4s ease, opacity 0.4s ease !important;
    transform: translateY(100px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 9000 !important;
    /* Below our bottom bar */
}

/* Show when at footer (JS adds this class) */
/* We keep it slightly offset if desired, but making it visible */
.grecaptcha-badge.is-visible-footer {
    transform: translateY(0) !important;
    /* Bring to default position set by Google (bottom: 14px) */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Скрытие кнопки при скролле (когда появляется нижняя панель) */
.mobile-fixed-book-btn {
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(0);
    opacity: 1;
}

/* Этот класс будет добавлять JS */
.mobile-fixed-book-btn.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}