/* ============ БАЗА / ПЕРЕМЕННЫЕ ============ */
:root {
    --burgundy: #4a0d16;
    --burgundy-2: #63111f;
    --burgundy-3: #340a10;
    --gold: #c8943e;
    --gold-2: #d9a94f;
    --gold-light: #eec97f;
    --cream: #faf5ea;
    --cream-2: #f3ead7;
    --ink: #2b1a14;
    --muted: #7c6a5d;
    --line: #e7dcc7;
    --shadow: 0 18px 45px -18px rgba(74, 13, 22, 0.35);
    --radius: 16px;
    --maxw: 1200px;
    --header-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
    margin: 0;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; margin: 0; line-height: 1.15; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 16px;
    position: relative;
    padding-left: 42px;
}
.eyebrow::before {
    content: "";
    position: absolute; left: 0; top: 50%;
    width: 30px; height: 2px; background: var(--gold);
    transform: translateY(-50%);
}
.eyebrow--light { color: var(--gold-light); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head .eyebrow { padding-left: 0; }
.section__head .eyebrow::before { display: none; }
.section__title { font-size: clamp(28px, 4vw, 46px); font-weight: 800; color: var(--burgundy); }
.section__title--light { color: #fff; }
.section__desc { color: var(--muted); font-size: 17px; margin-top: 16px; }
.section__desc--light { color: rgba(255,255,255,0.8); }
.section__cta { text-align: center; margin-top: 48px; }
.section__cta-btn { font-size: 16px; }

/* ============ КНОПКИ ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 50px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--gold {
    background: var(--gold);
    color: #3a0a11;
    box-shadow: 0 12px 26px -10px rgba(200, 148, 62, 0.7);
}
.btn--gold:hover { background: var(--gold-2); transform: translateY(-3px); box-shadow: 0 18px 32px -10px rgba(200, 148, 62, 0.8); }

.btn--ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.55);
    backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }

.btn--outline {
    background: transparent;
    color: var(--burgundy);
    border-color: var(--gold);
}
.btn--outline:hover { background: var(--gold); color: #3a0a11; transform: translateY(-3px); }

.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn--outline-light:hover { background: #fff; color: var(--burgundy); transform: translateY(-3px); }

/* ============ ТОП-БАР ============ */
.topbar {
    background: var(--burgundy-3);
    color: rgba(255,255,255,0.82);
    font-size: 13.5px;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar__contacts { display: flex; gap: 26px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s ease; }
.topbar__item:hover { color: var(--gold-light); }
.topbar__item svg { color: var(--gold); }
.topbar__social { display: flex; gap: 10px; }
.topbar__social a {
    width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}
.topbar__social a:hover { background: var(--gold); color: #3a0a11; transform: translateY(-2px); }

/* ============ ШАПКА ============ */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 8px 30px -12px rgba(0,0,0,0.18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
    width: 48px; height: 48px; border-radius: 12px; object-fit: cover;
    box-shadow: var(--shadow); flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; }
.brand__title { font-family: "Playfair Display", serif; font-weight: 800; font-size: 20px; color: var(--burgundy); }
.brand__divider { width: 100%; height: 1px; background: var(--gold); display: block; }
.brand__sub { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
    font-size: 14px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase;
    color: var(--ink); position: relative; padding: 6px 0; transition: color 0.2s ease;
}
.nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: var(--gold); transition: width 0.28s ease;
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

.header__cta { margin-left: 8px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2.5px; background: var(--burgundy); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__slider { position: absolute; inset: 0; }
.hero__slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 25%; background-repeat: no-repeat;
    opacity: 0; transform: scale(1.06);
    transition: opacity 1.2s ease, transform 7s ease;
}
.hero__slide.is-active { opacity: 1; transform: scale(1.14); }
@keyframes heroZoom { to { transform: scale(1.14); } }
@keyframes heroZoom { to { transform: scale(1.14); } }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(52,10,16,0.99) 0%,
        rgba(52,10,16,0.90) 28%,
        rgba(52,10,16,0.75) 58%,
        rgba(52,10,16,0.50) 82%,
        rgba(52,10,16,0.50) 100%);
}
.hero__content { position: relative; z-index: 2; color: #fff; padding: 60px 24px; /*max-width: 900px;*/ text-align: center; margin: 0 auto; }
.hero__badge {
    display: inline-block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold-light); border: 1px solid rgba(238,201,127,0.5);
    padding: 8px 18px; border-radius: 50px; margin-bottom: 26px;
}
.hero__pre { font-family: "Playfair Display", serif; font-size: clamp(18px, 2.4vw, 26px); font-weight: 500; letter-spacing: 2px; margin: 0 0 4px; color: rgba(255,255,255,0.9); }
.hero__title {
    font-size: clamp(58px, 10vw, 128px); font-weight: 900; line-height: 0.95; 
    margin: 25px 0 50px 0;
    color: var(--gold-light);
    text-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.hero__lead { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,0.9); max-width: 560px; margin: 22px 0 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; justify-content: center; }
.hero__socials { display: flex; gap: 16px; margin-top: 10px; align-items: center; background: rgba(255,255,255,0.12); padding: 10px 20px; border-radius: 50px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.08); }
.hero__socials a { color: rgba(255,255,255,0.7); transition: color 0.3s ease; }
.hero__socials a:hover { color: var(--gold-light); }
.hstat { display: flex; flex-direction: column; }
.hstat__num { font-family: "Playfair Display", serif; font-size: 40px; font-weight: 800; color: var(--gold-light); line-height: 1; }
.hstat__label { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 6px; max-width: 170px; }
.hero__scroll {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
    color: rgba(255,255,255,0.85); animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%, 0);} 50% { transform: translate(-50%, 10px);} }

/* ============ ПРЕИМУЩЕСТВА ============ */
.benefits { background: var(--cream); padding: 70px 0; margin-top: -1px; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 26px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.benefit__icon {
    width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cream-2); color: var(--burgundy);
}
.benefit:hover .benefit__icon { background: var(--gold); color: #3a0a11; }
.benefit h3 { font-size: 20px; color: var(--burgundy); margin-bottom: 10px; }
.benefit p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ============ ПАРТНЁРЫ ============ */
.partners { 
    background: var(--cream-2);
    padding: 56px 0;
    position: relative;
}
.partners::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}
.partners__carousel {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 32px 0;
    overflow-x: hidden;
    scrollbar-width: none;
}
.partners__carousel::-webkit-scrollbar { display: none; }
.partners__carousel.reveal {
    animation: scrollPartners 20s linear infinite;
    white-space: nowrap;
}
.partner-logo {
    flex: 0 0 auto;
    width: 150px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============ ПРОГРАММЫ ============ */
.programs { background: var(--cream); }
.prog-cards { display: flex; flex-direction: column; gap: 30px; }
.prog-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: 0 12px 30px -22px rgba(74,13,22,0.5);
    display: grid; grid-template-columns: 1fr 1fr;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.prog-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.prog-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s ease; }
.prog-card__media--top img { object-position: top center; }
.prog-card:hover .prog-card__media img { transform: scale(1.08); }
.prog-card__body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.prog-card__title { font-size: 23px; color: var(--burgundy); margin-bottom: 12px; }
.prog-card__text { font-size: 14.5px; color: var(--muted); margin: 0 0 20px; line-height: 1.6; }
.prog-card__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Видео при наведении на программу */
.prog-card__media { position: relative; }
.prog-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.prog-card__media img {
    position: relative;
    z-index: 0;
    transition: opacity 0.3s ease;
}

/* Иконка плея и клик-область для воспроизведения видео */
.prog-card__media .video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}
.prog-card__media .video-placeholder {
    width: 75px;
    height: 75px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23fff' points='24,18 24,46 50,32'/%3E%3C/svg%3E");
    background-size: 52px 52px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ============ ПРОГРАММА ДЕТАЛЬ ============ */
.program-detail { background: var(--cream); }
.program-detail__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.program-detail__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.program-detail__content { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: 0 12px 30px -18px rgba(74,13,22,0.3); }
.program-detail__title { font-size: 24px; color: var(--burgundy); margin-bottom: 16px; }
.program-detail__text { font-size: 16px; color: var(--muted); margin: 0 0 16px; line-height: 1.6; }
.program-detail__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.program-detail__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.program-detail__list li { 
    padding-left: 24px; 
    position: relative; 
    font-size: 15px; 
    color: var(--muted);
}
.program-detail__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .program-detail__inner { grid-template-columns: 1fr; gap: 40px; }
    .program-detail__content { padding: 28px; }
}

/* ============ МЕРОПРИЯТИЯ И ТЕЛЕКАНАЛЫ ============ */
.events { background: var(--cream); }
.events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: 0 8px 24px -12px rgba(74,13,22,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-card__media { aspect-ratio: 3 / 4; overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.event-card__body { padding: 22px; }
.event-card__title { font-size: 18px; color: var(--burgundy); margin-bottom: 8px; }
.event-card__text { font-size: 13px; color: var(--muted); margin: 0; }

/* Белая кнопка "Подробнее" */
.btn--ghost-light {
    background: #fff; color: var(--burgundy); border: 2px solid var(--gold);
}
.btn--ghost-light:hover { background: var(--gold); color: #3a0a11; transform: translateY(-3px); }

/* ============ О НАС ============ */
.about { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.about__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about__badge {
    position: absolute; bottom: -26px; right: -14px;
    background: var(--burgundy); color: #fff; padding: 20px 26px; border-radius: 14px;
    text-align: center; box-shadow: var(--shadow);
}
.about__badge-num { display: block; font-family: "Playfair Display", serif; font-size: 34px; font-weight: 800; color: var(--gold-light); }
.about__badge-text { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.about__content .section__title { margin-bottom: 28px; }
.about__block { margin-bottom: 22px; padding-left: 20px; border-left: 3px solid var(--gold); }
.about__block h4 { font-size: 19px; color: var(--burgundy); margin-bottom: 6px; }
.about__block p { font-size: 15px; color: var(--muted); margin: 0; }

/* ============ CTA-БАННЕР ============ */
.ctaband { background: linear-gradient(120deg, var(--burgundy-3), var(--burgundy-2)); position: relative; overflow: hidden; }
.ctaband::before {
    content: ""; position: absolute; top: -60px; right: -40px; width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(200,148,62,0.25), transparent 70%); border-radius: 50%;
}
.ctaband__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 24px; position: relative; z-index: 1; flex-wrap: wrap; }
.ctaband__title { font-size: clamp(24px, 3vw, 38px); color: #fff; max-width: 640px; }
.ctaband__sub { color: rgba(255,255,255,0.8); margin: 12px 0 0; }

/* ============ ГАЛЕРЕЯ ============ */
.gallery { background: var(--cream); }
.gallery-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}
.gallery-tab {
    padding: 10px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px -6px rgba(0,0,0,0.08);
}
.gallery-tab:hover {
    background: var(--cream-2);
}
.gallery-tab--active {
    background: var(--gold);
    color: #3a0a11;
    border-color: var(--gold);
    box-shadow: 0 8px 20px -8px rgba(200, 148, 62, 0.4);
}
.masonry {
    columns: 4;
    column-gap: 18px;
}
.masonry__item {
    display: inline-block;
    margin-bottom: 18px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    break-inside: avoid;
    width: 100%;
}
.masonry__item.gallery-hidden {
    display: none !important;
}
.masonry__item img { width: 100%; transition: transform 0.6s ease; }
.masonry__item::after {
    content: ""; position: absolute; inset: 0; background: rgba(74,13,22,0); transition: background 0.3s ease;
}
.masonry__item:hover img { transform: scale(1.08); }
.masonry__item:hover::after { background: rgba(74,13,22,0.25); }
.gallery__actions { text-align: center; margin-top: 40px; }

/* ============ ГАЛЕРЕЯ-СЛАЙДЕР ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.lightbox.active { display: flex; }
.lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}
.lightbox__content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.2s ease;
    z-index: 10;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.3); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
}
.lightbox__close:hover { color: var(--gold); }
.lightbox__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.lightbox__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s ease;
}
.lightbox__dot.active { background: var(--gold); }

/* ============ ВИДЕО ============ */
.video { background: linear-gradient(160deg, var(--burgundy-2), var(--burgundy-3)); }
.video__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.video__item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: #111;
}
.video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-container.playing video { display: block; }
.video-container.playing .video-poster { display: none; }
.video-container.playing .video-play-btn { opacity: 0; pointer-events: none; }
.video-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity .3s ease;
}
.video-container.playing::before { opacity: 0; }

/* В программах: видео вписывается по своим размерам, бока затемнены */
.prog-card__media .video-container video { object-fit: contain; }
.prog-card__media .video-poster { object-fit: cover; }
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    background: #fff;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .35), 0 0 0 3px rgba(255, 255, 255, .25);
    transition: all .3s ease;
}
.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 12px 48px rgba(0, 0, 0, .5), 0 0 0 4px rgba(255, 255, 255, .3);
}
.video-play-ico { width: 22px; height: 22px; flex-shrink: 0; fill: var(--burgundy); }
/* ============ ЗАЯВКА ============ */
.lead { background: var(--cream-2); }
.lead__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.lead__text { color: var(--muted); font-size: 16px; margin: 18px 0 24px; }
.lead__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.lead__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.lead__list svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.lead__contact { border-top: 1px solid var(--line); padding-top: 22px; }
.lead__contact a { display: block; font-family: "Playfair Display", serif; font-size: 30px; font-weight: 800; color: var(--burgundy); }
.lead__contact span { font-size: 14px; color: var(--muted); }

.lead__form {
    background: #fff; border-radius: var(--radius); padding: 38px 34px;
    box-shadow: var(--shadow); border: 1px solid var(--line); position: relative;
}
.lead__form-title { font-size: 24px; color: var(--burgundy); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
    font-family: "Montserrat", sans-serif; font-size: 15px; color: var(--ink);
    background: var(--cream); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,148,62,0.18); background: #fff;
}
.field textarea { resize: vertical; }
.lead__note { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.lead__success {
    position: absolute; inset: 0; background: #fff; border-radius: var(--radius);
    display: none; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 40px; gap: 8px;
}
.lead__success.show { display: flex; animation: fadeIn 0.4s ease; }
.lead__success svg { color: var(--gold); }
.lead__success h4 { font-size: 24px; color: var(--burgundy); }
.lead__success p { color: var(--muted); margin: 0; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.96);} to { opacity: 1; transform: scale(1);} }

/* ============ КОНТАКТЫ ============ */
.contacts { background: linear-gradient(160deg, var(--burgundy), var(--burgundy-3)); }
.contacts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 46px; }
.ccard {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius); padding: 28px 24px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.ccard:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.ccard__icon {
    width: 54px; height: 54px; border-radius: 14px; margin-bottom: 8px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold); color: #3a0a11;
}
.ccard__label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); }
.ccard__value { font-size: 16px; color: #fff; font-weight: 600; }
.contacts__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ ФУТЕР ============ */
.footer { background: var(--burgundy-3); color: rgba(255,255,255,0.85); }
.footer__cols {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px;
    padding: 56px 24px 44px; align-items: start;
}
.footer__col--brand { max-width: 280px; }
.footer__about { color: rgba(255,255,255,0.6); font-size: 14px; margin: 18px 0 0; line-height: 1.6; }
.brand--footer .brand__logo { background: rgba(255,255,255,0.92); }
.brand--footer { margin-bottom: 6px; }
.brand--footer .brand__title { color: #fff; }
.brand--footer .brand__sub { color: rgba(255,255,255,0.6); }
.footer__col-title {
    font-family: "Playfair Display", serif; font-size: 18px; font-weight: 700;
    color: var(--gold-light); margin: 0 0 18px; position: relative; padding-bottom: 10px;
}
.footer__col-title::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold);
}
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__list a, .footer__list li { color: rgba(255,255,255,0.82); font-size: 14.5px; transition: color 0.2s ease; }
.footer__list a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}
.footer__social a:hover { background: var(--gold); color: #3a0a11; transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; font-size: 13px; color: rgba(255,255,255,0.55); text-align: center; }

/* ============ FLOATING CTA (mobile) ============ */
.floating-cta {
    position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: #3a0a11; font-weight: 700; font-size: 15px;
    padding: 14px 30px; border-radius: 50px; z-index: 90;
    box-shadow: 0 14px 30px -8px rgba(0,0,0,0.4); display: none;
}

/* ============ НАПРАВЛЕНИЯ ============ */
.directions { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); }
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dir {
    position: relative; border-radius: var(--radius); overflow: hidden;
    min-height: 420px; display: flex; align-items: flex-end;
    box-shadow: 0 12px 34px -18px rgba(74,13,22,0.55);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.dir:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.dir__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dir:hover .dir__img { transform: scale(1.08); }
.dir::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(52,10,16,0.95) 0%, rgba(52,10,16,0.6) 30%, rgba(52,10,16,0.1) 80%, rgba(52,10,16,0) 100%);
}
.dir__body { position: relative; z-index: 2; padding: 30px 28px; color: #fff; }
.dir__title { font-size: 24px; color: var(--gold-light); margin-bottom: 10px; }
.dir__text { font-size: 14.5px; color: rgba(255,255,255,0.85); margin: 0; }

/* ============ ЦИФРЫ ============ */
.numbers { background: linear-gradient(120deg, var(--burgundy-3), var(--burgundy-2)); position: relative; overflow: hidden; }
.numbers::before {
    content: ""; position: absolute; bottom: -80px; left: -60px; width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(200,148,62,0.22), transparent 70%); border-radius: 50%;
}
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.nstat { text-align: center; padding: 18px 10px; border-right: 1px solid rgba(255,255,255,0.12); }
.nstat:last-child { border-right: none; }
.nstat__num { font-family: "Playfair Display", serif; font-size: clamp(36px, 4vw, 52px); font-weight: 800; color: var(--gold-light); line-height: 1; }
.nstat__label { font-size: 13.5px; color: rgba(255,255,255,0.78); margin-top: 10px; }

/* ============ ГЕОГРАФИЯ ============ */
.geo { background: var(--cream); }
.geo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.geo__text .section__title { margin-bottom: 20px; }
.geo__text p { color: var(--muted); font-size: 16px; margin: 0 0 24px; }
.geo__tags { display: flex; flex-wrap: wrap; gap: 12px; }
.geo__tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 50px;
    padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--burgundy);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.geo__tag svg { color: var(--gold); }
.geo__tag:hover { background: var(--gold); color: #3a0a11; transform: translateY(-3px); }
.geo__tag:hover svg { color: #3a0a11; }
.geo__media { position: relative; }
.geo__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.geo__slider { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.geo__slide { display: none; }
.geo__slide.active { display: block; }
.geo__slide img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.geo__arrows { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 12px; pointer-events: none; z-index: 2; }
.geo__arrow { pointer-events: auto; background: rgba(255,255,255,0.85); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--burgundy); transition: background 0.2s ease, transform 0.2s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.geo__arrow:hover { background: #fff; transform: scale(1.1); }
.geo__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.geo__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; padding: 0; transition: background 0.2s ease; }
.geo__dot.active { background: var(--gold); }

/* ============ ОТЗЫВЫ ============ */
.reviews { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 28px; display: flex; flex-direction: column;
    box-shadow: 0 10px 30px -20px rgba(74,13,22,0.5); position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.review__quote {
    font-family: "Playfair Display", serif; font-size: 64px; line-height: 0.7;
    color: var(--gold); opacity: 0.35; margin-bottom: 6px;
}
.review__stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.review__text { font-size: 15px; color: var(--ink); margin: 0 0 22px; flex: 1; }
.review__author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.review__ava {
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(140deg, var(--burgundy), var(--burgundy-2));
    color: var(--gold-light); font-family: "Playfair Display", serif; font-weight: 800; font-size: 20px;
}
.review__name { font-weight: 700; color: var(--burgundy); font-size: 15px; }
.review__role { font-size: 13px; color: var(--muted); }

/* ============ ЭТАПЫ ЗАКАЗА ============ */
.steps { background: var(--cream); }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 40px 28px 32px; text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.step__num {
    position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(140deg, var(--gold), var(--gold-2)); color: #3a0a11;
    font-family: "Playfair Display", serif; font-weight: 800; font-size: 22px;
    box-shadow: 0 10px 22px -8px rgba(200,148,62,0.8);
}
.step__icon {
    width: 62px; height: 62px; margin: 8px auto 16px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cream-2); color: var(--burgundy);
}
.step:hover .step__icon { background: var(--gold); color: #3a0a11; }
.step h3 { font-size: 20px; color: var(--burgundy); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }
.steps__cta { text-align: center; margin-top: 46px; }

/* ============ FAQ ============ */
.faq { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); }
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow 0.3s ease; }
.faq__item.open { box-shadow: var(--shadow); }
.faq__q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 22px 24px; font-family: "Montserrat", sans-serif; font-weight: 600;
    font-size: 16px; color: var(--burgundy);
}
.faq__q-icon {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--cream-2); color: var(--burgundy); transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq__item.open .faq__q-icon { transform: rotate(45deg); background: var(--gold); color: #3a0a11; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__a-inner { padding: 0 24px 24px; color: var(--muted); font-size: 15px; }

/* ============ REVEAL-АНИМАЦИИ ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.masonry__item.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

/* ============ АДАПТИВ ============ */
@media (max-width: 1024px) {
    .benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .cards { grid-template-columns: repeat(2, 1fr); }
.prog-cards { grid-template-columns: repeat(2, 1fr); }
    .prog-card { display: flex; flex-direction: column; }
    .video__grid { grid-template-columns: 1fr; }
    .masonry { columns: 3; }
    .contacts__grid { grid-template-columns: repeat(2, 1fr); }
    .about__inner { grid-template-columns: 1fr; gap: 60px; }
    .about__media { max-width: 560px; }
    .dirs { grid-template-columns: 1fr; }
    .dir { min-height: 300px; }
    .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
    .nstat:nth-child(2) { border-right: none; }
    .footer__cols { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer__col--brand { grid-column: 1 / -1; max-width: none; }
    .steps__grid { grid-template-columns: 1fr; gap: 46px; }
    .geo__inner { grid-template-columns: 1fr; gap: 40px; }
    .geo__media { max-width: 560px; }
}

@media (max-width: 860px) {
    .topbar__item--mail { display: none; }
    .topbar__item--city { display: none; }
    .nav {
        position: fixed; top: calc(42px + var(--header-h)); right: 0; left: 0;
        background: #fff; flex-direction: column; gap: 0; padding: 10px 24px 20px;
        box-shadow: 0 20px 30px -12px rgba(0,0,0,0.2);
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
        z-index: 99;
        max-height: calc(100vh - 116px); overflow-y: auto;
    }
    .nav.open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s; }
    .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
    .nav a::after { display: none; }
    .header__cta { display: none; }
    .burger { display: flex; }
    .lead__inner { grid-template-columns: 1fr; gap: 40px; }
    .floating-cta { display: inline-block; }
}

@media (max-width: 620px) {
    .section { padding: 64px 0; }
    .topbar__item--mail { display: none; }
    .topbar__item--city { display: none; }
    .topbar__social-link--mail { display: none; }
    .topbar__social-link--phone { display: none; }
    .topbar__social-link--rutube { display: none; }
    .topbar__social-link--music { display: none; }
    .topbar__contacts { gap: 10px; overflow-x: auto; padding-bottom: 4px; font-size: 12px; }
    .topbar__contacts::-webkit-scrollbar { height: 3px; }
    .topbar__contacts::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 2px; }
    .topbar__social { gap: 6px; overflow-x: auto; padding-bottom: 4px; }
    .topbar__social::-webkit-scrollbar { height: 3px; }
    .topbar__social::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 2px; }
    .benefits__grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .prog-cards { grid-template-columns: 1fr; }
    .masonry { columns: 2; column-gap: 12px; }
    .masonry__item { margin-bottom: 12px; }
    .contacts__grid { grid-template-columns: 1fr; }
    .numbers__grid { grid-template-columns: repeat(2, 1fr); }
    .nstat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 22px; }
    .nstat:nth-last-child(-n+1) { border-bottom: none; }
    .reviews__grid { grid-template-columns: 1fr; }
    .faq__q { font-size: 15px; padding: 18px 20px; }
    .hero { min-height: 92vh; }
    .hero__stats { gap: 26px; }
    .hstat__num { font-size: 32px; }
    .ctaband__inner { flex-direction: column; align-items: flex-start; }
    .about__badge { right: 10px; bottom: -20px; padding: 14px 18px; }
    .lead__form { padding: 28px 22px; }
    .footer__cols { grid-template-columns: 1fr; gap: 28px; padding: 44px 24px 36px; }
    .footer__col--brand { grid-column: auto; }
    .gallery-tabs { flex-wrap: wrap; }
}
.ds-markdown-paragraph
    {
        text-align: justify;
    }