/* =========================================================
   Баннер согласия на использование cookie.
   Палитра совпадает с основной темой сайта:
   тёмно-синий #1a2a5e, золото #c9a84c, светлый фон #eef3fb.
   ========================================================= */

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    /* ниже полноэкранного меню (3000) и модальных окон бронирования (4000-5100),
       чтобы баннер не перекрывал форму, если гость откроет её сразу */
    z-index: 2500;
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 22px 28px;
    background: #ffffff;
    color: #1a2a5e;
    border-top: 3px solid #c9a84c;
    border-radius: 4px;
    box-shadow: 0 18px 50px rgba(26, 42, 94, 0.28);
    /* стартовое состояние: баннер спрятан под нижней кромкой экрана */
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.45s ease;
}

.cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner__text {
    flex: 1 1 auto;
    font-family: 'Golos Text', 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #33406b;
}

.cookie-banner__title {
    display: block;
    margin-bottom: 6px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    color: #1a2a5e;
}

.cookie-banner__link {
    color: #1a2a5e;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(201, 168, 76, 0.9);
    transition: color 0.25s ease;
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
    color: #a8862f;
}

.cookie-banner__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-banner__btn {
    font-family: 'Golos Text', 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 13px 26px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.cookie-banner__btn:focus-visible {
    outline: 2px solid #1a2a5e;
    outline-offset: 3px;
}

.cookie-banner__btn--accept {
    background: linear-gradient(135deg, #c9a84c, #e8c96a);
    color: #1a2a5e;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
}

.cookie-banner__btn--accept:hover {
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5);
    transform: translateY(-1px);
}

.cookie-banner__btn--decline {
    background: transparent;
    color: #1a2a5e;
    border: 1px solid rgba(26, 42, 94, 0.3);
}

.cookie-banner__btn--decline:hover {
    background: #eef3fb;
    border-color: #1a2a5e;
}

/* Планшеты и телефоны: складываем в колонку, кнопки на всю ширину */
@media (max-width: 860px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 20px;
    }

    .cookie-banner__actions {
        flex-direction: column-reverse;
    }

    .cookie-banner__btn {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner {
        transition: opacity 0.2s ease;
        transform: none;
    }
}
