/* Involve Regular */
@font-face {
  font-family: 'Involve';
  src: url('../fonts/Involve-Regular.woff') format('woff'),
    url('../fonts/Involve-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Involve Medium */
@font-face {
  font-family: 'Involve';
  src: url('../fonts/Involve-Medium.woff') format('woff'),
  url('../fonts/Involve-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Involve SemiBold */
@font-face {
  font-family: 'Involve';
  src: url('../fonts/Involve-SemiBold.woff') format('woff'),
  url('../fonts/Involve-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Involve Bold */
@font-face {
  font-family: 'Involve';
  src: url('../fonts/Involve-Bold.woff') format('woff'),
  url('../fonts/Involve-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
    --container-width: 1250px;
    --container-padding: 20px;

    --blue-accent: #58a6df;
    --red-accent: #ee3f43;
    --orange-accent: #f58220;
    --text-color: #003a71; /* Темно-синий для текста */

    --main-font: 'Involve', 'Inter', 'Montserrat', sans-serif;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    box-sizing: border-box;
}


/* === ПРЕЛОАДЕР === */
#preloader {
    position: fixed;
    inset: 0;
    background: #f0f7ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 6px solid #e0e8f5;
    border-top: 6px solid #007bbd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-rostick {
    width: 120px;
    margin-bottom: 16px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}


/* === Scroll animation base === */
/* Базовое состояние */
[data-animate] {
    opacity: 0;
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    will-change: transform, opacity;
}

[data-animate] .animate-inner {
    transform: translateY(40px);
}

/* Когда элемент появился */
[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}
/* Направления */
[data-animate="left"]  { transform: translateX(-60px); }
[data-animate="right"] { transform: translateX(60px); }
[data-animate="up"]    { transform: translateY(60px); }
[data-animate="down"]  { transform: translateY(-60px); }
[data-animate="scale"] { transform: scale(0.9); }

/* Активное состояние */
[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

body {
    /* margin-right: 244px;
    margin-left: 244px; */
    font-family: var(--main-font);
    background: radial-gradient(circle at top left, #d9eaf7 0%, #ffffff 40%),
                radial-gradient(circle at bottom right, #fce4e4 0%, #ffffff 40%);
    background-attachment: fixed;
    color: var(--text-color);
}

main {
    padding-top: 140px;

}
  
section {
    scroll-margin-top: 80px; /* ровно высота хедера */

}

/*--------------------- Свечение (декор) ----------------------- */

.glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(300px);
    opacity: 0.85;
    z-index: -3;
}

.background-glow {
    pointer-events: none;
    z-index: -3;
}

.glow.g1 {
    top: 30%;
    left: 0%;
    background: #0077B4;
}

.glow.g2 {
    top: 80%;
    right: 0%;
    background: #DB2020;
}

.glow.g3 {
    top: 300%;
    right: 0%;
    background: #E36900;
}

.glow.g4 {
    top: 190%;
    left: 0%;
    background: #00BA28;
}

.glow.g5 {
    top: 380%;
    left: 0%;
    background: #0077B4;
}

.glow.g6 {
    top: 500%;
    right: 0%;
    background: #DB2020;
}

.glow.g7 {
    top: 740%;
    right: 0%;
    background: #E36900;
}

.glow.g8 {
    top: 620%;
    left: 0%;
    background: #00BA28;
}

.glow.g9 {
    top: 800%;
    left: 0%;
    background: #0077B4;
}

/*--------------------- Декор --------------------*/

.background-decor {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
/* Общие стили */
.decor {
    position: absolute;
    opacity: 0.85;
}
/* Первая диагональ */
.d1 { 
    top: 5%;
    right: 0%;
    width: 330px;
}
.d2 { 
    top: 80%;
    left: 0%;
    width: 330px;
}
.d3 { 
    top: 170%;
    right: 0%;
    width: 430px;
}
.d4 { 
    top: 300%;
    left: 0%;
    width: 384px;
}
.d5 { 
    top: 390%;
    right: 0%;
    width: 330px;
}
.d6 { 
    top: 506%;  
    left: 0%;  
    width: 330px; 
}
.d7 { 
    top: 614%;
    right: 0%;
    width: 430px; 
}
.d8 { 
    top: 688%;
    left: 0%;
    width: 330px;
}
.d9 { 
    top: 810%;  
    right: 0%;  
    width: 330px; 
}
.d10 { 
	display: none;
    top: 860%;
    left: 0%;
    width: 430px;
}


/*--------------------- КОНТЕНТ --------------------*/

#site-wrapper { 
    /* position: relative;  */
    z-index: 1; 
}


/* ------------------------ Шапка -------------------------- */

.main-nav {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    width: 100%;
    max-width: 1250px;

    height: 100px;
    padding: 20px 24px;

    border-radius: 50px;
    z-index: 1000;

    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        height 0.3s ease,
        padding 0.3s ease,
        border-radius 0.3s ease;
}


/* При прокрутке — шапка становится чуть плотнее */
.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    padding: 12px 24px;
    height: 72px;
    border-radius: 32px;
}


/* Логотип при прокрутке — чуть меньше */
.main-nav.scrolled .nav-logo {
    height: 56px;
}

/* Меню и иконки — всегда читаемы */
.main-nav ul li a {
    color: #004a99;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--blue-accent);
}

/* Логотип */
.nav-logo {
    height: clamp(48px, 6vw, 80px); 
    flex-shrink: 0;
    transition: transform 0.3s ease; 
    cursor: pointer;
}

.nav-logo:hover {
    transform: scale(1.05); /* Легкое увеличение */
}


/* Меню */
.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(16px, 3vw, 30px); /* Расстояние между пунктами */
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.main-nav ul li a {
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

/* Стилизация активной ссылки (как в макете) */
.main-nav ul li a.active {
    color: var(--blue-accent);
    border-bottom: 2px solid var(--blue-accent);
    padding-bottom: 5px;
}

.main-nav ul li a:hover {
    color: var(--blue-accent);
}

/* Специальный вид (разработка) */
.view-mode {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;
}

.view-mode:hover {
    transform: scale(1.2); /* Заметное увеличение для удобства */
}

.view-mode img {
    width: clamp(36px, 4vw, 52px); /* Размер иконки глаза */
    cursor: pointer;
    display: block;
}


/* ===== BURGER ===== */
.burger {
    display: none;
    width: 40px;
    height: 28px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 2001;
}

.burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: #004a99;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.burger:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 4px;
}


.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 12px; }
.burger span:nth-child(3) { bottom: 0; }

.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 12px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 12px;
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transform: translateY(-100%) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    
    z-index: 2000;

}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu-list li {
    margin-bottom: 24px;
}

.mobile-menu-list a {
    font-size: 28px;
    font-weight: 600;
    color: #004a99;
    text-decoration: none;
}

.mobile-menu-list a:hover {
    color: var(--blue-accent);
}

/* ===============================
   MOBILE ACCESSIBILITY BUTTON
=============================== */

.mobile-menu-tools {
    margin-top: 40px;
}

.mobile-accessibility-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 600;

    border-radius: 16px;
    border: 2px solid var(--blue-accent);
    background: transparent;
    color: var(--blue-accent);

    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.mobile-accessibility-btn:hover {
    background: var(--blue-accent);
    color: #fff;
}




/* ------------------Контейнер секции--------------------- */
.hero-section {
    padding: clamp(16px, 4vw, 32px);
    max-width: 1250px;
    margin: 0 auto 100px;
    padding-top: clamp(120px, 15vh, 180px);
}

/* Баннер */
.main-banner {
    position: relative;
    width: 100%;
    border-radius: clamp(24px, 4vw, 50px); /* Большое скругление как на макете */
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

    aspect-ratio: 1200 / 400;
    background: #f3f5f8;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Плашки статистики */
.stats-grid {
    display: flex;
    gap: 20px;
}

.stat-card {
    background: white;
    flex: 1;
    min-height: 100px;
    padding-right: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    overflow: hidden; /* Чтобы обрезать скошенный фон */
    box-shadow: 1px 1px 10px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Цветной скошенный блок с цифрой */
.stat-value {
    height: 100%;
    min-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 32px;
    /* Создаем скос справа */
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); 
    padding-right: 15px;

    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.stat-value::after {
    content: "+";
    margin-left: 6px;
    font-weight: 600;
    opacity: 0.9;
}

.stat-desc {
    padding-left: 15px;
    color: #004a99;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
}

/* Цвета плашек */
.blue .stat-value { background-color: var(--blue-accent); }
.red .stat-value { background-color: var(--red-accent); }
.orange .stat-value { background-color: var(--orange-accent); }


/* -------------------------- ASU AI Навигатор ----------------------- */

.asu-ai-section {
    margin: 100px 0;
}

.asu-ai-section > .container {
    padding: 60px 0;
}

.asu-ai-section .navigator-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.navigator-image img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}



/* Универсальный заголовок для всех секций */
.section-title {
    font-size: 52px; /* 40 px на мобильном сделать */
    color: #004a99;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.navigator-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.navigator-content {
    flex: 1;
}

.description {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.55;
    margin-bottom: 25px;
    color: #333;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.features-list li {
    position: relative;
    padding-left: 42px;
    margin-bottom: 18px;
    line-height: 1.5;
    font-size: clamp(18px, 1.6vw, 22px);

    opacity: 0;
    transform: translateY(10px);
    animation: featureFade 0.6s ease forwards;
}

/* Stagger animation */
.features-list li:nth-child(1) { animation-delay: 0.1s; }
.features-list li:nth-child(2) { animation-delay: 0.2s; }
.features-list li:nth-child(3) { animation-delay: 0.3s; }
.features-list li:nth-child(4) { animation-delay: 0.4s; }
.features-list li:nth-child(5) { animation-delay: 0.5s; }
.features-list li:nth-child(6) { animation-delay: 0.6s; }

/* Кастомный маркер */
.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;

    width: 18px;
    height: 18px;

    border-radius: 50%;
    background: linear-gradient(135deg, #007bbd, #004a99);

    box-shadow: 0 4px 12px rgba(0, 123, 189, 0.4);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover эффект */
.features-list li:hover::before {
    transform: scale(1.25);
    box-shadow: 0 6px 18px rgba(0, 123, 189, 0.6);
}

@keyframes featureFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.navigator-list{
    display: grid;
    grid-template-columns: 1.1fr  0.9fr;
    align-items: center;
    gap: 40px;
}

.navigator-image {
    display: flex;
    justify-content: center;
}

.navigator-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
}


.navigator-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 32px;
}

/* Главная синяя кнопка */
.btn-primary {
    background-color: #007bbd;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    font-size: 24px;
}

.btn-primary:hover {
    background-color: #005a8a;
    transform: translateY(-2px);
}

/* Ссылка на видео с иконкой Play */
.video-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 24px;
}

.video-btn {
    width: 80px;
    height: 80px;
    background-color: #e6f0f9;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-btn svg {
    width: 50px;
    fill: #007bbd;
}

.video-btn:hover {
    background-color: #007bbd;
}

.video-btn:hover svg {
    fill: white;
}

.navigator-image img {
    max-width: 700px;
    height: auto;
}



/* ---------------------------------------------- Календарь мероприятий ----------------------------------- */

.events-calendar {
    margin: 100px auto;
}

.section-subtitle {
    font-size: 36px;
    font-weight: 500;
    color: #333;
    margin: 15px 0 40px;
}

/* Фильтры */
.events-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.events-filters .filter-btn {
    padding: 10px 24px;
    background: #f0f0f0;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-filters .filter-btn.active,
.events-filters .filter-btn:hover {
    background: #007bbd;
    color: white;
}

/* Контейнер с прокруткой */
.events-scroll-container {
    position: relative;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    margin: 0 -10px;
    scrollbar-width: none; /* Firefox */

    height: auto;
}

.events-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Лента мероприятий */
.events-list {
    display: flex;
    gap: 24px;
    min-width: 100%;
    padding: 0 10px;
}

/* Карточка мероприятия */
.event-card-v2 {
    position: relative;
    min-width: 320px;
    width: 320px;
    min-height: 200px;
    height: 398px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    justify-content: space-between;
}

.event-card-v2.is-hidden{
    display: none;
    opacity: 0;
    pointer-events: none;
    width: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.card-header {
    height: 160px;
    padding: 24px;
    box-sizing: border-box;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.event-card-v2:hover {
    transform: translateY(-5px);
}

.event-card-v2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: transparent;
}

/* Цветные шапки */
.card-header {
    padding: 24px;
    color: white;
}

.bg-orange { background-color: #f58220; }
.bg-blue { background-color: #007bbd; }
.bg-gray { background-color: #9e9e9e; }

.header-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;

    overflow: hidden;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    line-clamp: 2;
}

/* Тело карточки */
.card-body {
    height: 231px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
}

.event-text {
    font-size: 15px;
    color: #888;
    line-height: 1.4;
    margin-bottom: 20px;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-clamp: 4;
}

.event-info {
    margin-bottom: 30px;
}

.info-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #666;
    font-size: 15px;
}

/* Кнопка регистрации */
.btn-register {
    text-align: center;
    padding: 12px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid;
    transition: all 0.3s ease;
}

.reg-orange { color: #f58220; border-color: #f58220; }
.reg-blue { color: #007bbd; border-color: #007bbd; }
.reg-gray { color: #666; border-color: #666; }

.btn-register:hover {
    background-color: #f8f8f8;
    transform: scale(1.05);
}

.events-empty {
    text-align: center;
    padding: 40px 20px;
    font-size: 20px;
    font-weight: 500;
    color: #777;
}


/* Стрелки прокрутки */
.scroll-controls {
    position: relative;
    height: 0;
    margin-top: 5px;
    pointer-events: none;
    text-align: center;
}

.scroll-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background 0.3s;

    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.scroll-btn:hover {
    background: white;
}

.scroll-btn img {
    width: 18px;
    height: 18px;
}

/* проверить */
.scroll-btn,
.slider-arrow {
    background: #fff;
    border: 1px solid #ddd;
    opacity: 0.7;
}

.scroll-btn:hover,
.slider-arrow:hover {
    opacity: 1;
}

.scroll-btn:disabled,
.slider-arrow:disabled {
    opacity: 0.3;
    pointer-events: none;
}



/*----------------- Карьерные консультации ---------------- */


.career-consult {
    margin: 120px 0;
}

.consult-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.consult-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.car-consult {
    display: flex;
    justify-content: space-between;
}

/* Декоративные плашки */
.consult-decor {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-height: 140px;
    max-width: 420px;
}

.pill {
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    white-space: nowrap;

    transform:
    translate(var(--x), var(--y))
    rotate(var(--rotation));

    transition:
        transform 0.4s ease,
        box-shadow 0.3s ease;

    animation: none;
}

.pill:hover {
    transform:
    translate(calc(var(--x) + 6px), calc(var(--y) - 6px))
    rotate(var(--rotation))
    scale(1.08);

    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

.pill.green {
    background: #00c853;
    --x: -15px;
    --y: 0px;
    --rotation: -8deg;
}

.pill.blue {
    background: #007bbd;
    --x: 10px;
    --y: 20px;
    --rotation: 6deg;
}

.pill.orange {
    background: #f58220;
    --x: 25px;
    --y: 40px;
    --rotation: -5deg;
}


/* Сетка карточек */
.consult-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

/* Общая карточка */
.consult-card {
    padding: 40px;
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeUp 0.6s ease both;
}

.consult-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Белая карточка */
.white-card {
    background: white;
    color: #004a99;
    border: 1px solid #e0e8f5;
}

/* Синяя карточка */
.blue-card {
    background: #007bbd;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Градиентный бэкграунд в синей карточке (опционально) */
.blue-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 20%);
    pointer-events: none;
    opacity: 0.7;
    transform: rotate(30deg);
}

/* Заголовки */
.consult-card h3 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
    text-align: left;
}

/* Списки */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.check-list li {
    padding-left: 40px;
    margin-bottom: 16px;
    position: relative;
    line-height: 1.4;
    font-size: 18px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: currentColor;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transform: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.white-list li::before {
    color: white;
    background: #00c853;
}

.check-list:not(.white-list) li::before {
    background: #007bbd;
}

/* Кнопка "Записаться" */
.green-btn {
    background: linear-gradient(to right, #00c853, #00e676);
    color: white;
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    align-self: flex-start;
}

.green-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
    background: linear-gradient(to right, #00e676, #00c853);
}

/* Анимация — лёгкое "пульсирование" */
.pulse-hover {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform:
            translate(var(--x), var(--y))
            rotate(var(--rotation));
    }
    50% {
        transform:
            translate(calc(var(--x) + 4px), calc(var(--y) - 6px))
            rotate(var(--rotation));
    }
}


/* ===============================
   CONSULT MODAL
=============================== */

.consult-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.consult-modal.is-active {
    display: flex;
}

.consult-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Контейнер */
.consult-modal__content {
    position: relative;
    background: #fff;
    padding: 60px 70px;
    border-radius: 24px;
    width: 700px;
    max-width: 95%;
    text-align: center;
    z-index: 2;

    transform: scale(0.95);
    transition: 0.25s ease;
}

.consult-modal.is-active .consult-modal__content {
    transform: scale(1);
}

/* Кнопка закрытия */
.consult-modal__close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
}

.consult-modal__close:hover {
    opacity: 0.6;
}

/* Заголовок */
.consult-modal__title {
    font-size: 26px;
    margin-bottom: 20px;
}

/* Подзаголовки */
.consult-modal__subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* Телефоны */
.consult-modal__phones {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consult-modal__phones a {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

.consult-modal__phones a:hover {
    color: #6c63ff; /* тот же акцент что в employer */
}

/* Разделитель */
.consult-modal__divider {
    margin: 40px 0;
    position: relative;
}

.consult-modal__divider span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    font-weight: 600;
    color: #777;
}

.consult-modal__divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #ddd;
    z-index: 1;
}

/* Блок VK */
.consult-modal__block p {
    font-size: 18px;
}

.consult-modal__block a {
    font-weight: 600;
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

.consult-modal__block a:hover {
    color: #6c63ff;
}

/* Блокировка скролла */
body.modal-open {
    overflow: hidden;
}

/* ---------------------------- Возможности с нами ----------------------------------- */

.opportunities {
    width: 100%;
    margin: 120px 0;
    box-sizing: border-box;
    overflow: visible;

    position: relative;
}

/* Контейнер для SVG — на всю ширину экрана */
.path-layer {
    position: absolute;
    top: 220px;        /* под заголовком */
    left: 0;
    width: 100%;
    height: 520px;
    z-index: 1;
    pointer-events: none;
}


.path-layer.in-view .path-line {
    stroke-dashoffset: 0;
}

.opportunities-inner {
    margin-left: 260px;
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* карточки поверх линии */
}



.section-title {
    position: relative;
    z-index: 3;
}


.path-svg {
    width: 100%;
    height: 100%;
}

.path-line {
    fill: none;
    stroke: #56afe6;
    stroke-width: 11;
    stroke-linecap: round;

    stroke-dasharray: var(--path-length);
    stroke-dashoffset: var(--path-length);

    /* Убираем анимацию CSS! */
    /* animation: draw-line 2s forwards; */

    filter:
        drop-shadow(0 0 6px rgba(88,166,223,0.5))
        drop-shadow(0 0 12px rgba(88,166,223,0.35));
}




@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 6px rgba(88,166,223,0.5)); }
    100% { filter: drop-shadow(0 0 10px rgba(88,166,223,0.8)) drop-shadow(0 0 16px rgba(88,166,223,0.6)); }
}

@keyframes shine-run {
    0% { transform: translateX(-100%) translateY(-50px); }
    100% { transform: translateX(100%) translateY(-50px); }
}

/* === Сетка карточек === */
.opportunities-grid-wrapper {
    position: relative;
    z-index: 3;
    margin-top: 100px;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    position: relative;
}

.opp-card {
    padding: 28px 24px;
    border-radius: 32px;
    color: white;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.opp-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.18),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.opp-card:hover::after {
    opacity: 1;
}


.opp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.opp-icon-box {
    height: 56px;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.opp-card:hover .opp-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.opp-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.opp-card p {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

/* Цвета */
.card-blue   { background: #007bbd }
.card-red    { background: #ee3f43}
.card-orange { background: #f58220}
.card-green  { background: #00c853}

/* Анимация появления */
.opp-card {
    opacity: 0;
    transform: translateY(30px);
}

.opp-card:nth-child(1) { animation: fadeUp 0.8s ease forwards 0.3s; }
.opp-card:nth-child(2) { animation: fadeUp 0.8s ease forwards 0.6s; }
.opp-card:nth-child(3) { animation: fadeUp 0.8s ease forwards 0.9s; }
.opp-card:nth-child(4) { animation: fadeUp 0.8s ease forwards 1.2s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------------------------------- ВАКАНСИИ и стажировки -------------------------*/

.section-inner{
    margin: 0 auto;
}

.vacancies {
    max-width: 1250px;
    margin: 100px auto;
}

/* === FIX: защита секций от сжатия === */

.section-inner,
.vacancies {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}


/* Заголовок и подзаголовок */
.section-title {
    font-size: 52px;
    color: #004a99;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 36px;
    font-weight: 500;
    color: #333;
    margin-bottom: 40px;
}

/* Контейнер фильтров */
.filters-container {
    display: flex;
    flex-direction: column; /* Было: row → стало: column */
    gap: 20px; /* Вертикальный отступ между группами */
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Пусть кнопки в группе могут переноситься */
    justify-content: flex-start;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 12px;
    border: none;
    background: #e0e0e0;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007bbd;
    color: white;
}

.vacancy-slider-wrapper {
    position: relative;
}

.vacancy-controls {
    position: relative;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Лента вакансий */
.vacancy-slider {
    display: flex;
    gap: 30px;
    padding-bottom: 40px;
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow-x: auto; /* Добавлено */
}

.vacancy-slider::after {
    content: '';
    flex: 0 0 40px;
}

.vacancy-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Карточка вакансии */
.vacancy-card {
    position: relative;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f9fbff 100%
    );
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    flex: 0 0 350px;
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    overflow: hidden;

    transition: transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.vacancy-card,
.vacancy-card * {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.vacancy-card:hover {
    transform: translateY(-5px);
}

.vacancy-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        rgba(0,123,189,0.12),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.vacancy-card:hover::after {
    opacity: 1;
}

.vacancy-card.is-hidden {
    display: none !important;
}

.vacancy-card * {
    transition: transform 0.25s ease;
}

.vacancy-card:hover h3 {
    transform: translateX(4px);
}

.vacancy-card:hover .company-name {
    transform: translateX(6px);
}

.vacancy-card:nth-child(odd) {
    transform: translateY(10px);
}

.vacancy-card:hover {
    transform: translateY(-8px);
}


/* Верхняя часть: логотип и метка */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.company-logo {
    width: 60px;
    height: 60px;
    background-color: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;          /* КРИТИЧНО — обрезает изображение */
    flex-shrink: 0;           /* Чтобы не сжимался на мобильных */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* Заполняет контейнер без пустот */
    border-radius: inherit;   /* Наследует 12px от родителя */
    display: block;           /* Убирает нижний отступ у img */
}

.tag-label {
    background: #f1f1f1;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

/* Основная информация */
.card-main h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 700;
}

.company-name {
    color: #007bbd;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.job-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Детали внизу */
.card-details {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
}

/* Ссылка "Подробнее" */
.link-more {
    color: #007bbd;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    align-self: flex-end;
    transition: color 0.3s ease;
}

.link-more:hover {
    color: #005a8a;
}



/*--------------------------------- Полезные материалы --------------------------------------*/

.students-resources {
    margin: 100px auto;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.doc-card {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);

    opacity: 1;
    transform: translateY(30px);

    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px; /* Было: 280px */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.doc-card:hover::after {
    opacity: 1;
}

.doc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.25),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.doc-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Шапка карточки */
.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.doc-type-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.file-format {
    background: rgba(255, 255, 255, 0.5);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #666;
}

/* Контент */
.doc-content {
    margin-bottom: 20px;
}

.doc-content h3 {
    font-size: 24px;
    color: white; /* На макете заголовки часто белые или очень светлые */
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.doc-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.doc-content h3,
.doc-content p {
    transition: transform 0.25s ease;
}

.doc-card:hover .doc-content h3 {
    transform: translateY(-2px);
}

.doc-card:hover .doc-content p {
    transform: translateY(-1px);
}


/* Кнопка скачивания */
.btn-download {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    align-self: flex-start;
    background: rgba(255,255,255,0.85);
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: white;
}

/* Цветовые схемы из макета */
.bg-light-blue { background-color: #a7cce3; }
.bg-blue { background-color: #007bbd; }
.color-blue { color: #007bbd; }

.bg-light-orange { background-color: #edb076; }
.bg-orange { background-color: #f58220; }
.color-orange { color: #f58220; }

.bg-light-red { background-color: #e59092; }
.bg-red { background-color: #ee3f43; }
.color-red { color: #ee3f43; }



/*---------------------------------------- Работадателям ------------------------------------- */

.employers {
    margin: 100px auto;
}

.employers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две колонки */
    gap: 30px;
    margin-bottom: 60px;
}

.employer-card {
    position: relative;
    background: linear-gradient(
        145deg,
        #ffffff,
        #f8f9fb
    );
    padding: 40px;
    border-radius: 40px;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.employer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.card-icon {
    width: 100px;
    flex-shrink: 0;
}

.card-icon img {
    width: 100%;
    height: auto;
    transition: transform 0.35s ease;
}

.card-info h3 {
    font-size: 24px;
    color: #007bbd;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.card-info h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #007bbd;
    margin-top: 6px;
    border-radius: 2px;
    opacity: 0.6;
}

.card-info p {
    font-size: 15px;
    color: #888;
    line-height: 1.4;
    max-width: 420px;
}

.employer-card:hover .card-icon img {
    transform: scale(1.05) rotate(-2deg);
}

/* Стили блока CTA */
/* === Секция "Работодателям" — улучшения === */

.cta-block {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.cta-block h3 {
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #004a99;

    letter-spacing: 1px;
}

.cta-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.presentation-desc {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    opacity: 0.8;
    font-style: italic;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Красная кнопка — "Оставить заявку" */
.btn-submit {
    background-color: #cc0000;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.2);
}

.btn-submit:hover {
    background-color: #a00;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(204, 0, 0, 0.3);
}

.btn-submit:active,
.btn-presentation:active {
    transform: translateY(-1px) scale(0.98);
}

/* Кнопка "Скачать презентацию" */
.btn-presentation {
    background: #f0f0f0;
    color: #333;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

.btn-presentation:hover {
    background: #e0e0e0;
    border-color: #aaa;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Стрелка в кнопках */
.arrow {
    font-size: 16px;
    transition: transform 0.3s;
}

.btn-submit:hover .arrow,
.btn-presentation:hover .arrow {
    transform: translateX(3px);
}


/* ===============================
   EMPLOYER MODAL
=============================== */

.employer-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.employer-modal.is-active {
    display: flex;
}

.employer-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.employer-modal__content {
    position: relative;
    background: #fff;
    padding: 60px 70px;
    border-radius: 24px;
    width: 700px;
    max-width: 95%;
    z-index: 2;
    text-align: center;
}

.employer-modal__title {
    font-size: 26px;
    margin-bottom: 15px;
}

.employer-modal__subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.employer-modal__contacts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.employer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.employer-contact h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
}

.employer-contact a {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

.employer-contact a:hover {
    color: #6c63ff; /* твой акцентный */
}

.employer-modal__close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}



/* ------------------------------ Команда ------------------------------- */

.team {
    margin: 100px auto;
}

.team-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.team-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    padding: 26px 0;
    scrollbar-width: none;
}

.team-hint {
    display: none;
    font-size: 14px;
    opacity: 0.5;
    margin-top: -10px;
}

/* Лёгкая тень и фон при наведении */
.team-container .team-card {
    background: transparent; /* Изначально без фона */
}

/* Скрываем полосу прокрутки (опционально) */
.team-container::-webkit-scrollbar {
    display: none;
}

.team-card {
    min-width: calc((100% - 2 * 30px) / 3); /* 3 карточки с gap=30px */
    max-width: calc((100% - 2 * 30px) / 3);
    flex: 0 0 calc((100% - 2 * 30px) / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.team-card:hover {
    transform: translateY(-10px);
}

.team-card:hover h3,
.team-card:hover .member-post {
    color: #f58220; /* Оранжевый акцент при наведении */
}

/* Круглое фото с обводкой */
.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #007bbd;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card:hover .member-photo {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 123, 189, 0.3);
}

.team-card h3,
.team-card .member-post {
    transition: none; /* Не меняем цвет при наведении */
}

.team-card:focus {
    outline: 3px solid #56afe6;
    outline-offset: 4px;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #e6e6e6;
    border-radius: 12px;
}


/* Имя и должность */
.member-info h3 {
    font-size: 22px;
    color: #004a99;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.member-post {
    font-size: 14px;
    color: #007bbd;
    line-height: 1.4;
}

/* Кнопки навигации (кружки со стрелками) */
.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #f58220; /* Оранжевый контур */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.slider-arrow.next {
    background-color: #f58220; /* Правая кнопка залита оранжевым */
}

.slider-arrow:hover {
    transform: scale(1.1);
}

/* ------------------------------ ПАРТНЕРЫ ------------------------------- */

.partners {
    margin: 100px auto;
}

.partners h2.section-title {
    margin-bottom: 40px;
}

/* Сетка */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

/* Карточка партнёра */
.partner-box {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

    opacity: 0;
    transform: translateY(20px) scale(0.97);
    transition:
        transform 0.4s ease,
        box-shadow 0.3s ease,
        opacity 0.4s ease;
}

/* Анимация появления */
.partner-box.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Hover */
.partner-box:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Логотип */
.partner-box img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-box a:hover img,
.partner-box img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.btn-all-partners{
    margin: 50px auto 0;
    display: block;
    padding: 14px 36px;
    border-radius: 30px;
    background: #007bbd;
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
}


/* ------------------------------ Вопрос-ответ ------------------------------- */


.faq {
    margin: 100px auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Отступы между вопросами */
    margin-top: 40px;
}

.faq-item {
    background-color: #007bbd; /* Основной синий цвет */
    border-radius: 50px; /* Сильное скругление краев */
    overflow: hidden;
    transition: 0.3s;
}

/* Убираем стандартный маркер браузера */
.faq-question::-webkit-details-marker { display: none; }
.faq-question {
    list-style: none;
    padding: 15px 30px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-arrow {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-arrow img {
    width: 16px;
    height: auto;
}

/* Поворот стрелки при раскрытии */
.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
}

.faq-item[open] .faq-question {
    padding: 15px 30px 10px; /* Снижаем нижний паддинг — ближе к ответу */
}

.faq-answer {
    padding: 25px 40px;
    background: white;
    color: #003a71;
    font-size: 16px;
    line-height: 1.6;
    border-top: 1px solid #e0e8f5;
    border-bottom: 2px solid #007bbd; /* Синяя полоска снизу — как акцент */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Лёгкая тень — выделяет блок */
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* ------------------------------ Подвал ------------------------------- */

.main-footer {
    background-color: #007bbd; /* Фирменный синий */
    color: white;
    padding: 60px 5% 20px;
    font-size: 15px;
    line-height: 1.6;
    z-index: 1;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1250px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 40px;
    flex-wrap: wrap;
}


.footer-brand img {
    max-width: 260px;
    height: auto;
    filter: brightness(1.1); /* Лёгкое свечение — если фон тёмный */
}


/* Колонки */
.footer-nav h4, .footer-info h4 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Меню в две колонки */
    gap: 10px 30px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-nav a:hover { opacity: 1; }

.footer-info p {
    margin-bottom: 15px;
    line-height: 1.4;
    opacity: 0.9;
}

.footer-info p,
.footer-nav a {
    font-size: 15px;
    line-height: 1.6;
}

/* Контакты */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Общий элемент контакта */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* Иконки */
.contact-item img {
    width: 36px;
    height: 36px;
    opacity: 0.9;
}

/* Телефоны */
.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text a,
.contact-single {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    color: white;
    text-decoration: none;
}

/* Hover */
.contact-text a:hover,
.contact-single:hover {
    color: #f58220;
    text-shadow: 0 0 6px rgba(245,130,32,0.5);
}


/* Нижняя часть футера */
.footer-bottom {
    max-width: 1250px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Тонкая линия над копирайтом */
}

.copyright-line{
    display: flex;
    justify-content: space-between;
    padding: 10px;
    font-size: 13px;
    opacity: 0.6;
}

/* АНИМАЦИЯ ПРИ СТАРТЕ */

/* Начальное состояние для анимации */
.hero-section, .main-nav {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.main-nav {
    animation-delay: 0.2s; /* Шапка чуть раньше */
}

.hero-section {
    animation-delay: 0.5s; /* Баннер чуть позже */
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== Документы в футере (как FAQ) ===== */

.footer-documents {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 10px 0;
}

/* Убираем стандартный маркер */
.footer-documents-summary::-webkit-details-marker {
    display: none;
}

.footer-documents-summary {
    list-style: none;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 0;
    color: white;
    font-size: 17px;
    font-weight: 600;
}

/* Кружок со стрелкой */
.footer-documents-arrow {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.3s ease;
}

.footer-documents-arrow img {
    width: 14px;
}

/* Поворот стрелки */
.footer-documents[open] .footer-documents-arrow {
    transform: rotate(180deg);
}

/* ===== Документы в футере ===== */

.footer-documents-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding-bottom: 10px;
}

/* Карточка документа */
.footer-doc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;

    padding: 14px 10px;
    border-radius: 16px;

    text-decoration: none;
    color: white;
    text-align: center;

    background: rgba(255,255,255,0.08);
    transition: background 0.25s ease, transform 0.2s ease;
}

.footer-doc:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

/* Иконка */
.footer-doc img {
    width: 32px;
    height: 32px;
}

/* Текст */
.footer-doc-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Название */
.footer-doc-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

/* Формат */
.footer-doc-format {
    font-size: 11px;
    opacity: 0.65;
    letter-spacing: 0.04em;
}

.footer-university-link {
    color: white;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.25s ease, text-decoration 0.25s ease;
}

.footer-university-link:hover {
    opacity: 1;
    text-decoration: underline;
}


/* Анимация стрелки */
.arrow-circle {
    transition: transform 0.3s ease;
}

/* Плавная прокрутка по якорям */
html {
    scroll-behavior: smooth;
}

/* ------------------ Куки ----------------- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 900px;
    width: calc(100% - 40px);
    background: rgba(0, 123, 189, 0.95);
    color: white;
    padding: 20px 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    z-index: 9999;
    font-size: 14px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translate(-50%, 20px);
    pointer-events: none;
}

.cookie-banner p {
    margin: 0;
    line-height: 1.4;
    opacity: 0.9;
}

.cookie-btn {
    background: white;
    color: #007bbd;
    border: none;
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.cookie-btn:hover {
    background: #f58220;
    color: white;
}

/* ===============================
   FEEDBACK WIDGET
=============================== */

.feedback-widget {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
}

.feedback-widget__button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e52, #f58220);
    color: #fff;
    font-size: 28px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
    animation: feedbackPulse 2s infinite;
}

.feedback-widget__button:hover {
    transform: scale(1.1);
}

@keyframes feedbackPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 136, 0, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(0,114,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,114,255,0); }
}


/* MENU */

.feedback-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.7s ease;
}

.feedback-widget.is-open .feedback-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


.feedback-menu__item {
    background: #fff;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: #222;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: background 0.2s;
}

.feedback-menu__item:hover {
    background: #f0f0f0;
}


/* ===============================
   FEEDBACK MODAL
=============================== */

.feedback-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 10000;
}

.feedback-modal.is-active {
    display: block;
}

.feedback-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.feedback-modal__content {
    position: relative;
    max-width: 700px;
    width: 90%;
    margin: 100px auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    z-index: 1;
}


.feedback-modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback-form__label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 6px;
}

.feedback-form input,
.feedback-form textarea {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.feedback-form__submit {
    background: #0072ff;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}


/* ===============================
   ACCESSIBILITY PANEL
=============================== */

.accessibility-panel {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;

    z-index: 1300;
}

.accessibility-panel.active {
    opacity: 1;
    pointer-events: all;
}

.accessibility-panel-inner {
    width: min(420px, 90%);
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
}

.accessibility-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.accessibility-title {
    margin-bottom: 24px;
    font-size: 24px;
    text-align: center;
}

.accessibility-group {
    margin-bottom: 24px;
}

.accessibility-label {
    margin-bottom: 10px;
    font-weight: 600;
}

.accessibility-controls {
    display: flex;
    gap: 12px;
}

.accessibility-controls button {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.accessibility-controls button.active {
    border-color: var(--blue-accent);
    background: rgba(0, 74, 153, 0.08);
}


/* ===============================
   ACCESSIBILITY EFFECTS
=============================== */

/* FONT SIZE */
body.font-size-s { font-size: 14px; }
body.font-size-m { font-size: 16px; }
body.font-size-l { font-size: 18px; }

/* FONT FAMILY */
body.font-family-sans { font-family: system-ui, sans-serif; }
body.font-family-serif { font-family: Georgia, "Times New Roman", serif; }
body.font-family-dyslexic {
    font-family: "OpenDyslexic", Arial, sans-serif;
}

/* THEMES */
body.theme-contrast {
    background: #000;
    color: #fff;
}

body.theme-contrast section,
body.theme-contrast .vacancy-card,
body.theme-contrast .event-card-v2,
body.theme-contrast .doc-card,
body.theme-contrast .team-card {
    background: #111;
    color: #fff;
}

body.theme-contrast a,
body.theme-contrast .btn-primary {
    color: #00ffff;
}

body.theme-invert {
    filter: invert(1) hue-rotate(180deg);
}


/* =========================
   404 PAGE
========================= */

.error-404 {
    padding: 120px 0;
    text-align: center;
}

.error-404-content {
    max-width: 640px;
    margin: 0 auto;
}

.error-code {
    display: block;
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color, #1f5fff);
    margin-bottom: 20px;
}

.error-text {
    font-size: 18px;
    color: #555;
    margin: 20px 0 40px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================
   404 PAGE FIX
========================= */

.error404 .background-glow,
.error404 .background-decor,
.error404 .glow,
.error404 .decor {
    display: none !important;
}

.error404 body {
    background: #f5f8fc;
}

.error404 main {
    padding-top: 180px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error404 .error-404 {
    text-align: center;
    padding: 40px 20px;
}



/* ===============================
   ЕДИНЫЕ АДАПТИВНЫЕ СЕТКИ
=============================== */
@media (max-width: 1670px) {
    .background-glow {
        display: none;
    }
    .background-decor {
        display: none;
    }
}


@media (min-width: 1200px) {
    /* Команда */
    .team-card {
        flex: 0 0 calc((100% - 2 * 30px) / 3);
    }
}

/* --- Laptop/tablet (до 1199px) --- */
@media (max-width: 1199px) {

    .main-nav {
        height: 88px;
        padding: 16px 20px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .hero-section {
        margin: 120px auto 60px;
    }

    .stats-grid {
        gap: 16px;
    }

    .stat-card {
        min-height: 90px;
    }

    .stat-value {
        min-width: 90px;
        font-size: 28px;
    }

    .stat-desc {
        font-size: 18px;
    }

    .navigator-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .navigator-image{
        order: -1;
    }

    .navigator-image img {
        max-width: 420px;
    }

    .path-layer {
        display: none;
    }

    .opportunities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .opp-card {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .opportunities-grid-wrapper {
        margin-top: 60px;
    }
    
    /* Вакансии и стажировки */

    .vacancy-card {
        flex: 0 0 300px;
        min-width: 300px;
    }

    .section-title {
        font-size: 42px;
    }

    .section-subtitle {
        font-size: 24px;
    }

    /* Студентам */

    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .doc-card {
        min-height: 300px;
        padding: 26px;
    }

    .doc-content h3 {
        font-size: 22px;
    }

    /* Команда */
    .team-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }

    /* Сетки из 4 → 3 → 2 колонки */
    .opportunities-grid,
    .partners-grid,
    .footer-documents-content {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Сетки из 2 колонок → 1 */
    .consult-grid,
    .navigator-container,
    .opportunities-grid-wrapper {
        flex-direction: column;
    }

    .navigator-image img {
        max-width: 100%;
        margin-top: 20px;
    }

    .navigator-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-primary,
    .video-link {
        font-size: 20px;
    }

    .glow,
    .decor,
    .path-layer {
        display: none;
    }
}

/* --- Tablet (до 991px) --- */
@media (max-width: 991px) {
    .main-nav {
        height: 72px;
        padding: 14px 18px;
    }

    .main-nav ul li a {
        font-size: 16px;
    }

    .events-list,
    .vacancy-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .event-card-v2,
    .vacancy-card {
        scroll-snap-align: start;
    }

    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Мобильные (до 767px) --- */
@media (max-width: 767px) {


    .features-list li {
        padding-left: 36px;
    }

    .features-list li::before {
        width: 14px;
        height: 14px;
        top: 6px;
    }


    .asu-ai-section .navigator-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-nav h4,
    .footer-info h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    /* Все сетки → 1 колонка */
    .opportunities-grid,
    .partners-grid,
    .footer-documents-content,
    .documents-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    /* только flex */
    .vacancy-slider,
    .events-list,
    .stats-grid {
        flex-direction: column;
        gap: 15px;
    }

    /* Убираем фиксированную ширину карточек */
    .vacancy-card,
    .event-card-v2,
    .doc-card {
        min-width: auto !important;
        width: 100% !important;
        max-width: none !important;
    }

    /* Секции с отступами */
    section {
        padding: 60px 20px;
    }

    main {
        padding-top: 80px;
    }

    body {
        background-attachment: scroll;
    }
    /* Партнеры */

    .partners-modal-content {
        margin: 20px;
        padding: 24px;
        border-radius: 20px;
    }

    .partners-modal-grid {
        gap: 20px;
    }

    .partner-modal-card img {
        max-height: 60px;
    }

    /* Команда */

    .team {
        padding: 40px 16px;
        margin: 60px auto;
    }

    .team-slider-wrapper {
        padding: 0;
        margin-top: 24px;
    }

    .team-container {
        gap: 16px;
        padding: 10px 0 20px;
        padding-left: 7.5%;
        padding-right: 7.5%;
        scroll-snap-type: x mandatory;
    }

    .team-card {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: center;

        background: #ffffff;
        border-radius: 28px;
        padding: 24px 20px;

        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
        transform: none !important;
    }

    .team-hint {
        display: block;
        text-align: center;
        margin-bottom: 12px;
    }

    /* Фото */
    .member-photo {
        width: 140px;
        height: 140px;
        margin-bottom: 16px;
        border-width: 3px;
    }

    /* Имя */
    .member-info h3 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    /* Должность */
    .member-post {
        font-size: 14px;
    }

    /* Убираем hover-эффекты */
    .team-card:hover,
    .team-card:hover .member-photo {
        transform: none;
        box-shadow: none;
    }

    /* Стрелки скрыты */
    .slider-arrow {
        display: none;
    }


    /* Твои возможности с нами */

    .students-resources {
        padding: 40px 16px;
        margin: 60px auto;
    }

    .documents-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .doc-card {
        min-height: auto;
        padding: 24px;
    }

    .doc-header {
        margin-bottom: 16px;
    }

    .doc-content h3 {
        font-size: 20px;
    }

    .doc-content p {
        font-size: 14px;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }

    /* Твои возможности с нами */
    .opportunities {
        padding: 60px 16px;
        margin: 80px 0;
    }

    .path-layer {
        display: none;
    }

    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .opp-card {
        padding: 24px 20px;
        min-height: auto;
        border-radius: 28px;
        text-align: left;
        align-items: flex-start;
    }
    .opp-icon-box {
        margin-bottom: 14px;
    }
    .opp-card h3 {
        font-size: 20px;
    }
    .opp-card p {
        font-size: 14px;
    }

    .opp-card::before {
        content: attr(data-path);
        position: absolute;
        top: -10px;
        right: 16px;
        font-size: 12px;
        font-weight: 700;
        opacity: 0.15;
        text-transform: uppercase;
    }

    /* Вакансии и стажировки */

    .vacancies {
        padding: 40px 16px;
        margin: 60px auto;
    }

    .vacancy-slider {
        gap: 16px;
    }

    .vacancy-card {
        flex: 0 0 85%;
        min-width: 85%;
        padding: 24px;
    }

    .card-details {
        flex-direction: column;
        gap: 10px;
    }

    /* Адаптив шапки */
    .main-nav {
        top: 10px;
        height: 64px;
        padding: 10px 14px;
        border-radius: 24px;
    }

    .main-nav.scrolled {
        height: 60px;
        padding: 10px 16px;
    }

    .nav-logo {
        height: 60px;
    }

    .main-nav ul {
        display: none;
    }

    .main-nav ul li a {
        font-size: 16px;
    }

    .main-menu {
        display: none;
    }

    .burger {
        display: block;
    }

    .view-mode img {
        width: 36px;
    }

    /* Заголовки */
    .section-title {
        font-size: 32px;
        margin-bottom: 24px;
    }


    /* Подзаголовки */
    .section-subtitle {
        font-size: 24px;
    }

    .scroll-controls {
        display: none;
    }

    .events-scroll-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }

    .event-card-v2 {
        scroll-snap-align: start;
    }

    .events-filters {
        flex-wrap: wrap;
        gap: 8px;
    }

    .events-filters .filter-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    /* Работодатели */
    .employers {
        padding: 40px 16px;
        margin: 70px auto;
    }

    .employers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .employer-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        border-radius: 28px;
    }

    .card-icon {
        width: 70px;
        margin-bottom: 10px;
    }

    .card-info h3 {
        font-size: 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-submit,
    .btn-presentation {
        width: 100%;
        justify-content: center;
    }

    /* FAQ */
    .faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .faq-answer {
        padding: 20px;
        font-size: 14px;
    }

    .faq-item {
        border-radius: 24px;
    }

    .faq-arrow {
        width: 28px;
        height: 28px;
    }

    .faq-arrow img {
        width: 14px;
    }

    /* Партнёры (прокрутка) */
    .partners-grid {
        display: flex !important;
        grid-template-columns: none;
        overflow-x: auto;
        padding: 0 16px;
        gap: 20px;
        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .partners-grid::-webkit-scrollbar {
        display: none;
    }

    .partner-box {
        flex: 0 0 140px;
        height: 80px;
        scroll-snap-align: center;
    }

    .partner-box img {
        max-width: 120px;
        max-height: 60px;
    }

    /* Консультации */
    .pill {
        transform: none !important;
        animation: none;
        padding: 10px 24px;
        font-size: 16px;
    }

    .consult-decor {
        justify-content: center;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .asu-ai-section{
        margin: 60px auto;
    }

    .navigator-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        font-size: 18px;
        padding: 14px 20px;
    }

    .video-link {
        justify-content: center;
        font-size: 18px;
    }

    .video-btn {
        width: 64px;
        height: 64px;
    }

    .video-btn svg {
        width: 36px;
    }

    /* Карьера-навигатор */
    .description {
        font-size: 20px;
    }

    .features-list li {
        font-size: 18px;
    }

    .hero-section {
        margin: 100px auto 40px;
        padding: 20px 16px;
    }

    .main-banner {
        border-radius: 24px;
    }

    .banner-img {
        max-height: 260px;
        object-fit: contain;
    }

    /* Статистика */
    .stats-grid {
        flex-direction: column;
        gap: 14px;
    }

    .stat-card {
        height: auto;
        min-height: 72px;
        align-items: stretch;
        flex-direction: column;
        padding: 0;

        transition: 
            transform 0.3s ease;
            box-shadow: 0.3s ease;
    }

    .stat-card::after {
        content: "";
        display: block;
        height: 1px;
        background: rgba(0, 0, 0, 00.5);
        margin: 0 16px;
    }

    .stat-value {
        width: 100%;
        min-width: auto;
        height: auto;

        padding: 18px 16px 22px;
        font-size: 32px;

        justify-content: center;
        text-align: center;

        clip-path: polygon(
            0 0,
            100% 0,
            100% 85%,
            0 100%
        );
    }

    .stat-desc {
        font-size: 16px;
        line-height: 1.3;
        padding: 14px 16px 18px;
        text-align: center;
    }

    .events-empty{
        font-size: 16px;
        padding: 30px 16px;
    }

    .consult-header {
        flex-direction: column;
        gap: 20px;
    }

    .consult-decor {
        justify-content: center;
        min-height: auto;
    }

    .consult-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .consult-card {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .consult-card h3 {
        font-size: 22px;
    }

    .check-list li {
        font-size: 16px;
    }

    /* Футер */
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav ul {
        grid-template-columns: 1fr;
        gap: 8px 20px;
    }

    .footer-contacts {
        margin-top: 20px;
    }

    .footer-doc {
        font-size: 12px;
    }

    .footer-doc-title {
        font-size: 12px;
    }

    .footer-doc-format {
        font-size: 10px;
    }

    /* Куки */
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        font-size: 13px;
    }

    .cookie-btn {
        align-self: flex-end;
        margin-top: 10px;
        padding: 8px 16px;
    }

    .glow,
    .decor,
    .path-layer {
        display: none;
    }

    .accessibility-panel-inner {
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
        padding: 24px 20px;
    }

    .accessibility-controls {
        flex-direction: column;
    }

    .accessibility-controls button {
        font-size: 18px;
        padding: 14px;
    }
    
    .accessibility-close {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }


}

@media (hover: hover) {
    .stat-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }
    .event-card-v2:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 32px rgba(0,0,0,0.14);
    }
    .partner-box:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .partner-box:hover img {
        filter: grayscale(0);
        opacity: 1;
    }
}

@media (hover: none) {
    .stat-card:hover {
        transform: none;
    }
}
