/* ===== ОСНОВА ПУТИ — Основные стили ===== */

/* CSS переменные */
:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #1a1a1a;
    --color-primary: #ffffff;
    --color-accent: #bfa46b;
    --color-accent-hover: #a88d4a;
    --color-text: #e0e0e0;
    --color-text-secondary: #a0a0a0;
    --color-border: #333333;
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    --font-size-4xl: 64px;
    --container-width: 1200px;
    --section-padding: 80px 0;
    --transition: all 0.3s ease;
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: var(--font-size-base);
    overflow-x: hidden;
}

/* Контейнер */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(191, 164, 107, 0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn--secondary:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0px 0;
    border-bottom: 1px solid var(--color-border);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header__logo-img {
    height: 100px;
    width: auto;
    display: block;
    transition: height 0.2s;
}

@media (max-width: 768px) {
    .header__logo-img { height: 48px; }
    .header__logo { border-radius: 10px; padding: 4px 8px; }
}

.header__nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.header__nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.header__nav a:hover {
    color: var(--color-accent);
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.header__nav a:hover::after {
    width: 100%;
}

.header__cta-btn {
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.header__cta-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-bg) 0%, #1a1a1a 100%);
    padding: var(--section-padding);
    margin-top: 80px;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero__title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: fadeInUp 1s ease-out;
}

.hero__subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-accent);
    margin-bottom: 15px;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero__desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ===== STAGES SECTION ===== */

/* ===== WHO WE ARE SECTION ===== */
.who-we-are {
    padding: var(--section-padding);
    position: relative;
    margin: 0;
    min-height: 900px;
    max-height: 1200px;
}

.who-we-are__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    object-fit: cover;
}

.who-we-are__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.who-we-are__container {
    position: relative;
    z-index: 3;
}

.who-we-are__title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.who-we-are__portraits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.portrait {
    position: relative;
    transition: transform 0.3s ease;
}

.portrait:hover {
    transform: translateY(-10px);
}

.portrait__placeholder {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    height: 400px;
    position: relative;
}

.portrait__placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.4s ease;
    filter: grayscale(100%);
}

.portrait:hover .portrait__placeholder {
    box-shadow: 0 12px 48px rgba(191, 164, 107, 0.3);
}

.portrait:hover .portrait__placeholder img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.portrait__quote {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-height: 80%;
    overflow-y: auto;
}

.portrait:hover .portrait__quote {
    opacity: 1;
    transform: translateY(0);
}

.portrait__name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-accent);
}

.portrait__text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
    color: #fff;
}

.portrait__story {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.who-we-are__cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.who-we-are__stories {
    margin-top: 20px;
}

/* ===== VALUES SECTION ===== */
.values {
    padding: var(--section-padding);
    background: var(--color-bg-secondary);
    margin: 0;
}

.values__container {
    text-align: center;
}

.values__title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.values__subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.values__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.value {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    cursor: pointer;
}

.value__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    transition: all 0.3s ease;
}

.value__content {
    position: relative;
    z-index: 2;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.value__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 15px;
    line-height: 1.2;
}

.value__desc {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.6;
    opacity: 0.9;
    max-height: 120px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    margin: 0;
}

.video-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.video-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.video-section__container {
    position: relative;
    z-index: 3;
}

.video-section__content {
    text-align: center;
}

.video-section__text {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.video-section__cover {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 20px;
}

/* Удалены старые стили для плейсхолдера и кнопки воспроизведения */

.video-section__caption {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    font-weight: 600;
    font-style: italic;
}



/* ===== MISSION SECTION ===== */

/* ===== OFFLINE EVENTS SECTION (NEW CAROUSEL) ===== */
.offline-events {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.offline-events__carousel-bg {
    position: relative;
    width: 100%;
    max-width: 1280px;
    height: 480px;
    margin: 0 auto 40px auto;
    border-radius: 32px;
    background: linear-gradient(120deg, #444 0%, #888 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-image 0.7s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}

.offline-events__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.offline-events__content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 0 40px;
}

.offline-events__title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
    letter-spacing: 2px;
    animation: fadeInUp 0.7s;
}

.offline-events__desc {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 36px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    animation: fadeInUp 0.7s 0.2s both;
}

.offline-events__controls {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
}

.offline-events__arrow {
    background: rgba(191,164,107,0.9);
    color: #18171c;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: background 0.2s, transform 0.2s;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offline-events__arrow:hover {
    background: var(--color-accent);
    transform: scale(1.08);
}

.offline-events__cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

@media (max-width: 1400px) {
    .offline-events__carousel-bg {
        max-width: 1000px;
        height: 400px;
    }
    .offline-events__title { font-size: 36px; }
    .offline-events__desc { font-size: 18px; }
}
@media (max-width: 1100px) {
    .offline-events__carousel-bg {
        max-width: 700px;
        height: 300px;
    }
    .offline-events__title { font-size: 28px; }
    .offline-events__desc { font-size: 15px; }
}
@media (max-width: 768px) {
    .offline-events__carousel-bg {
        max-width: 100vw;
        height: 360px;
        border-radius: 16px;
        padding: 0;
    }
    .offline-events__content {
        padding: 0 10px;
        min-height: 120px;
    }
    .offline-events__title { font-size: 18px; }
    .offline-events__desc { font-size: 11px; margin-bottom: 16px; }
    .offline-events__arrow { width: 36px; height: 36px; font-size: 18px; }
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.faq__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.faq__title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--color-text);
}

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

.faq__item {
    border: 1px solid rgba(191,164,107,0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq__item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(191,164,107,0.1);
}

.faq__question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
}

.faq__question:hover {
    background: rgba(191,164,107,0.05);
}

.faq__question::after {
    content: '▼';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--color-accent);
}

.faq__item.active .faq__question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.faq__item.active .faq__answer {
    max-height: 200px;
    padding: 0 24px 24px;
}

.faq__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq__img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.faq__img:hover {
    transform: scale(1.02);
}

@media (max-width: 1200px) {
    .faq__container {
        gap: 60px;
    }
    .faq__title { font-size: 36px; }
}

@media (max-width: 768px) {
    .faq__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq__title { font-size: 28px; margin-bottom: 30px; }
    .faq__question { font-size: 16px; padding: 20px; }
    .faq__img { max-width: 100%; }
    
    .who-we-are__title { font-size: 32px; margin-bottom: 40px; }
    .who-we-are__portraits { gap: 30px; }
    .who-we-are { 
        min-height: 500px; 
        max-height: 600px; 
        padding: 60px 0;
    }
    
    .video-section__text { font-size: 24px; margin-bottom: 30px; }
    .video-container iframe { height: 300px; }
}

@media (max-width: 480px) {
    .who-we-are { 
        min-height: 400px; 
        max-height: 1700px; 
        padding: 40px 0;
    }
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
    text-align: center;
}

.final-cta__text {
    font-size: var(--font-size-2xl);
    color: var(--color-primary);
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.4;
}

.final-cta__btn {
    font-size: var(--font-size-lg);
    padding: 20px 40px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 30px;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__contacts,
.footer__links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer__contacts a,
.footer__links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer__contacts a:hover,
.footer__links a:hover {
    color: var(--color-accent);
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 48px;
        --font-size-3xl: 36px;
        --font-size-2xl: 28px;
        --font-size-xl: 20px;
        --section-padding: 60px 0;
    }

    .header__nav {
        display: none;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    

    
    .who-we-are__portraits {
        grid-template-columns: 1fr;
    }
    
    .values__list {
        grid-template-columns: 1fr;
    }

    .values__title {
        font-size: var(--font-size-2xl);
    }

    .value {
        height: 280px;
        padding: 20px;
    }

    .value__name {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .value__desc {
        font-size: 12px;
        max-height: 100px;
        -webkit-line-clamp: 5;
    }

    .offline-events__carousel {
        grid-template-columns: 1fr;
    }

    .event-slide__placeholder {
        height: 400px !important;
    }
    
    .footer__container {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero__title {
        font-size: var(--font-size-3xl);
    }
}



.hero__watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* ===== MOBILE HEADER & SIDEBAR ===== */
.header__burger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 1201;
    margin-left: 16px;
}
.header__burger span {
    display: block;
    width: 32px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
    margin: 4px 0;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .header__nav,
    .header__cta-btn {
        display: none;
    }
    .header__burger {
        display: flex;
    }
}

.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    background: #18171c;
    box-shadow: -4px 0 32px rgba(0,0,0,0.25);
    z-index: 1202;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px 24px 24px;
    transition: right 0.35s cubic-bezier(.4,0,.2,1);
}
.sidebar.open {
    right: 0;
}
.sidebar__close {
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 32px;
    position: absolute;
    top: 18px;
    right: 18px;
    cursor: pointer;
    z-index: 1203;
}
.sidebar__nav {
    list-style: none;
    padding: 0;
    margin: 40px 0 24px 0;
    width: 100%;
}
.sidebar__nav li {
    margin-bottom: 18px;
}
.sidebar__nav a {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.sidebar__nav a:hover {
    color: var(--color-accent);
}
.sidebar__cta {
    width: 100%;
    text-align: center;
    margin-top: 16px;
    font-size: 18px;
}
.sidebar__backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 1200;
    transition: opacity 0.3s;
}
.sidebar.open ~ .sidebar__backdrop {
    display: block;
    opacity: 1;
}

/* ===== НОВЫЕ БЛОКИ С ПРАВКАМИ ===== */

/* Новые этапы пути */
.stages-new {
    padding: var(--section-padding);
    background: var(--color-bg);
    position: relative;
}

.section-title {
    font-size: var(--font-size-3xl);
    text-align: center;
    margin-bottom: 4rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stages-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.stages-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
    transform: translateX(-50%);
    z-index: 1;
}

.stage-item {
    position: relative;
    margin-bottom: 4rem;
    z-index: 2;
}

.stage-item:last-child {
    margin-bottom: 0;
}

.stage-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-bg);
    z-index: 3;
    box-shadow: 0 4px 20px rgba(191, 164, 107, 0.3);
}

.stage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.stage-item--reverse .stage-content {
    grid-template-columns: 1fr 1fr;
}

.stage-item--reverse .stage-text {
    order: 2;
}

.stage-item--reverse .stage-image {
    order: 1;
}

.stage-text {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--color-accent);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stage-item--reverse .stage-text {
    border-left: none;
    border-right: 4px solid var(--color-accent);
}

.stage-text:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.stage-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stage-description {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1rem;
}

.stage-image {
    text-align: center;
}

.stage-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.stage-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}



/* YouTube видео */
.video-youtube {
    padding: var(--section-padding);
    background: var(--color-bg-secondary);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    display: block;
    width: 100%;
    height: 500px;
}

/* Блок с картой */
.mission-cities {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.mission-cities__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.mission-cities__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
    pointer-events: none;
}

.mission-cities .mission-content {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mission-cities .mission-text h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-path {
    font-size: 18px;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 600;
}

.mission-cities .mission-description {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.mission-cities .mission__cta {
    position: relative;
    z-index: 3;
    display: inline-block;
    margin-top: 20px;
}

.mission-cities .map-container {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    background: #fff;
    position: relative;
    z-index: 10;
}

.mission-cities .mission-map {
    position: relative;
    z-index: 10;
}

/* Стили для popup карты */
.city-popup .leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0;
}

.city-popup .leaflet-popup-content {
    margin: 0;
    padding: 12px 16px;
    font-family: var(--font-primary);
    color: #333;
    min-width: 120px;
}

.city-popup-content {
    text-align: center;
}

.city-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.city-country {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Стили для маркеров */
.leaflet-marker-icon {
    transition: transform 0.2s ease;
}

.leaflet-marker-icon:hover {
    transform: scale(1.2);
}

/* Стили для элементов управления картой */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    font-weight: 600 !important;
}

.leaflet-control-zoom a:hover {
    background: #fff !important;
    color: #000 !important;
}

/* Адаптивность для новых блоков */
@media (max-width: 768px) {
    .stages-timeline::before {
        left: 20px;
        transform: none;
    }
    
    .stage-number {
        left: 20px;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stage-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-left: 60px;
    }
    
    .stage-item--reverse .stage-content {
        grid-template-columns: 1fr;
    }
    
    .stage-item--reverse .stage-text {
        order: 2;
    }
    
    .stage-item--reverse .stage-image {
        order: 1;
    }
    
    .stage-text {
        padding: 1.5rem;
    }
    
    .stage-title {
        font-size: 1.4rem;
    }
    
    .stage-description {
        font-size: 0.9rem;
    }

    .mission-cities .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-cities .mission-text h3 {
        font-size: 24px;
    }

    .mission-cities .mission-description {
        font-size: 14px;
    }

    .mission-cities .map-container {
        height: 300px;
    }

    .section-title {
        font-size: 32px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .program-card {
        padding: 1.5rem;
        margin: 0 10px;
    }

    .program-title {
        font-size: 1.5rem;
    }

    .program-description {
        font-size: 14px;
    }

    .program-features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 100%;
        text-align: center;
    }

    .mission-block {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .mission-text {
        grid-template-areas: 
            "block1"
            "block2"
            "block3"
            "block4"
            "block5";
        gap: 1.5rem;
    }

    .mission-subtitle {
        font-size: 1.3rem;
    }

    .mission-description {
        font-size: 16px;
    }

    .mission-quote-text {
        font-size: 18px;
        padding: 1.5rem;
    }

    .mission-final-text {
        font-size: 20px;
    }

    .mission-list li {
        font-size: 15px;
        padding-left: 1.5rem;
    }

    .mission-intro {
        font-size: 20px;
    }

    .mission-description {
        font-size: 16px;
    }

    .community-section,
    .charity-section {
        padding: 2rem;
    }

    .community-title,
    .charity-title {
        font-size: 20px;
    }

    .call-quote {
        font-size: 18px;
        padding: 1.5rem;
    }

    .final-text {
        font-size: 20px;
    }
}

/* Дополнительные медиа-запросы для очень маленьких экранов */
@media (max-width: 480px) {
    .programs-grid {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .program-card {
        padding: 1rem;
        margin: 0 5px;
    }
    
    .program-title {
        font-size: 1.3rem;
    }
    
    .program-description {
        font-size: 13px;
    }
    
    .program-features {
        gap: 0.5rem;
    }
    
    .feature {
        font-size: 12px;
        padding: 0.4rem 0.8rem;
    }
} 

.value:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(191, 164, 107, 0.2);
}

.value:hover .value__overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
} 

/* ===== ALTERNATIVE PROGRAMS SECTION ===== */
.alternative-programs {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.alternative-programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(191,164,107,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.alternative-programs .container {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.program-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(191, 164, 107, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(191, 164, 107, 0.1), transparent);
    transition: all 0.6s ease;
}

.program-card:hover::before {
    left: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(191, 164, 107, 0.2);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.program-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-description {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 16px;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    background: rgba(191, 164, 107, 0.1);
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(191, 164, 107, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(191, 164, 107, 0.2);
    transform: scale(1.05);
}

.program-btn {
    margin-top: 1rem;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.program-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(191, 164, 107, 0.3);
} 

/* ===== MISSION & COMMUNITY SECTION ===== */
.mission-community {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.mission-community__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/mission_com.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.mission-community__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.mission-community__content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-community__title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mission-community__subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mission-community__text {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.mission-community__section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--color-accent);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.mission-community__section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.mission-community__section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-community__section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0;
}

.mission-community__quote-section {
    margin: 50px 0;
    padding: 40px;
    background: rgba(191, 164, 107, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(191, 164, 107, 0.3);
    text-align: center;
    backdrop-filter: blur(10px);
}

.mission-community__quote {
    font-size: 1.3rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--color-primary);
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
}

.mission-community__quote::before,
.mission-community__quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--color-accent);
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.5;
}

.mission-community__quote::after {
    left: auto;
    right: -20px;
    top: auto;
    bottom: -20px;
}

.mission-community__section--final {
    background: linear-gradient(135deg, rgba(191, 164, 107, 0.1), rgba(191, 164, 107, 0.05));
    border-left: 4px solid var(--color-accent);
    text-align: center;
}

.mission-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mission-text {
    text-align: center;
}

.mission-intro {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mission-description {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mission-list li {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.mission-list li::before {
    content: '•';
    color: var(--color-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.mission-path {
    font-size: 18px;
    color: var(--color-text);
    font-style: italic;
    margin-top: 2rem;
    line-height: 1.6;
}

.community-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(191, 164, 107, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.community-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.community-intro {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: center;
    font-style: italic;
}

.community-description {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.community-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.community-list li {
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.community-list li::before {
    content: '→';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 0;
}

.charity-section {
    background: rgba(191, 164, 107, 0.05);
    border: 1px solid rgba(191, 164, 107, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    text-align: center;
}

.charity-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.charity-description {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.charity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.charity-list li {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.call-section {
    text-align: center;
    margin: 2rem 0;
}

.call-text {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.call-quote {
    font-size: 20px;
    color: var(--color-accent);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    padding: 2rem;
    background: rgba(191, 164, 107, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--color-accent);
}

.final-mission {
    text-align: center;
    margin: 2rem 0;
}

.final-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.5;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    .mission-text {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 1rem;
    }
    
    .mission-block:nth-child(1),
    .mission-block:nth-child(2),
    .mission-block:nth-child(3),
    .mission-block:nth-child(4),
    .mission-block:nth-child(5) {
        grid-column: 1;
    }
    
    .mission-block:nth-child(1) { grid-row: 1; }
    .mission-block:nth-child(2) { grid-row: 2; }
    .mission-block:nth-child(3) { grid-row: 3; }
    .mission-block:nth-child(4) { grid-row: 4; }
    .mission-block:nth-child(5) { grid-row: 5; }
    
    .mission-block {
        padding: 1rem;
        min-height: auto;
    }
    
    .mission-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .mission-description {
        font-size: 15px;
        margin-bottom: 0.8rem;
    }
    
    .mission-list li {
        font-size: 14px;
        margin-bottom: 0.3rem;
    }
    
    .mission-quote-text {
        font-size: 16px;
        padding: 1rem;
        margin: 0.8rem 0;
    }
    
    .mission-final-text {
        font-size: 18px;
    }
    
    /* Медиа-запросы для mission-community */
    .mission-community {
        min-height: auto;
        padding: 60px 0;
    }
    
    .mission-community__title {
        font-size: 28px;
    }
    
    .mission-community__subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .mission-community__section {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .mission-community__section h3 {
        font-size: 1.2rem;
    }
    
    .mission-community__section p {
        font-size: 0.9rem;
    }
    
    .mission-community__quote-section {
        margin: 30px 0;
        padding: 25px;
    }
    
    .mission-community__quote {
        font-size: 1.1rem;
    }
    
    .mission-community__quote::before,
    .mission-community__quote::after {
        font-size: 2rem;
        top: -15px;
        left: -15px;
    }
    
    .mission-community__quote::after {
        right: -15px;
        bottom: -15px;
    }
}

 