/* VIP-бронирование /help/vip/ (GLA-357, 03.11.2026). Владелец: «страницу сделать более
   атмосферной/премиальной + карту танцпола для выбора столика события».
   Чёрный, фото зала и шампанское-золото вместо ярко-жёлтой .info-page-btn: золото только
   на акцентах (значок, суммы, главная кнопка), текст остаётся белым и серым.
   План клуба — css/components/_club-plan.css, окно брони — там же (.plan-modal). */

.vip-main {
    --vip-gold: #d6b26e;
    --vip-gold-soft: rgba(214, 178, 110, 0.35);
    --vip-gold-faint: rgba(214, 178, 110, 0.08);
    background: #050505;
    color: var(--color-text-primary);
    overflow: hidden;
}

/* GLA-365: страница кончается своим фоном, а ниже карточка подвала с крошками наверху
   (css/components/_breadcrumbs.css) и 24 px отступа фона body (#0d0d0d) — светлая полоса и
   светлые уголки у скругления. Тень того же цвета на 56 px вниз (24 отступа + 32 скругления)
   красит полосу и уголки в цвет страницы; саму карточку тень не трогает — та рисуется поверх. */
/* «VIP-» в конце строки и «браслетов» на следующей (GLA-366, 1280 px) — слово с дефисом
   неделимое; inline-block, а не nowrap: на совсем узком экране всё же перенесётся. */
.vip-nobr {
    display: inline-block;
}

.vip-main {
    box-shadow: 0 56px 0 #050505;
}

.vip-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Первый экран: фото зала под тёмной вуалью ---- */
.vip-hero {
    position: relative;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: flex-end;
    padding: 120px 0 72px;
    isolation: isolate;
}

.vip-hero-bg,
.vip-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.vip-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 100%, rgba(214, 178, 110, 0.16), transparent 55%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.75) 45%, #050505 100%);
}

.vip-hero-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.vip-back {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
}

.vip-back svg {
    width: 18px;
    height: 18px;
}

.vip-back:hover {
    color: #fff;
}

.vip-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--vip-gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.vip-crown {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--vip-gold-soft);
    border-radius: 50%;
}

.vip-crown svg {
    width: 18px;
    height: 18px;
}

.vip-title {
    margin: 0 0 18px;
    max-width: 760px;
    /* «БРОНИРОВАНИЕ» — одно длинное слово: на 320–390 оно обязано влезть в строку
       целиком, поэтому размер от ширины экрана, а не фиксированный минимум */
    font-size: clamp(1.75rem, 9vw, 4.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.vip-lead {
    margin: 0 0 32px;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
    line-height: 1.6;
}

.vip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.vip-actions-center {
    justify-content: center;
}

.vip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.vip-btn-gold {
    background: linear-gradient(135deg, #e9cf98 0%, #d6b26e 50%, #b8914a 100%);
    color: #0a0a0a;
}

.vip-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(214, 178, 110, 0.3);
}

.vip-btn-line {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
}

.vip-btn-line:hover {
    border-color: var(--vip-gold);
}

.vip-btn:focus-visible {
    outline: 2px solid var(--vip-gold);
    outline-offset: 3px;
}

/* ---- Разделы ---- */
.vip-section {
    padding: 72px 0;
}

.vip-section[id] {
    scroll-margin-top: 80px;
}

.vip-h2 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 800;
    line-height: 1.15;
}

.vip-h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    margin-bottom: 18px;
    background: var(--vip-gold);
}

.vip-sub {
    margin: 0 0 28px;
    max-width: 640px;
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Преимущества — четыре карточки с тонкой золотой кромкой */
.vip-perks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.vip-perk {
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(160deg, var(--vip-gold-faint) 0%, rgba(255, 255, 255, 0.02) 60%);
}

.vip-perk svg {
    width: 30px;
    height: 30px;
    margin-bottom: 20px;
    color: var(--vip-gold);
}

.vip-perk h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
}

.vip-perk p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* План клуба: схема в рамке с тёплой подсветкой */
.vip-plan-section {
    background: radial-gradient(ellipse at 50% 0%, rgba(214, 178, 110, 0.07), transparent 65%);
}

.vip-plan-box .cp-scroll,
.vip-plan-box .cp-skeleton {
    border-color: rgba(214, 178, 110, 0.22);
}

.vip-note {
    margin: 14px 0 0;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Условия: сумма депозита крупно, рядом три шага */
.vip-terms {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.vip-deposit {
    margin: 8px 0 10px;
}

.vip-deposit-sum {
    display: block;
    color: var(--vip-gold);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.vip-deposit-unit {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.vip-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: vip-step;
}

.vip-steps li {
    position: relative;
    padding: 0 0 26px 60px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    counter-increment: vip-step;
}

.vip-steps li:last-child {
    padding-bottom: 0;
}

.vip-steps li::before {
    content: counter(vip-step);
    position: absolute;
    left: 0;
    top: -4px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--vip-gold-soft);
    border-radius: 50%;
    color: var(--vip-gold);
    font-weight: 700;
}

.vip-steps b {
    color: #fff;
}

.vip-link {
    color: var(--vip-gold);
    white-space: nowrap;
}

/* Финал */
.vip-final {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vip-final-title {
    margin: 0 0 24px;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
}

@media (max-width: 900px) {
    .vip-perks {
        grid-template-columns: repeat(2, 1fr);
    }
    .vip-terms {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 520px) {
    .vip-hero {
        min-height: 0;
        padding: 96px 0 48px;
    }
    .vip-section {
        padding: 52px 0;
    }
    .vip-perks {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .vip-perk {
        display: grid;
        grid-template-columns: 30px 1fr;
        column-gap: 16px;
        padding: 20px;
    }
    .vip-perk svg {
        grid-row: span 2;
        margin: 0;
    }
    .vip-actions .vip-btn {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vip-btn {
        transition: none;
    }
    .vip-btn-gold:hover {
        transform: none;
    }
}
