/**
 * Стили главной страницы
 * Полностью адаптивный дизайн без точных px размеров
 */

/* ===== Основные стили страницы ===== */
.home-page {
    min-height: 100vh;
    background: #000000;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

/* ===== Шапка ===== */
.home-header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: clamp(1rem, 2vw, 1.5rem) 0;
    background: #000000;
    z-index: 100;
}

.home-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.5vw, 3.125rem);
    gap: clamp(0.5rem, 2vw, 2rem);
}

/* Логотип */
.home-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.home-logo img {
    height: clamp(2rem, 3vw, 2.7rem);
    width: auto;
}

.home-logo-mobile {
    display: none;
}

/* Навигация */
.home-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    flex-wrap: wrap;
    justify-content: center;
}

.home-nav-item {
    position: relative;
}

.home-nav-item--has-submenu {
    display: inline-flex;
    align-items: center;
    padding-bottom: 0.7rem;
    margin-bottom: -0.7rem;
}

.home-nav-item--has-submenu::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 16px;
}

.home-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.home-nav-caret {
    width: 0.38rem;
    height: 0.38rem;
    border-right: 1px solid rgba(255, 255, 255, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
}

.home-nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 15rem;
    display: flex;
    flex-direction: column;
    padding: 0.6rem 0.9rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 14, 24, 0.97);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1002;
}

.home-nav-submenu a {
    font-size: clamp(0.75rem, 0.85vw, 0.95rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-nav-submenu a:last-child {
    border-bottom: none;
}

.home-nav-item--has-submenu:hover .home-nav-submenu,
.home-nav-item--has-submenu:focus-within .home-nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.home-nav-item--has-submenu:hover .home-nav-caret,
.home-nav-item--has-submenu:focus-within .home-nav-caret {
    transform: rotate(225deg) translateY(-1px);
}

.home-nav a {
    font-size: clamp(0.75rem, 0.85vw, 0.95rem);
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    letter-spacing: -0.01em;
}

.home-nav a:hover {
    opacity: 0.7;
}

.home-nav a.nav-active {
    opacity: 1;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}

/* Кнопка входа */
.home-login-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 1.5vw, 0.875rem) clamp(1rem, 2vw, 1.25rem);
    font-size: clamp(0.875rem, 1vw, 1.125rem);
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.01em;
    background: 
        radial-gradient(33.27% 27.64% at 100% 33.1%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%),
        radial-gradient(49.3% 49.3% at 30.99% 22.54%, #5200FF 0%, rgba(255, 255, 255, 0) 100%),
        radial-gradient(113.33% 115.76% at 59.68% 40.49%, #31B5FF 13.54%, #FF87C8 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 1.25rem rgba(49, 181, 255, 0.3);
}

/* Кнопка входа в мобильном меню */
.nav-login-btn {
    display: none;
}

/* Бургер меню */
.home-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.home-burger span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.home-burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.home-burger.active span:nth-child(2) {
    opacity: 0;
}

.home-burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Основной контент ===== */
.home-main {
    width: 100%;
    padding: clamp(1rem, 3vw, 3rem) 0;
    position: relative;
    z-index: 1;
}

/* Prevent horizontal overflow on sections that combine width:100% with side paddings */
.home-header,
.home-main,
.home-main > section,
.home-footer {
    box-sizing: border-box;
    max-width: 100%;
}

/* ===== Main Plash - Absolute Positioning (как в Figma) ===== */
.main-plash {
    width: 100%;
    padding: 0 clamp(1rem, 2.5vw, 3.125rem);
}

.main-plash-container {
    max-width: 120rem;
    margin: 0 auto;
    position: relative;
    width: 100%;
    /* Высота пропорциональна ширине: 860 / 1820 = 0.4725 */
    padding-bottom: 47.25%;
}

/* Общие стили для картинок и spacer-плашек */
.main-plash-container img,
.main-plash-container .plash-razrabotka.plash-desktop,
.main-plash-container .plash-mob-group123 {
    position: absolute;
    display: block;
}

.main-plash-container img:hover {
    /* Убрали эффекты hover */
}

/* ===== Точное размещение элементов согласно Figma ===== */
/* Контейнер: 1820 x 860 */

/* razrabotka: 479 x 260, left: 0, top: 0 — скрыта на ПК, место в сетке сохранено */
.plash-razrabotka {
    left: 0%;
    width: 26.32%;
    top: 0%;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    aspect-ratio: 479 / 260;
}

/* unikalnya: 449.75 x 260.23, left: 501 */
.plash-unikalnya {
    left: 27.53%;
    width: 24.71%;
    top: 0%;
}

/* Paragraph+Border: 390.78 x 119.11, left: 972.97 */
.plash-paragraph-border {
    left: 53.46%;
    width: 21.47%;
    top: 0%;
}

/* svedynya: 239 x 189, left: 1386 */
.plash-svedynya {
    left: 76.15%;
    width: 13.13%;
    top: 0%;
}

/* istok: 173 x 189, left: 1647 */
.plash-istok {
    left: 90.49%;
    width: 9.51%;
    top: 0%;
}

/* rashirenie: 390.78 x 154.41, left: 972.97, top: 141.11 */
.plash-rashirenie {
    left: 53.46%;
    width: 21.47%;
    top: 16.41%;
}

/* ozonanoe: 597 x 366, left: 0, top: 282.42 */
.plash-ozonanoe {
    left: 0%;
    width: 32.80%;
    top: 32.84%;
}

/* Paragraph+Border-1: 332 x 366, left: 619, top: 282 */
.plash-paragraph-border-1 {
    left: 34.01%;
    width: 18.24%;
    top: 32.79%;
}

/* licenzia: 390.78 x 154.41, left: 972.97, top: 318 */
.plash-licenzia {
    left: 53.46%;
    width: 21.47%;
    top: 36.98%;
}

/* corporaive: 434 x 331, left: 1386, top: 211.42 */
.plash-corporaive {
    left: 76.15%;
    width: 23.85%;
    top: 24.58%;
}

/* finance: 361 x 190, left: 0, top: 670 */
.plash-finance {
    left: 0%;
    width: 19.84%;
    top: 77.91%;
}

/* metod: 567.69 x 189.69, left: 383.28, top: 670.31 */
.plash-metod {
    left: 21.06%;
    width: 31.19%;
    top: 77.94%;
}

/* samorazvitie: 391 x 366, left: 973, top: 494 */
.plash-samorazvitie {
    left: 53.46%;
    width: 21.48%;
    top: 57.44%;
}

/* prpfessia: 434 x 296, left: 1386, top: 564.42 */
.plash-prpfessia {
    left: 76.15%;
    width: 23.85%;
    top: 65.63%;
}

/* Мобильные картинки скрыты по умолчанию на десктопе */
.plash-mob {
    display: none !important;
}

/* Плашка Group 123 (моб.): пустой spacer, без картинки */
.plash-mob-group123 {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    aspect-ratio: 345.37 / 140;
}

/* ===== СЕКЦИЯ 1.5: СВЕДЕНИЯ ОБ ОБРАЗОВАТЕЛЬНОЙ ПРОГРАММЕ ===== */
.edu-program-section {
    width: 100%;
    padding: clamp(1rem, 2vw, 2rem) clamp(1rem, 2.5vw, 3.125rem);
    background: #000000;
}

.edu-program-container {
    max-width: 120rem;
    margin: 0 auto;
}

/* --- Заголовок-аккордеон --- */
.edu-program-header {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    padding: clamp(0.35rem, 0.6vw, 0.6rem) clamp(1.5rem, 3vw, 3rem);
    border: 1.122px solid rgba(255, 255, 255, 0.3);
    border-radius: clamp(1rem, 2vw, 1.75rem);
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 1807.8 122.64' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Crect x='0' y='0' height='100%25' width='100%25' fill='url(%23g1)' opacity='1'/%3E%3Cdefs%3E%3CradialGradient id='g1' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-33.101 3.3899 -60.145 -2.7028 1807.8 40.592)'%3E%3Cstop stop-color='rgba(255,255,255,1)' offset='0'/%3E%3Cstop stop-color='rgba(255,255,255,0)' offset='1'/%3E%3C/radialGradient%3E%3C/defs%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 1807.8 122.64' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Crect x='0' y='0' height='100%25' width='100%25' fill='url(%23g2)' opacity='1'/%3E%3Cdefs%3E%3CradialGradient id='g2' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(50.288 6.0456 -89.117 3.4114 560.17 27.637)'%3E%3Cstop stop-color='rgba(82,0,255,1)' offset='0'/%3E%3Cstop stop-color='rgba(92,16,255,0.9375)' offset='0.0625'/%3E%3Cstop stop-color='rgba(103,32,255,0.875)' offset='0.125'/%3E%3Cstop stop-color='rgba(125,64,255,0.75)' offset='0.25'/%3E%3Cstop stop-color='rgba(168,128,255,0.5)' offset='0.5'/%3E%3Cstop stop-color='rgba(255,255,255,0)' offset='1'/%3E%3C/radialGradient%3E%3C/defs%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 1807.8 122.64' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Crect x='0' y='0' height='100%25' width='100%25' fill='url(%23g3)' opacity='1'/%3E%3Cdefs%3E%3CradialGradient id='g3' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-25.481 14.196 -204.89 0.097343 1079 49.66)'%3E%3Cstop stop-color='rgba(49,181,255,1)' offset='0.13542'/%3E%3Cstop stop-color='rgba(75,175,248,1)' offset='0.24349'/%3E%3Cstop stop-color='rgba(100,169,241,1)' offset='0.35156'/%3E%3Cstop stop-color='rgba(152,158,227,1)' offset='0.56771'/%3E%3Cstop stop-color='rgba(203,146,214,1)' offset='0.78385'/%3E%3Cstop stop-color='rgba(255,135,200,1)' offset='1'/%3E%3C/radialGradient%3E%3C/defs%3E%3C/svg%3E");
    background-size: 100% 100%;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease;
    margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

.edu-program-header:hover {
    opacity: 0.9;
}

.edu-program-header-icon {
    flex-shrink: 0;
    width: clamp(3rem, 5vw, 5.5rem);
    height: clamp(3rem, 5vw, 5.5rem);
}

.edu-program-header-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.edu-program-header-title {
    flex: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    font-size: clamp(0.875rem, 1.8vw, 1.75rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.edu-program-header-chevron {
    flex-shrink: 0;
    width: clamp(0.875rem, 1.2vw, 1.125rem);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.edu-program-header-chevron svg {
    width: 100%;
    height: auto;
    display: block;
}

.edu-program-header[aria-expanded="false"] .edu-program-header-chevron {
    transform: rotate(-90deg);
}

/* --- Контент (accordion) --- */
.edu-program-content {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.35s ease;
    max-height: 9999px;
    opacity: 1;
    position: relative;
}

.edu-program-content.hidden {
    max-height: 0;
    opacity: 0;
}

/* --- Двухколонная сетка --- */
.edu-program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.75rem, 1.2vw, 1.25rem);
}

/* --- Группа: левая колонка + кнопка --- */
.edu-program-col-group {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 0.9vw, 0.75rem);
}

/* --- Тёмная колонка-контейнер --- */
.edu-program-col {
    background: #0b0b0b;
    border: 1px solid #4c4c4c;
    border-radius: clamp(1.5rem, 2.5vw, 2.25rem);
    padding: clamp(1rem, 1.5vw, 1.5rem);
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 0.9vw, 0.75rem);
    position: relative;
}

/* --- Список карточек внутри колонки --- */
.edu-program-col-cards {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 0.9vw, 0.75rem);
    flex: 1;
}

.edu-program-col-left .edu-program-col-cards {
    flex: 0;
}

.edu-program-col-left {
    align-self: flex-start;
}

/* --- Одна текстовая карточка --- */
.edu-program-card {
    background: #242222;
    border-radius: clamp(1.125rem, 1.8vw, 1.875rem);
    padding: clamp(0.875rem, 1.8vw, 2rem) clamp(1rem, 2vw, 2rem);
}

.edu-program-card p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: clamp(0.75rem, 1.2vw, 1.125rem);
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
}

.edu-program-card p strong {
    font-weight: 700;
}

/* --- Кнопка-ссылка --- */
.edu-program-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(1.25rem, 2.5vw, 3rem) clamp(1.25rem, 2vw, 2.875rem);
    border: 1.122px solid rgba(255, 255, 255, 0.3);
    border-radius: clamp(1rem, 1.8vw, 1.75rem);
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 878.24 123.38' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Crect x='0' y='0' height='100%25' width='100%25' fill='url(%23gb1)' opacity='1'/%3E%3Cdefs%3E%3CradialGradient id='gb1' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(24.43 6.0821 -43.293 3.432 272.13 27.804)'%3E%3Cstop stop-color='rgba(82,0,255,1)' offset='0'/%3E%3Cstop stop-color='rgba(92,16,255,0.9375)' offset='0.0625'/%3E%3Cstop stop-color='rgba(103,32,255,0.875)' offset='0.125'/%3E%3Cstop stop-color='rgba(125,64,255,0.75)' offset='0.25'/%3E%3Cstop stop-color='rgba(168,128,255,0.5)' offset='0.5'/%3E%3Cstop stop-color='rgba(255,255,255,0)' offset='1'/%3E%3C/radialGradient%3E%3C/defs%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 878.24 123.38' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Crect x='0' y='0' height='100%25' width='100%25' fill='url(%23gb2)' opacity='1'/%3E%3Cdefs%3E%3CradialGradient id='gb2' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-12.379 14.282 -99.534 0.09793 524.16 49.96)'%3E%3Cstop stop-color='rgba(49,181,255,1)' offset='0.13542'/%3E%3Cstop stop-color='rgba(75,175,248,1)' offset='0.24349'/%3E%3Cstop stop-color='rgba(100,169,241,1)' offset='0.35156'/%3E%3Cstop stop-color='rgba(152,158,227,1)' offset='0.56771'/%3E%3Cstop stop-color='rgba(203,146,214,1)' offset='0.78385'/%3E%3Cstop stop-color='rgba(255,135,200,1)' offset='1'/%3E%3C/radialGradient%3E%3C/defs%3E%3C/svg%3E");
    background-size: 100% 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: clamp(0.75rem, 1.4vw, 1.5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.edu-program-btn:hover {
    opacity: 0.85;
    color: #ffffff;
    text-decoration: none;
}

/* --- Декоративный шар (поверх правой колонки, снизу справа) --- */
.edu-program-sphere {
    position: absolute;
    bottom: clamp(0.5rem, 1.2vw, 1.25rem);
    right: clamp(0.5rem, 1.2vw, 1.25rem);
    width: clamp(3rem, 6vw, 7.5rem);
    pointer-events: none;
    z-index: 2;
}

.edu-program-sphere img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Планшет (≤1024px): одна колонка --- */
@media (max-width: 1024px) {
    .edu-program-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Мобильный (≤768px) --- */
@media (max-width: 768px) {
    .edu-program-section {
        padding: clamp(0.75rem, 3vw, 1.5rem) clamp(0.75rem, 4vw, 1rem);
    }

    .edu-program-header {
        gap: 0.75rem;
        padding: 0.9rem 1.125rem;
        margin-bottom: 0.625rem;
    }

    .edu-program-header-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .edu-program-header-title {
        font-size: clamp(0.8125rem, 4vw, 1rem);
    }

    .edu-program-header-chevron {
        width: 0.75rem;
        height: 1.125rem;
    }

    .edu-program-card p {
        font-size: clamp(0.75rem, 3.5vw, 0.9375rem);
    }

    .edu-program-btn {
        font-size: clamp(0.75rem, 3.5vw, 0.9375rem);
        padding: 0.875rem 0.875rem;
    }

    .edu-program-sphere {
        width: clamp(2.5rem, 12vw, 4rem);
    }
}

/* ===== СЕКЦИЯ 2: СОБЫТИЯ ===== */
.home-events {
    width: 100%;
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 2.5vw, 3.125rem);
    background: #000000;
}

.home-events-container {
    max-width: 120rem;
    margin: 0 auto;
}

/* Заголовок + кнопки-вкладки */
.events-header {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-bottom: clamp(2rem, 4.8vw, 5.5rem);
}

.events-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 115%;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 0;
}

.events-tabs {
    display: flex;
    gap: 0.5rem;
}

.events-tab {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1.1vw, 1.125rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.events-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Вкладки контента */
.events-tab-content {
    display: none;
}

.events-tab-content.active {
    display: block;
}

/* Архив — обёртка видео */
.archive-video-wrapper {
    width: 100%;
    max-width: 1820px;
    position: relative;
    border-radius: clamp(2rem, 3.85vw, 4.375rem);
    overflow: hidden;
}

.archive-preview {
    display: block;
    width: 100%;
    height: auto;
}

.archive-preview.mobile-slide {
    display: none;
}

.archive-preview.desktop-slide {
    display: block;
}

.archive-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(8rem, 17.9375vw, 17.9375rem);
    height: clamp(8rem, 17.9375vw, 17.9375rem);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.3s ease;
    padding: 0;
}

.archive-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.archive-play-btn svg {
    width: 100%;
    height: 100%;
}

/* Контейнер слайдера и видео - 1820 x 570 */
.events-content {
    display: flex;
    width: 100%;
    gap: clamp(0.75rem, 1.65vw, 1.875rem);
    margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
}

/* Для архива используем отдельную сетку из двух карточек */
.events-tab-content[data-tab="archive"] .events-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Слайдер событий на всю ширину 1820px */
.events-slider {
    width: 100%;
    max-width: 1820px;
    aspect-ratio: 1820 / 570;
    background: 
        radial-gradient(148.54% 177.29% at 138.76% -15.18%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%),
        radial-gradient(84.06% 110.76% at 30.99% 22.54%, #5200FF 0%, rgba(255, 255, 255, 0) 100%),
        radial-gradient(88.28% 93.8% at 55.55% 43.3%, #31B5FF 13.54%, #FF87C8 100%);
    border-radius: clamp(2rem, 3.85vw, 4.375rem);
    position: relative;
    overflow: hidden;
}

/* Слайды */
.event-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.event-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.event-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop слайды видны на десктопе, мобильные скрыты */
.event-slide.mobile-slide {
    display: none;
}

.event-slide.desktop-slide {
    display: block;
}

/* Контролы слайдера */
.slider-controls {
    position: absolute;
    bottom: clamp(1.5rem, 2.8vw, 3.125rem);
    left: 50%;
    transform: translateX(-50%);
    margin-left: clamp(4.5rem, 8vw, 10rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 2.8vw, 3.125rem);
    z-index: 10;
}

.slider-arrow {
    width: clamp(2.5rem, 4.7vw, 5.3125rem);
    height: clamp(2.5rem, 4.7vw, 5.3125rem);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-arrow svg {
    width: clamp(1.25rem, 2.35vw, 2.65625rem);
    height: auto;
}

.slider-dots {
    display: flex;
    gap: clamp(0.75rem, 1.4vw, 1.59375rem);
}

.dot {
    width: clamp(0.75rem, 1.4vw, 1.59375rem);
    height: clamp(0.75rem, 1.4vw, 1.59375rem);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Картинка image.png (старая, удалить если не нужна) */
.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.video-preview-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(5rem, 17.9375vw, 17.9375rem);
    height: clamp(5rem, 17.9375vw, 17.9375rem);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s ease;
    padding: 0;
}

.video-preview-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-preview-play svg {
    width: 100%;
    height: 100%;
}

/* Контролы слайдера ВНУТРИ блока - 290 x 30 */
.slider-controls {
    position: absolute;
    bottom: clamp(2rem, 3.6125vw, 3.6125rem);
    left: clamp(3rem, 5.825vw, 5.825rem);
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.6875rem);
    z-index: 3;
}

.slider-arrow {
    width: clamp(1.25rem, 1.65vw, 1.875rem);
    height: clamp(1.25rem, 1.65vw, 1.875rem);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.slider-arrow:hover {
    opacity: 0.7;
}

.slider-arrow svg {
    width: 100%;
    height: 100%;
}

.slider-dots {
    display: flex;
    gap: clamp(1rem, 1.65vw, 1.875rem);
    align-items: center;
}

.dot {
    width: clamp(0.5rem, 0.55vw, 0.625rem);
    height: clamp(0.5rem, 0.55vw, 0.625rem);
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.dot.active {
    opacity: 1;
}

/* Модальное окно видеоплеера */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

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

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 70rem;
    aspect-ratio: 16 / 9;
    z-index: 1;
}

.video-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

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

.video-modal-player {
    width: 100%;
    height: 100%;
    border-radius: clamp(1rem, 2vw, 2rem);
    overflow: hidden;
}

.video-modal-player iframe {
    width: 100%;
    height: 100%;
}

/* ===== СЕКЦИЯ 3: ВИДЕО ===== */
.home-video {
    width: 100%;
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 2.5vw, 3.125rem);
    background: #000000;
}

.home-video-container {
    max-width: 120rem;
    margin: 0 auto;
}

.home-featured-video {
    margin-bottom: clamp(2rem, 4vw, 4rem);
}

.video-slider {
    position: relative;
    width: 100%;
}

.video-slide {
    display: none;
}

.video-slide.active {
    display: block;
}

.video-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.video-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.65);
}

.video-slider-arrow--prev { left: 1.25rem; }
.video-slider-arrow--next { right: 1.25rem; }

.video-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.video-slider-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.video-slider-dot.active {
    background: #fff;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: clamp(2rem, 4.375vw, 4.375rem);
    overflow: hidden;
}

/* Превью видео */
.video-preview {
    display: block;
    width: 100%;
    height: auto;
}

/* Кнопка play - 287px */
.video-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(8rem, 17.9375vw, 17.9375rem);
    height: clamp(8rem, 17.9375vw, 17.9375rem);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.3s ease;
    padding: 0;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    width: 100%;
    height: 100%;
}

/* ===== СЕКЦИЯ 3.5: ОБУЧЕНИЕ МЕТОДУ ===== */
.edu-methods {
    width: 100%;
    padding: clamp(3rem, 5vw, 5rem) 0 clamp(2rem, 3vw, 3rem);
    background: #000000;
}

.edu-methods-container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.6vw, 3.125rem);
    text-align: center;
}

.edu-methods-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 4vw, 4rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: clamp(1.5rem, 3vw, 3.5rem);
}

.edu-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    text-align: left;
    align-items: start;
}

/* Карточка */
.edu-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #535353;
    border-radius: clamp(1rem, 1.875vw, 1.875rem);
    overflow: hidden;
    background: #000000;
}

.edu-card-inner {
    flex: 1;
    padding: clamp(1.25rem, 2vw, 2rem) clamp(1rem, 1.75vw, 1.75rem);
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.edu-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.75rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: clamp(1rem, 1.75vw, 1.75rem);
}

/* Обёртка тела карточки */
.edu-card-body-wrap {
    position: relative;
}

/* Тело карточки */
.edu-card-body {
    /* высота управляется через .edu-card-inner */
}

/* Свёрнутый вид — одинаковая высота для всех карточек через inner */
.edu-card.collapsed .edu-card-inner {
    max-height: 300px;
}

/* Градиент-фейд снизу при свёртке — позиционирован относительно .edu-card-inner */
.edu-card-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000000 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}

/* Список фич */
.edu-card-features {
    list-style: none;
    margin: 0 0 clamp(0.75rem, 1vw, 1rem);
    padding: 0;
}

.edu-card-features li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.8125rem, 1vw, 1.125rem);
    line-height: 1.45;
    color: #ffffff;
    margin-bottom: clamp(0.375rem, 0.6vw, 0.75rem);
}

.edu-card-features li.dim {
    color: rgba(255, 255, 255, 0.4);
}

/* Бейдж (например «Обучение 2 месяца») */
.edu-card-badge {
    display: inline-block;
    background: #31B5FF;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.75rem, 0.875vw, 1rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    padding: 0.35em 0.7em;
    border-radius: 0.3125rem;
    margin-bottom: clamp(0.75rem, 1vw, 1rem);
}

/* Кнопка Свернуть/Развернуть */
.edu-card-btn {
    display: block;
    width: calc(100% - clamp(2rem, 3.5vw, 3.5rem));
    margin: 0 auto clamp(1rem, 1.75vw, 1.75rem);
    padding: clamp(0.875rem, 1.5vw, 1.5rem) clamp(1rem, 2vw, 2rem);
    font-family: 'TT Interfaces', 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9375rem, 1.25vw, 1.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #000000;
    background:
        radial-gradient(33.27% 27.64% at 100% 33.1%, #FFFFFF 0%, rgba(255,255,255,0) 100%),
        radial-gradient(49.3% 49.3% at 30.99% 22.54%, #5200FF 0%, rgba(255,255,255,0) 100%),
        radial-gradient(190.09% 190.9% at 59.68% 40.49%, #31B5FF 13.54%, #FF87C8 100%);
    border: none;
    border-radius: clamp(0.75rem, 1.25vw, 1.25rem);
    cursor: pointer;
    transition: transform 0.2s ease;
    text-align: center;
}

.edu-card-btn:hover {
    transform: scale(1.03);
}

/* ===== СЕКЦИЯ 4: ФОРМА ПАРТНЕРСТВА ===== */
.home-partnership {
    width: 100%;
    padding: clamp(2rem, 3vw, 3rem) 0;
    background: #000000;
}

.home-partnership-container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.6vw, 3.125rem);
    text-align: center;
}

.partnership-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: clamp(1rem, 2.4375vw, 2.4375rem);
}

.partnership-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.2;
    color: #C7C7C7;
    margin-bottom: clamp(3rem, 4.5vw, 4.5rem);
}

.partnership-form {
    text-align: left;
}

.form-content {
    position: relative;
    padding: 0 25.69%;
}

.form-inputs {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
}

.form-inputs input[type="text"],
.form-inputs input[type="tel"],
.form-inputs input[type="email"] {
    width: 100%;
    padding: clamp(0.75rem, 1vw, 1rem) 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ECECEC;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    line-height: 1.2;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
    margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}

.form-inputs input::placeholder {
    color: #ffffff;
}

.form-inputs input:focus {
    border-bottom-color: #31B5FF;
}

.form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.25vw, 1.25rem);
    flex: 0 0 auto;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.875vw, 1.875rem);
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 0.9375vw, 0.9375rem);
    line-height: 1.2;
    color: rgba(170, 170, 170, 0.9);
    cursor: pointer;
    max-width: 600px;
}

.checkbox-label a {
    color: rgba(170, 170, 170, 0.9) !important;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: rgba(170, 170, 170, 1) !important;
    opacity: 1;
}

.checkbox-label input[type="checkbox"] {
    width: clamp(0.875rem, 0.9375vw, 0.9375rem);
    height: clamp(0.875rem, 0.9375vw, 0.9375rem);
    flex-shrink: 0;
    background: #FFFFFF;
    border-radius: 0.125rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: none;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #31B5FF;
}

.partnership-submit {
    flex: 0 0 auto;
    padding: clamp(1.25rem, 1.5625vw, 1.5625rem) clamp(1.5rem, 1.5625vw, 1.5625rem);
    min-width: clamp(12rem, 15.75vw, 15.75rem);
    font-family: 'TT Interfaces', 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    line-height: 115%;
    letter-spacing: -0.01em;
    color: #000000;
    background: radial-gradient(33.27% 27.64% at 100% 33.1%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%),
                radial-gradient(49.3% 49.3% at 30.99% 22.54%, #5200FF 0%, rgba(255, 255, 255, 0) 100%),
                radial-gradient(190.09% 190.9% at 59.68% 40.49%, #31B5FF 13.54%, #FF87C8 100%);
    border: none;
    border-radius: clamp(1rem, 1.25vw, 1.25rem);
    cursor: pointer;
    transition: transform 0.2s ease;
    white-space: nowrap;
}

.partnership-submit:hover {
    transform: scale(1.05);
}

.partnership-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.partnership-submit:disabled:hover {
    transform: none;
}

.partnership-note {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.875rem, 1.1vw, 1.125rem);
    margin-top: 2rem;
    text-align: center;
}

/* Уведомления формы партнерства */
.partnership-notice {
    display: inline-block;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: #fff;
}
.partnership-notice p { margin: 0; }
.partnership-notice--success {
    background: rgba(49, 181, 255, 0.1);
    border-left: 4px solid #31B5FF;
}
.partnership-notice--error {
    background: rgba(255, 80, 80, 0.1);
    border-left: 4px solid #ff5050;
}

/* ===== СЕКЦИЯ 5: ПОДВАЛ ===== */
.home-footer {
    width: 100%;
    padding: clamp(2rem, 3vw, 3rem) clamp(1rem, 2.5vw, 3.125rem);
    background: #000000;
}

.home-footer-container {
    max-width: clamp(55rem, 65vw, 75rem);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.home-footer-container--compact {
    justify-content: center;
    align-items: center;
}

.home-footer-container--compact .footer-col-center {
    align-items: center;
    text-align: center;
}

/* Колонки footer */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* Левая колонка */
.footer-col-left {
    flex: 0 0 auto;
}

.footer-company-name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: #ffffff;
    margin-bottom: clamp(0.25rem, 0.375vw, 0.375rem);
}

.footer-company-info {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.75rem, 0.875vw, 0.875rem);
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: clamp(0.125rem, 0.2vw, 0.2rem);
}

.footer-address {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.75rem, 0.875vw, 0.875rem);
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    margin-top: clamp(0.75rem, 1vw, 1rem);
}

/* Центральная колонка */
.footer-col-center {
    flex: 1;
    align-items: center;
    gap: clamp(1.5rem, 2vw, 2rem);
}

.footer-vision-btn {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 0.75vw, 0.75rem);
    padding: 0;
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-vision-btn:hover {
    color: #ffffff;
}

.footer-vision-btn img {
    width: clamp(2.5rem, 3vw, 3.5rem);
    height: auto;
    flex-shrink: 0;
    background: #FFFFFF;
    border-radius: clamp(0.5rem, 0.75vw, 0.75rem);
    padding: clamp(0.35rem, 0.5vw, 0.5rem);
}

.footer-contacts {
    display: flex;
    flex-direction: row;
    gap: clamp(2rem, 4vw, 5rem);
    margin-top: clamp(1.5rem, 2vw, 2rem);
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(0.125rem, 0.2vw, 0.2rem);
}

.footer-contact-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.75rem, 0.875vw, 0.875rem);
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact-link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Правая колонка */
.footer-col-right {
    flex: 0 0 auto;
    align-items: flex-end;
    gap: clamp(1rem, 1.5vw, 1.5rem);
}

.footer-license-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 1.5vw, 1.5rem);
}

.footer-license-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.5rem, 0.625vw, 0.625rem);
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    text-align: right;
}

.footer-logo {
    flex-shrink: 0;
    width: clamp(5rem, 7.375vw, 7.375rem);
    height: auto;
}

.footer-logo svg {
    width: 100%;
    height: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: clamp(0.25rem, 0.375vw, 0.375rem);
    align-items: flex-end;
    margin-top: clamp(1rem, 1.5vw, 1.5rem);
    position: relative;
    z-index: 5;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.625rem, 0.75vw, 0.75rem);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-align: right;
    transition: color 0.2s ease;
    position: relative;
    z-index: 6;
    pointer-events: auto;
}

.footer-links a:hover {
    color: #31B5FF;
}

/* ===== Адаптив для планшетов ===== */
@media (max-width: 1200px) {
    .home-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 15px;
        right: 15px;
        bottom: auto;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        z-index: 1000;
        padding: 0.5rem 1.25rem;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 80vh;
        border-radius: 1.25rem;
        box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    }
    
    .home-nav.active {
        display: flex;
    }
    
    .home-nav a {
        font-size: 1rem;
        color: #111;
        padding: 0.875rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
    }

    .home-nav a:last-child {
        border-bottom: none;
    }

    .home-nav-item {
        width: 100%;
    }

    .home-nav-item--has-submenu {
        display: block;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .home-nav-item--has-submenu::after {
        display: none;
    }

    .home-nav-link {
        width: 100%;
        justify-content: space-between;
        cursor: pointer;
    }

    .home-nav-caret {
        border-right-color: rgba(17, 17, 17, 0.6);
        border-bottom-color: rgba(17, 17, 17, 0.6);
        transform: rotate(45deg);
        flex-shrink: 0;
    }

    .home-nav-item--has-submenu:hover .home-nav-submenu,
    .home-nav-item--has-submenu:focus-within .home-nav-submenu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        margin: 0;
        pointer-events: none;
        transform: none;
    }

    .home-nav-item--has-submenu:hover .home-nav-caret,
    .home-nav-item--has-submenu:focus-within .home-nav-caret {
        transform: rotate(45deg);
    }

    .home-nav-submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        pointer-events: none;
        min-width: 100%;
        padding: 0 0 0 0.85rem;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.2s ease;
    }

    .home-nav-item--has-submenu.submenu-open .home-nav-submenu {
        opacity: 1;
        visibility: visible;
        max-height: 10rem;
        pointer-events: auto;
        margin: 0 0 0.35rem;
    }

    .home-nav-item--has-submenu.submenu-open .home-nav-caret {
        transform: rotate(225deg);
    }

    .home-nav-item--has-submenu.submenu-open > .home-nav-link {
        border-bottom: none;
    }

    .home-nav-submenu a {
        color: #333;
        font-size: 0.94rem;
        padding: 0.58rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .home-nav-submenu a:last-child {
        border-bottom: none;
    }

    .home-nav a.nav-active {
        color: #111;
        font-weight: 600;
    }
    
    .home-burger {
        display: flex;
    }
    
    .home-login-btn {
        display: none;
    }

    .home-nav .nav-login-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-top: 0.5rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        font-weight: 400;
        color: #fff;
        text-decoration: none;
        white-space: nowrap;
        background:
            radial-gradient(33.27% 27.64% at 100% 33.1%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%),
            radial-gradient(49.3% 49.3% at 30.99% 22.54%, #5200FF 0%, rgba(255, 255, 255, 0) 100%),
            radial-gradient(113.33% 115.76% at 59.68% 40.49%, #31B5FF 13.54%, #FF87C8 100%);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 2.5rem;
    }
    
    /* Упрощённая сетка для планшетов */
    .main-plash-container {
        padding-bottom: 130%;
    }
    
    .plash-razrabotka {
        left: 0%;
        width: 48%;
        top: 0%;
    }
    
    .plash-unikalnya {
        left: 52%;
        width: 48%;
        top: 0%;
    }
    
    .plash-paragraph-border {
        left: 0%;
        width: 31%;
        top: 18%;
    }
    
    .plash-svedynya {
        left: 34%;
        width: 31%;
        top: 18%;
    }
    
    .plash-istok {
        left: 68%;
        width: 32%;
        top: 18%;
    }
    
    .plash-rashirenie {
        left: 0%;
        width: 31%;
        top: 27%;
    }
    
    .plash-ozonanoe {
        left: 0%;
        width: 48%;
        top: 38%;
    }
    
    .plash-paragraph-border-1 {
        left: 52%;
        width: 48%;
        top: 31%;
    }
    
    .plash-licenzia {
        left: 52%;
        width: 48%;
        top: 60%;
    }
    
    .plash-corporaive {
        left: 0%;
        width: 48%;
        top: 60%;
    }
    
    .plash-finance {
        left: 52%;
        width: 48%;
        top: 71%;
    }
    
    .plash-metod {
        left: 0%;
        width: 48%;
        top: 82%;
    }
    
    .plash-samorazvitie {
        left: 52%;
        width: 48%;
        top: 85%;
    }
    
    .plash-prpfessia {
        display: none;
    }
    
    /* События - адаптив */
    .events-osnova {
        flex-direction: column;
    }
    
    .events-text-block,
    .events-video-preview {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .events-text-block {
        aspect-ratio: 16 / 9;
    }
    
    .events-video-preview {
        aspect-ratio: 16 / 9;
    }
    
    .slider-controls {
        justify-content: center;
        padding-left: 0;
    }
    
    /* Форма */
    .form-grid {
        flex-direction: column;
    }
    
    .form-column {
        max-width: 100%;
    }
    
    /* Подвал */
    .home-footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-company {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-right {
        max-width: 100%;
        align-items: center;
    }
    
    .footer-license {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-links a {
        text-align: center;
    }
}

/* ===== Адаптив для планшетов (481px - 1200px) ===== */
@media (min-width: 481px) and (max-width: 1200px) {
    .home-header {
        padding: 1rem 0;
    }
    
    .home-header-container {
        padding: 0 2rem;
        position: relative;
    }
    
    .home-logo img {
        height: 2.5rem;
    }
    
    .main-plash {
        padding: 0 2rem;
    }
    
    /* Вертикальная сетка для планшетов - используем мобильные изображения */
    .main-plash-container {
        position: relative;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Скрываем десктопные картинки на планшетах */
    .plash-desktop {
        display: none !important;
    }
    
    /* Показываем мобильные картинки на планшетах */
    .plash-mob {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        left: auto !important;
        top: auto !important;
        border-radius: 2rem;
    }

    .plash-mob-group123 {
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
        aspect-ratio: 345.37 / 140;
    }
    
    /* ===== События - планшетная адаптация ===== */
    .home-events {
        padding: 3rem 2rem;
    }
    
    .events-title {
        font-size: 2.5rem;
    }
    
    .events-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .events-slider {
        flex: 1 1 auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    
    .events-video-preview {
        flex: 1 1 auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    
    /* ===== Видео - планшетная адаптация ===== */
    .home-video {
        padding: 3rem 2rem;
    }
    
    .video-play-btn {
        width: 8rem;
        height: 8rem;
    }
    
    /* ===== Карточки тарифов - планшетная адаптация ===== */
    .edu-methods {
        padding: 2.5rem 0 2rem;
    }

    .edu-methods-title {
        font-size: 2.25rem;
        margin-bottom: 1.75rem;
    }

    .edu-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .edu-methods-grid .edu-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
        width: 100%;
    }

    .edu-card-title {
        font-size: 1.25rem;
    }

    .edu-card-features li {
        font-size: 1rem;
    }

    .edu-card-btn {
        font-size: 1.125rem;
        padding: 1rem 1.5rem;
    }

    /* ===== Форма партнерства - планшетная адаптация ===== */
    .home-partnership {
        padding: 3rem 0;
    }
    
    .home-partnership-container {
        padding: 0 2rem;
    }
    
    .partnership-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .partnership-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .form-content {
        padding: 0 10%;
    }
    
    .form-inputs input[type="text"],
    .form-inputs input[type="tel"],
    .form-inputs input[type="email"] {
        font-size: 1.125rem;
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .form-bottom {
        flex-direction: row;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .form-checkboxes {
        gap: 1.25rem;
        flex: 1;
    }
    
    .checkbox-label {
        font-size: 0.875rem;
        gap: 1rem;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 1rem;
        height: 1rem;
    }
    
    .partnership-submit {
        padding: 1.25rem 1.5rem;
        min-width: 14rem;
        font-size: 1.125rem;
    }
    
    /* ===== Подвал - планшетная адаптация ===== */
    .home-footer {
        padding: 3rem 2rem;
    }
    
    .home-footer-container {
        flex-direction: column;
        gap: 2.5rem;
        max-width: 100%;
    }
    
    .footer-company,
    .footer-center,
    .footer-right {
        width: 100%;
        max-width: 100%;
    }
    
    .footer-center {
        align-items: center;
        text-align: center;
    }
    
    .footer-company-text {
        text-align: center;
    }
    
    .footer-license-text {
        text-align: center;
    }
    
    .footer-right {
        align-items: center;
    }
    
    .footer-license-block {
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-links a {
        text-align: center;
    }
}

/* ===== Адаптив для маленьких экранов (мобилки) ===== */
@media (max-width: 480px) {
    /* ===== Хедер на мобилке =====  */
    .home-header {
        position: relative;
        width: 100%;
        height: auto;
        left: auto;
        transform: none;
        top: auto;
        background: #000000;
        border-radius: 0;
        padding: 0.75rem 0;
        z-index: 9999;
    }
    
    .home-header-container {
        padding: 0 1rem;
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 10002;
    }
    
    .home-logo {
        position: relative;
        z-index: 10003;
    }
    
    .home-logo-desktop {
        display: block !important;
    }
    
    .home-logo-mobile {
        display: none !important;
    }
    
    .home-burger {
        display: flex;
        width: 2.5rem;
        height: 2.5rem;
        border: none;
        border-radius: 0;
        opacity: 1;
        background: transparent;
        position: relative;
        z-index: 10003;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.375rem;
    }
    
    .home-burger span {
        background: #ffffff;
        position: static;
        display: block;
        width: 1.5rem;
        height: 2px;
        transition: all 0.3s ease;
    }

    .home-burger.active {
        z-index: 10010;
    }

    .home-burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: #ffffff;
    }

    .home-burger.active span:nth-child(2) {
        opacity: 0;
    }

    .home-burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: #ffffff;
    }
    
    .home-nav {
        display: none;
    }
    
    .home-nav.active {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        flex-wrap: nowrap !important;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 15px;
        right: 15px;
        bottom: auto;
        z-index: 10000;
        background: #fff;
        padding: 0.5rem 1.25rem;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 80vh;
        border-radius: 1.25rem;
        box-shadow: 0 8px 32px rgba(0,0,0,0.18);
        width: auto;
        transform: none;
    }
    
    .home-nav.active > a,
    .home-nav.active .home-nav-link,
    .home-nav.active .home-nav-submenu a {
        position: relative;
        font-family: 'Inter';
        font-style: normal;
        font-weight: 400;
        font-size: 1rem;
        line-height: 1.15;
        letter-spacing: -0.01em;
        color: #111;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
        padding: 0.875rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        white-space: normal;
    }

    .home-nav.active .home-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .home-nav.active .home-nav-caret {
        width: 0.5rem;
        height: 0.5rem;
        padding: 0;
        margin: 0;
        border: none;
        border-right: 1.5px solid rgba(17, 17, 17, 0.65);
        border-bottom: 1.5px solid rgba(17, 17, 17, 0.65);
        display: inline-block;
        flex: 0 0 auto;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    .home-nav.active .home-nav-item {
        width: 100%;
    }

    .home-nav.active .home-nav-item--has-submenu {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .home-nav.active .home-nav-submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        min-width: 100%;
        padding: 0 0 0 0.85rem;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }

    .home-nav.active .home-nav-item--has-submenu.submenu-open .home-nav-submenu {
        opacity: 1;
        visibility: visible;
        max-height: 10rem;
        pointer-events: auto;
        margin: 0 0 0.25rem;
    }

    .home-nav.active .home-nav-item--has-submenu.submenu-open .home-nav-caret {
        transform: rotate(225deg);
    }

    .home-nav.active .home-nav-item--has-submenu.submenu-open > .home-nav-link {
        border-bottom: none;
    }

    .home-nav.active .home-nav-submenu a {
        font-size: 0.94rem;
        padding: 0.58rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .home-nav.active .home-nav-submenu a:last-child {
        border-bottom: none;
    }

    .home-nav.active a.nav-active {
        color: #111;
        font-weight: 600;
    }
    
    .home-login-btn {
        display: none;
    }
    
    .home-header.expanded .home-login-btn {
        display: none;
    }

    .home-nav.active .nav-login-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.75rem 1.25rem;
        margin-top: 0.5rem;
        font-size: 0.875rem;
        font-weight: 400;
        color: #fff;
        text-decoration: none;
        white-space: nowrap;
        border-bottom: none;
        background: 
            radial-gradient(33.27% 27.64% at 100% 33.1%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%),
            radial-gradient(49.3% 49.3% at 30.99% 22.54%, #5200FF 0%, rgba(255, 255, 255, 0) 100%),
            radial-gradient(113.33% 115.76% at 59.68% 40.49%, #31B5FF 13.54%, #FF87C8 100%);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 2.5rem;
    }
    
    .home-header.expanded {
        height: auto;
    }
    
    .home-logo img {
        height: 2.75rem;
    }
    
    .home-main {
        padding: 0;
    }
    
    .main-plash {
        padding: 0;
        padding-top: 0px;
    }
    
    /* Контейнер для мобильной версии */
    .main-plash-container {
        position: relative;
        width: 375px;
        height: 2314px;
        padding-bottom: 0;
        margin: 0 auto;
        overflow-y: visible;
        background: #000000;
    }
    
    /* Скрываем десктопные картинки */
    .plash-desktop {
        display: none !important;
    }
    
    /* Показываем мобильные картинки */
    .plash-mob {
        display: block !important;
        position: absolute;
        box-sizing: border-box;
    }
    
    /* ===== Позиционирование мобильных элементов по Figma ===== */
    /* Контейнер: 375 x 2413 */
    
    /* Group 123 (razrabotka_mob внутри): width: 345.37px, height: 140px, left: 15px, top: 114px */
    .plash-mob-group123 {
        left: 15px;
        width: 345.37px;
        height: 140px;
        top: 15px;
        border-radius: 26px;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }
    
    /* rashirenie_mob: left: 15px, right: 15px, top: 261px, height: 140px */
    .plash-mob-rashirenie {
        left: 15px;
        width: 345px;
        height: 140px;
        top: 162px;
        border-radius: 26px;
    }
    
    /* metod_mob: left: 15px, right: 15px, top: 732px, height: 213px */
    .plash-mob-metod {
        left: 15px;
        width: 345px;
        height: 213px;
        top: 633px;
        border-radius: 35px;
    }
    
    /* samorazvitie_mob: left: 15px, right: 15px, top: 952px, height: 169px */
    .plash-mob-samorazvitie {
        left: 15px;
        width: 345px;
        height: 169px;
        top: 853px;
        border-radius: 26px;
    }
    
    /* licenzia_mob: left: 15px, right: 15px, top: 1128px, height: 140px */
    .plash-mob-licenzia {
        left: 15px;
        width: 345px;
        height: 140px;
        top: 1029px;
        border-radius: 26px;
    }
    
    /* corporaive_mob: left: 15px, right: 15px, top: 1275px, height: 228px */
    .plash-mob-corporaive {
        left: 15px;
        width: 345px;
        height: 228px;
        top: 1176px;
        border-radius: 26px;
    }
    
    /* ozonanoe_mob: left: 15px, right: 15px, top: 1510px, height: 199px */
    .plash-mob-ozonanoe {
        left: 15px;
        width: 345px;
        height: 199px;
        top: 1411px;
        border-radius: 26px;
    }
    
    /* prpfessia_mob: left: 15px, right: 15px, top: 1716px, height: 199px */
    .plash-mob-prpfessia {
        left: 15px;
        width: 345px;
        height: 199px;
        top: 1617px;
        border-radius: 26px;
    }
    
    /* unikalnya_mob: left: 15px, right: 15px, top: 1922px, height: 258px */
    .plash-mob-unikalnya {
        left: 15px;
        width: 345px;
        height: 258px;
        top: 1823px;
        border-radius: 26px;
    }
    
    /* svedynya_mob: left: 15px, right: 15px, top: 2187px, height: 190px */
    .plash-mob-svedynya {
        left: 15px;
        width: 345px;
        height: 190px;
        top: 2088px;
        border-radius: 26px;
    }
    
    /* Group 124: width: 345.37px, height: 317px, left: 15px, top: 408px */
    .plash-mob-group124 {
        left: 15px;
        width: 345.37px;
        height: 317px;
        top: 309px;
        border-radius: 26px;
    }
    
    .plash-item {
        min-height: clamp(8rem, 35vw, 12rem);
    }
    
    /* ===== События - мобильная адаптация ===== */
    .home-events {
        padding: 2rem 1rem;
    }
    
    .events-title {
        font-size: 1.75rem;
    }
    
    .events-content {
        flex-direction: column;
        gap: 1rem;
    }

    .events-tab-content[data-tab="archive"] .events-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Архив мобилка */
    .archive-preview.desktop-slide {
        display: none;
    }
    .archive-preview.mobile-slide {
        display: block;
    }
    
    .events-slider {
        flex: 1 1 auto;
        width: 100%;
        aspect-ratio: 345 / 194;
    }
    
    /* На мобилке показываем мобильные слайды, скрываем десктопные */
    .event-slide.desktop-slide {
        display: none;
    }
    
    .event-slide.mobile-slide {
        display: block;
    }
    
    .events-video-preview {
        flex: 1 1 auto;
        width: 100%;
        aspect-ratio: 345 / 270;
        margin: 0 auto;
    }
    
    .slider-controls {
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -8rem;
        gap: 1.5rem;
    }
    
    .slider-arrow {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .slider-dots {
        gap: 0.75rem;
    }
    
    .dot {
        width: 0.5rem;
        height: 0.5rem;
    }
    
    .video-preview-play {
        width: 5rem;
        height: 5rem;
    }
    
    /* ===== Видео - мобильная адаптация ===== */
    .home-video {
        padding: 2rem 1rem;
    }
    
    .video-play-btn {
        width: 5rem;
        height: 5rem;
    }
    
    /* ===== Карточки тарифов - мобильная адаптация ===== */
    .edu-methods {
        padding: 2rem 0 1.5rem;
    }

    .edu-methods-container {
        padding: 0 1rem;
    }

    .edu-methods-title {
        font-size: 1.625rem;
        margin-bottom: 1.25rem;
    }

    .edu-methods-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .edu-methods-grid .edu-card:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: 100%;
    }

    .edu-card-inner {
        padding: 1.25rem 1rem;
    }

    .edu-card-title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .edu-card-features li {
        font-size: 0.9375rem;
        margin-bottom: 0.375rem;
    }

    .edu-card-badge {
        font-size: 0.8125rem;
    }

    .edu-card-btn {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
        width: calc(100% - 2rem);
    }

    /* ===== Форма партнерства - мобильная адаптация ===== */
    .home-partnership {
        padding: 2rem 0;
    }
    
    .home-partnership-container {
        padding: 0 1rem;
    }
    
    .partnership-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .partnership-subtitle {
        font-size: 0.875rem;
        margin-bottom: 2rem;
    }
    
    .form-content {
        padding: 0;
    }
    
    .form-inputs input[type="text"],
    .form-inputs input[type="tel"],
    .form-inputs input[type="email"] {
        font-size: 1rem;
        padding: 0.75rem 0;
        margin-bottom: 1.5rem;
    }
    
    .form-bottom {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .form-checkboxes {
        gap: 1rem;
        width: 100%;
    }
    
    .checkbox-label {
        font-size: 0.75rem;
        gap: 0.75rem;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 1rem;
        height: 1rem;
    }
    
    .partnership-submit {
        width: 100%;
        padding: 1rem;
        min-width: auto;
        font-size: 1rem;
    }
    
    /* ===== Подвал - мобильная адаптация ===== */
    .home-footer {
        padding: 2rem 1rem;
    }
    
    .home-footer-container {
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
    }
    
    .footer-company,
    .footer-center,
    .footer-right {
        width: 100%;
        max-width: 100%;
        align-items: flex-start;
    }
    
    .footer-center {
        align-items: flex-start;
    }
    
    .footer-company-text,
    .footer-license {
        text-align: left;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-links a {
        text-align: center;
    }
}

/* ===== Анимации ===== */
@media (prefers-reduced-motion: no-preference) {
    .plash-item {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .home-login-btn,
    .home-nav a {
        transition: all 0.2s ease;
    }
}

/* ============================================================
   СТРАНИЦА ПАРТНЁРСТВО
   ============================================================ */

/* ===== Герой ===== */
.partner-hero {
    width: 100%;
    padding: clamp(3rem, 5vw, 5rem) 0 clamp(2rem, 3vw, 3rem);
    background: #000;
}

.partner-hero-container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.6vw, 3.125rem);
}

.partner-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 4.17vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

/* ===== О компании ===== */
.partner-about {
    width: 100%;
    padding: clamp(2rem, 3vw, 3rem) 0 clamp(3rem, 5vw, 5rem);
    background: #000;
}

.partner-about-container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.6vw, 3.125rem);
}

.partner-about-text {
    max-width: 55rem;
}

.partner-about-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1.04vw, 1.25rem);
    line-height: 1.55;
    color: #fff;
}

.partner-about-text p {
    margin: 0 0 1.5em;
}

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

/* ===== Преимущества ===== */
.partner-advantages {
    width: 100%;
    padding: clamp(2rem, 4vw, 4rem) 0 clamp(3rem, 6vw, 6rem);
    background: #000;
}

.partner-advantages-container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.6vw, 3.125rem);
}

.partner-advantages-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 2.92vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 clamp(2rem, 3vw, 3rem);
}

/* Единый грид всех 7 карточек — 4 колонки */
.partner-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
}

/* Карточка — картинка как фон всей карточки, текст поверх */
/* Figma: верхний ряд 447×570px, нижний ряд 447×807px, border-radius 70px */
.partner-card {
    border: 5px solid #999;
    border-radius: clamp(2rem, 3.646vw, 4.375rem);
    overflow: hidden;
    position: relative;
    aspect-ratio: 447 / 570;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Картинка — занимает нижнюю часть карточки (верхний ряд: снизу-справа) */
/* Figma: изображение 395×395px в карточке 447×570px, начинается с ~57% высоты */
.partner-card-media {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 95%;
    z-index: 0;
    pointer-events: none;
}

.partner-card-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
    display: block;
}

/* Текст поверх */
.partner-card-content {
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 2.5vw, 3.75rem) clamp(1.25rem, 2vw, 3.75rem);
    flex: 0 0 auto;
}

.partner-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 1.46vw, 1.75rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 clamp(0.75rem, 1.25vw, 1.5rem);
}

.partner-card-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.8125rem, 0.94vw, 1rem);
    line-height: 1.5;
    color: #fff;
    margin: 0;
}

.partner-card-desc p {
    margin: 0 0 1em;
}

.partner-card-desc p:last-child {
    margin: 0;
}

/* Нижний ряд — картинка сверху-слева, текст на фиксированной высоте */
/* Figma: изображение 395×395px в карточке 447×807px, начинается сверху-слева */
.partner-card--media-top {
    aspect-ratio: unset;
    height: auto;
    overflow: hidden;
    justify-content: flex-start;
}

.partner-card--media-top .partner-card-content {
    margin-top: 62%;
}

.partner-card--media-top .partner-card-media {
    top: 0;
    left: 0;
    bottom: auto;
    right: auto;
    width: 100%;
    height: 85%;
}

.partner-card--media-top .partner-card-icon {
    object-position: left top;
}

/* ===== Адаптив (планшет 481–1200px) ===== */
@media (min-width: 481px) and (max-width: 1200px) {
    .partner-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-card-title {
        font-size: 1.25rem;
    }

    .partner-card-desc {
        font-size: 0.9375rem;
    }
}

/* ===== Адаптив (мобилка ≤480px) ===== */
@media (max-width: 480px) {
    .partner-hero-title {
        font-size: clamp(2rem, 9vw, 2.5rem);
    }

    .partner-about-container {
        margin-left: 0;
    }

    .partner-about-text {
        max-width: 100%;
    }

    .partner-about-text {
        font-size: 1rem;
    }

    .partner-advantages-title {
        font-size: 1.75rem;
    }

    .partner-cards-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        border-radius: 1.875rem;
        border-width: 3px;
        aspect-ratio: 3 / 4;
    }

    .partner-card--media-top {
        aspect-ratio: unset;
        height: auto;
        overflow: hidden;
    }

    .partner-card-title {
        font-size: 1.125rem;
    }

    .partner-card-desc {
        font-size: 0.875rem;
    }
}

/* Пазл «Бизнес-инструменты» — чуть меньше только на мобилке */
@media (max-width: 768px) {
    .partner-card-icon--puzzle,
    .partner-card-media img[src*="puzlyimg"] {
        transform: scale(0.82);
        transform-origin: left top;
    }
}
