/* Переменные */
:root {
    --bg-color: #0a0a0a;
    --text-color: #F0FFFA;
    --accent-color: #2EE8A8;
    --accent-hover: #25c991;
    --hero-bg: #0a0a0a;
    --hero-accent: #00e5e5;
    --hero-gold: #c8a84e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- HEADER --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, var(--bg-color) 85%, rgba(10, 10, 10, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(26, 26, 26, 0.05); 
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out; 
}

#main-header.visible {
    transform: translateY(0);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 100px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.btn-signup {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-signup:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--hero-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: repeating-linear-gradient(
        90deg,
        #0d4f4f 0px,
        #0d4f4f 18px,
        var(--hero-bg) 18px,
        var(--hero-bg) 22px
    );
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/image/logo.png') center center / 70% no-repeat;
    opacity: 0;
    z-index: 0;
    transition: opacity 2s ease-in-out;
}

.hero-bg.visible {
    opacity: 0.03;
}

.line-top, .line-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hero-accent) 20%, var(--hero-accent) 80%, transparent);
    z-index: 1;
}

.line-top { top: 80px; }
.line-bottom { bottom: 80px; }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.greek-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.35em;
    color: var(--hero-gold);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.main-title {
    font-family: 'Forum', serif;
    font-size: 6rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--hero-accent);
    text-shadow:
        0 0 10px rgba(0, 229, 229, 0.8),
        0 0 30px rgba(0, 229, 229, 0.5),
        0 0 60px rgba(0, 229, 229, 0.3),
        0 0 100px rgba(0, 229, 229, 0.15);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(0, 229, 229, 0.8), 0 0 30px rgba(0, 229, 229, 0.5), 0 0 60px rgba(0, 229, 229, 0.3); }
    to { text-shadow: 0 0 15px rgba(0, 229, 229, 1), 0 0 40px rgba(0, 229, 229, 0.7), 0 0 80px rgba(0, 229, 229, 0.4), 0 0 120px rgba(0, 229, 229, 0.2); }
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.subtitle-line {
    width: 80px;
    height: 2px;
    background: var(--hero-accent);
    opacity: 0.6;
}

.subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-align: center;
}

.hero-btn {
    margin-top: 40px;
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.2s, transform 0.2s;
    display: inline-block;
}

.hero-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

/* --- ABOUT SECTION --- */
.about-section {
    background-color: var(--hero-bg);
    padding: 100px 20px;
    text-align: center;
}

.about-title {
    font-family: 'Forum', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.about-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #888888;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stat-number {
    font-family: 'Forum', serif;
    font-size: 4.5rem;
    font-weight: 400;
    color: #00e5e5;
    line-height: 1;
    text-shadow:
        0 0 15px rgba(0, 229, 229, 0.8),
        0 0 35px rgba(0, 229, 229, 0.5),
        0 0 60px rgba(0, 229, 229, 0.3);
}

/* Знак "+" после цифры */
.stat-number::after {
    content: '+';
    font-family: 'Forum', serif;
    font-size: 3.5rem;  /* Чуть меньше основной цифры */
    font-weight: 400;
    color: #00e5e5;
    vertical-align: baseline;  /* Приподнят над базовой линией */
    margin-left: 5px;
    text-shadow:
        0 0 10px rgba(0, 229, 229, 0.6),
        0 0 20px rgba(0, 229, 229, 0.3);
}

.stat-card:first-child .stat-number::after {
    content: '';
}

.stat-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #cccccc;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.03em;
}

/* --- PHOTOS SECTION --- */
.photos-section {
    background-color: var(--hero-bg);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.section-title {
    font-family: 'Forum', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #888888;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.timeline-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.timeline-container:active {
    cursor: grabbing;
}

.timeline-photo img {
    pointer-events: none;
    -webkit-user-drag: none;
}

.timeline-container::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00e5e5 10%, #00e5e5 90%, transparent);
    z-index: 1;
}

.timeline-track {
    display: flex;
    gap: 60px;
    will-change: transform;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-photo {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.timeline-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.timeline-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 229, 229, 0.5);
}

.timeline-year {
    font-family: 'Forum', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #00e5e5;
    letter-spacing: 0.1em;
}

/* --- FORM SECTION --- */
.form-section {
    background-color: #0d0d0d;
    padding: 100px 20px;
    text-align: center;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #080808;
    padding: 60px 20px 0;
    color: #cccccc;
    font-family: 'Manrope', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
}

.footer-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.footer-logo-img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 229, 229, 0.6));
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #888888;
    max-width: 300px;
}

.footer-heading {
    font-family: 'Forum', serif;
    font-size: 1rem;
    font-weight: 400;
    color: #00e5e5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #cccccc;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #00e5e5;
    transform: translateX(3px);
}

.footer-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.footer-privacy-link {
    font-size: 0.85rem;
    color: #888888;
}

.footer-privacy-link:hover {
    color: #00e5e5;
}

.footer-socials {
    margin-bottom: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 229, 229, 0.1);
    border: 1px solid rgba(0, 229, 229, 0.3);
    color: #00e5e5;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #00e5e5;
    color: #0d0d0d;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 229, 229, 0.5);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 229, 0.3) 20%, rgba(0, 229, 229, 0.3) 80%, transparent);
    margin: 30px 0;
}

.footer-partners {
    text-align: center;
    margin-bottom: 20px;
}

.footer-partners .footer-heading {
    margin-bottom: 25px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease;
    position: relative;
}

/* Свечение позади логотипа */
.partner-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 229, 229, 0.6) 0%, rgba(0, 229, 229, 0) 70%);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

/* Увеличиваем свечение при наведении */
.partner-logo:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.footer-copy {
    font-size: 0.85rem;
    color: #666666;
}

.footer-ornament {
    width: 100%;
    height: 20px;
    background: repeating-linear-gradient(
        90deg,
        #0d4f4f 0px,
        #0d4f4f 18px,
        #080808 18px,
        #080808 22px
    );
}

/* --- MEDIA QUERIES --- */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .stat-number { font-size: 3.5rem; }
    .hero-bg { background: url('logo.png') center center / 100% no-repeat; }
}

@media (max-width: 768px) {
    .header-container { padding: 10px 20px; }
    .logo-img { height: 30px; }
    .nav-menu { gap: 20px; }
    .nav-menu a { font-size: 14px; }
    .btn-signup { padding: 10px 20px; font-size: 14px; }

    .main-title { font-size: 3.5rem; }
    .greek-text { font-size: 0.85rem; letter-spacing: 0.2em; }
    .subtitle { font-size: 1rem; }
    .subtitle-line { width: 40px; }
    .line-top, .line-bottom { width: 90%; }

    .timeline-photo { width: 150px; height: 150px; }
    .timeline-year { font-size: 1.2rem; }
    .timeline-track { gap: 40px; }

    .form-iframe { height: 700px; }
    .section-title { font-size: 2rem; }

    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .footer-description { max-width: 100%; }
    .partners-grid { gap: 25px; }
    .partner-logo { width: 120px; height: 50px; }
    .social-icons { justify-content: center; }
}

@media (max-width: 480px) {
    .header-container { padding: 8px 15px; gap: 10px; }
    .logo-img { height: 25px; }
    .nav-menu { gap: 15px; }
    .nav-menu a { font-size: 13px; }
    .btn-signup { padding: 8px 16px; font-size: 13px; }

    .main-title { font-size: 2.5rem; }
    .greek-text { font-size: 0.7rem; }
    .hero-btn { padding: 14px 30px; font-size: 16px; }

    .stats-grid { grid-template-columns: 1fr; gap: 35px; }
    .stat-number { font-size: 2.8rem; }
    .about-title { font-size: 1.8rem; }

    .timeline-photo { width: 120px; height: 120px; }
    .timeline-year { font-size: 1rem; }
    .timeline-track { gap: 30px; }

    .form-iframe { height: 800px; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 0.85rem; }

    .site-footer { padding: 40px 15px 0; }
    .partners-grid { gap: 20px; }
    .partner-logo { width: 100px; height: 60px; }
}

@media (max-width: 360px) {
    .header-container { padding: 6px 10px; }
    .logo-img { height: 22px; }
    .nav-menu { gap: 10px; }
    .nav-menu a { font-size: 12px; }
    .btn-signup { padding: 6px 12px; font-size: 12px; }
}

/* ===== КАРТОЧКА "БУДУЩЕЕ" (2026?) ===== */
.timeline-future .timeline-photo {
    background-color: rgba(0, 229, 229, 0.05);
    border: 2px dashed rgba(0, 229, 229, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.timeline-future .timeline-photo:hover {
    border-color: rgba(0, 229, 229, 0.8);
    background-color: rgba(0, 229, 229, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 229, 229, 0.3);
}

/* Знак вопроса */
.question-mark {
    font-family: 'Forum', serif;
    font-size: 6rem;
    font-weight: 400;
    color: #00e5e5;
    line-height: 1;
    text-shadow:
        0 0 15px rgba(0, 229, 229, 0.6),
        0 0 35px rgba(0, 229, 229, 0.3);
    animation: pulse 2.5s ease-in-out infinite;
}

/* Анимация пульсации знака вопроса */
@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Год 2026 — чуть приглушённый, как намёк на будущее */
.timeline-future .timeline-year {
    color: #00e5e5;
    opacity: 0.7;
    font-style: italic;
}

/* Соцсети в hero секции */
.hero-socials {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.hero-socials-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    color: #888888;
    letter-spacing: 0.05em;
}

.hero-social-icons {
    display: flex;
    gap: 15px;
}

.hero-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 229, 229, 0.1);
    border: 1px solid rgba(0, 229, 229, 0.3);
    color: #00e5e5;
    transition: all 0.3s ease;
}

.hero-social-link:hover {
    background-color: #00e5e5;
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 229, 229, 0.5);
}

@media (max-width: 768px) {
    .hero-socials {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }
    
    .hero-socials-label {
        font-size: 0.85rem;
    }
}

/* ===== БЛОК ТЕКСТА О ШКОЛЕ ===== */
.about-text-block {
    max-width: 800px;
    margin: 40px auto 80px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    text-align: left;
}

.about-text-content {
    flex: 1;
}

.about-text-title {
    font-family: 'Forum', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.about-text-description {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: #cccccc;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .about-text-block {
        margin-top: 40px;
        gap: 20px;
    }

    .about-text-title {
        font-size: 1.5rem;
    }

    .about-text-description {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .about-text-block {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }

    .about-text-accent {
        width: 100%;
        height: 3px;
        min-height: 3px;
        background: linear-gradient(
            90deg,
            #00e5e5 0%,
            rgba(0, 229, 229, 0.3) 100%
        );
    }

    .about-text-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .about-text-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    /* ... существующие стили ... */

    /* Увеличиваем отступ линии от низа на мобильных */
    .line-bottom {
        bottom: 40px;  /* Было 80px, уменьшаем — линия поднимается выше */
    }

    /* Добавляем отступ снизу к соцсетям */
    .hero-socials {
        margin-bottom: 60px;  /* Отступ между иконками и линией */
    }
}

@media (max-width: 480px) {
    /* ... существующие стили ... */

    /* Ещё больше отступа на очень маленьких экранах */
    .line-bottom {
        bottom: 30px;
    }

    .hero-socials {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .form-section {
        padding: 60px 0 40px;  /* Уменьшили вертикальные отступы */
    }

    .form-iframe {
        height: 550px;  /* Было 700px — уменьшаем */
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 50px 0 30px;  /* Ещё меньше на маленьких экранах */
    }

    .form-iframe {
        height: 450px;  /* Было 800px — сильно уменьшаем */
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }
}

/* ===== HEADER НА ВНУТРЕННИХ СТРАНИЦАХ ===== */

/* Активная ссылка в навигации */
.nav-menu a.active {
    color: var(--accent-color);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

/* ===== HERO ВНУТРЕННИХ СТРАНИЦ ===== */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 40vh;
    background-color: var(--hero-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: repeating-linear-gradient(
        90deg,
        #0d4f4f 0px,
        #0d4f4f 18px,
        var(--hero-bg) 18px,
        var(--hero-bg) 22px
    );
}

.page-title {
    font-family: 'Forum', serif;
    font-size: 4rem;
    font-weight: 400;
    color: var(--hero-accent);
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    text-shadow:
        0 0 10px rgba(0, 229, 229, 0.8),
        0 0 30px rgba(0, 229, 229, 0.5),
        0 0 60px rgba(0, 229, 229, 0.3);
}

.page-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    color: #888888;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ===== СТИЛИ ПРОГРАММЫ ===== */
.program-section {
    background-color: var(--hero-bg);
    padding: 10px 20px 80px;
}

/* ===== СЕТКА ПРОГРАММЫ (2x2) ===== */
.program-grid {
    display: grid;
    grid-template-columns: 1fr;  /* Одна колонка */
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.program-card.active {
    border-color: rgba(0, 229, 229, 0.6);
    box-shadow: 0 10px 40px rgba(0, 229, 229, 0.15);
    z-index: 2;
}

/* Декоративная линия сверху карточки */
.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #00e5e5 30%,
        #00e5e5 70%,
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 229, 0.4);
    box-shadow: 0 10px 40px rgba(0, 229, 229, 0.1);
}

.program-card:hover::before {
    opacity: 1;
}

/* Номер дня — более выразительный */
.program-day {
    font-family: 'Forum', serif;
    font-size: 1.1rem;
    color: #00e5e5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(0, 229, 229, 0.3);
    border-radius: 20px;
    background-color: rgba(0, 229, 229, 0.05);
}

/* Заголовок дня */
.program-title {
    font-family: 'Forum', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

/* Описание */
.program-description {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #aaaaaa;
    line-height: 1.7;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .program-grid {
        grid-template-columns: 1fr;  /* Одна колонка на планшетах */
        max-width: 500px;
        gap: 25px;
    }

    .program-card {
        padding: 30px;
    }

    .program-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .program-grid {
        gap: 20px;
    }

    .program-card {
        padding: 25px;
    }

    .program-day {
        font-size: 0.95rem;
        padding: 5px 12px;
    }

    .program-title {
        font-size: 1.3rem;
    }

    .program-description {
        font-size: 0.9rem;
    }
}

/* ===== СТИЛИ ЭКСПЕРТОВ ===== */
.experts-section {
    background-color: #080808;
    padding: 0px 15px 60px;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.expert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.expert-photo {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 229, 229, 0.3);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.expert-photo:hover {
    border-color: #00e5e5;
    transform: scale(1.05);
}

.expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.expert-name {
    font-family: 'Forum', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.expert-role {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    color: #00e5e5;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.expert-description {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #888888;
    line-height: 1.5;
    max-width: 250px;
}

/* ===== СТИЛИ ОРГАНИЗАТОРОВ ===== */
.organizers-section {
    background-color: var(--hero-bg);
    padding: 20px 20px 100px;
}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.organizer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.organizer-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 229, 229, 0.3);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.organizer-photo:hover {
    border-color: #00e5e5;
    transform: scale(1.05);
}

.organizer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.organizer-name {
    font-family: 'Forum', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.organizer-role {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    color: #00e5e5;
    letter-spacing: 0.05em;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-card-special {
        grid-column: 1;
    }

    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expert-photo {
        width: 140px;
        height: 140px;
    }

    .organizers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .organizer-photo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 480px) {

    .page-title {
        font-size: 2rem;
    }

    .program-section,
    .experts-section,
    .organizers-section {
        padding: 0px 15px 20px;
    }

    .experts-grid,
    .organizers-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== БУРГЕР-КНОПКА (скрыта на десктопе) ===== */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    z-index: 1001;
}

.burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Анимация превращения в крестик */
.burger-btn.active .burger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(0, 229, 229, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 999;
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    gap: 0;
}

.mobile-nav a {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--accent-color);
    padding-left: 10px;
}

/* ===== АДАПТИВНОСТЬ HEADER ===== */
@media (max-width: 900px) {
    /* Скрываем десктопное меню */
    .nav-menu {
        display: none;
    }

    /* Показываем бургер */
    .burger-btn {
        display: flex;
    }

    /* Уменьшаем кнопку "Записаться" */
    .btn-signup {
        padding: 10px 20px;
        font-size: 14px;
    }

    .header-container {
        padding: 12px 20px;
    }

    .logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 15px;
    }

    .logo-img {
        height: 30px;
    }

    .btn-signup {
        padding: 8px 16px;
        font-size: 13px;
    }

    .burger-btn {
        width: 26px;
        height: 20px;
        margin-left: 10px;
    }

    .mobile-nav a {
        font-size: 1rem;
        padding: 12px 0;
    }
}

/* ===== КАРТОЧКА ПРОГРАММЫ (аккордеон) ===== */
.program-card {
    background-color: rgba(0, 229, 229, 0.03);
    border: 1px solid rgba(0, 229, 229, 0.15);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    pointer-events: auto;
}

.program-card:hover {
    border-color: rgba(0, 229, 229, 0.4);
}

.program-card.active {
    border-color: rgba(0, 229, 229, 0.6);
    box-shadow: 0 10px 40px rgba(0, 229, 229, 0.15);
    z-index: 2;
    grid-column: 1 / -1;  /* ← Растягиваем на всю ширину */
}

/* Шапка карточки (всегда видна) */
.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

/* Обёртка для дня и даты */
.program-day-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 15px;
}

/* Номер дня */
.program-day {
    font-family: 'Forum', serif;
    font-size: 1.1rem;
    color: #00e5e5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(0, 229, 229, 0.3);
    border-radius: 20px;
    background-color: rgba(0, 229, 229, 0.05);
    flex-shrink: 0;
}

/* Дата справа */
.program-date {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00e5e5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
    text-align: right;
}

/* Иконка стрелки */
.program-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 229, 229, 0.1);
    border: 1px solid rgba(0, 229, 229, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.toggle-arrow {
    color: #00e5e5;
    transition: transform 0.3s ease;
}

/* Поворот стрелки при открытии */
.program-card.active .toggle-arrow {
    transform: rotate(180deg);
}

.program-card.active .program-toggle {
    background-color: rgba(0, 229, 229, 0.3);
}

/* Превью (всегда видно) */
.program-preview {
    margin-bottom: 0;
    transition: opacity 0.3s ease;
}

.program-card.active .program-preview {
    opacity: 0.7;
}

.program-title {
    font-family: 'Forum', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.program-description {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #aaaaaa;
    line-height: 1.7;
}

/* Расписание (скрыто по умолчанию) */
.program-schedule {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin-top 0.3s ease !important;
    margin-top: 0 !important;
}

.program-card.active .program-schedule {
    max-height: 2000px !important;
    opacity: 1 !important;
    margin-top: 25px !important;
}

/* Заголовок секции расписания */
.schedule-section-title {
    font-family: 'Forum', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    font-style: italic;
}

.schedule-section-title:first-child {
    margin-top: 0;
}

/* Элемент расписания */
.schedule-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00e5e5;
    min-width: 120px;
    flex-shrink: 0;
}

.schedule-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #cccccc;
    line-height: 1.6;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-card {
        padding: 25px;
    }

    .program-day-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .program-date {
        font-size: 0.8rem;
        text-align: left;
    }

    .schedule-item {
        flex-direction: column;
        gap: 5px;
    }

    .schedule-time {
        min-width: auto;
    }
}


/* На маленьких экранах скрываем нижнюю линию или поднимаем иконки */
@media (max-height: 650px) {
    /* Вариант 1: Скрываем линию полностью */
    .line-bottom {
        display: none;
    }

    /* Вариант 2: Или делаем её менее заметной */
    /*
    .line-bottom {
        opacity: 0.2;
    }
    */

    /* Поднимаем иконки соцсетей */
    .hero-socials {
        margin-top: 15px;
        position: relative;
        z-index: 10;
    }

    .hero-social-link {
        position: relative;
        z-index: 10;
    }

    /* Уменьшаем отступы в hero-секции */
    .hero-content {
        padding-bottom: 20px;
    }

    .hero-bg {
        opacity: 0.5 !important;
    }
}

/* Для очень маленьких экранов (меньше 500px) */
@media (max-height: 500px) {
    .line-top,
    .line-bottom {
        display: none;
    }

    .hero-socials {
        margin-top: 10px;
    }

    .hero-socials-label {
        font-size: 0.85rem;
    }

    .hero-social-icons {
        transform: scale(0.9);
    }
}

/* ===== АДАПТАЦИЯ HERO ДЛЯ МОБИЛЬНЫХ (< 650px) ===== */
@media (max-width: 650px) {
    .hero {
        min-height: 100dvh;
        padding: 40px 20px 30px; /* Уменьшаем отступы */
    }

    /* Фон: увеличиваем и смещаем вниз, чтобы не обрезался сверху */


    .hero-bg.visible {
        opacity: 0.08 !important; /* Чуть ярче на мобильных */
    }

    /* Линии */
    .line-top {
        top: 40px;
    }

    .line-bottom {
        bottom: 30px;
    }

    /* Контент */
    .hero-content {
        gap: 15px;
        margin-top: -20px; /* Подтягиваем контент к центру логотипа */
    }

    .main-title {
        font-size: 3.5rem;
        margin: 5px 0;
    }

    .greek-text {
        font-size: 0.8rem;
        letter-spacing: 0.2em;
        margin-bottom: 5px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .subtitle-line {
        width: 50px;
    }

    .subtitle-wrapper {
        gap: 10px;
        margin-top: 5px;
    }

    .hero-socials {
        margin-top: 20px;
        position: relative;
        z-index: 10;
    }
}