/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #030324;
    line-height: 1.6;
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
.container {
    max-width: 1452px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}
.a {
    text-decoration: none!important;
}
.text-uppercase {
    text-transform: uppercase;
    text-decoration: underline!important;
}
/* Header - ОБНОВЛЕННЫЙ */
.header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    padding: 20px 0 0 0;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
}

/* Логотип и название */
.header-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-image {
    width: 88.32px;
    height: 67px;
    object-fit: contain;
    flex-shrink: 0;
}


.header-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-subtitle {
    font-size: 10px;
    line-height: 1.3;
    color: #6B7280;
}

.header-name {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.3;
    color: #030324;
}

/* Поиск */
.search-wrapper {
    position: relative;
    width: 267px;
    height: 42px;
}

.search-input {
    width: 100%;
    height: 100%;
    padding: 0 50px 0 16px;
    border: 1px solid #F3F5FB;
    border-radius: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #030324;
    background: #FFFFFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #225CD8;
    box-shadow: 0 4px 8px 0 rgba(34, 92, 216, 0.2);
}

.search-input::placeholder {
    color: #B8B8B8;
}

.search-icon-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #225CD8;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.search-icon-btn:hover {
    opacity: 0.7;
}

.search-icon-btn svg {
    width: 20px;
    height: 20px;
}
/* Правая часть хедера */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #030324;
}

.contact-row svg {
    color: #225CD8;
    flex-shrink: 0;
}

.btn-cabinet-header {
    background: #225CD8;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-cabinet-header:hover {
    background: #1a4db0;
}

/* Навигация - ОБНОВЛЕННАЯ */
.header-nav {
    background: #FFFFFF;
    border-top: 1px solid #F3F5FB;
    border-bottom: 1px solid #F3F5FB;
    padding: 15px 60px;
    position: relative;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 92px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-nav ul li {
    position: relative;
    flex-shrink: 0;
}

.header-nav ul li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #030324;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 8px 0;
}

.header-nav ul li > a:hover {
    color: #225CD8;
}

.header-nav ul li > a svg {
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

/* Основное выпадающее меню */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    border: 1px solid #F3F5FB;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 320px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover > a svg {
    transform: rotate(180deg);
}

.dropdown-menu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    color: #030324;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-menu > a:hover {
    background: #F3F5FB;
    color: #225CD8;
}

/* Вложенное подменю */
.has-submenu {
    position: relative;
}

.submenu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    color: #030324;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.submenu-trigger svg {
    width: 10px;
    height: 6px;
    margin-left: 8px;
    flex-shrink: 0;
}

.submenu-trigger:hover {
    background: #F3F5FB;
    color: #225CD8;
}

.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: #FFFFFF;
    border: 1px solid #F3F5FB;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 320px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-left: 4px;
}

.has-submenu:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-submenu a {
    display: block;
    padding: 12px 24px;
    color: #030324;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-submenu a:hover {
    background: #F3F5FB;
    color: #225CD8;
}

/* Responsive */
@media (max-width: 1200px) {
    .header-nav {
        padding: 15px 20px;
    }

    .header-nav ul {
        gap: 40px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        max-height: 0;
        overflow: hidden;
    }

    .has-dropdown.active > .dropdown-menu {
        max-height: 1000px;
        padding: 8px 0 8px 20px;
    }

    .dropdown-submenu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        max-height: 0;
        overflow: hidden;
    }

    .has-submenu.active .dropdown-submenu {
        max-height: 500px;
        padding: 8px 0 8px 20px;
    }
}

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

h1 {
    font-size: 44px;
    line-height: 1.1;
    font-weight: 600;
}

h2 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 40px;
}

h3 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.13;
}

.hero-container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 72px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 50px;
}

/* Stats - ИСПРАВЛЕННАЯ СТРУКТУРА */
.stats {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-divider {
    width: 100%;
    max-width: 280px;
    height: 1px;
    background: #FFFFFF;
    opacity: 0.3;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 13px;
    color: #FFFFFF;
    opacity: 0.9;
    line-height: 1.4;
}

/* Button - ТОЧНЫЕ ПАРАМЕТРЫ */
.btn-primary {
    padding: 12px 24px;
    background: #225CD8;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #1a4ab8;
    transform: translateY(-2px);
}

.hero-footer {
    position: absolute;
    bottom: 20px;
    right: 40px;
    font-size: 12px;
    color: #FFFFFF;
}

.hero-footer span {
    color: #FFFFFF;
    opacity: 0.8;
}

.brand-link {
    color: #225CD8;
    text-decoration: none;
}

.brand-link:hover {
    text-decoration: underline;
}

/* ========================================
   HERO SECTION - MOBILE ADAPTATION
   ======================================== */

/* Мобильные экраны 768px и ниже */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 450px;
        padding: 40px 0;
    }
    .hero-bg-image {
        object-fit: cover;
        object-position: center;
        filter: brightness(0.6); /* Затемняет картинку */
    }

    .hero-overlay {
        opacity: 0.3; /* Уменьшаем оверлей */
    }
    .hero-container {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 40px;
        padding-bottom: 40px;
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 22px;
        margin-bottom: 30px;
        line-height: 1.2;
    }

    /* ГЛАВНОЕ ИЗМЕНЕНИЕ - Статы в 2 колонки */
    .stats {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 колонки вместо flex */
        gap: 20px;
        width: 100%;
        margin-bottom: 30px;
    }

    .stat-item {
        width: 100%;
    }

    .stat-number {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .stat-divider {
        max-width: 100%;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 11px;
        line-height: 1.3;
    }

    .btn-primary {
        width: 100%;
        padding: 14px 20px;
    }

    .hero-footer {
        position: static;
        margin-top: 30px;
        text-align: center;
    }
}

/* Очень маленькие экраны 480px и ниже */
@media (max-width: 480px) {
    .hero {
        min-height: 400px;
        padding: 30px 0;
    }

    .hero-container {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 25px;
        padding-bottom: 30px;
    }

    .hero-title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 10px;
    }

    .btn-primary {
        padding: 12px 16px;
        font-size: 14px;
    }
}


/* Programs Section */
.programs-features-section {
    padding: 80px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Наши программы (верхняя часть) */
.programs-content {
    margin-bottom: 100px;
    position: relative;
    z-index: 2;
}

.programs-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #030324;
    margin-bottom: 40px;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
    max-width: 1320px;
    margin: 0 auto;
}

.program-card {
    background: linear-gradient(330deg, #B3CBFF 15%, #FFFFFF 85%);
    padding: 30px;
    border-radius: 12px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    border: 1px solid rgba(179, 203, 255, 0.3);
}

.program-card:hover {
    background: #F3F5FB;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 92, 216, 0.15);
    border-color: #E5E7EB;
}

.program-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #030324;
    margin-bottom: 20px;
    line-height: 1.3;
    transition: color 0.3s;
}

.program-card:hover h3 {
    color: #225CD8;
}

.program-count {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}

.program-card.view-all {
    background: #FFFFFF;
    border: 2px dashed #B3CBFF;
    align-items: center;
    justify-content: center;
}

.program-card.view-all:hover {
    background: #F3F5FB;
    border-color: #225CD8;
}

.view-all-link {
    color: #225CD8;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: gap 0.3s;
}

/* Преимущества (нижняя часть) */
.features-content {
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 180px;
    height: 180px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(34, 92, 216, 0.2);
}

.feature-item:active {
    transform: translateY(-4px);
}

.highlight-section {
    animation: sectionHighlight 2s ease-in-out;
}

@keyframes sectionHighlight {
    0%, 100% {
        background-color: transparent;
    }
    25%, 75% {
        background-color: rgba(34, 92, 216, 0.05);
    }
    50% {
        background-color: rgba(34, 92, 216, 0.1);
    }
}

/* Альтернатива: подсветка рамкой */
@keyframes sectionHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 92, 216, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(34, 92, 216, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 92, 216, 0);
    }
}

/* SVG иконки - МАКСИМАЛЬНЫЙ размер */
.feature-icon svg {
    width: 140px;
    height: 140px;
}

.feature-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #030324;
    line-height: 1.4;
}

/* Декоративные круги - для всего объединенного блока */
.decoration-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(243, 245, 251, 0.5);
    border: 2px solid rgba(179, 203, 255, 0.3);
}

/* Верхние круги (в зоне программ) */
.circle-top-left {
    width: 350px;
    height: 350px;
    top: -50px;
    left: -100px;
}

.circle-top-right {
    width: 350px;
    height: 350px;
    top: -50px;
    right: -150px;
}

/* Нижние круги (в зоне преимуществ) */
.circle-bottom-left {
    width: 350px;
    height: 350px;
    bottom: 200px;
    left: -150px;
}

.circle-bottom-right {
    width: 350px;
    height: 350px;
    bottom: 200px;
    right: -150px;
}

/* Responsive */
@media (max-width: 1024px) {
    .programs-grid,
    .features-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .programs-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .programs-content {
        margin-bottom: 60px;
    }

    .circle {
        display: none;
    }
}
/* How to Start Section - СИНИЙ БЛОК */
.how-to-start {
    background: linear-gradient(280deg, #225CD8 0%, #7A99DE 100%);
    padding: 80px 0 100px 0;
    position: relative;
    overflow: visible;
    clip-path: polygon(
            0 3%,
            100% 20%,
            100% 85%,
            0 100%
    );
    margin: 80px 0;
}

.how-to-start .container {
    position: relative;
    z-index: 2;
}

.how-to-start h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 40px;
}

/* Кнопки выбора типа обучения */
.study-type-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.study-type-btn {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    padding: 12px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.study-type-btn.active {
    background: #FFFFFF;
    color: #225CD8;
}

.study-type-btn:hover {
    background: #FFFFFF;
    color: #225CD8;
}

.btn-submit {
    background: #FFFFFF;
    color: #225CD8;
    border: none;
    padding: 12px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #F3F5FB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Шаги */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1320px;
    animation: fadeSlideIn 0.5s ease-out;
}

/* Анимация появления блока */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация для карточек с задержкой */
.step-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 12px;
    min-height: 173px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);

    /* Анимация появления с задержкой */
    animation: fadeIn 0.6s ease-out backwards;
}

/* Задержка для каждой карточки */
.step-card:nth-child(1) {
    animation-delay: 0.1s;
}

.step-card:nth-child(2) {
    animation-delay: 0.2s;
}

.step-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.step-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 24px rgba(34, 92, 216, 0.25);
}

.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #030324;
    margin-bottom: 20px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* Анимация номера при наведении */
.step-card:hover .step-number {
    transform: scale(1.1);
    color: #225CD8;
}

.step-card p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    line-height: 1.3;
    transition: color 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .how-to-start {
        clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
        padding: 60px 0 80px 0;
    }

    .study-type-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit {
        margin-left: 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: 150px;
        padding: 30px 24px;
    }

    .step-number {
        font-size: 28px;
        margin-bottom: 16px;
    }

    /* На мобильных задержка меньше */
    .step-card:nth-child(1) {
        animation-delay: 0.05s;
    }

    .step-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .step-card:nth-child(3) {
        animation-delay: 0.15s;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 16px;
    }

    .header-nav ul {
        flex-direction: column;
    }

    .hero {
        height: auto;
        min-height: 500px;
    }

    .hero-container {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .hero-footer {
        position: static;
        margin-top: 30px;
    }

    .programs-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary {
        width: 100%;
    }
}

/* ========================================
   LICENSE SECTION - АДАПТИВНОСТЬ
   ======================================== */

license-section {
    padding: 80px 0;
    background: #FFFFFF;
    overflow-x: hidden;
}

.license-content {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 100%;
    overflow-x: hidden;
}

/* Текст занимает 1/3 */
.license-text {
    flex: 0 0 33.333%; /* Фиксированная ширина 33.333% */
    min-width: 0;
}

/* Изображения занимают 2/3 */
.license-images {
    flex: 0 0 66.666%; /* Фиксированная ширина 66.666% */
    display: flex;
    gap: 20px;
    max-width: 66.666%;
}

.license-card {
    width: 195px;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.license-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(34, 92, 216, 0.3);
}

.license-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #030324;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.license-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.license-link {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #225CD8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.license-link:hover {
    color: #1a4aa8;
    text-decoration: underline;
}

/* Tablet (планшеты) */
@media (max-width: 1024px) {
    .license-section {
        padding: 60px 0;
    }

    .license-content {
        gap: 40px;
    }

    .license-images {
        gap: 15px;
    }

    .license-card {
        width: 160px;
        height: 230px;
    }

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

    .license-description {
        font-size: 15px;
    }
}

/* Mobile (мобильные устройства) */
@media (max-width: 768px) {
    .license-section {
        padding: 40px 0;
        overflow-x: hidden;
    }

    .license-content {
        flex-direction: column;
        gap: 30px;
    }

    .license-text {
        width: 100%;
    }

    .license-images {
        width: 100%;
        overflow-x: auto; /* Скролл для изображений на мобилке */
        overflow-y: hidden;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
        scrollbar-width: thin; /* Firefox */
    }

    /* Стилизация скроллбара для WebKit (Chrome, Safari) */
    .license-images::-webkit-scrollbar {
        height: 6px;
    }

    .license-images::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .license-images::-webkit-scrollbar-thumb {
        background: #225CD8;
        border-radius: 10px;
    }

    .license-card {
        width: 140px;
        height: 200px;
    }

    .section-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .license-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .license-link {
        font-size: 14px;
    }
}

/* Very Small Mobile (очень маленькие экраны) */
@media (max-width: 480px) {
    .license-section {
        padding: 30px 0;
    }

    .license-content {
        gap: 24px;
    }

    .license-card {
        width: 120px;
        height: 170px;
    }

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

    .license-description {
        font-size: 13px;
    }

    .license-link {
        font-size: 13px;
    }
}

.license-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #030324;
    margin-bottom: 25px;
}

.license-text p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 15px;
}

.license-number {
    font-weight: 400;
    color: #030324;
    margin-top: 20px;
}



.license-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(34, 92, 216, 0.2);
}

.license-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* License Modal */
.license-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.license-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 36, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    /*max-height: 90vh;*/
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

#modalImage {
    max-width: 70vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.modal-nav {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-nav:hover {
    background: #225CD8;
    border-color: #225CD8;
}

.modal-counter {
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
}

.modal-controls {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.modal-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-image-wrapper {
        gap: 10px;
    }

    #modalImage {
        max-width: 85vw;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   VIDEO SECTION
======================================== */
.video-section {
    padding: 100px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.video-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #030324;
    margin-bottom: 40px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: #E5E7EB;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.decoration-circle-right {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(243, 245, 251, 0.5);
    border: 2px solid rgba(179, 203, 255, 0.3);
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* ========================================
   FAQ SECTION
======================================== */
.faq-section {
    padding: 100px 0;
    background: #F3F5FB;
}

.faq-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
}

/* FAQ Intro */
.faq-intro h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #030324;
    margin-bottom: 25px;
}

.faq-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    line-height: 1.5;
    margin-bottom: 30px;
}

/*.btn-primary {*/
/*    padding: 16px 32px;*/
/*    background: #225CD8;*/
/*    color: #FFFFFF;*/
/*    border: none;*/
/*    border-radius: 8px;*/
/*    font-family: 'Inter', sans-serif;*/
/*    font-size: 16px;*/
/*    font-weight: 500;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s;*/
/*}*/

/*.btn-primary:hover {*/
/*    background: #1a4ab8;*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 8px 16px rgba(34, 92, 216, 0.3);*/
/*}*/

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #225CD8;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #030324;
    text-align: left;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #F9FAFB;
}

.faq-icon {
    flex-shrink: 0;
    color: #225CD8;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #6B7280;
    line-height: 1.6;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: 60px 0 40px;
    background: #F3F5FB;
    color: #030324;
    border-top: 1px solid #E5E7EB; /* Добавлена тонкая граница сверху */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-column h3 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500; /* Изменено с 400 на 500 для контраста */
    color: #030324; /* ЧЕРНЫЙ */
    margin-bottom: 15px;
}

.footer-column p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #030324; /* ЧЕРНЫЙ */
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-column a {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #030324; /* ЧЕРНЫЙ */
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #225CD8; /* Синий при наведении */
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

@media (max-width: 768px) {
    .video-section,
    .faq-section {
        padding: 60px 0;
    }

    .video-section h2,
    .faq-intro h2 {
        font-size: 28px;
    }

    .decoration-circle-right {
        display: none;
    }
}

/* ========================================
   BREADCRUMBS
======================================== */
.breadcrumbs {
    padding: 20px 0;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}

.breadcrumbs a {
    color: #6B7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #225CD8;
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: #6B7280;
}

.breadcrumbs span:last-child {
    color: #030324;
    font-weight: 500;
}

/* ========================================
   APPLICATION FORM SECTION
======================================== */
.application-form-section {
    padding: 80px 0 100px;
    background: #FFFFFF;
}

.form-description {
    font-size: 16px;
    color: #030324;
    line-height: 1.6;
    margin-bottom: 50px;
}

.application-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #030324;
    margin-bottom: 8px;
}

/*.form-group input {*/
/*    padding: 12px 16px;*/
/*    border: 1px solid #E5E7EB;*/
/*    border-radius: 3px;*/
/*    font-family: 'Inter', sans-serif;*/
/*    font-size: 16px;*/
/*    color: #030324;*/
/*    transition: border-color 0.3s;*/
/*}*/

/*.form-group input:focus {*/
/*    outline: none;*/
/*    border-color: #225CD8;*/
/*}*/

/*.form-group input::placeholder {*/
/*    color: #9CA3AF;*/
/*}*/

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #030324;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
    appearance: none;
}

.form-control:focus {
    border-color: #225CD8;
    box-shadow: 0 0 0 2px #F3F5FB;
}

.form-control:disabled {
    background: #F3F5FB;
    color: #B8B8B8;
    cursor: not-allowed;
}

.form-control::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

.btn-submit {
    padding: 16px 48px;
    background: #225CD8;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #1a4ab8;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(34, 92, 216, 0.3);
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
}

.modal.active {
    display: block !important;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 23, 23, 0.52);
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.modal-wrapper {
    position: relative;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal-dialog-large {
    background: #FFFFFF;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    pointer-events: auto;
    position: relative;
    margin: 0 auto;
}

.modal-dialog-small {
    background: #FFFFFF;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    pointer-events: auto;
    position: relative;
    margin: 0 auto;
}

.modal-dialog-large .modal-content,
.modal-dialog-small .modal-content {
    padding: 40px;
    position: relative;
}

.modal::-webkit-scrollbar {
    width: 10px;
}

.modal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.modal::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 3;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #030324;
    margin-bottom: 16px;
}

.modal-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #030324;
    margin-bottom: 30px;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.form-group label {
    font-size: 16px;
    line-height: 1.3;
}

.btn-secondary {
    padding: 12px 24px;
    background: #F3F5FB;
    color: #030324;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #E5E7EB;
    transform: translateY(-2px);
}

/*.modal-buttons .btn-primary {*/
/*    padding: 12px 24px;*/
/*    background: #225CD8;*/
/*    color: #FFFFFF;*/
/*    border: none;*/
/*    border-radius: 8px;*/
/*    font-family: 'Inter', sans-serif;*/
/*    font-size: 16px;*/
/*    font-weight: 500;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s;*/
/*}*/

/*.modal-buttons .btn-primary:hover {*/
/*    background: #1a4ab8;*/
/*    transform: translateY(-2px);*/
/*}*/

.switch {
    display: flex;
    gap: 32px; /* расстояние между кнопками */
    margin-top: 8px;
}

.radio-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
input[type="radio"] {
    accent-color: #225CD8;
    width: 18px;
    height: 18px;
    /* Иногда помогает: */
    transform: scale(1.25);
}
/*.radio-switch input[type="radio"] {*/
/*    border: 2px solid #225CD8;*/
/*    border-radius: 50%;*/
/*    background: #fff;*/
/*    margin-right: 6px;*/
/*    position: relative;*/
/*    box-sizing: border-box;*/
/*    cursor: pointer;*/
/*    transition: border-color 0.2s;*/
/*}*/

/*.radio-switch input[type="radio"]:checked {*/
/*    background: #225CD8;*/
/*    border-color: #225CD8;*/
/*}*/

.btn-outline {
    display: inline-block;
    background: #fff;
    color: #225CD8;
    border: 2px solid #225CD8;
    border-radius: 3px;
    padding: 12px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover,
.btn-outline:focus {
    background: #F3F5FB; /* мягкий голубой бэкграунд при наведении */
    box-shadow: 0 2px 8px rgba(34, 92, 216, 0.07);
    outline: none;
}

.form-control-select .vs__dropdown-toggle {
    border: 1px solid #E5E7EB;
    border-radius: 3px;
    padding: 8px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.form-control-select .vs__dropdown-toggle:focus-within {
    border-color: #225CD8;
    box-shadow: 0 0 0 2px #F3F5FB;
}

.form-control-select .vs__search::placeholder {
    color: #9CA3AF;
}

body.modal-open {
    overflow: hidden!important;
    position: fixed;
    width: 100%;
}

/* Paginator styles */
.paginator-button:not(.paginator-button-active):hover {
    background: #F3F5FB !important;
    border-color: #225CD8 !important;
}

.paginator-input:focus {
    outline: none;
    border-color: #225CD8;
    box-shadow: 0 0 0 3px rgba(34, 92, 216, 0.1);
}

.modal-filters-adaptive {
    display: grid;
    grid-template-columns: 100px 1fr 1fr 200px;
    gap: 16px;
}

.modal-filters-adaptive > div:first-child {
    grid-column: 2;
}

.stars {
    font-size: 16px;
    font-weight: bold;
    color: red;
}

@media (max-width: 768px) {
    .modal-org {
        max-width: 95% !important;
        margin: 20px auto !important;
    }

    .modal-org .modal-content {
        padding: 20px !important;
    }

    .modal-org .modal-title {
        font-size: 18px !important;
        margin-bottom: 20px !important;
    }

    /* Фильтры вертикально на мобилках */
    .modal-filters-adaptive {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    .modal-filters-adaptive > div:first-child {
        grid-column: auto;
    }

    /* Скрываем колонки на мобилках */
    .hide-mobile {
        display: none !important;
    }

    /* Адаптация таблицы */
    .org-table {
        font-size: 13px !important;
    }

    .org-table th,
    .org-table td {
        padding: 10px 8px !important;
    }

    /* Кнопка выбрать компактнее */
    .btn-select-org {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }

    /* Пагинатор компактнее */
    .paginator-button,
    .paginator-input {
        height: 28px !important;
        min-width: 28px !important;
        font-size: 12px !important;
    }

    .paginator-input {
        width: 50px !important;
    }
}

@media (max-width: 480px) {
    .modal-org {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .modal-org .modal-content {
        padding: 16px !important;
        border-radius: 0 !important;
    }

    .form-control {
        font-size: 16px !important; /* Чтобы iOS не зумил */
    }
}

#app { opacity: 0; transition: opacity 0.2s; }


/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* ========================================
   GROUPS PAGE - MOBILE DESIGN
   ======================================== */

/* Desktop Table Styles */
.groups-table-wrapper {
    overflow-x: auto;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 24px;
}

.groups-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
}

.groups-table thead {
    background: #F3F5FB;
}

.groups-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: #030324;
    border-bottom: 2px solid #E5E7EB;
    white-space: nowrap;
}

.groups-table tbody tr {
    border-bottom: 1px solid #E5E7EB;
    transition: background-color 0.2s;
}

.groups-table tbody tr:hover {
    background: #F9FAFB;
}

.groups-table tbody tr:last-child {
    border-bottom: none;
}

.groups-table tbody td {
    padding: 16px 20px;
    font-size: 14px;
    color: #030324;
    vertical-align: top;
}

.groups-table tbody td:first-child {
    font-weight: 500;
    color: #6B7280;
}

/* Mobile элементы скрыты на десктопе */
.groups-cards-mobile {
    display: none;
}

/* ========================================
   MOBILE RESPONSIVE - 768px and below
   ======================================== */

@media (max-width: 768px) {
    .application-form-section {
        background: #F3F5FB;
        padding: 20px 0;
    }

    .application-form-section .container {
        padding: 0;
    }

    .application-form-section .page-title {
        font-size: 24px;
        margin-bottom: 20px;
        padding: 0 16px;
    }

    /* Скрываем таблицу на мобилке */
    .groups-table-wrapper {
        display: none;
    }

    /* Показываем карточки */
    .groups-cards-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
    }

    .group-card {
        background: #FFFFFF;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.2s;
    }

    .group-card:active {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .group-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

    .group-status {
        font-size: 12px;
        color: #6B7280;
        font-weight: 400;
    }

    .group-date {
        font-size: 12px;
        color: #6B7280;
        font-weight: 400;
    }

    .group-card-title {
        margin: 0 0 16px 0;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
    }

    .group-card-title a {
        color: #225CD8;
        text-decoration: none;
        transition: color 0.2s;
    }

    .group-card-title a:hover,
    .group-card-title a:active {
        color: #1a4aa8;
    }

    .group-card-details {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .detail-row {
        display: flex;
        gap: 16px;
        font-size: 14px;
        color: #030324;
    }

    .detail-time,
    .detail-room {
        font-size: 14px;
        color: #030324;
    }

    .group-teacher {
        color: #225CD8;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.2s;
        display: inline-block;
    }

    .group-teacher:hover,
    .group-teacher:active {
        color: #1a4aa8;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .groups-cards-mobile {
        gap: 8px;
    }

    .group-card {
        padding: 14px;
    }

    .group-card-title {
        font-size: 15px;
    }
}

/* ========================================
   STAFF PAGE - НАШИ СОТРУДНИКИ
   ======================================== */

.staff-section {
    padding: 40px 0 80px;
    background: #FFFFFF;
}

.staff-category {
    margin-bottom: 50px;
}

.staff-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #030324;
    line-height: 1.3;
    margin-bottom: 30px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 200px)); /* 5 колонок вместо 4 */
    gap: 30px 0; /* Без горизонтального gap */
    justify-content: start; /* Прижать к левому краю */
}

.staff-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю, как в оригинале */
    text-align: left;
    transition: transform 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
}

.staff-photo {
    width: 100%;
    max-width: 180px; /* Уменьшена с 240px */
    height: auto;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.staff-card:hover .staff-photo {
    box-shadow: 0 8px 24px rgba(34, 92, 216, 0.2);
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-info {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Уменьшен разрыв между именем и должностью */
}

.staff-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #225CD8;
    line-height: 1.3;
    margin: 0;
}

.staff-position {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #030324;
    line-height: 1.3;
    margin: 0;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .staff-photo {
        max-width: 200px;
    }

    .category-title {
        font-size: 28px;
        margin-bottom: 24px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .staff-section {
        padding: 30px 0 50px;
    }

    .staff-section .page-title {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .category-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px ;
    }

    .staff-photo {
        max-width: 180px;
        margin-bottom: 12px;
    }

    .staff-name {
        font-size: 14px;
    }

    .staff-position {
        font-size: 13px;
    }

    .staff-category {
        margin-bottom: 35px;
    }
}

/* Responsive - Very Small Mobile */
@media (max-width: 480px) {
    .staff-section .page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .category-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .staff-photo {
        max-width: 200px;
    }
}

/* ========================================
   STAFF PAGE - HOVER EFFECTS
   ======================================== */

.staff-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.staff-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 240px;
    margin-bottom: 16px;
}

.staff-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover блок слева от фото */
.staff-hover-info {
    position: absolute;
    right: 100%; /* Располагается слева от фото */
    top: 0;
    width: 220px;
    background: #225CD8;
    border-radius: 8px;
    padding: 16px;
    margin-right: 10px; /* Отступ от фото */
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(34, 92, 216, 0.3);
    z-index: 1000; /* Увеличен с 10 до 1000 */
}

.staff-card:hover .staff-hover-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hover-text {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.hover-text:last-child {
    margin-bottom: 0;
}

.hover-text strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 12px;
}

/* Для карточек справа (чтобы блок не вылезал за экран) */
/*.staff-grid .staff-card:nth-child(n+3) .staff-hover-info {*/
/*    right: auto;*/
/*    left: 100%; !* Для правых карточек показываем справа *!*/
/*    margin-right: 0;*/
/*    margin-left: 10px;*/
/*}*/

.staff-card:hover .staff-photo {
    box-shadow: 0 8px 24px rgba(34, 92, 216, 0.2);
}

/* Responsive - скрываем hover на мобильных */
@media (max-width: 1024px) {
    .staff-hover-info {
        display: none;
    }
}

/* ========================================
   STAFF DETAIL PAGE
   ======================================== */

.staff-detail-section {
    padding: 40px 0 80px;
    background: #FFFFFF;
}

.staff-detail-content {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 60px;
    align-items: start;
}

.staff-detail-photo {
    width: 340px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.staff-detail-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.staff-detail-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #030324;
    line-height: 1.4;
    margin: 0;
}

.info-value {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    line-height: 1.6;
    margin: 0;
}

.info-value a {
    color: #225CD8;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.info-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.info-list li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    line-height: 1.6;
    margin-bottom: 8px;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.contact-info {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
}

.contact-info .info-label {
    min-width: 80px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .staff-detail-content {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }

    .staff-detail-photo {
        width: 280px;
    }

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

    .info-label,
    .info-value,
    .info-list li {
        font-size: 15px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .staff-detail-section {
        padding: 30px 0 50px;
    }

    .staff-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .staff-detail-photo {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .staff-detail-section .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .staff-detail-info {
        gap: 20px;
    }

    .hover-text {
        font-size: 12px;
    }

    .staff-hover-info {
        padding: 15px;
    }
}

/* ========================================
   ABOUT PAGE - О НАШЕМ УЧЕБНОМ КОМБИНАТЕ
   ======================================== */

.about-section {
    padding: 40px 0 80px;
    background: #FFFFFF;
}

.about-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text-block {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #030324;
}

.text-block p {
    margin: 0;
}

.text-block strong {
    font-weight: 600;
}

.text-underline {
    text-decoration: underline;
    text-decoration-color: #030324;
    text-underline-offset: 3px;
}

.auditoriums-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.auditorium-item {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.auditorium-item a {
    color: #225CD8;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.auditorium-item a:hover {
    color: #1a4aa8;
}

.final-text {
    margin-top: 20px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .about-section .page-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .text-block,
    .auditorium-item {
        font-size: 15px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .about-section {
        padding: 30px 0 50px;
    }

    .about-section .page-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .about-content {
        gap: 16px;
    }

    .text-block,
    .auditorium-item {
        font-size: 14px;
    }

    .auditoriums-list {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .about-section .page-title {
        font-size: 24px;
    }
}

/* ========================================
   CONTACTS PAGE - КОНТАКТЫ
   ======================================== */

.contacts-section {
    padding: 40px 0 80px;
    background: #FFFFFF;
}


.contacts-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Контактная информация */
.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #00A3E0;
    margin: 0;
    line-height: 1.4;
}

.contact-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #00A3E0;
    margin: 0;
    line-height: 1.4;
}

.contact-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    margin: 0;
    line-height: 1.6;
}

.contact-text a {
    color: #225CD8;
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Карта */
.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* Информация о транспорте */
.transport-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.transport-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #030324;
    margin: 0;
    line-height: 1.4;
}

.transport-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transport-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #030324;
    margin: 0;
    line-height: 1.4;
}

.transport-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    margin: 0;
    line-height: 1.6;
}

/* Контактные ссылки внизу */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.contact-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.contact-link-item span {
    font-weight: 600;
    color: #030324;
}

.contact-link-item a {
    color: #225CD8;
    text-decoration: none;
}

.contact-link-item a:hover {
    text-decoration: underline;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .contacts-section .page-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .contact-title,
    .transport-title {
        font-size: 17px;
    }

    .contact-label,
    .contact-text,
    .transport-label,
    .transport-text,
    .contact-link-item {
        font-size: 15px;
    }

    .map-container iframe {
        height: 350px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .contacts-section {
        padding: 30px 0 50px;
    }

    .contacts-section .page-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .contacts-content {
        gap: 30px;
    }

    .contact-title,
    .transport-title {
        font-size: 16px;
    }

    .contact-label,
    .contact-text,
    .transport-label,
    .transport-text,
    .contact-link-item {
        font-size: 14px;
    }

    .map-container iframe {
        height: 300px;
    }

    .transport-info {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .contacts-section .page-title {
        font-size: 24px;
    }

    .map-container iframe {
        height: 250px;
    }
}

/* ========================================
   SPECIALTIES PAGE - УЧЕБНЫЕ ПРОГРАММЫ
   ======================================== */

.specialties-section {
    padding: 40px 0 80px;
    background: #FFFFFF;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #030324;
    line-height: 1.3;
    margin-bottom: 32px;
}

/* Поиск */
.specialties-search {
    margin-bottom: 32px;
    max-width: 600px;
}

.specialties-search .search-wrapper {
    width: 100%;
    height: 48px;
    position: relative;
}

.specialties-search .search-input {
    width: 100%;
    height: 100%;
    padding: 0 50px 0 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #030324;
    background: #F9FAFB;
    transition: all 0.3s ease;
}

.specialties-search .search-input:focus {
    outline: none;
    border-color: #225CD8;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(34, 92, 216, 0.1);
}

.specialties-search .search-input::placeholder {
    color: #9CA3AF;
}

.specialties-search .search-icon-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    color: #6B7280;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialties-search .search-icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Аккордеон список */
.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.accordion-item:first-child {
    border-top: 1px solid #E5E7EB;
}

.accordion-item:hover {
    background: #F9FAFB;
}

/* Заголовок аккордеона */
.accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-item.active .accordion-header {
    background: #F9FAFB;
}

.accordion-number {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    min-width: 30px;
    flex-shrink: 0;
}

.accordion-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    line-height: 1.5;
    flex: 1;
}

/* Иконка стрелочки - справа */
.accordion-icon {
    width: 20px;
    height: 20px;
    color: #6B7280;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Контент аккордеона */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    /* Большой лимит, чтобы все программы были видны (transition не умеет 0 → none) */
    max-height: 50000px;
    overflow: visible;
}

/* Список подпрограмм */
.sub-programs-list {
    padding: 0 24px 20px 66px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sub-program-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 0;
    background: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sub-program-item:hover {
    transform: translateX(4px);
}

.sub-program-code {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #225CD8;
    min-width: 50px;
    flex-shrink: 0;
}

.sub-program-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #225CD8;
    line-height: 1.5;
}

.sub-program-item:hover .sub-program-name,
.sub-program-item:hover .sub-program-code {
    color: #1a4aa8;
    text-decoration: underline;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .specialties-section .page-title {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .accordion-header {
        padding: 18px 20px;
    }

    .sub-programs-list {
        padding: 0 20px 16px 60px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .specialties-section {
        padding: 30px 0 50px;
    }

    .specialties-section .page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .specialties-search {
        margin-bottom: 24px;
    }

    .specialties-search .search-wrapper {
        height: 44px;
    }

    .specialties-search .search-input {
        font-size: 15px;
    }

    .accordion-header {
        padding: 16px;
        gap: 10px;
    }

    .accordion-number {
        font-size: 15px;
        min-width: 25px;
    }

    .accordion-title {
        font-size: 15px;
    }

    .accordion-icon {
        width: 18px;
        height: 18px;
    }

    .sub-programs-list {
        padding: 0 16px 16px 50px;
        gap: 10px;
    }

    .sub-program-code {
        font-size: 13px;
        min-width: 45px;
    }

    .sub-program-name {
        font-size: 13px;
    }
}

/* Responsive - Very Small Mobile */
@media (max-width: 480px) {
    .specialties-section .page-title {
        font-size: 20px;
    }

    .accordion-header {
        padding: 14px 12px;
        gap: 8px;
    }

    .accordion-number {
        font-size: 14px;
        min-width: 22px;
    }

    .accordion-title {
        font-size: 14px;
    }

    .sub-programs-list {
        padding: 0 12px 12px 40px;
    }

    .sub-program-code {
        min-width: 40px;
        font-size: 12px;
    }

    .sub-program-name {
        font-size: 12px;
    }
}

/* ========================================
   SPECIALTY DETAIL PAGE - СТРАНИЦА ПРОГРАММЫ
   ======================================== */

/* Header блок с градиентом */
.specialty-header {
    background: linear-gradient(280deg, #B3CBFF 15%, #FFFFFF 85%);
    padding: 40px 0;
    border-bottom: 1px solid #E5E7EB;
}

.specialty-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #030324;
    line-height: 1.3;
    margin-bottom: 20px;
}

.specialty-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-item {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #030324;
    line-height: 1.5;
}

.meta-item strong {
    font-weight: 600;
    margin-right: 8px;
}

/* Табы навигации */
.specialty-tabs {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    padding: 0;
}

.tabs-wrapper {
    display: flex;
    gap: 0;
}

.tab-btn {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tab-btn:hover {
    color: #225CD8;
    background: #F9FAFB;
}

.tab-btn.active {
    color: #225CD8;
    border-bottom-color: #225CD8;
    font-weight: 500;
}

/* Основной контент */
.specialty-content {
    padding: 40px 0 80px;
    background: #FFFFFF;
}

.content-block {
    display: block;
}

/* Block 1: О программе */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.content-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #030324;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.content-sidebar {
    position: sticky;
    top: 20px;
}

.time-box {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 30px;
}

.time-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #030324;
    margin-bottom: 20px;
}

.time-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
}

.time-item:last-child {
    border-bottom: none;
}

.time-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
}

.time-value {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #030324;
}

.btn-enroll {
    width: 100%;
    padding: 14px 24px;
    background: #225CD8;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    background: #1a4aa8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 92, 216, 0.3);
}

/* Block 2: Документы */
.content-block h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #030324;
    margin-bottom: 30px;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 700px;
}

.document-item {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.document-item:hover {
    border-color: #225CD8;
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.document-header:hover {
    background: #F9FAFB;
}

.document-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
}

.document-icon {
    width: 20px;
    height: 20px;
    color: #6B7280;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.document-item.active .document-icon {
    transform: rotate(180deg);
}

/* Block 3: Как пройти обучение */
.study-type-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.study-type-option {
    padding: 12px 40px;
    background: transparent;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Эффект ripple при клике */
.study-type-option::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(34, 92, 216, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.study-type-option:active::before {
    width: 300px;
    height: 300px;
}

.study-type-option:hover {
    border-color: #225CD8;
    color: #225CD8;
    transform: translateY(-2px);
}

.study-type-option.active {
    background: #225CD8;
    border-color: #225CD8;
    color: #FFFFFF;
    font-weight: 500;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(34, 92, 216, 0.3);
}

/* Анимация появления списка шагов */
.steps-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeSlideIn 0.5s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Карточки шагов с волновой анимацией */
.step-box {
    background: #F3F5FB;
    padding: 30px 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: 140px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.6s ease-out backwards;
}

/* Задержка для каждой карточки */
.step-box:nth-child(1) {
    animation-delay: 0.1s;
}

.step-box:nth-child(2) {
    animation-delay: 0.2s;
}

.step-box:nth-child(3) {
    animation-delay: 0.3s;
}

.step-box:nth-child(4) {
    animation-delay: 0.4s;
}

.step-box:nth-child(5) {
    animation-delay: 0.5s;
}

.step-box:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Эффект при наведении на карточку */
.step-box:hover {
    background: #ffffff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(34, 92, 216, 0.15);
}

.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #030324;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Анимация номера при наведении на карточку */
.step-box:hover .step-number {
    transform: scale(1.15) rotate(-5deg);
    color: #225CD8;
}

.step-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.step-box:hover .step-text {
    color: #225CD8;
}

/* Кнопка записи */
.btn-enroll-bottom {
    padding: 14px 40px;
    background: #225CD8;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Эффект shine (блеск) на кнопке */
.btn-enroll-bottom::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
    );
    transition: left 0.5s;
}

.btn-enroll-bottom:hover::after {
    left: 100%;
}

.btn-enroll-bottom:hover {
    background: #1a4aa8;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(34, 92, 216, 0.4);
}

.btn-enroll-bottom:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(34, 92, 216, 0.3);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }

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

    .steps-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Перерасчет задержек для 2 колонок */
    .step-box:nth-child(odd) {
        animation-delay: 0.1s;
    }

    .step-box:nth-child(even) {
        animation-delay: 0.25s;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .study-type-selector {
        flex-direction: column;
        gap: 12px;
    }

    .study-type-option {
        width: 100%;
        text-align: center;
    }

    .steps-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-box {
        padding: 24px 20px;
        min-height: 120px;
    }

    .step-number {
        font-size: 28px;
    }

    .step-text {
        font-size: 15px;
    }

    /* На мобильных меньше задержки */
    .step-box:nth-child(n) {
        animation-delay: 0.05s;
    }

    .step-box:nth-child(2n) {
        animation-delay: 0.1s;
    }

    .step-box:nth-child(3n) {
        animation-delay: 0.15s;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .specialty-header {
        padding: 30px 0;
    }

    .specialty-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .meta-item {
        font-size: 13px;
    }

    .tabs-wrapper {
        flex-direction: column;
    }

    .tab-btn {
        padding: 14px 16px;
        text-align: left;
        border-bottom: 1px solid #E5E7EB;
    }

    .tab-btn.active {
        border-left: 3px solid #225CD8;
        border-bottom-color: #E5E7EB;
    }

    .specialty-content {
        padding: 30px 0 50px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-sidebar {
        position: static;
    }

    .time-box {
        padding: 24px;
    }

    .content-text {
        font-size: 15px;
    }

    .content-block h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .study-type-selector {
        flex-direction: column;
        gap: 12px;
    }

    .study-type-option {
        width: 100%;
        padding: 12px 24px;
    }

    .steps-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-box {
        padding: 24px 20px;
        min-height: 120px;
    }

    .step-number {
        font-size: 28px;
    }

    .step-text {
        font-size: 15px;
    }

    .btn-enroll-bottom {
        width: 100%;
    }
}

/* Responsive - Very Small Mobile */
@media (max-width: 480px) {
    .specialty-title {
        font-size: 20px;
    }

    .content-text {
        font-size: 14px;
    }

    .content-block h2 {
        font-size: 20px;
    }

    .time-box h3 {
        font-size: 18px;
    }
}

.news-section {
    background: #fff;
    padding: 40px 0 80px;
}

.news-tabs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.news-tab-btn {
    background: #F3F5FB;
    border: none;
    border-radius: 8px;
    color: #030324;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    padding: 12px 30px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.news-tab-btn.active,
.news-tab-btn:active {
    background: #225CD8;
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.news-card {
    background: #F3F5FB;
    min-height: 230px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 0;
    text-decoration: none;
    color: inherit;
}

.news-card a {
    text-decoration: none;
    color: inherit;
}

.news-card-img {
    width: 100%;
    height: 145px;
    background: #dedede;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6B7280;
    margin: 14px 18px 8px 18px;
}

.news-card-theme {
    color: #225CD8;
    font-size: 12px;
    font-weight: 500;
}

.news-card-date {
    color: #BCC0CC;
    font-size: 12px;
    font-weight: 400;
}

.news-card-title {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    margin: 0 18px 18px 18px;
    min-height: 38px;
}

.news-card-placeholder {
    background: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
    min-height: 230px;
}

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

@media (max-width: 768px) {
    .news-section {
        padding: 30px 0 40px;
    }
    .news-section .page-title {
        font-size: 26px;
    }
    .news-tabs {
        gap: 6px;
        margin-bottom: 28px;
    }
    .news-tab-btn {
        font-size: 14px;
        padding: 8px 10px;
        border-radius: 6px;
    }
    .news-grid {
        gap: 16px;
    }
    .news-card,
    .news-card-placeholder {
        min-height: 170px;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-card-img {
        height: 120px;
    }
}

.news-detail-section {
    background: #FFF;
    padding: 40px 0 80px;
}

.news-detail-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.news-detail-theme {
    color: #225CD8;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.news-detail-date {
    color: #BCC0CC;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.news-detail-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #030324;
    margin-bottom: 24px;
    line-height: 1.2;
}

.news-detail-img-wrap {
    margin-bottom: 30px;
}

.news-detail-img {
    width: 100%;
    max-height: 410px;
    object-fit: cover;
    border-radius: 12px;
    background: #dedede;
    display: block;
}

.news-detail-description {
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    color: #030324;
    margin-bottom: 30px;
    line-height: 1.6;
    background: #F3F5FB;
    border-radius: 8px;
    padding: 20px;
}

.news-detail-content {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #030324;
    line-height: 1.6;
}

.news-detail-content._typography p {
    margin-bottom: 1em;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .news-detail-section {
        padding: 24px 0 40px;
    }
    .news-detail-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .news-detail-img {
        border-radius: 8px;
        max-height: 230px;
    }
    .news-detail-description {
        font-size: 15px;
        padding: 12px;
    }
}

/* FAQ PAGE - NEW STYLES */

/* Фильтр и описание */
.faq-filter-wrapper {
    max-width: 800px;
    margin-bottom: 48px;
}

.faq-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #030324;
    margin-bottom: 24px;
}

.faq-filter-wrapper .form-group {
    margin-bottom: 0;
}

.faq-filter-wrapper .form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #030324;
    margin-bottom: 8px;
    display: block;
}

/* Список FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.faq-qa-pair {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 32px;
    border-bottom: 1px solid #E5E7EB;
}

.faq-qa-pair:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Элемент вопроса/ответа */
.faq-item {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(34, 92, 216, 0.12);
}

/* Вопрос пользователя */
.faq-question-item {
    background: #F3F5FB;
    border-left: 4px solid #225CD8;
}

/* Ответ */
.faq-answer-item {
    background: #FFFFFF;
    border-right: 4px solid #225CD8;
    margin-left: 40px;
}

/* Заголовок FAQ элемента */
.faq-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.faq-question-item .faq-header {
    flex-direction: row;
}

.faq-answer-item .faq-header {
    flex-direction: row-reverse;
}

/* Иконки */
.faq-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-answer-item .faq-icon-wrapper {
    background: #225CD8;
}

.faq-icon-wrapper img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Контент FAQ */
.faq-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #225CD8;
}

.faq-date {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #6B7280;
}

.faq-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #030324;
    line-height: 1.6;
    margin: 0;
}

/* Пустое состояние */
.faq-empty {
    text-align: center;
    padding: 60px 20px;
    background: #F9FAFB;
    border-radius: 12px;
}

.faq-empty p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #6B7280;
    margin: 0;
}

/* RESPONSIVE - Tablet */
@media (max-width: 1024px) {
    .faq-list {
        gap: 28px;
    }

    .faq-qa-pair {
        gap: 14px;
        padding-bottom: 28px;
    }

    .faq-answer-item {
        margin-left: 30px;
    }
}

/* RESPONSIVE - Mobile */
@media (max-width: 768px) {
    .faq-filter-wrapper {
        margin-bottom: 32px;
    }

    .faq-description {
        font-size: 15px;
    }

    .faq-list {
        gap: 24px;
    }

    .faq-qa-pair {
        gap: 12px;
        padding-bottom: 24px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-answer-item {
        margin-left: 0;
        margin-top: 8px;
    }

    .faq-header {
        gap: 12px;
    }

    .faq-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .faq-icon-wrapper img {
        width: 28px;
        height: 28px;
    }

    .faq-text {
        font-size: 15px;
    }

    .faq-label {
        font-size: 13px;
    }

    .faq-date {
        font-size: 11px;
    }
}

/* RESPONSIVE - Very Small Mobile */
@media (max-width: 480px) {
    .faq-description {
        font-size: 14px;
    }

    .faq-item {
        padding: 16px;
    }

    .faq-text {
        font-size: 14px;
    }

    .faq-icon-wrapper {
        width: 36px;
        height: 36px;
    }

    .faq-icon-wrapper img {
        width: 24px;
        height: 24px;
    }
}

.auditorium-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 40px 0;
}

/* Стиль кнопок */
.auditorium-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 16px 24px;

    /* Градиент в стиле вашего сайта */
    background: linear-gradient(135deg, #225CD8 0%, #1a4db0 100%);

    /* Текст */
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;

    /* Форма */
    border-radius: 8px;
    border: none;

    /* Тени */
    box-shadow: 0 4px 12px rgba(34, 92, 216, 0.25);

    /* Анимация */
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Эффект при наведении */
.auditorium-btn:hover {
    background: linear-gradient(135deg, #1a4db0 0%, #225CD8 100%);
    box-shadow: 0 6px 16px rgba(34, 92, 216, 0.35);
    transform: translateY(-2px);
}

/* Эффект при нажатии */
.auditorium-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(34, 92, 216, 0.2);
}

/* Адаптив для планшетов */
@media (max-width: 768px) {
    .auditorium-buttons {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
    }

    .auditorium-btn {
        min-height: 50px;
        font-size: 15px;
        padding: 14px 20px;
    }
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
    .auditorium-btn {
        font-size: 14px;
        padding: 12px 16px;
    }
}

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

.photo-gallery-main {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.photo-main {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.photo-item {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(34, 92, 216, 0.2);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .photo-gallery {
        gap: 16px;
    }

    .photo-main {
        max-height: 350px;
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}



