@font-face {
    font-family: 'NeueMetana';
    src: url('../brandbook/NeueMetanaNext-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bookos';
    src: url('../brandbook/BOOKOS.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --bg-card: #161616;
    --red: #E8241A;
    --red-hover: #c91d14;
    --white: #ffffff;
    --gray: #7a7a7a;
    --gray-light: #cccccc;
    --border: #242424;
    --font-heading: 'NeueMetana', 'Arial Black', Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 10px;
    --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.12;
    color: var(--white);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--gray-light); line-height: 1.75; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
    line-height: 1;
}
.btn-red {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-red:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,36,26,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.07);
}
.btn-lg {
    padding: 1.125rem 2.75rem;
    font-size: 1.0625rem;
}
.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

/* ─── HEADER ─── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.header.scrolled {
    background: rgba(0,0,0,0.97);
}

.nav {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
    flex-shrink: 0;
}
.logo-img {
    height: 34px;
    width: auto;
    mix-blend-mode: screen;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}
.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.875rem;
    color: #b0b0b0;
    font-size: 0.9375rem;
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-link svg { width: 12px; height: 12px; opacity: 0.6; transition: transform var(--transition); }
.nav-item:hover .nav-link { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); opacity: 1; }

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    background: #1c1c1c;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--transition);
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-link {
    display: block;
    padding: 0.55rem 0.875rem;
    color: #b0b0b0;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all var(--transition);
}
.dropdown-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.07);
}

.nav-cta { margin-left: 1rem; }

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    margin-left: auto;
}
.burger span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
}
.hero > .container { width: 100%; }
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../brandbook/Ресурс 2н.png');
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg) 0%, var(--bg) 30%, rgba(10,10,10,0.4) 50%, transparent 70%);
    z-index: 1;
}
.hero-glow {
    top: 30%;
    left: -260px;
    opacity: 0.55;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 3;
    padding: 9rem 0 5rem;
    max-width: 640px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    padding: 0.4rem 0.875rem;
    border-radius: 100px;
}
.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-sub {
    font-size: 1.125rem;
    color: #b8b8b8;
    margin-bottom: 2.5rem;
    max-width: 580px;
    line-height: 1.7;
}
.hero-sub strong { color: var(--white); font-weight: 600; }
.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.hero-meta {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ─── SUPPORT BAR ─── */
.support-bar {
    background: var(--red);
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--white);
}

/* ─── SECTIONS ─── */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: #000; }

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-title { margin-bottom: 1.25rem; }
.section-sub {
    font-size: 1.125rem;
    color: var(--gray-light);
    max-width: 620px;
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

/* ─── STATS ─── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 5rem;
}
.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.375rem;
}
.stat-num span { color: var(--red); }
.stat-label {
    font-size: 0.8125rem;
    color: var(--gray);
    line-height: 1.4;
}

/* ─── AUDIENCE ─── */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.25rem;
    transition: border-color var(--transition), transform var(--transition);
}
.audience-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
}
.audience-tag {
    display: inline-block;
    background: rgba(232,36,26,0.15);
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    border: 1px solid rgba(232,36,26,0.25);
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}
.audience-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.audience-card p { font-size: 0.9375rem; }

/* ─── PROBLEMS ─── */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.problem-item {
    padding-left: 1.5rem;
    border-left: 3px solid var(--red);
}
.problem-item h4 { font-size: 1.0625rem; margin-bottom: 0.625rem; }
.problem-item p { font-size: 0.9375rem; }
.problems-conclusion {
    text-align: center;
    font-size: 1.25rem;
    color: var(--white);
    font-style: italic;
    padding: 2rem 3rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    font-family: 'Bookos', Georgia, serif;
}

/* ─── TIMELINE ─── */
.timeline { position: relative; }
.timeline-items { display: flex; flex-direction: column; }
.timeline-item {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 0 3rem;
    position: relative;
    padding-bottom: 3rem;
}
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-dot-col { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-spacer { grid-column: 1; grid-row: 1; }

.timeline-item:nth-child(odd) .timeline-content { grid-column: 1; }
.timeline-item:nth-child(odd) .timeline-dot-col { grid-column: 2; }
.timeline-item:nth-child(odd) .timeline-spacer { grid-column: 3; }

.timeline-dot-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-dot-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--red);
    border: 3px solid var(--bg-alt);
    box-shadow: 0 0 0 2px var(--red);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-top: 0.3rem;
}
.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--border);
    margin-top: 6px;
}
.timeline-item:last-child .timeline-line { display: none; }

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: border-color var(--transition);
}
.timeline-content:hover { border-color: rgba(232,36,26,0.4); }
.timeline-date {
    font-size: 0.8125rem;
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.timeline-content h3 { font-size: 1.375rem; margin-bottom: 0.75rem; }
.timeline-content p { font-size: 0.9375rem; }

.timeline-forum {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(232,36,26,0.07);
    border: 1px solid rgba(232,36,26,0.2);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--gray-light);
}
.timeline-forum strong { color: var(--red); display: block; margin-bottom: 0.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* Simple vertical timeline for mobile/subpages */
.timeline-v { display: flex; flex-direction: column; gap: 0; }
.timeline-v-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}
.timeline-v-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-v-circle {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--red);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--red);
    flex-shrink: 0;
    z-index: 1;
    margin-top: 0.25rem;
}
.timeline-v-line {
    width: 2px;
    flex: 1;
    background: var(--border);
    margin-top: 6px;
}
.timeline-v-item:last-child .timeline-v-line { display: none; }
.timeline-v-date { font-size: 0.8125rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.timeline-v-content h3 { font-size: 1.375rem; margin-bottom: 0.625rem; }
.timeline-v-content p { font-size: 0.9375rem; }

/* ─── FORMATS ─── */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.format-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.25rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.format-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.format-card:hover {
    border-color: rgba(232,36,26,0.3);
    transform: translateY(-4px);
}
.format-card:hover::after { transform: scaleX(1); }
.format-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    line-height: 1;
}
.format-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.format-card p { font-size: 0.9375rem; }

/* ─── MENTORS ─── */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}
.mentor-card { text-align: center; display: flex; flex-direction: column; height: 100%; }
.mentor-avatar {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}
.mentor-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.mentor-name {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--white);
}
.mentor-role {
    font-size: 0.8125rem;
    color: var(--gray);
    line-height: 1.4;
    flex: 1 1 auto; /* тянется, чтобы кнопки были на одном уровне */
}
.mentor-note {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--gray);
    font-style: italic;
}

/* ─── MENTORS CAROUSEL ─── */
.mentors-carousel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.mentors-viewport {
    overflow: hidden;
    flex: 1;
    padding: 0.5rem 0;
}
.mentors-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.mentors-track .mentor-card {
    flex: 0 0 calc((100% - 4.5rem) / 4); /* 4 per view */
    box-sizing: border-box;
}
/* Кол-во карточек на экран синхронно с JS (perView в main.js) */
@media (max-width: 1100px) { .mentors-track .mentor-card { flex-basis: calc((100% - 3rem) / 3); } }
@media (max-width: 900px)  { .mentors-track .mentor-card { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width: 600px)  { .mentors-track .mentor-card { flex-basis: 100%; } }
.mentor-more {
    margin-top: auto; /* прижата к низу карточки */
    padding-top: 0.875rem;
    width: 100%;
    justify-content: center;
}
.carousel-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:hover:not(:disabled) {
    border-color: var(--red);
    background: var(--red);
}
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--border);
    cursor: pointer;
    transition: all var(--transition);
}
.carousel-dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* ─── MENTOR MODAL ─── */
.mentor-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.mentor-modal[hidden] { display: none; }
.mentor-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.25s ease;
}
.mentor-modal-dialog {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 86vh;
    overflow-y: auto;
    padding: 2.5rem;
    animation: modalIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.mentor-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition);
}
.mentor-modal-close:hover { color: var(--white); }
.mentor-modal-body h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.mentor-modal-body h4 {
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8125rem;
    margin: 1.5rem 0 0.75rem;
}
.mentor-modal-role { color: var(--gray-light); margin-bottom: 0.5rem; }
.mentor-modal-body ul { list-style: none; padding: 0; }
.mentor-modal-body li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--gray-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.mentor-modal-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }

/* ─── PARTNERS ─── */
.main-partner {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 2px solid rgba(232,36,26,0.4);
    border-radius: 14px;
    margin-bottom: 2rem;
}
.main-partner-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 0.875rem;
}
.main-partner-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
}
/* Главный партнёр (Комитет молодёжной политики) */
.main-partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 560px;
    margin: 1.5rem auto 3rem;
    text-align: center;
}
.partner-logo--main {
    width: 100%;
    max-width: 360px;
    min-height: 160px;
    border-color: rgba(232,36,26,0.45);
    box-shadow: 0 0 0 1px rgba(232,36,26,0.25), 0 14px 40px rgba(0,0,0,0.45);
}
.partner-logo--main img { max-height: 104px; }
.main-partner-caption {
    font-size: 1.0625rem;
    color: var(--gray-light);
    line-height: 1.55;
}
.partners-others-label {
    text-align: center;
    color: var(--gray);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto;
}

/* ─── АНОНС ПЕРВОГО МЕРОПРИЯТИЯ ─── */
.event-announce {
    background: linear-gradient(135deg, rgba(232,36,26,0.16), rgba(22,22,22,0.55));
    border: 1px solid rgba(232,36,26,0.4);
    border-radius: 18px;
    padding: 2.5rem;
}
.event-announce-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.event-announce-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}
.event-announce-lead {
    color: var(--gray-light);
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 780px;
    margin-bottom: 1.75rem;
}
.event-announce-facts {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin: 0 0 2rem;
    max-width: 780px;
}
.event-announce-facts li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    font-size: 0.9375rem;
}
.event-announce-facts span { flex-shrink: 0; }
.event-announce-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.event-announce-note { color: var(--gray); font-size: 0.875rem; }
@media (max-width: 600px) {
    .event-announce { padding: 1.75rem 1.25rem; }
    .event-announce-title { font-size: 1.5rem; }
    .event-announce-facts { grid-template-columns: 1fr; }
    .event-announce-cta { gap: 0.875rem; }
    .event-announce-cta .btn { width: 100%; justify-content: center; }
}
.partner-logo {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray);
    min-height: 110px;
    line-height: 1.4;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.partner-logo img {
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.partner-logo:hover { transform: translateY(-3px); border-color: rgba(232,36,26,0.4); box-shadow: 0 10px 28px rgba(0,0,0,0.4); }
.partner-logo--empty { grid-column: 1 / -1; font-style: italic; background: var(--bg-card); color: var(--gray); }

/* ─── FAQ ─── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.375rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.125rem;
    color: var(--gray);
    transition: all var(--transition);
    line-height: 1;
}
.faq-item.active .faq-icon {
    border-color: var(--red);
    color: var(--red);
    transform: rotate(45deg);
}
.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-answer-inner {
    padding: 0 0 1.5rem;
    color: var(--gray-light);
    font-size: 0.9375rem;
    line-height: 1.75;
    max-width: 760px;
}

/* ─── CTA SECTION ─── */
.cta-section {
    position: relative;
    text-align: center;
    padding: 8rem 0;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background-image: url('../brandbook/Ресурс 2н.png');
    background-size: cover;
    background-position: center;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.82);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section .cta-sub {
    font-size: 1.125rem;
    color: #c0c0c0;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.cta-note {
    font-size: 0.8125rem;
    color: var(--gray);
}
.cta-note a { color: var(--gray-light); text-decoration: underline; text-decoration-color: var(--border); }
.cta-note a:hover { color: var(--white); }

/* ─── FOOTER ─── */
.footer {
    background: #000;
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}
.footer-brand .logo-img { height: 30px; mix-blend-mode: screen; margin-bottom: 1rem; }
.footer-desc {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.socials { display: flex; gap: 0.625rem; }
.social-link {
    width: 38px; height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all var(--transition);
}
.social-link:hover { border-color: var(--red); color: var(--red); }

.footer-col-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray);
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-link {
    font-size: 0.9rem;
    color: #888;
    transition: color var(--transition);
}
.footer-link:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-support {
    font-size: 0.8125rem;
    color: var(--gray);
    max-width: 500px;
    line-height: 1.5;
}
.footer-support strong { color: var(--gray-light); }
.footer-copy { font-size: 0.8125rem; color: var(--gray); white-space: nowrap; }

/* ─── PAGE HERO (subpages) ─── */
.page-hero {
    padding: 9.5rem 0 4.5rem;
    border-bottom: 1px solid var(--border);
}
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 2rem;
}
.breadcrumb a { color: var(--gray); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: var(--border); }

/* ─── EVENTS ─── */
.events-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.45rem 1.125rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--gray-light);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    border-color: var(--red);
    color: var(--red);
    background: rgba(232,36,26,0.08);
}

.events-list { display: flex; flex-direction: column; gap: 1rem; }
.event-card {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 2rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    transition: border-color var(--transition), transform var(--transition);
}
.event-card:hover {
    border-color: rgba(232,36,26,0.35);
    transform: translateY(-2px);
}
.event-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    white-space: nowrap;
}
.event-soon {
    font-size: 0.8125rem;
    color: var(--gray);
    font-style: italic;
    white-space: nowrap;
}
.event-date { text-align: center; }
.event-date-day {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    line-height: 1;
    color: var(--white);
}
.event-date-month {
    font-size: 0.8125rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.event-type-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.625rem;
    border-radius: 100px;
    border: 1px solid rgba(232,36,26,0.4);
    color: var(--red);
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
}
.event-title {
    font-family: var(--font-heading);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}
.event-meta { font-size: 0.875rem; color: var(--gray); }

/* ─── EVENT PAGE (intensive) ─── */
.event-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    max-width: 760px;
}
.event-fact {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.125rem 1.375rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.event-fact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
}
.event-fact-value { color: var(--white); font-size: 0.9375rem; line-height: 1.4; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.step-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem 1.75rem;
}
.step-block-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.step-block h3 { font-size: 1.1875rem; margin-bottom: 0.625rem; color: var(--white); }

.speaker-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    align-items: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}
.speaker-photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    background: #0d0d0d;
}
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.speaker-photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border);
    color: var(--gray);
    font-style: italic;
}
.speaker-bio h3 { font-size: 1.75rem; font-family: var(--font-heading); color: var(--white); margin-bottom: 0.5rem; }
.speaker-tagline { color: var(--red); font-weight: 600; margin-bottom: 1rem; }
.speaker-facts { list-style: none; padding: 0; margin-top: 1.25rem; }
.speaker-facts li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.65rem;
    color: var(--gray-light);
    line-height: 1.6;
}
.speaker-facts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
}
.speaker-row--tba { opacity: 0.75; }

/* ─── EVENT HERO BG ─── */
.event-hero-bg { position: absolute; inset: 0; z-index: 0; }
.event-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.3) saturate(0.75);
    display: block;
}
.event-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10,10,10,0.96) 28%, rgba(10,10,10,0.55) 100%);
}

/* ─── PERKS (что ещё ждёт) ─── */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.perk-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    transition: border-color var(--transition), transform var(--transition);
}
.perk-card:hover { border-color: rgba(232,36,26,0.4); transform: translateY(-3px); }
.perk-icon { font-size: 2rem; margin-bottom: 1rem; }
.perk-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; color: var(--white); }
.perk-card p { font-size: 0.9375rem; }
@media (max-width: 900px) { .perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .perks-grid { grid-template-columns: 1fr; } }

/* ─── THANKS PAGE ─── */
.thanks-check {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 2.75rem;
    line-height: 84px;
    box-shadow: 0 12px 40px rgba(232,36,26,0.45);
    animation: modalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.thanks-bot {
    margin-top: 2.5rem;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(232,36,26,0.3);
    border-radius: 18px;
}
.thanks-bot-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(232,36,26,0.12);
    color: var(--red);
    font-size: 1.75rem;
    line-height: 56px;
}

@media (max-width: 760px) {
    .event-facts { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .speaker-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .speaker-photo { max-width: 220px; }
}

/* ─── APPLY FORM ─── */
.apply-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 4rem;
    align-items: start;
}
.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
}
.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color var(--transition);
    appearance: none;
    -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--red); }
.form-control::placeholder { color: var(--gray); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-radio-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.form-radio { display: inline-flex; margin: 0; cursor: pointer; }
.form-radio input { position: absolute; opacity: 0; pointer-events: none; }
.form-radio span {
    display: block;
    padding: 0.625rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--gray-light);
    transition: all var(--transition);
    white-space: nowrap;
    user-select: none;
}
.form-radio span:hover { border-color: var(--gray); color: var(--white); }
.form-radio input:checked + span {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(232,36,26,0.35);
}
/* видимый фокус для доступности (Tab) */
.form-radio input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form-note { font-size: 0.8125rem; color: var(--gray); margin-top: 0.375rem; }
.form-checkbox { display: flex; gap: 0.75rem; align-items: flex-start; }
.form-checkbox input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.form-checkbox label { font-size: 0.875rem; color: var(--gray-light); line-height: 1.5; }
.form-checkbox a { color: var(--red); }

/* ─── Подсветка ошибок валидации ─── */
.form-control.field-invalid {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(232,36,26,0.2);
}
.form-checkbox.field-invalid label { color: var(--red); }
.group-invalid .form-radio span { border-color: var(--red); }

/* ─── Встроенная Яндекс-форма ─── */
/* Содержимое iframe (с forms.yandex.ru) нельзя стилизовать нашим CSS из-за
   cross-origin. Цвета/фон формы задаются в конструкторе Яндекс-формы (Дизайн).
   Здесь — только нейтральная обёртка, чтобы тёмная форма слилась с сайтом. */
.yaform-wrap {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.yaform-wrap iframe {
    width: 100%;
    min-height: 760px;
    border: 0;
    display: block;
    border-radius: 13px;
}
.form-submit { margin-top: 2rem; }

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 90px;
}
.sidebar-card h4 { margin-bottom: 1.25rem; font-size: 1.125rem; }
.steps-list { display: flex; flex-direction: column; gap: 1.125rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-text { font-size: 0.9375rem; color: var(--gray-light); padding-top: 0.25rem; }

/* ─── CONTACTS ─── */
.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}
.contact-item { display: flex; gap: 1.125rem; align-items: flex-start; margin-bottom: 2rem; }
.contact-icon {
    width: 46px; height: 46px;
    border-radius: 10px;
    background: rgba(232,36,26,0.1);
    border: 1px solid rgba(232,36,26,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.contact-label { font-size: 0.8125rem; color: var(--gray); margin-bottom: 0.25rem; }
.contact-value { font-size: 1rem; color: var(--white); font-weight: 500; }
.contact-value a { transition: color var(--transition); }
.contact-value a:hover { color: var(--red); }

/* ─── PARTNERS PAGE ─── */
.partner-benefit {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.partner-benefit-icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: rgba(232,36,26,0.1);
    border: 1px solid rgba(232,36,26,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.partner-benefit h4 { margin-bottom: 0.375rem; }
.partner-benefit p { font-size: 0.9375rem; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── DECORATIVE GLOW ORBS ─── */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.orb-red {
    background: radial-gradient(circle, rgba(232,36,26,0.22) 0%, rgba(232,36,26,0.07) 45%, transparent 70%);
    filter: blur(1px);
}
.orb-xl { width: 800px; height: 800px; }
.orb-lg { width: 500px; height: 500px; }
.orb-md { width: 320px; height: 320px; }

/* ─── GLASS CARD ─── */
.glass-card {
    background: rgba(255,255,255,0.035) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08) !important;
}

/* ─── PHOTO MARQUEE ─── */
.photo-strip {
    overflow: hidden;
    padding: 2.5rem 0;
    position: relative;
    background: var(--bg);
}
.photo-strip::before,
.photo-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}
.photo-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.photo-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}
.marquee-track {
    display: flex;
    gap: 0.875rem;
    width: max-content;
    animation: mscroll 55s linear infinite;
    will-change: transform;
}
/* Пауза при наведении — только на устройствах с мышью (на тач :hover «залипает») */
@media (hover: hover) {
    .photo-strip:hover .marquee-track { animation-play-state: paused; }
}
.marquee-photo {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
    position: relative;
}
.marquee-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.55) brightness(0.78);
    transition: filter 0.4s ease, transform 0.5s ease;
    display: block;
}
.marquee-photo:hover img {
    filter: saturate(0.9) brightness(0.95);
    transform: scale(1.04);
}
@keyframes mscroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ─── HERO PHOTO (right side single image) ─── */
.hero-photo {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 48%;
    z-index: 1;
    overflow: hidden;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(0.9) contrast(1.02);
}
.hero-photo-fade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to right, var(--bg) 0%, rgba(10,10,10,0.55) 26%, transparent 62%),
        linear-gradient(to bottom, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%);
}

/* ─── GRID PATTERN ─── */
.has-grid-bg {
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 64px 64px;
}

/* ─── PHOTO MOSAIC ─── */
.photo-mosaic {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 210px;
    margin-top: 3rem;
}
.pm-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: default;
}
.pm-item:first-child { grid-row: span 2; }
.pm-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.4s ease;
    filter: saturate(0.65) brightness(0.82);
    display: block;
}
.pm-item:hover img {
    transform: scale(1.04);
    filter: saturate(0.9) brightness(1);
}
.pm-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 55%);
}

/* ─── MENTOR PHOTO ─── */
.mentor-avatar-photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.mentor-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.55s ease;
    filter: saturate(0.85);
    display: block;
}
.mentor-card:hover .mentor-avatar-photo img {
    transform: scale(1.05);
}
.mentor-avatar-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(232,36,26,0.28) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.mentor-card:hover .mentor-avatar-photo::after {
    opacity: 1;
}

/* ─── AUDIENCE CARD PHOTO ─── */
.audience-photo {
    width: calc(100% + 4.5rem);
    height: 280px;
    margin: -2.25rem -2.25rem 1.75rem;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
    flex-shrink: 0;
}
.audience-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: saturate(0.95) brightness(0.95);
    transition: filter 0.4s ease, transform 0.5s ease;
    display: block;
}
.audience-card:hover .audience-photo img {
    filter: saturate(1) brightness(1.05);
    transform: scale(1.04);
}
.audience-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 65%, rgba(22,22,22,0.55) 100%);
}

/* ─── FORMAT CARD PHOTO ─── */
.format-card-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.format-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.format-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.84);
}
.format-card:hover .format-card-photo {
    opacity: 1;
}
.format-card > *:not(.format-card-photo) {
    position: relative;
    z-index: 1;
}

/* ─── SECTION DECO NUMBER ─── */
.deco-num {
    position: absolute;
    font-family: var(--font-heading);
    line-height: 1;
    color: rgba(255,255,255,0.022);
    pointer-events: none;
    user-select: none;
    font-size: 16rem;
    top: -0.15em;
    right: -0.05em;
    z-index: 0;
}

/* ─── ACCENT DIVIDER ─── */
.accent-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(232,36,26,0.4), transparent);
}

/* ─── VERTICAL LINES DECOR (ref 4) ─── */
.vlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    opacity: 0.04;
}
.vlines span {
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: var(--white);
}

/* ─── UTILITIES ─── */
.text-red { color: var(--red); }
.text-gray { color: var(--gray); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.fw-600 { font-weight: 600; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .mentors-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-row { grid-template-columns: repeat(3, 1fr); }
    .stats-row .stat-item:nth-child(3) { border-right: none; }
    .stats-row .stat-item:nth-child(4),
    .stats-row .stat-item:nth-child(5),
    .stats-row .stat-item:nth-child(6) { border-top: 1px solid var(--border); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .timeline-item { grid-template-columns: 1fr; gap: 1rem; }
    .timeline-item .timeline-spacer { display: none; }
    .timeline-item .timeline-dot-col { display: none; }
    .timeline-item .timeline-content { grid-column: 1 !important; }
    .timeline-items { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .nav-list { display: none; }
    .nav-cta { display: none; }
    .burger { display: flex; }

    /* backdrop-filter на .header создаёт containing block и ломает position:fixed
       у выпадающего меню (оно схлопывалось до высоты шапки). На мобиле отключаем. */
    .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10,10,10,0.98); }

    .nav-list.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 72px 0 0;
        height: calc(100dvh - 72px);
        background: #000;
        padding: 2rem 1.5rem 2rem;
        gap: 0.25rem;
        overflow-y: auto;
        z-index: 999;
    }
    .nav-list.open .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0.25rem 0 0.25rem 1rem;
        display: none;
    }
    .nav-list.open .nav-item.open .dropdown { display: block; }
    .nav-list.open .nav-link { font-size: 1.0625rem; padding: 0.625rem 0.75rem; }
    .nav-list.open .nav-cta-mobile {
        display: block !important;
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    .section { padding: 4rem 0; }

    .audience-grid { grid-template-columns: 1fr; }
    .problems-grid { grid-template-columns: 1fr; }
    .formats-grid { grid-template-columns: 1fr 1fr; }
    .mentors-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stats-row .stat-item { border-right: 1px solid var(--border); }
    .stats-row .stat-item:nth-child(2n) { border-right: none; }
    .stats-row .stat-item:nth-child(n+3) { border-top: 1px solid var(--border); }
    .footer-top { grid-template-columns: 1fr; }
    .apply-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contacts-layout { grid-template-columns: 1fr; gap: 2rem; }
    .event-card { grid-template-columns: 70px 1fr; }
    .event-card .event-actions,
    .event-card .event-soon { grid-column: 1 / -1; }
    .event-card .event-actions { flex-direction: row; flex-wrap: wrap; }
    .event-card .event-actions .btn { flex: 1; justify-content: center; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 340px; justify-content: center; }
    .problems-conclusion { padding: 1.5rem; font-size: 1.0625rem; }
}

@media (max-width: 480px) {
    .formats-grid { grid-template-columns: 1fr; }
    .mentors-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; }
}

/* ─── NEW COMPONENTS RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-photo { display: none; }
    .hero-overlay { background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, var(--bg) 100%); }
    .hero-content { max-width: 100%; }
    .deco-num { font-size: 9rem; }
    .photo-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 180px;
    }
    .pm-item:first-child { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 768px) {
    .photo-mosaic { grid-template-columns: 1fr 1fr; }
    .pm-item:nth-child(n+5) { display: none; }
    .marquee-photo { width: 230px; height: 155px; }
    .marquee-track { animation-duration: 28s; } /* быстрее, чтобы движение было заметно на мобиле */
    .deco-num { display: none; }
    .audience-photo {
        width: calc(100% + 3.5rem);
        margin: -1.75rem -1.75rem 1.5rem;
        height: 240px;
    }
    .orb-xl { width: 400px; height: 400px; }
    .orb-lg { width: 280px; height: 280px; }
}
