/* --- Сброс и Переменные --- */
:root {
    --primary: #6e85b7;
    --primary-light: #b2c8df;
    --secondary: #c4d7e0;
    
    --bg-page: #fdfbf7;
    --bg-card: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --radius-lg: 30px;
    --radius-md: 16px;
    --shadow-soft: 0 15px 45px rgba(110, 133, 183, 0.12);

    /* --- Z-INDEX SYSTEM --- */
    --z-negative: -1;
    --z-base: 1;
    --z-footer: 50;
    --z-menu-overlay: 900; 
    --z-navbar: 1000; 
    --z-modal-overlay: 2000;
    --z-modal-content: 2001;
    --z-lightbox: 3000;
    --z-lightbox-btn: 3001;
}

/* --- Глобальные настройки скроллбара --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(178, 200, 223, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5a6e9a;
}

/* --- Класс для блокировки прокрутки --- */
body.lock-scroll {
    overflow: hidden !important;
    height: 100vh;
    touch-action: none;
    padding-right: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    overscroll-behavior: none;
    background-color: var(--bg-page);
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232c3e50' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E"),
        radial-gradient(circle at 50% 0%, #ffffff 0%, transparent 70%),
        radial-gradient(circle at 80% 80%, rgba(178, 200, 223, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Навигация и Усиленный эффект стекла (Glassmorphism) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    z-index: var(--z-navbar);
    transition: padding 0.4s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6); 
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: var(--z-negative);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.navbar.scrolled::before {
    opacity: 1;
    visibility: visible;
}

.navbar.scrolled {
    padding: 15px 5%;
}

/* --- Логотип --- */
.logo-container {
    display: flex;
    align-items: center;
    z-index: 1002;
    position: relative; 
    height: 50px;
    width: auto;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.logo-base {
    position: relative;
    z-index: 1;
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    filter: brightness(0) saturate(100%) invert(84%) sepia(12%) saturate(836%) hue-rotate(180deg) brightness(98%) contrast(93%) drop-shadow(0 0 8px rgba(110, 133, 183, 0.6));
    opacity: 1;
    transition: opacity 0.8s ease-in-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar:not(.scrolled) .logo-overlay {
    opacity: 1;
}

.navbar.scrolled .logo-overlay {
    opacity: 0;
    pointer-events: none; 
}

.logo-container:hover .logo-img {
    transform: scale(1.05);
}

/* --- Меню ПК --- */
.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    transition: 0.3s;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--primary);
}

.btn-nav {
    border: 1.5px solid var(--primary);
    padding: 10px 28px;
    border-radius: 50px;
    color: var(--primary) !important;
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--primary);
    color: white !important;
}

/* --- Бургер --- */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    margin: 6px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar:not(.scrolled) .burger div {
    background-color: white;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: var(--text-main) !important;
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: var(--text-main) !important;
}

/* --- Мобильное Меню --- */
@media (max-width: 768px) {
    .burger { display: block; }
    .nav-links {
        position: fixed; top: 0; left: 0; width: 100%; height: auto; min-height: 350px;
        background-color: rgba(253, 251, 247, 0.95);
        backdrop-filter: blur(15px);
        display: flex; flex-direction: column; align-items: center; padding: 100px 0 50px 0;
        border-bottom-left-radius: 40px; border-bottom-right-radius: 40px;
        box-shadow: 0 15px 50px rgba(0,0,0,0.1); z-index: 1001; 
        transform: translate3d(0, -120%, 0); will-change: transform;
        transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    }
    .nav-links.nav-active { transform: translate3d(0, 0, 0); }

    .nav-links li {
        margin: 10px 0; width: 100%; text-align: center; opacity: 0; transform: translate3d(0, 20px, 0);
        transition: opacity 0.4s ease, transform 0.4s ease;
        order: 2; /* Обычные ссылки идут вторыми */
    }

    .nav-links li.nav-cta-item {
        order: 1; /* Кнопка заполнить анкету первой */
        margin-top: -10px; margin-bottom: 20px;
    }

    .nav-links.nav-active li { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: calc(0.1s * var(--i)); }
    .nav-links a { font-size: 1.3rem; font-family: var(--font-serif); font-weight: 500; display: block; padding: 5px; }
    .nav-links .btn-nav { margin-top: 20px; width: 80%; display: inline-block; }
}

/* --- Overlay --- */
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(44, 62, 80, 0.4);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: var(--z-menu-overlay);
    opacity: 0; visibility: hidden; transition: opacity 0.4s ease; will-change: opacity;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

/* --- Hero --- */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
    background: url('../assets/bg-main.jpg') no-repeat center/cover; position: relative; padding: 0 20px; will-change: transform;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%); z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; width: 100%; will-change: transform; }
.glass-card {
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 60px 40px; border-radius: 40px; border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); display: inline-block; will-change: transform;
}

/* --- НОВЫЕ КНОПКИ ВЕРХА КАРТОЧКИ --- */
.hero-top-links {
    display: none; /* Скрыты на ПК по умолчанию */
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.hero-top-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.hero-top-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-pre-title {
    display: block; font-family: var(--font-main); font-size: 1.2rem; color: var(--secondary);
    text-transform: uppercase; letter-spacing: 4px; margin-bottom: 10px; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-desc {
    margin-bottom: 20px; /* Уменьшили отступ снизу после перестановки */
    color: rgba(255, 255, 255, 0.95); font-weight: 400; letter-spacing: 0.5px;
    font-size: 1rem; line-height: 1.6; max-width: 650px; margin-left: auto; margin-right: auto; text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.hero h1 {
    font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; color: #ffffff;
    line-height: 1.1; margin-bottom: 40px; /* Увеличили отступ снизу, так как теперь это последний текстовый элемент перед кнопками */
    letter-spacing: -1px; text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.italic-accent {
    font-style: italic; font-weight: 400; display: block; font-size: 0.8em; margin-top: 5px;
    color: rgba(255,255,255,0.95); min-height: 1.2em; 
}

/* --- Бегущая Строка (Marquee) --- */
.marquee-wrapper {
    background: linear-gradient(90deg, var(--primary) 0%, #1a2a6c 100%);
    color: white; padding: 20px 0; overflow: hidden; position: relative;
    display: flex; white-space: nowrap; z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.marquee-content { display: flex; animation: marquee 25s linear infinite; }
.marquee-item {
    font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem;
    letter-spacing: 3px; margin: 0 30px; text-transform: uppercase;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --- Блок Статистики --- */
.stats-section {
    padding: 60px 5%; background: var(--bg-page); position: relative; z-index: 2;
}
.stats-container {
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; max-width: 1000px; margin: 0 auto;
}
.stat-box { text-align: center; flex: 1; min-width: 200px; padding: 20px; }
.stat-number {
    font-family: var(--font-serif); font-size: 4rem; font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, #1a2a6c 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 5px; display: flex; justify-content: center; align-items: center;
}
.stat-text {
    font-size: 1rem; font-weight: 600; color: var(--text-main); text-transform: uppercase; letter-spacing: 1px;
}

/* --- Кнопки --- */
.btn-primary, .btn-secondary {
    padding: 16px 35px; border-radius: 50px; font-weight: 600; transition: 0.3s;
    display: inline-block; margin: 8px; cursor: pointer; border: none; font-size: 0.9rem;
}
.btn-primary { background: #ffffff; color: var(--text-main); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.btn-secondary { background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.4); color: white; }
.btn-primary:hover { transform: translateY(-3px); background: var(--primary-light); color: white; }
.btn-secondary:hover { background: white; color: var(--text-main); }

/* --- Sections --- */
.section { padding: 100px 5%; position: relative; z-index: 2; }

/* Градиентный акцент для заголовков */
.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, #1a2a6c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block; 
}

.dark-bg {
    background-color: rgba(240, 244, 247, 0.7); border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(5px); border-radius: 50px; margin: 0 2%; padding: 80px 5%;
}

/* --- ГРАФИК --- */
.schedule-graph { display: flex; flex-direction: column; gap: 60px; align-items: center; width: 100%; }
.graph-item {
    display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 900px;
    background: white; padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
    border: 1px solid rgba(110, 133, 183, 0.1); transition: transform 0.4s ease, box-shadow 0.4s ease; will-change: transform;
}
.graph-item:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(110, 133, 183, 0.2); }
.graph-img {
    width: 100%; height: auto; border-radius: var(--radius-md); margin-bottom: 25px; object-fit: contain;
    background: #fdfbf7; cursor: pointer; transition: transform 0.1s ease-out; /* База для параллакса */
}

.pdf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 35px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; color: var(--primary);
    border: 2px solid var(--primary); background: transparent; transition: all 0.3s ease; text-decoration: none;
}
.pdf-btn:hover { background: var(--primary); color: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(110, 133, 183, 0.2); }

/* --- Галерея --- */
.gallery-section { padding-top: 80px; }
.compact-title { margin-bottom: 20px !important; }
.gallery-scroller-container { width: 100%; overflow: hidden; position: relative; padding: 10px 0 20px; }
.gallery-track {
    display: flex; gap: 20px; overflow-x: auto; padding: 0 5%; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--primary-light) transparent;
}
.gallery-track::-webkit-scrollbar { height: 6px; }
.gallery-track::-webkit-scrollbar-thumb { background-color: var(--primary-light); border-radius: 4px; }

/* Фото с параллаксом */
.gallery-img-thumb {
    height: 300px; width: auto; border-radius: 20px; object-fit: cover; flex-shrink: 0;
    scroll-snap-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.1s ease-out; 
    cursor: pointer; will-change: transform; transform: translateZ(0);
}
.gallery-img-thumb:hover { transform: scale(1.02) !important; }

.gallery-modal .modal-content { max-width: 1200px; width: 95%; height: 90vh; overflow-y: auto; padding: 40px; position: relative; }
.close-gallery-btn {
    position: sticky; top: 0; float: right; font-size: 2.5rem; cursor: pointer; z-index: 10;
    color: var(--text-main); background: rgba(255,255,255,0.8); border-radius: 50%; width: 50px; height: 50px;
    line-height: 50px; text-align: center;
}
.full-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gallery-grid-img {
    width: 100%; height: 200px; object-fit: cover; border-radius: 12px; transition: transform 0.1s ease-out;
    background-color: #eee; cursor: pointer; will-change: transform;
}
.gallery-grid-img:hover { transform: scale(1.03) !important; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* --- Модальные окна (Forms) --- */
.modal {
    display: none; position: fixed; z-index: var(--z-modal-overlay); left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(30, 42, 55, 0.85); justify-content: center; align-items: center; will-change: opacity; 
}
.modal-content {
    background: white; padding: 40px; border-radius: var(--radius-lg); width: 90%; max-width: 450px;
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1); position: relative;
    will-change: transform, opacity; z-index: var(--z-modal-content);
}
@keyframes modalPop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.input-group { position: relative; margin-bottom: 15px; }
.modal input, .modal select {
    width: 100%; padding: 15px; border-radius: 12px; border: 1px solid #e0e0e0;
    font-family: var(--font-main); background: rgba(255,255,255,0.8); transition: all 0.3s ease;
}
.modal input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 5px rgba(110, 133, 183, 0.2); }
.error-msg { display: block; height: 0; overflow: hidden; color: #ff4d4d; font-size: 0.8rem; transition: 0.3s; }
.close-btn { position: absolute; top: 20px; right: 25px; font-size: 1.5rem; cursor: pointer; }
.full-width { width: 100%; margin-top: 15px; }

.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; will-change: opacity, transform; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- LIGHTBOX --- */
.lightbox {
    display: none; position: fixed; z-index: var(--z-lightbox); left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95); justify-content: center; align-items: center; opacity: 0;
    transition: opacity 0.3s ease; overflow: hidden; will-change: opacity;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-wrapper { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; overflow: hidden; }
.lightbox-image { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; pointer-events: auto; transform-origin: center center; cursor: grab; }
.lightbox-image:active { cursor: grabbing; }
.close-lightbox { position: absolute; top: 30px; right: 40px; color: white; font-size: 3rem; cursor: pointer; transition: 0.3s; z-index: var(--z-lightbox-btn); }
.close-lightbox:hover { color: var(--primary); transform: scale(1.1); }
.zoom-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.5); font-size: 0.8rem; pointer-events: none; z-index: 3002; }

/* --- МОДАЛЬНОЕ ОКНО ЖЮРИ --- */
.jury-modal-overlay { z-index: var(--z-modal-overlay); }
.jury-modal-content {
    width: 85%; max-width: 400px; padding: 0; overflow: hidden; display: flex; flex-direction: column; background-color: #fff;
    border-radius: 25px; box-shadow: 0 10px 40px rgba(0,0,0,0.25); animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; max-height: 90vh; contain: content; z-index: var(--z-modal-content); transform: translateZ(0);
}
.jury-modal-body { display: flex; flex-direction: column; height: auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.jury-modal-img-container { width: 100%; height: auto; aspect-ratio: 1 / 1; flex-shrink: 0; position: relative; background-color: #eee; margin: 0; border-radius: 0; }
.jury-modal-img-container img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.jury-modal-text { width: 100%; padding: 25px 20px; overflow: visible; }
.jury-modal-text h2, .jury-modal-text p#juryModalRole { text-align: center; }
.jury-bio-scroll { overflow: visible; text-align: justify; hyphens: auto; text-align-last: left; }
.close-jury-btn {
    position: absolute; top: 15px; right: 15px; color: white; background: rgba(0,0,0,0.3); border-radius: 50%;
    width: 40px; height: 40px; text-align: center; line-height: 40px; font-size: 1.8rem; cursor: pointer; z-index: 20; border: none;
}

/* --- Footer --- */
.footer {
    text-align: center; position: relative; overflow: hidden; z-index: var(--z-footer);
    background-color: #fdfbf7;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.07'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #ffffff 0%, #ebf4f5 100%);
    padding: 80px 20px 40px; border-top-left-radius: 60px; border-top-right-radius: 60px; border-top: 1px solid rgba(110, 133, 183, 0.15); 
}
.footer::before {
    content: ''; position: absolute; top: -150px; left: -100px; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(110, 133, 183, 0.12) 0%, transparent 65%); border-radius: 50%; z-index: -1; pointer-events: none;
}
.footer::after {
    content: ''; position: absolute; bottom: -100px; right: -100px; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(178, 200, 223, 0.18) 0%, transparent 65%); border-radius: 50%; z-index: -1; pointer-events: none;
}
.footer .container { position: relative; z-index: 2; }
.footer h2::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 100px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.9) 0%, transparent 70%); z-index: -1; filter: blur(30px);
}
.footer h2 { font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: 15px; position: relative; }
.italic-accent-dark { font-style: italic; color: var(--primary); font-weight: 500; }
.footer p { color: var(--text-muted); margin-bottom: 40px; }
.socials { margin: 40px 0; display: flex; justify-content: center; gap: 25px; }
.socials i {
    font-size: 1.6rem; color: var(--primary); transition: 0.3s; background: rgba(255, 255, 255, 0.8);
    width: 50px; height: 50px; line-height: 50px; border-radius: 50%; box-shadow: 0 5px 15px rgba(110, 133, 183, 0.1); backdrop-filter: blur(5px);
}
.socials i:hover {
    transform: translateY(-5px) scale(1.1); background: var(--primary); color: white; box-shadow: 0 10px 20px rgba(110, 133, 183, 0.3);
}
.copyright { font-size: 0.85rem; color: #999; letter-spacing: 0.5px; }

/* 2. СТИЛИ ДЛЯ ПК */
@media (min-width: 1025px) {
    .jury-modal-content { max-width: none !important; width: 1200px !important; border-radius: 30px; }
    .jury-modal-body { flex-direction: row !important; height: 600px !important; overflow: hidden !important; }
    .jury-modal-img-container { aspect-ratio: auto !important; width: 600px !important; flex: 0 0 600px !important; height: 100%; }
    .jury-modal-text { flex: 1; padding: 60px 50px !important; display: flex; flex-direction: column; justify-content: flex-start; text-align: left !important; }
    .jury-modal-text h2, .jury-modal-text p#juryModalRole { text-align: left !important; }
    .jury-bio-scroll { overflow-y: auto !important; padding-right: 15px; margin-top: 15px; height: auto; flex-grow: 1; text-align: left !important; scrollbar-width: thin; scrollbar-color: var(--secondary) transparent; }
    .jury-bio-scroll::-webkit-scrollbar { width: 6px; }
    .jury-bio-scroll::-webkit-scrollbar-thumb { background-color: var(--secondary); border-radius: 3px; }
    .jury-bio-scroll::-webkit-scrollbar-track { background: transparent; }
    .close-jury-btn { top: 25px; right: 30px; color: var(--text-main) !important; background: transparent !important; width: auto; height: auto; font-size: 2.5rem; transition: 0.3s; }
    .close-jury-btn:hover { color: var(--primary) !important; transform: rotate(90deg); }
}

/* Остальные адаптивные стили */
@media (max-width: 1024px) { .full-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    /* Добавлен возврат кнопок "Контакты" и "Жюри" для мобильных */
    .hero-top-links { display: flex; } 

    .glass-card { padding: 40px 20px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); }
    .hero h1 { font-size: 2.8rem; margin-bottom: 15px; }
    .hero-buttons { display: flex; flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; margin: 5px 0; }
    .section { padding: 80px 5%; }
    .dark-bg { margin: 0; border-radius: 0; }
    .gallery-img-thumb { height: 220px; }
    .full-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-modal .modal-content { padding: 20px; }
    .close-lightbox { top: 20px; right: 20px; font-size: 2.5rem; }
    .zoom-hint { display: none; }
    .jury-track { padding: 40px max(20px, calc(50% - 150px)); }
    .section-title { text-align: center !important; font-size: 2.2rem; margin-bottom: 40px; }
    .graph-item { padding: 15px; }
    .stat-number { font-size: 2.8rem; }
}

/* --- СТИЛИ ДЛЯ ВЫБОРА ТИПА ЗАЯВКИ --- */
.selection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.selection-card { background: #f8f9fa; border: 2px solid #e0e0e0; border-radius: 15px; padding: 30px 20px; text-align: center; cursor: pointer; transition: all 0.3s ease; }
.selection-card:hover { border-color: var(--primary); background: white; box-shadow: 0 10px 20px rgba(110, 133, 183, 0.15); transform: translateY(-5px); }
.selection-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.selection-card h3 { font-family: var(--font-serif); margin-bottom: 10px; font-size: 1.2rem; }
.selection-card p { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 480px) { .selection-grid { grid-template-columns: 1fr; } }
.acco-card { background: #f0f8ff; border: 1px solid #b2c8df; border-radius: 12px; padding: 15px; margin-bottom: 15px; position: relative; }
.acco-card h4 { color: var(--primary); margin-bottom: 10px; font-size: 1rem; font-weight: 600; }

/* --- НОВЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ "О НАС" --- */
.about-page-wrapper { padding: 150px 5% 80px; background-color: var(--bg-page); }
.about-page-container { max-width: 900px; margin: 0 auto; text-align: center; background: white; padding: 60px 50px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid rgba(110, 133, 183, 0.1); }
.about-page-title { font-family: var(--font-serif); font-size: 2.5rem; color: var(--text-main); margin-bottom: 30px; line-height: 1.3; }
.about-page-text p { font-size: 1.1rem; color: var(--text-main); margin-bottom: 20px; line-height: 1.8; }
.about-page-text .highlight-text { font-weight: 600; color: var(--primary); font-size: 1.25rem; margin-top: 40px; font-style: italic; background: linear-gradient(135deg, var(--primary) 0%, #8caad4 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

@media (max-width: 768px) {
    .about-page-wrapper { padding: 120px 5% 50px; }
    .about-page-container { padding: 40px 25px; }
    .about-page-title { font-size: 1.8rem; }
    .about-page-text p { font-size: 1rem; }
    .about-page-text .highlight-text { font-size: 1.1rem; }
}