/* ═══════════════════════════════════════════════════
   Новогодний корпоратив — сезонная акцентная секция
═══════════════════════════════════════════════════ */
.newyear-promo {
    position: relative;
    overflow: hidden;
    padding-top: 84px;
    background:
        radial-gradient(ellipse at 12% 15%, rgba(214, 175, 107, 0.16), transparent 55%),
        radial-gradient(ellipse at 88% 85%, rgba(58, 130, 102, 0.32), transparent 55%),
        linear-gradient(160deg, #0c2420 0%, #0a1f1c 45%, #10231d 100%);
    border-top: 1px solid rgba(214, 175, 107, 0.16);
    border-bottom: 1px solid rgba(214, 175, 107, 0.16);
}

/* Провод гирлянды */
.newyear-promo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
    opacity: 0.6;
}

/* Огоньки гирлянды */
.newyear-promo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    pointer-events: none;
    background-repeat: repeat-x;
    background-size: 108px 24px;
    background-image:
        radial-gradient(circle 3.5px at 18px 12px, rgba(255, 214, 138, 0.95), rgba(255, 214, 138, 0) 72%),
        radial-gradient(circle 3.5px at 54px 8px,  rgba(228, 96, 80, 0.92),  rgba(228, 96, 80, 0) 72%),
        radial-gradient(circle 3.5px at 90px 13px, rgba(126, 214, 166, 0.92), rgba(126, 214, 166, 0) 72%);
    filter: drop-shadow(0 0 5px rgba(255, 206, 130, 0.55));
    animation: ny-twinkle 3.4s ease-in-out infinite;
}

@keyframes ny-twinkle {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

.newyear-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 48px;
    padding: 46px 50px;
    border: 1px solid rgba(214, 175, 107, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 248, 234, 0.03);
}

.newyear-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
}

.newyear-cta {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    padding-top: 24px;
}

/* Постер держит всю высоту правой колонки, программа уходит влево —
   иначе левая колонка вдвое короче постера и секция распадается */
.newyear-poster {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
}

.newyear-promo .eyebrow {
    color: var(--accent-soft);
}

/* ── Программа вечера ── */
.newyear-program {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid rgba(214, 175, 107, 0.16);
}

.newyear-program .eyebrow {
    margin-bottom: 0;
}

.newyear-program-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.newyear-program-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(214, 175, 107, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 248, 234, 0.04);
    color: rgba(255, 244, 233, 0.9);
    font-size: 0.88rem;
    transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

/* Нечётный последний пункт занимает ряд целиком, а не половину */
.newyear-program-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.newyear-program-list li:hover {
    transform: translateY(-3px);
    border-color: rgba(214, 175, 107, 0.4);
    background: rgba(214, 175, 107, 0.08);
}

.newyear-program-list svg {
    flex-shrink: 0;
    color: var(--accent-soft);
}

.newyear-copy p {
    max-width: 52ch;
    margin-bottom: 0;
}

/* ── Состав меню ── */
.newyear-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.newyear-chips li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid rgba(214, 175, 107, 0.28);
    border-radius: 999px;
    background: rgba(214, 175, 107, 0.07);
    color: rgba(255, 244, 233, 0.87);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.newyear-chips li::before {
    content: "✦";
    font-size: 0.68rem;
    color: var(--accent-soft);
}

.newyear-actions {
    margin-bottom: 14px;
}

.newyear-call {
    gap: 9px;
}

.newyear-call svg {
    flex-shrink: 0;
}

/* На тач-устройствах кнопка звонит, на десктопе — показывает номер
   и ведёт к контактам: там схема tel: обработчика обычно не имеет */
.newyear-call-tap {
    display: none;
}

@media (hover: none) {
    .newyear-call-tap {
        display: inline;
    }

    .newyear-call-num {
        display: none;
    }
}

button[data-open-newyear-menu] {
    cursor: pointer;
}

.newyear-note {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    color: rgba(214, 175, 107, 0.7);
    font-style: italic;
}

/* ── Постер меню ── */
.newyear-poster {
    position: relative;
    display: block;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 0;
    border: 1px solid rgba(214, 175, 107, 0.24);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 248, 234, 0.04);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(214, 175, 107, 0.08),
        inset 0 0 0 1px rgba(255, 244, 233, 0.06);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease;
}

.newyear-poster:hover,
.newyear-poster:focus-visible {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 32px 72px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(214, 175, 107, 0.3);
    border-color: rgba(214, 175, 107, 0.45);
    outline: none;
}

.newyear-poster img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.newyear-poster:hover img {
    transform: scale(1.04);
}

.newyear-poster-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 20, 16, 0.45);
    color: rgba(255, 244, 233, 0.92);
    opacity: 0;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
}

.newyear-poster:hover .newyear-poster-zoom,
.newyear-poster:focus-visible .newyear-poster-zoom {
    opacity: 1;
}

/* Подсказка для тач-устройств: hover-оверлея там не будет */
.newyear-poster-tap {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid rgba(214, 175, 107, 0.32);
    background: rgba(8, 20, 16, 0.74);
    backdrop-filter: blur(6px);
    color: rgba(255, 244, 233, 0.95);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

@media (hover: none) {
    .newyear-poster-zoom {
        display: none;
    }

    .newyear-poster-tap {
        display: inline-flex;
    }
}

/* ── Пункт "Новый год" в навигации ── */
.site-nav a.nav-newyear {
    color: var(--accent-soft);
    font-weight: 700;
}

/* ── Одиночный показ в лайтбоксе (без стрелок/счётчика) ── */
.lightbox.lightbox-single .lightbox-prev,
.lightbox.lightbox-single .lightbox-next,
.lightbox.lightbox-single .lightbox-counter {
    display: none;
}
