/* ==========================================================================
   EX.B.U.D. — СТИЛИ ПОДВАЛА, ДИСКЛЕЙМЕРА И COOKIE
   ========================================================================== */

/* 1. БАЗОВЫЙ КАРКАС ФУТЕРА */
.footer {
    background-color: var(--brand-dark);
    color: #E2DFD6;
    padding: 64px 0 44px;
    margin-top: auto; /* Всегда прижимает футер к низу экрана */
}

.footer__container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 2.2fr;
    gap: 36px;
}

/* Бренд и слоган */
.footer__logo {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.footer__tagline {
    font-size: 13px;
    color: #9AA096;
    line-height: 1.6;
    max-width: 300px;
}

/* Заголовки колонок */
.footer__heading {
    font-size: 13.5px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Ссылки меню */
.footer__nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav a {
    font-size: 13px;
    color: #B5B9B2;
    transition: color 0.2s ease;
}

.footer__nav a:hover {
    color: #F5E0A3;
}

.footer__sub-desc {
    font-size: 12px;
    color: #8E948A;
    line-height: 1.45;
    margin-bottom: 12px;
}

/* ==========================================================================
   БЛОК ТЕЛЕГРАМ-КЛУБА И СОЦСЕТЕЙ
   ========================================================================== */
.footer__btn-tg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1C1B18;
    color: #F5E0A3; /* Благородное золото */
    padding: 11px 22px;
    border-radius: var(--border-radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer__btn-tg:hover {
    background: #D4AF37;
    color: #1A1917;
    border-color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.footer__btn-tg-arrow {
    transition: transform 0.2s ease;
}

.footer__btn-tg:hover .footer__btn-tg-arrow {
    transform: translateX(3px);
}

/* Линейка круглых медали-иконок */
.footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #C0C7BE;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.footer__social-link:hover {
    background: #FFFFFF;
    color: #1A1917;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* 3. ОФИЦИАЛЬНЫЙ БЛОК ВРАЧЕБНОЙ ОТВЕТСТВЕННОСТИ */
.footer__responsibility-box {
    margin-top: 48px;
    background: rgba(22, 28, 22, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.35); /* Четкий благородный золотой кант */
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.footer__responsibility-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer__responsibility-icon {
    color: #F5E0A3;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer__responsibility-badge {
    font-family: monospace;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #F5E0A3;
    text-transform: uppercase;
}

.footer__responsibility-lead {
    font-size: 13.5px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.55;
    margin-bottom: 8px;
}

.footer__responsibility-text {
    font-size: 12.5px;
    color: #C0C7BE;
    line-height: 1.6;
    margin: 0;
}

/* 4. НИЖНЯЯ СТРОКА: КОПИРАЙТ И БЕЗОПАСНОСТЬ (ВОССТАНОВЛЕННЫЕ СТИЛИ) */
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #8C9288;
}

.footer__security-badge {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #B5B9B2;
}

/* 5. ПЛАВАЮЩИЙ COOKIE-БАННЕР (GDPR) */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    max-width: 440px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner__content {
    background: #1C1B18;
    color: #FFFFFF;
    border-radius: 16px;
    padding: 16px 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-banner__text {
    font-size: 12px;
    line-height: 1.45;
    color: #D2CEC4;
}

.cookie-banner__text a {
    color: #F5E0A3;
    text-decoration: underline;
}

.cookie-banner__btn {
    background: #D4AF37;
    color: #1A1917;
    border-radius: var(--border-radius-pill);
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.cookie-banner__btn:hover {
    background: #F5E0A3;
    transform: scale(1.03);
}

/* ==========================================================================
   АДАПТИВНОСТЬ (ЕДИНЫЙ СТРОГИЙ БЛОК)
   ========================================================================== */

/* Планшеты */
@media (max-width: 1024px) {
    .footer__container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer__col--newsletter {
        grid-column: span 2;
    }
}

/* Смартфоны */
@media (max-width: 600px) {
    .footer {
        padding: 48px 0 32px;
    }
    .footer__container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer__col--newsletter {
        grid-column: span 1;
    }

    .footer__responsibility-box {
        padding: 20px 18px;
        margin-top: 36px;
    }
    .footer__responsibility-lead {
        font-size: 13px;
    }
    .footer__responsibility-text {
        font-size: 12px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }
    .cookie-banner__btn {
        width: 100%;
        padding: 10px;
    }
}