/* Театр «Вельвет» — нежная палитра + театральная сцена */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Italiana&family=Jost:wght@400;500;600;700&display=swap');

:root {
    --cream: #faf7f3;
    --sand: #f0e8df;
    --sand-dark: #e8ddd2;
    --warm-light: #d4c4b0;
    --warm: #b8956a;
    --warm-dark: #8b7355;
    --warm-deep: #5c4a3a;
    --rose: #c9a892;
    --rose-soft: #e8d5c8;
    --gold: #d4a574;
    --gold-glow: rgba(212, 165, 116, 0.45);
    --gold-light: #f0c96e;
    --velvet: #6b2d2d;
    --velvet-deep: #4a1f1f;
    --velvet-glow: rgba(107, 45, 45, 0.35);
    --stage-dark: #241c16;
    --stage-mid: #3d3228;
    --text: #4a4035;
    --text-muted: #7a6f63;
    --text-light: rgba(250, 247, 243, 0.82);
    --white: #fffcf9;
    --shadow: rgba(36, 28, 22, 0.1);
    --shadow-lg: rgba(36, 28, 22, 0.2);
    --font-display: 'Italiana', 'Cormorant Garamond', Georgia, serif;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', system-ui, sans-serif;
    --radius: 14px;
    --radius-lg: 22px;
    --nav-h: 76px;
    --arch-radius: clamp(120px, 22vw, 280px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (max-width: 992px) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--cream);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 80% 50% at 8% 4%, rgba(212, 165, 116, 0.14), transparent 52%),
        radial-gradient(ellipse 60% 45% at 94% 8%, rgba(107, 45, 45, 0.08), transparent 48%),
        radial-gradient(ellipse 55% 40% at 50% 100%, rgba(184, 149, 106, 0.1), transparent 55%),
        linear-gradient(168deg, #fdfbf8 0%, var(--cream) 45%, var(--sand) 100%);
    background-size: 160px 160px, auto, auto, auto, auto;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding-bottom: 40px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Прожектор — на тёмных секциях, поверх фона но под контентом */
.hero-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
    opacity: 0;
    transition: opacity 0.8s ease;
    mix-blend-mode: soft-light;
    background: radial-gradient(
        420px circle at var(--spot-x, 50%) var(--spot-y, 45%),
        rgba(255, 235, 200, 0.95) 0%,
        rgba(255, 210, 150, 0.45) 32%,
        transparent 65%
    );
}

body.curtains-open .hero-spotlight {
    opacity: 1;
}

.page-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: soft-light;
    background: radial-gradient(
        360px circle at var(--spot-x, 50%) var(--spot-y, 40%),
        rgba(255, 235, 200, 0.8) 0%,
        rgba(255, 210, 150, 0.3) 38%,
        transparent 68%
    );
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
    color: var(--warm-deep);
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }

a { color: var(--warm-dark); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--warm); }

img { max-width: 100%; display: block; }

/* Фото в рамках — без растягивания, только обрезка */
.media-box {
    position: relative;
    overflow: hidden;
    background: var(--sand);
}

.media-box > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ── Навигация ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.site-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.35) 20%, rgba(212, 165, 116, 0.55) 50%, rgba(212, 165, 116, 0.35) 80%, transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.site-nav.on-stage::after,
.site-nav.scrolled::after { opacity: 0.75; }

.site-nav.on-stage {
    color: var(--text-light);
    background: rgba(36, 28, 22, 0.55);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(212, 165, 116, 0.18);
}
.site-nav.on-stage .logo { color: var(--cream); }
.site-nav.on-stage .logo span { color: rgba(250, 247, 243, 0.55); }
.site-nav.on-stage .nav-links > li > a,
.site-nav.on-stage .nav-links > li > button.nav-link-btn { color: rgba(250, 247, 243, 0.88); }
.site-nav.on-stage .nav-links > li > a:hover,
.site-nav.on-stage .nav-links > li > a.active,
.site-nav.on-stage .nav-links > li > button.nav-link-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--cream); }
.site-nav.on-stage .burger span { background: var(--cream); }

.site-nav.scrolled,
.site-nav:not(.on-stage) {
    background: rgba(250, 247, 243, 0.92);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom-color: rgba(184, 149, 106, 0.18);
    box-shadow: 0 4px 30px var(--shadow);
}

.site-nav.scrolled.on-stage {
    background: rgba(36, 28, 22, 0.88);
    border-bottom-color: rgba(212, 165, 116, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--warm-deep);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.logo svg { flex-shrink: 0; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.12)); }

.logo span {
    font-size: 0.68rem;
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-links > li > button.nav-link-btn {
    display: block;
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.02em;
}

.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li > button.nav-link-btn:hover {
    background: var(--sand);
    color: var(--warm-dark);
}

.nav-cta {
    padding: 0.55rem 1.35rem !important;
    background: linear-gradient(135deg, var(--gold) 0%, var(--warm-dark) 100%) !important;
    color: var(--stage-dark) !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 20px var(--gold-glow);
    letter-spacing: 0.04em !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px var(--gold-glow) !important;
    color: var(--stage-dark) !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 102;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--warm-deep);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s ease;
    transform-origin: center;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav .burger.active span { background: var(--gold); }

.dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 230px;
    background: var(--white);
    border: 1px solid var(--sand-dark);
    border-radius: var(--radius);
    box-shadow: 0 16px 48px var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.86rem;
    border-radius: 8px;
    color: var(--text);
}

.dropdown a:hover { background: var(--sand); color: var(--warm-dark); }

.nav-spacer { height: var(--nav-h); }

@media (max-width: 960px) {
    .burger { display: flex; }

    /* Шапка над открытым меню — тёмная и непрозрачная */
    .site-nav.nav-open-bar {
        background: var(--stage-dark);
        border-bottom-color: rgba(212, 165, 116, 0.18);
    }
    .site-nav.nav-open-bar .logo { color: var(--cream); }
    .site-nav.nav-open-bar .logo span { color: rgba(250, 247, 243, 0.55); }
    .site-nav.nav-open-bar .burger span { background: var(--cream); }
    .site-nav.nav-open-bar .burger.active span { background: var(--gold); }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: calc(var(--nav-h) + 1rem) 1.75rem 2rem;
        overflow-y: auto;
        background:
            radial-gradient(ellipse 70% 35% at 50% 0%, rgba(212, 165, 116, 0.14) 0%, transparent 60%),
            linear-gradient(165deg, var(--stage-dark) 0%, var(--stage-mid) 100%);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.4s;
        z-index: 101;
        pointer-events: none;
        visibility: hidden;
    }
    .nav-links.open {
        transform: translateX(0);
        pointer-events: auto;
        visibility: visible;
    }

    .nav-links > li {
        border-bottom: 1px solid rgba(212, 165, 116, 0.13);
    }
    .nav-links > li:last-child { border-bottom: none; }

    .site-nav .nav-links > li > a,
    .site-nav .nav-links > li > button.nav-link-btn,
    .site-nav.on-stage .nav-links > li > a,
    .site-nav.on-stage .nav-links > li > button.nav-link-btn {
        width: 100%;
        text-align: left;
        padding: 1rem 0.25rem;
        font-family: var(--font-heading);
        font-size: 1.4rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        color: rgba(250, 247, 243, 0.92);
        border-radius: 0;
        background: none;
    }
    .site-nav .nav-links > li > a.active { color: var(--gold); }
    .site-nav .nav-links > li > a:hover,
    .site-nav .nav-links > li > button.nav-link-btn:hover,
    .nav-links > li.dropdown-open > .nav-link-btn {
        background: none;
        color: var(--gold);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: none;
        margin: 0 0 0.5rem;
        padding: 0 0 0.25rem 0.75rem;
        display: none;
    }
    .nav-links > li.dropdown-open .dropdown { display: block; }
    .nav-links .dropdown a {
        padding: 0.55rem 0.5rem;
        font-size: 1rem;
        color: rgba(250, 247, 243, 0.6);
        font-family: var(--font-body);
        border-radius: 8px;
    }
    .nav-links .dropdown a:hover { background: none; color: var(--gold); }

    /* Кнопка «Билеты» */
    .nav-links > li:has(.nav-cta) { border-bottom: none; }
    .nav-cta,
    .site-nav.on-stage .nav-cta {
        width: 100%;
        text-align: center !important;
        margin: 1.25rem 0 0.5rem;
        padding: 0.95rem 1.35rem !important;
        font-family: var(--font-body) !important;
        font-size: 1rem !important;
        color: var(--stage-dark) !important;
        border-radius: 999px !important;
    }

    /* Без backdrop-filter на мобильных — меньше дёрганья при скролле */
    .site-nav.on-stage,
    .site-nav.scrolled,
    .site-nav:not(.on-stage) {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    body.nav-open { overflow: hidden; }
}

/* ── Кнопки ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    letter-spacing: 0.03em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--warm) 100%);
    color: var(--stage-dark);
    box-shadow: 0 6px 24px var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(212, 165, 116, 0.55);
    color: var(--stage-dark);
}

.btn-outline {
    background: transparent;
    color: inherit;
    border: 1.5px solid currentColor;
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.82rem; }

/* ── Hero-сцена ── */
.hero-stage {
    position: relative;
    margin-top: calc(-1 * var(--nav-h));
    padding-top: var(--nav-h);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212, 165, 116, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 20%, rgba(255, 220, 170, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--stage-dark) 0%, var(--stage-mid) 55%, #4a3d32 100%);
    overflow: hidden;
    color: var(--text-light);
}

.hero-stage::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--cream), transparent);
    pointer-events: none;
    z-index: 4;
}

.curtain {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 52%;
    z-index: 3;
    background:
        repeating-linear-gradient(
            90deg,
            #6b2d2d 0px, #6b2d2d 18px,
            #5a2525 18px, #5a2525 36px,
            #7a3535 36px, #7a3535 54px
        );
    box-shadow: inset -20px 0 60px rgba(0,0,0,0.4);
    transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.curtain-left {
    left: 0;
    transform-origin: left center;
    border-radius: 0 0 8% 0;
}

.curtain-right {
    right: 0;
    transform-origin: right center;
    border-radius: 0 0 0 8%;
    box-shadow: inset 20px 0 60px rgba(0,0,0,0.4);
    background:
        repeating-linear-gradient(
            90deg,
            #7a3535 0px, #7a3535 18px,
            #5a2525 18px, #5a2525 36px,
            #6b2d2d 36px, #6b2d2d 54px
        );
}

body.curtains-open .curtain-left { transform: translateX(-88%); }
body.curtains-open .curtain-right { transform: translateX(88%); }

.hero-arch {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 900px);
    height: clamp(280px, 55vh, 520px);
    border: 2px solid rgba(212, 165, 116, 0.25);
    border-bottom: none;
    border-radius: var(--arch-radius) var(--arch-radius) 0 0;
    pointer-events: none;
    z-index: 2;
    box-shadow:
        inset 0 0 80px rgba(212, 165, 116, 0.06),
        0 0 120px rgba(212, 165, 116, 0.08),
        0 0 200px rgba(107, 45, 45, 0.06);
    animation: arch-glow 6s ease-in-out infinite alternate;
}

@keyframes arch-glow {
    from { box-shadow: inset 0 0 80px rgba(212, 165, 116, 0.06), 0 0 100px rgba(212, 165, 116, 0.06); }
    to { box-shadow: inset 0 0 100px rgba(212, 165, 116, 0.12), 0 0 160px rgba(212, 165, 116, 0.14); }
}

.hero-arch::before {
    content: '';
    position: absolute;
    inset: 12px 12px 0;
    border: 1px solid rgba(212, 165, 116, 0.12);
    border-bottom: none;
    border-radius: calc(var(--arch-radius) - 12px) calc(var(--arch-radius) - 12px) 0 0;
}

.hero-content {
    position: relative;
    z-index: 5;
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(5rem, 10vw, 7rem);
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 11vw, 7.5rem);
    font-weight: 400;
    line-height: 0.95;
    margin: 0 0 0.5rem;
    color: var(--cream);
    letter-spacing: 0.04em;
}

.hero-title-accent {
    display: block;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.55em;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-top: 0.1em;
}

.hero-sub {
    max-width: 520px;
    margin: 1.25rem auto 2rem;
    font-size: 1.05rem;
    color: rgba(250, 247, 243, 0.72);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stage .btn-outline {
    color: var(--cream);
    border-color: rgba(250, 247, 243, 0.35);
}

/* Ротатор спектаклей в hero */
.hero-featured {
    max-width: 680px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(212, 165, 116, 0.22);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}

.hero-featured-label {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    grid-row: 1;
}

/* Обёртка слайдов: все в одной ячейке grid, высота = самый высокий */
.hero-featured-shows {
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr;
    contain: layout;
}

.hero-featured-show {
    grid-row: 1;
    grid-column: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-featured-show.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Кнопки листания — на мобильных вместо мелких точек */
.hero-slide-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(212, 165, 116, 0.45);
    border-radius: 50%;
    background: rgba(36, 28, 22, 0.75);
    color: var(--cream);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    align-items: center;
    justify-content: center;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.hero-slide-prev { left: 0.35rem; }
.hero-slide-next { right: 0.35rem; }

.hero-featured-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    grid-row: 3;
}

@media (max-width: 960px) {
    .hero-featured {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(0, 0, 0, 0.45);
        padding-left: 2.75rem;
        padding-right: 2.75rem;
        touch-action: pan-y;
    }

    .hero-slide-btn { display: flex; }

    .hero-featured-dots { display: none; }
}

.hero-featured-show h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--cream);
    margin-bottom: 0.35rem;
}

.hero-featured-show p {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    color: rgba(250, 247, 243, 0.65);
}

.hero-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(250, 247, 243, 0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

.hero-footlights {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    z-index: 6;
    background: repeating-linear-gradient(
        90deg,
        #d4a574 0px, #d4a574 24px,
        #241c16 24px, #241c16 28px
    );
    box-shadow: 0 -8px 40px rgba(212, 165, 116, 0.35);
}

/* Пылинки в луче прожектора */
.hero-dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.hero-dust span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 235, 200, 0.55);
    animation: dust-float 8s ease-in-out infinite;
}

.hero-dust span:nth-child(1) { left: 42%; top: 28%; animation-delay: 0s; animation-duration: 7s; }
.hero-dust span:nth-child(2) { left: 55%; top: 35%; animation-delay: 1.2s; animation-duration: 9s; width: 2px; height: 2px; }
.hero-dust span:nth-child(3) { left: 48%; top: 22%; animation-delay: 2.5s; animation-duration: 6s; opacity: 0.7; }
.hero-dust span:nth-child(4) { left: 38%; top: 40%; animation-delay: 0.8s; animation-duration: 10s; width: 4px; height: 4px; }
.hero-dust span:nth-child(5) { left: 62%; top: 30%; animation-delay: 3s; animation-duration: 8s; }
.hero-dust span:nth-child(6) { left: 50%; top: 45%; animation-delay: 1.8s; animation-duration: 11s; opacity: 0.5; }

@keyframes dust-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(12px, -18px) scale(1.2); opacity: 0.8; }
    50% { transform: translate(-8px, -32px) scale(0.9); opacity: 0.5; }
    75% { transform: translate(16px, -12px) scale(1.1); opacity: 0.7; }
}

.hero-side-badge {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    top: calc(var(--nav-h) + 1.5rem);
    z-index: 7;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(212, 165, 116, 0.65);
    padding: 0.75rem 0;
    border-right: 1px solid rgba(212, 165, 116, 0.35);
}

.hero-side-badge::before {
    content: '✦';
    display: block;
    writing-mode: horizontal-tb;
    transform: rotate(180deg);
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-size: 0.55rem;
}

@media (max-width: 768px) {
    .hero-side-badge { display: none; }
}

/* ── Бегущая строка ── */
.marquee-band {
    background: var(--warm-deep);
    color: var(--cream);
    padding: 0.85rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    position: relative;
    z-index: 2;
}

.marquee-band::before,
.marquee-band::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(40px, 8vw, 100px);
    z-index: 2;
    pointer-events: none;
}

.marquee-band::before {
    left: 0;
    background: linear-gradient(90deg, var(--warm-deep), transparent);
}

.marquee-band::after {
    right: 0;
    background: linear-gradient(270deg, var(--warm-deep), transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

/* Пауза только на устройствах с настоящим hover (мышь). На тач-экранах :hover
   залипает после тапа и бегущая строка навсегда останавливается. */
@media (hover: hover) and (pointer: fine) {
    .marquee-band:hover .marquee-track { animation-play-state: paused; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 2rem;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.marquee-item .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.marquee-item strong {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gold);
}

/* ── Секции ── */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; z-index: 2; }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 0.6rem;
}

.section-label::before { content: '✦ '; opacity: 0.6; }

.bg-sand { background: var(--sand); }
.bg-white { background: var(--white); }

/* ── Горизонтальная лента спектаклей ── */
.repertoire-scroll {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    overflow-x: auto;
    padding: 0.5rem 0 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--warm-light) transparent;
}

.repertoire-scroll::-webkit-scrollbar { height: 6px; }
.repertoire-scroll::-webkit-scrollbar-thumb { background: var(--warm-light); border-radius: 99px; }

.repertoire-scroll .ticket-card {
    flex: 0 0 min(300px, 85vw);
    scroll-snap-align: start;
}

/* ── Билет-карточки спектаклей ── */
.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.ticket-card {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    perspective: 800px;
}

.ticket-card:hover { transform: translateY(-12px) rotate(-1deg); }

.ticket-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow), 0 0 0 1px rgba(184, 149, 106, 0.08);
    color: inherit;
    position: relative;
}

.ticket-card a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--warm);
    z-index: 3;
    transition: width 0.3s, box-shadow 0.3s;
}

.ticket-card--comedy a::before { background: linear-gradient(180deg, #e8c4a0, #b8956a); }
.ticket-card--drama a::before { background: linear-gradient(180deg, #c9a892, #6b5744); }
.ticket-card--ballet a::before { background: linear-gradient(180deg, #d4c4b0, #8b7355); }
.ticket-card--musical a::before { background: linear-gradient(180deg, #f0c96e, #d4a574); }
.ticket-card--kids a::before { background: linear-gradient(180deg, #e8ddd2, #d4a574); }

.ticket-card:hover a::before {
    width: 6px;
    box-shadow: 0 0 20px var(--gold-glow);
}

.ticket-poster {
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    position: relative;
}

.ticket-poster::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 6px;
    background:
        radial-gradient(circle at 50% 8px, rgba(255, 252, 247, 0.9) 2.5px, transparent 2.5px),
        radial-gradient(circle at 50% 24px, rgba(255, 252, 247, 0.9) 2.5px, transparent 2.5px),
        radial-gradient(circle at 50% 40px, rgba(255, 252, 247, 0.9) 2.5px, transparent 2.5px);
    background-size: 6px 16px;
    background-repeat: repeat-y;
    opacity: 0.65;
    z-index: 2;
    pointer-events: none;
}

.ticket-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(36, 28, 22, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.ticket-poster img {
    transition: transform 0.5s ease;
}

.ticket-card:hover .ticket-poster img {
    transform: scale(1.05);
}

.ticket-stub-age {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 3;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    background: rgba(36, 28, 22, 0.72);
    color: var(--cream);
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.ticket-main {
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
}

.ticket-genre {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 0.35rem;
}

.ticket-main h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.ticket-card:hover .ticket-main h3 { color: var(--warm-dark); }

.ticket-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: auto;
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--sand-dark);
}

.ticket-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--warm-dark);
}

.ticket-cta {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm);
}

/* Legacy show-card for backwards compat */
.show-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--sand-dark);
    transition: transform 0.3s, box-shadow 0.3s;
}

.show-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px var(--shadow-lg); }

.show-card-poster {
    aspect-ratio: 3 / 4;
}

.show-card-poster img {
    transition: transform 0.5s ease;
}

.show-card:hover .show-card-poster img { transform: scale(1.04); }

.poster-drama { background: linear-gradient(135deg, #c9a892 0%, #8b7355 100%); }
.poster-comedy { background: linear-gradient(135deg, #e8d5c8 0%, #b8956a 100%); }
.poster-ballet { background: linear-gradient(135deg, #d4c4b0 0%, #6b5744 100%); }
.poster-musical { background: linear-gradient(135deg, #f0e8df 0%, #c9a892 100%); }
.poster-kids { background: linear-gradient(135deg, #e8ddd2 0%, #d4a574 100%); }

.poster-icon { font-size: 3.5rem; }

.genre-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 0.3rem 0.75rem;
    background: rgba(250, 247, 243, 0.92);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--warm-dark);
}

.show-card-body { padding: 1.35rem 1.5rem 1.5rem; }
.show-card-meta { display: flex; gap: 0.75rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.show-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--sand); }
.price { font-weight: 700; color: var(--warm-dark); }

/* ── Афиша ── */
.schedule-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--sand-dark);
    background: var(--white);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--font-body);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--warm-deep);
    border-color: var(--warm-deep);
    color: var(--cream);
}

.schedule-list { display: flex; flex-direction: column; gap: 1rem; }

.schedule-item {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 0;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--sand-dark);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.schedule-item:hover {
    box-shadow: 0 12px 40px var(--shadow);
    transform: translateX(4px);
}

.schedule-date {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: linear-gradient(180deg, var(--warm-deep) 0%, var(--stage-mid) 100%);
    color: var(--cream);
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schedule-date .day { font-size: 2rem; font-family: var(--font-display); line-height: 1; color: var(--gold); }
.schedule-date .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.75; }
.schedule-date .time { font-size: 0.85rem; font-weight: 600; margin-top: 0.35rem; }

.schedule-info { padding: 1rem 0; }
.schedule-info h3 { margin-bottom: 0.25rem; font-size: 1.2rem; }
.schedule-info p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.schedule-seats { font-size: 0.8rem; color: var(--warm); font-weight: 600; }

.schedule-item .btn { margin-right: 1.25rem; }

@media (max-width: 640px) {
    .schedule-item { grid-template-columns: 1fr; text-align: center; }
    .schedule-item .btn { margin: 0 1rem 1rem; }
}

/* ── Билеты ── */
.ticket-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 900px) { .ticket-layout { grid-template-columns: 1fr; } }

.hall-map {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--sand-dark);
    box-shadow: inset 0 0 60px rgba(36, 28, 22, 0.04);
}

.stage {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(180deg, var(--stage-mid) 0%, var(--stage-dark) 100%);
    border-radius: 50% 50% 12px 12px / 30% 30% 12px 12px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold);
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    box-shadow: 0 8px 32px rgba(36, 28, 22, 0.2);
}

.seats-grid { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.seat-row { display: flex; gap: 0.4rem; align-items: center; }
.row-label { width: 24px; font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-align: center; }

.seat {
    width: 28px;
    height: 26px;
    border-radius: 6px 6px 4px 4px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
    font-size: 0;
}

.seat.available { background: var(--sand-dark); }
.seat.available:hover { background: var(--gold); transform: scale(1.15); box-shadow: 0 0 12px var(--gold-glow); }
.seat.selected { background: var(--warm-dark); box-shadow: 0 0 0 2px var(--gold), 0 0 16px var(--gold-glow); }
.seat.taken { background: #ddd; cursor: not-allowed; opacity: 0.45; }

.seat-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin-top: 1.5rem; font-size: 0.82rem; color: var(--text-muted); }
.legend-dot { width: 16px; height: 16px; border-radius: 4px; display: inline-block; }

.ticket-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--sand-dark);
    position: sticky;
    top: calc(var(--nav-h) + 1rem);
}

.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--sand-dark);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--cream);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--warm); box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.15); }

.ticket-total { display: flex; justify-content: space-between; padding: 1rem 0; border-top: 1px solid var(--sand); margin: 1rem 0; font-weight: 700; font-size: 1.1rem; }
.demo-notice { padding: 0.75rem 1rem; background: var(--sand); border-radius: 10px; font-size: 0.82rem; color: var(--text-muted); margin-top: 1rem; }

/* ── Контент ── */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) { .content-grid { grid-template-columns: 1fr; } }

.content-image {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px var(--shadow);
    overflow: hidden;
}

.content-image img {
    transition: transform 0.6s ease;
}

.content-grid:hover .content-image img {
    transform: scale(1.03);
}

.content-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(184, 149, 106, 0.25);
    border-radius: var(--radius-lg);
    margin: 10px;
    pointer-events: none;
    z-index: 1;
}

.stage-frame {
    box-shadow:
        0 16px 48px var(--shadow),
        0 0 0 1px rgba(212, 165, 116, 0.2),
        inset 0 0 40px rgba(36, 28, 22, 0.15);
}

.stage-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 165, 116, 0.35);
    border-radius: var(--radius-lg);
    margin: 18px;
    pointer-events: none;
    z-index: 2;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

.stat-item {
    text-align: center;
    padding: 1.35rem 0.75rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--sand-dark);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--warm));
    opacity: 0.85;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow);
}

.stat-item .num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--warm-dark);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-item .label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.35rem; letter-spacing: 0.02em; }

/* ── Труппа ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.75rem;
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    border: 1px solid var(--sand-dark);
    transition: transform 0.35s, box-shadow 0.35s;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px var(--shadow);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px var(--shadow);
    border: 3px solid var(--sand-dark);
    aspect-ratio: 1;
}

.team-card h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.team-card .role { font-size: 0.82rem; color: var(--warm); font-weight: 600; margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.team-card p { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

/* ── Новости ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--sand-dark);
    transition: transform 0.35s, box-shadow 0.35s;
}

.news-card:hover { transform: translateY(-5px) rotate(0.3deg); box-shadow: 0 14px 40px var(--shadow); }

.news-card-img {
    aspect-ratio: 16 / 9;
    position: relative;
}

.news-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(36, 28, 22, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.35s;
}

.news-card:hover .news-card-img::after { opacity: 0.7; }

.news-card-img img {
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.04); }

.news-card-body { padding: 1.35rem 1.5rem 1.5rem; }
.news-date { font-size: 0.78rem; color: var(--warm); font-weight: 600; letter-spacing: 0.06em; margin-bottom: 0.5rem; }

/* ── Статья ── */
.article-header { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.article-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.75rem;
    border-left: 4px solid var(--gold);
    background: var(--sand);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--warm-deep);
}

/* ── Галерея ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.35s;
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.45s ease;
}

.gallery-item:hover { transform: scale(1.02); }
.gallery-item:hover img { transform: scale(1.06); }

/* ── Контакты ── */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 768px) { .contacts-grid { grid-template-columns: 1fr; } }

.contact-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--sand-dark);
}

.contact-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.95rem; }

.map-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--sand) 0%, var(--warm-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid var(--sand-dark);
}

/* ── Footer ── */
.site-footer {
    background: var(--stage-dark);
    color: rgba(250, 247, 243, 0.85);
    padding: 3.5rem 0 0;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo { color: var(--cream); margin-bottom: 0.75rem; }
.footer-brand .logo span { color: rgba(250, 247, 243, 0.55); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; opacity: 0.75; margin: 0; }

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(250, 247, 243, 0.7); font-size: 0.88rem; }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
    border-top: 1px solid rgba(212, 165, 116, 0.12);
    padding: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ── Page header с аркой ── */
.page-header {
    padding: 3rem 0 2.5rem;
    margin-top: calc(-1 * var(--nav-h));
    padding-top: calc(3rem + var(--nav-h));
    background: linear-gradient(180deg, var(--stage-dark) 0%, var(--stage-mid) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-header .container { position: relative; z-index: 1; }

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(95vw, 800px);
    height: 60px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-bottom: none;
    border-radius: 200px 200px 0 0;
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 -20px 60px rgba(212, 165, 116, 0.06);
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(212, 165, 116, 0.12), transparent 60%),
        radial-gradient(ellipse 40% 50% at 20% 100%, rgba(107, 45, 45, 0.08), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.page-header h1 { color: var(--cream); font-family: var(--font-display); letter-spacing: 0.03em; }
.page-header p { color: rgba(250, 247, 243, 0.65); margin: 0; max-width: 560px; }

.breadcrumbs { padding: 0 0 1rem; font-size: 0.82rem; color: rgba(250, 247, 243, 0.5); }
.breadcrumbs a { color: var(--gold); }
.breadcrumbs span { margin: 0 0.4rem; }

/* ── Info cards ── */
.info-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }

.info-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--sand-dark);
    transition: transform 0.3s, border-color 0.3s;
    color: inherit;
}

.info-card:hover { transform: translateY(-4px); border-color: var(--warm-light); }

.info-card .t-icon { margin-bottom: 0.85rem; }

.info-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.info-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ── SVG-иконки ── */
.t-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--warm-dark);
}

.t-icon svg { display: block; }

.t-icon--lg {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.22), rgba(184, 149, 106, 0.1));
    border: 1px solid rgba(184, 149, 106, 0.25);
}

.t-icon--lg svg { width: 26px; height: 26px; }

.t-icon--md {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(184, 149, 106, 0.12);
    border: 1px solid rgba(184, 149, 106, 0.18);
}

.t-icon--md svg { width: 22px; height: 22px; }

.t-icon--sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.14);
    border: 1px solid rgba(212, 165, 116, 0.22);
    color: var(--gold);
}

.t-icon--sm svg { width: 16px; height: 16px; }

.t-icon--xs svg { width: 15px; height: 15px; }

.meta-line {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.meta-line .t-icon--xs { color: var(--warm); }

.trust-item .t-icon--sm { flex-shrink: 0; }

/* ── Посетителям ── */
.visit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.visit-card {
    padding: 1.65rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--sand-dark);
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
    position: relative;
    overflow: hidden;
}

.visit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--warm));
    opacity: 0;
    transition: opacity 0.3s;
}

.visit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px var(--shadow);
    border-color: rgba(184, 149, 106, 0.35);
}

.visit-card:hover::before { opacity: 1; }

.visit-card h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.visit-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

.visit-steps-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.visit-steps-head p { color: var(--text-muted); margin: 0; }

.step-track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--sand-dark);
}

.step-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1;
    color: var(--gold);
    flex-shrink: 0;
    opacity: 0.85;
}

.step-item h4 { font-size: 1rem; margin: 0 0 0.35rem; font-family: var(--font-heading); }
.step-item p { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

.visit-route {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 768px) { .visit-route { grid-template-columns: 1fr; } }

.visit-address { font-size: 1.05rem; margin-bottom: 1.25rem; }

.route-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.route-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text);
}

.route-marker { flex-shrink: 0; margin-top: 0.1rem; color: var(--warm); }

/* ── Карта (стилизованная) ── */
.map-card {
    position: relative;
    min-height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(145deg, var(--stage-mid) 0%, var(--stage-dark) 100%);
    color: var(--cream);
    border: 1px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 16px 48px var(--shadow-lg);
}

.map-card--tall { min-height: 240px; margin-bottom: 1.25rem; }

.map-card-grid {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(212, 165, 116, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 165, 116, 0.5) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.map-card-pin {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
}

.map-card-body {
    position: relative;
    z-index: 2;
    padding: 1.75rem;
    max-width: 85%;
}

.map-card-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.map-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 0.35rem;
}

.map-card-body p { font-size: 0.88rem; color: rgba(250, 247, 243, 0.65); margin: 0; }

/* ── Контакты ── */
.contacts-quick {
    background: var(--stage-dark);
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    position: relative;
    z-index: 2;
}

.contacts-quick-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 4vw, 2.5rem);
    padding: 1.1rem 0;
}

.contacts-quick-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: rgba(250, 247, 243, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

a.contacts-quick-item:hover { color: var(--gold); }

.contacts-quick-item strong { color: var(--gold); font-weight: 600; }

.contacts-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 900px) { .contacts-page { grid-template-columns: 1fr; } }

.contact-dept {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--sand-dark);
    margin-bottom: 1rem;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.contact-dept:hover {
    box-shadow: 0 10px 32px var(--shadow);
    border-color: rgba(184, 149, 106, 0.3);
}

.contact-dept-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.contact-dept-head h3 { margin: 0; font-size: 1.1rem; }

.contact-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.contact-lines li,
.contact-lines a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text);
    text-decoration: none;
}

.contact-lines a:hover { color: var(--warm-dark); }

.contact-dept--address p { font-size: 0.92rem; margin: 0 0 0.75rem; line-height: 1.6; }

.contact-note { font-size: 0.85rem !important; color: var(--text-muted) !important; }

.contact-form {
    padding: 1.75rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--sand-dark);
}

.contact-form h3 { margin-bottom: 0.35rem; font-size: 1.2rem; }

.contact-form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
}

/* ── Timeline ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--warm-light));
}

.timeline-item { position: relative; margin-bottom: 2rem; padding-left: 1.5rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.65rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--cream);
    box-shadow: 0 0 12px var(--gold-glow);
}

.timeline-year { font-family: var(--font-display); font-size: 1.5rem; color: var(--warm-dark); }

/* ── Show detail ── */
.show-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 768px) { .show-hero { grid-template-columns: 1fr; } }

.show-hero-poster {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px var(--shadow-lg);
    max-height: 72vh;
    overflow: hidden;
}

.show-hero-poster img {
    transition: transform 0.6s ease;
}

.show-hero:hover .show-hero-poster img {
    transform: scale(1.02);
}

.show-details { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; }
.show-detail-item { font-size: 0.9rem; }
.show-detail-item strong {
    display: block;
    color: var(--warm-dark);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.15rem;
}

.cast-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.cast-tag { padding: 0.35rem 0.85rem; background: var(--sand); border-radius: 999px; font-size: 0.84rem; border: 1px solid var(--sand-dark); }

/* ── Demo banner ── */
.demo-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #0a264e;
    color: #e2e9f2;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
}

.demo-banner a { color: #4b8bdc; font-weight: 600; }

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ── Trust strip ── */
.trust-strip {
    background: var(--stage-dark);
    border-top: 1px solid rgba(212, 165, 116, 0.15);
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    position: relative;
    z-index: 2;
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.25rem, 4vw, 3rem);
    padding: 1rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(250, 247, 243, 0.75);
}

.trust-item strong {
    color: var(--gold);
    font-weight: 700;
}

/* ── Section ridge ── */
.section-ridge {
    position: relative;
    z-index: 2;
    line-height: 0;
    margin: -1px 0;
}

.section-ridge svg {
    display: block;
    width: 100%;
    height: 36px;
}

.section-ridge--sand svg path { fill: var(--sand); }
.section-ridge--cream svg path { fill: var(--cream); }
.section-ridge--dark svg path { fill: var(--stage-mid); }
.section-ridge--white svg path { fill: var(--white); }

/* ── Quote strip ── */
.quote-strip {
    background:
        radial-gradient(ellipse 80% 120% at 50% 50%, rgba(212, 165, 116, 0.14), transparent 60%),
        linear-gradient(135deg, var(--velvet-deep) 0%, var(--warm-deep) 45%, var(--stage-mid) 100%);
    color: var(--cream);
    padding: clamp(3.5rem, 8vw, 5rem) 0;
    text-align: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.quote-strip::before,
.quote-strip::after {
    content: '“';
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 14rem);
    line-height: 1;
    color: rgba(212, 165, 116, 0.08);
    pointer-events: none;
}

.quote-strip::before { top: -1rem; left: 5%; }
.quote-strip::after {
    content: '”';
    bottom: -3rem;
    right: 5%;
    top: auto;
}

.quote-strip blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-style: italic;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.45;
    color: var(--cream);
    position: relative;
    z-index: 1;
}

.quote-strip cite {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    font-style: normal;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-family: var(--font-body);
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
    body.curtains-open .curtain-left,
    body.curtains-open .curtain-right { transform: none; }
    .hero-dust { display: none; }
}
