/* ===== Открытие — product UX/UI ===== */
.otkrytie-page {
    --otk-bg: #09090b;
    --otk-surface: #121216;
    --otk-surface-2: #1a1a20;
    --otk-border: rgba(255, 255, 255, 0.08);
    --otk-border-strong: rgba(255, 255, 255, 0.14);
    --otk-text: #fafafa;
    --otk-muted: #a1a1aa;
    --otk-red: #ff3b3b;
    --otk-red-hover: #e62e2e;
    --otk-red-soft: rgba(255, 59, 59, 0.14);
    --otk-radius: 16px;
    --otk-radius-lg: 24px;
    --otk-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    --otk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --otk-font: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
    --otk-display: "Sora", "Plus Jakarta Sans", sans-serif;
    background: var(--otk-bg);
    color: var(--otk-text);
    font-family: var(--otk-font);
    padding-top: 0;
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

.otkrytie-page .header {
    background: rgba(9, 9, 11, 0.72);
    backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid var(--otk-border);
}

.otkrytie-page .header.is-scrolled {
    background: rgba(9, 9, 11, 0.94);
}

.otk-shell {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
    max-width: 100%;
    min-width: 0;
}

/* —— Hero (text only) —— */
.otk-hero {
    position: relative;
    padding:
        calc(var(--site-header-offset, 76px) + clamp(2.5rem, 6vw, 4.5rem))
        0
        clamp(2.5rem, 5vw, 3.5rem);
    overflow: hidden;
    background: var(--otk-bg);
}

.otk-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 15% 20%, var(--otk-red-soft), transparent 58%),
        radial-gradient(ellipse 40% 35% at 85% 75%, rgba(255, 59, 59, 0.06), transparent 55%),
        linear-gradient(180deg, transparent 70%, rgba(9, 9, 11, 0.4) 100%);
}

.otk-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(2rem, 4vw, 2.75rem);
}

.otk-hero__content {
    max-width: 40rem;
    min-width: 0;
    animation: otk-fade-up 0.7s var(--otk-ease) both;
}

.otk-hero__eyebrow-short {
    display: none;
}

.otk-hero h1 {
    margin: 0 0 1.15rem;
    font-family: var(--otk-display);
    font-weight: 700;
    font-size: clamp(2rem, 5.5vw, 4.25rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--otk-text);
    max-width: 100%;
    overflow-wrap: break-word;
}

.otk-hero__title-line {
    display: block;
}

.otk-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    margin: 0 0 1rem;
    color: #ff8a8a;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.otk-hero__eyebrow i {
    font-size: 0.7rem;
    color: var(--otk-red);
}

.otk-hero__brand {
    margin: 0 0 0.85rem;
    font-family: var(--otk-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: rgba(255, 255, 255, 0.55);
}

.otk-hero__brand span {
    color: var(--otk-red);
}

.otk-hero__lead {
    margin: 0 0 1.75rem;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.65;
    color: var(--otk-muted);
    max-width: 32rem;
}

.otk-hero__lead strong {
    color: #fff;
    font-weight: 600;
}

.otk-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.otk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.75rem 1.35rem;
    border-radius: 12px;
    font-family: var(--otk-font);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.otk-btn:active {
    transform: scale(0.98);
}

.otk-btn--primary {
    background: var(--otk-red);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 59, 59, 0.28);
}

.otk-btn--primary:hover {
    background: var(--otk-red-hover);
    box-shadow: 0 10px 28px rgba(255, 59, 59, 0.36);
}

.otk-btn--ghost {
    background: transparent;
    color: var(--otk-text);
    border-color: var(--otk-border-strong);
}

.otk-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.28);
}

.otk-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    animation: otk-fade-up 0.7s 0.12s var(--otk-ease) both;
}

.otk-hero__meta-card {
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: var(--otk-surface);
    border: 1px solid var(--otk-border);
    min-width: 0;
}

.otk-hero__meta dt {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--otk-muted);
}

.otk-hero__meta dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

/* —— Countdown —— */
.otk-count {
    padding: 1.25rem 0;
    border-block: 1px solid var(--otk-border);
    background: var(--otk-surface);
}

.otk-count__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.otk-count__label {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--otk-muted);
}

.otk-count__grid {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.otk-count__cell {
    min-width: 4.25rem;
    padding: 0.65rem 0.75rem;
    text-align: center;
    border-radius: 12px;
    background: var(--otk-surface-2);
    border: 1px solid var(--otk-border);
}

.otk-count__num {
    display: block;
    font-family: var(--otk-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.otk-count__unit {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--otk-muted);
}

.otk-count__unit-long {
    display: inline;
}

.otk-count__unit-short {
    display: none;
}

/* —— Sections —— */
.otk-section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.otk-section--alt {
    background: var(--otk-surface);
}

.otk-section__head {
    margin-bottom: 2.25rem;
    max-width: 36rem;
}

.otk-label {
    display: inline-block;
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--otk-red);
}

.otk-section h2 {
    margin: 0 0 0.75rem;
    font-family: var(--otk-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.2vw, 2.25rem);
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: #fff;
}

.otk-section__desc {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--otk-muted);
}

/* Guest */
.otk-guest {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: center;
}

.otk-guest__photo {
    margin: 0;
    border-radius: var(--otk-radius-lg);
    overflow: hidden;
    border: 1px solid var(--otk-border);
    box-shadow: var(--otk-shadow);
    background: var(--otk-surface-2);
}

.otk-guest__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 12%;
}

.otk-guest__body p {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--otk-muted);
}

.otk-guest__body p strong {
    color: #fff;
    font-weight: 600;
}

.otk-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.otk-metric {
    padding: 1rem;
    border-radius: 14px;
    background: var(--otk-bg);
    border: 1px solid var(--otk-border);
}

.otk-metric__value {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--otk-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1;
}

.otk-metric__label {
    display: block;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--otk-muted);
}

/* Timeline */
.otk-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.otk-timeline li {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    background: var(--otk-bg);
    border: 1px solid var(--otk-border);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.otk-timeline li:hover {
    border-color: rgba(255, 59, 59, 0.35);
    background: #0e0e12;
}

.otk-timeline__year {
    font-family: var(--otk-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    color: var(--otk-red);
    padding-top: 0.15rem;
}

.otk-timeline h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.otk-timeline p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--otk-muted);
}

.otk-sources {
    margin: 1.5rem 0 0;
    font-size: 0.85rem;
    color: var(--otk-muted);
}

.otk-sources a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.35);
}

.otk-sources a:hover {
    color: var(--otk-red);
    text-decoration-color: var(--otk-red);
}

/* Program */
.otk-program {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.otk-program__item {
    padding: 1.35rem 1.25rem;
    border-radius: 16px;
    background: var(--otk-surface);
    border: 1px solid var(--otk-border);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.otk-program__item:hover {
    border-color: rgba(255, 59, 59, 0.35);
    transform: translateY(-2px);
}

.otk-program__icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: var(--otk-red-soft);
    color: var(--otk-red);
    font-size: 0.95rem;
}

.otk-program__item h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.otk-program__item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--otk-muted);
}

/* CTA */
.otk-cta {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.otk-cta__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--otk-radius-lg);
    background:
        radial-gradient(ellipse 70% 80% at 100% 50%, var(--otk-red-soft), transparent 55%),
        var(--otk-surface);
    border: 1px solid var(--otk-border);
    overflow: hidden;
}

.otk-cta__panel h2 {
    margin: 0 0 0.65rem;
    font-family: var(--otk-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.04em;
    color: #fff;
}

.otk-cta__panel p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--otk-muted);
}

.otk-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

/* Reveal */
.otk-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--otk-ease), transform 0.7s var(--otk-ease);
}

.otk-reveal.is-in {
    opacity: 1;
    transform: none;
}

@keyframes otk-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .otk-guest {
        grid-template-columns: 1fr;
    }

    .otk-guest__photo img {
        aspect-ratio: 16 / 11;
        max-height: 420px;
    }

    .otk-program {
        grid-template-columns: 1fr;
    }

    .otk-cta__panel {
        grid-template-columns: 1fr;
    }

    .otk-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .otk-shell {
        width: calc(100% - 1.25rem);
    }

    .otk-hero h1 {
        font-size: clamp(1.65rem, 7.2vw, 2.15rem);
        line-height: 1.12;
    }

    .otk-hero__eyebrow-long {
        display: none;
    }

    .otk-hero__eyebrow-short {
        display: inline;
    }

    .otk-hero__eyebrow {
        font-size: 0.72rem;
    }

    .otk-hero__actions .otk-btn {
        flex: 1 1 auto;
        min-width: 0;
    }

    .otk-count__unit-long {
        display: none;
    }

    .otk-count__unit-short {
        display: inline;
    }

    .otk-hero__meta {
        grid-template-columns: 1fr;
    }

    .otk-metrics {
        grid-template-columns: 1fr;
    }

    .otk-timeline li {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .otk-count__cell {
        min-width: 3.5rem;
        padding: 0.55rem 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .otk-hero__content,
    .otk-hero__meta,
    .otk-reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Promo bar on home — moved to style.css (.site-top-stack) */
