/* ===========================================
   OPEN AIR 72 — продающая страница фестиваля (SVO-17)
   Один ближайший фестиваль, таймер до субботы 21:00, билеты.
   Тёмный «вечерний» hero на бренд-токенах, акцент — закатный оранжевый.
   =========================================== */

/* ─── Hero ──────────────────────────────────────────────────── */
.oa-hero {
    position: relative;
    overflow: hidden;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
}

.oa-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Тёмная вуаль поверх фото: текст обязан читаться на любом кадре */
.oa-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(42, 0, 2, 0.55) 0%, rgba(42, 0, 2, 0.78) 55%, rgba(42, 0, 2, 0.94) 100%);
}

.oa-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-block: 96px 72px;
}

.oa-hero__label {
    font-family: var(--font-body);
    font-size: var(--text-label-caps);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-secondary-container);
}

.oa-hero__title {
    font-family: var(--font-display);
    font-size: clamp(56px, 10vw, 128px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-tertiary-fixed);
}

.oa-hero__sub {
    max-width: 34em;
    font-size: var(--text-body-lg);
    line-height: var(--text-body-lg-lh);
    color: rgba(255, 255, 255, 0.85);
}

.oa-hero__when {
    margin-top: 8px;
    padding: 12px 28px;
    font-family: var(--font-display);
    font-size: var(--text-headline-md);
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 221, 185, 0.35);
    border-radius: var(--radius);
}

/* ─── Таймер ────────────────────────────────────────────────── */
.oa-timer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
}

/* display:flex/inline-flex сильнее UA-правила для [hidden] — возвращаем
   скрытие явно, иначе таймер и «идёт сейчас» видны одновременно */
.oa-timer[hidden],
.oa-live[hidden] {
    display: none;
}

.oa-timer__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 84px;
    padding: 14px 12px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 221, 185, 0.25);
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.oa-timer__num {
    font-family: var(--font-display);
    font-size: 44px;
    line-height: 1;
    color: var(--color-tertiary-fixed);
    font-variant-numeric: tabular-nums;
}

.oa-timer__lbl {
    font-size: var(--text-label-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.oa-timer__sep {
    font-family: var(--font-display);
    font-size: 36px;
    line-height: 70px;
    color: rgba(255, 221, 185, 0.5);
}

/* «Идёт прямо сейчас» — вместо таймера в субботний вечер */
.oa-live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: var(--text-headline-md);
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--color-tertiary-fixed);
    border: 1px solid rgba(255, 221, 185, 0.5);
    border-radius: var(--radius);
}

.oa-live__dot {
    width: 12px;
    height: 12px;
    flex: none;
    border-radius: var(--radius-full);
    background: var(--color-tertiary-fixed);
    animation: oa-pulse 1.2s ease-in-out infinite;
}

@keyframes oa-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.oa-hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

/* Кнопка билета на ТЁМНОМ фоне — тёплый кремовый (бренд-токен «заголовки на
   тёмном», тот же цвет, что у заголовка hero и цифр таймера). Прежний яркий
   оранжевый читался как чужой бренду цвет (правка по возврату SVO-17).
   На светлых секциях кнопка билета = btn--primary (бордо), см. шаблон. */
.btn--ticket {
    background: var(--color-tertiary-fixed);
    border-color: var(--color-tertiary-fixed);
    color: var(--color-primary);
}

.btn--ticket:hover {
    background: #fff;
    border-color: #fff;
    color: var(--color-primary);
}

/* ─── Ближайшая суббота: лайнап ─────────────────────────────── */
/* Верхний отступ: секция идёт сразу за полноширинным тёмным hero, у которого
   нет внешнего нижнего поля — без этого заголовок прилипал к границе цвета
   вплотную (замер: зазор 0px, правка по возврату SVO-17). */
.oa-next {
    padding-top: 88px;
}

.oa-next__grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: center;
}

.oa-next__poster {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--frame-border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.oa-next__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oa-next__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.oa-next__lineup .festival__artist {
    font-size: clamp(24px, 3vw, 40px);
}

.oa-next__pending {
    font-size: var(--text-body-lg);
    color: var(--color-on-surface-variant);
}

.oa-next__cta {
    margin-top: 8px;
}

@media (max-width: 899px) {
    .oa-next__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .oa-next__poster {
        max-width: 420px;
    }
}

/* ─── Fast Pass (SVO-31) ────────────────────────────────────── */
/* Один блок в общем языке страницы: светлая карточка, тонкая рамка, цена —
   единственный акцент. Разделитель между текстом и ценой — та же 1px-линия,
   что по всему сайту (DESIGN.md: рамки, а не цветные плашки). */
.oa-fast {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 40px;
}

.oa-fast__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.oa-fast__body p {
    max-width: 46em;
}

.oa-fast__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-left: 32px;
    border-left: 1px solid var(--frame-border);
}

.oa-fast__price {
    font-family: var(--font-display);
    font-size: 56px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--color-secondary);
    white-space: nowrap;
}

.oa-fast__unit {
    font-size: var(--text-label-sm);
    letter-spacing: var(--text-label-caps-ls);
    text-transform: uppercase;
    color: var(--color-on-surface-variant);
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .oa-fast {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 24px;
    }

    .oa-fast__aside {
        align-items: flex-start;
        padding-left: 0;
        padding-top: 24px;
        border-left: none;
        border-top: 1px solid var(--frame-border);
        align-self: stretch;
    }

    .oa-fast__aside .btn {
        width: 100%;
    }
}

/* ─── Фото-настроение ───────────────────────────────────────── */
.oa-mood__head {
    text-align: center;
    margin-bottom: 48px;
}

.oa-mood__sub {
    max-width: 42em;
    margin: 16px auto 0;
}

.oa-mood__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.oa-mood__item {
    aspect-ratio: 1 / 1;
}

@media (max-width: 767px) {
    .oa-mood__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Шатёр (SVO-33) ────────────────────────────────────────── */
.oa-tent {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: center;
}

.oa-tent__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.oa-tent__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oa-tent__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.oa-tent__lead {
    max-width: 34em;
}

.oa-tent__rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.oa-tent__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 20px;
    border-top: 1px solid var(--frame-border);
}

@media (max-width: 899px) {
    .oa-tent {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ─── Карта площадки ────────────────────────────────────────── */
/* stretch, а не start: без него левая схема (16:9) была на 38px ниже правой
   карточки — блоки разъезжались по высоте (правка по возврату SVO-17). */
.oa-map {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 32px;
    align-items: stretch;
}

.oa-map__scheme {
    display: flex;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface-container);
}

/* Картинка заполняет высоту, выравненную по соседней карточке — колонки
   одинаковой высоты, симметрично. */
.oa-map__scheme img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oa-map__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
}

.oa-map__rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oa-map__row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

@media (max-width: 899px) {
    .oa-map {
        grid-template-columns: 1fr;
    }
}

/* ─── Список зон (SVO-32, переехал из _about.css) ───────────── */
/* Сетка плиток на общем фоне-рамке: gap 1px + цвет рамки под низом дают
   тонкие разделители без отдельных бордеров у каждой ячейки. */
.zones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 32px;
    background: var(--frame-border);
    border: 1px solid var(--frame-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.zone {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    background: var(--color-surface-lowest);
}

.zone__name {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary-container);
}

.zone__note {
    font-size: var(--text-body-md);
    color: var(--color-on-surface-variant);
}

@media (max-width: 899px) {
    .zones {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 559px) {
    .zones {
        grid-template-columns: 1fr;
    }
}

/* ─── Финальный призыв ──────────────────────────────────────── */
.oa-final {
    padding-block: 88px;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.oa-final__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.oa-final__title {
    font-family: var(--font-display);
    font-size: var(--text-headline-lg);
    line-height: var(--text-headline-lg-lh);
    letter-spacing: var(--text-headline-lg-ls);
    text-transform: uppercase;
    color: var(--color-tertiary-fixed);
}

.oa-final__sub {
    max-width: 36em;
    font-size: var(--text-body-lg);
    color: rgba(255, 255, 255, 0.85);
}

.oa-final__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

/* ─── Мобильная типографика ─────────────────────────────────── */
@media (max-width: 767px) {
    .oa-hero__inner {
        padding-block: 64px 48px;
    }

    .oa-hero__when {
        font-size: 20px;
        padding: 10px 20px;
    }

    .oa-timer {
        gap: 8px;
    }

    .oa-timer__cell {
        min-width: 0;
        flex: 1 1 0;
        padding: 10px 8px 8px;
    }

    .oa-timer__num {
        font-size: 30px;
    }

    .oa-timer__sep {
        display: none;
    }

    .oa-timer {
        width: 100%;
        max-width: 420px;
    }

    .oa-hero__cta .btn,
    .oa-final__cta .btn {
        flex: 1 1 100%;
    }
}
