@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Montserrat:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'JakobTT';
    src: url('../fonts/jakobtt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base Design System */
:root {
    /* Colors */
    --color-primary: #F26522;
    --color-primary-hover: #D8561A;
    --color-accent: #F8CC56;
    --color-text: #333333;
    --color-dark: #232323;
    --color-dark-alt: #2D2525;
    --color-bg: #FDF8EF;
    --color-bg-alt: #F9F0DF;
    --color-bg-light: #FFFBF0;
    --color-white: #ffffff;
    --color-white-alt: #FFFCF2;
    --color-gray: #666666;

    /* Spacing scale */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 20px;
    --space-24: 24px;
    --space-xl: 30px;
    --space-xxl: 40px;
    --space-xxxl: 50px;
    --space-section: 80px;
    --space-huge: 100px;

    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'JakobTT', sans-serif;

    /* Layout */
    --header-height: 90px;
    --container-width: 1240px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-section) 0;
}

/* Typography */
h1,
h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 40px;
    margin-bottom: var(--space-xxl);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Navigation */
.header {
    width: 100%;
    background: var(--color-dark-alt);
    padding: var(--space-lg) 0;
    z-index: 1000;
    transition: var(--transition);
}

.header__bg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white-alt);
    border-radius: var(--radius-xs);
    padding: var(--space-sm) var(--space-lg);
    width: calc(100% - 40px);
    margin: 0 auto;
}

.header.scrolled {
    padding: var(--space-sm) 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: var(--space-24);
}

.header__logo img {
    height: 45px;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__nav-list {
    display: flex;
    gap: var(--space-xl);
}

.header__nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-dark);
    position: relative;
}

.header__nav-link:hover {
    color: var(--color-primary);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.header__search-btn,
.header__accessibility-btn {
    display: none;
}

.header__actions a {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Button (Burger) */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.header__burger span {
    width: 25px;
    height: 2px;
    background: var(--color-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    overflow: hidden;
}

.hero__slider {
    width: 100%;
    height: 100%;
}

.hero__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    height: 100%;
}

.hero__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    position: relative;
    background-image: url('../images/hero__slide_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    /* background-image removed as per request */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    opacity: 0.15;
    pointer-events: none;
}

.hero__container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
}

.hero__content {
    flex: 0 0 56%;
    max-width: 56%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--space-section);
    padding-bottom: var(--space-xxxl);
}

.hero__pagination {
    display: flex;
    bottom: var(--space-xxl);
    left: 50%;
    transform: translateX(-50%);
    gap: var(--space-md);
    z-index: 10;
}


.hero__title {
    vertical-align: middle;
    color: var(--color-accent);
    font-size: 60px;
    font-family: 'JakobTT', Arial, sans-serif;
    line-height: 1.2;
    font-weight: 700;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin-bottom: var(--space-xl);
}

.title_jakob {
    color: var(--color-accent) !important;
    font-weight: 900;
}

.section-title {
    font-family: 'JakobTT', Arial, sans-serif;
    color: var(--color-white);
    font-size: 38px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    text-transform: none;
    line-height: 1.2;
}

.section-title_news,
.section-title_club-audience,
.section-title_club-experts,
.section-title_club-features,
.section-title_club-work,
.section-title_system-diagnostic-alt {
    padding: var(--space-md) var(--space-xxxl);
    background-image: url('../images/title_news_main_page_bg.svg');
}

.section-title_grants {
    padding: var(--space-md) var(--space-xxxl);
    background-image: url(../images/grants_title_bg.svg);
}

.section-title_forum {
    font-size: 46px;
    padding: var(--space-xs) var(--space-xxxl);
    background-image: url(../images/forum-sot__title.svg);
}

.section-title_products,
.section-title_audience {
    padding: 8px 32px;
    background-image: url(../images/products__title.png);
    width: fit-content;
}

.section-title_globe {
    padding: 10px 73px var(--space-xs) 57px;
    background-image: url("../images/globe__title_bg.svg");
    width: fit-content;
}

.section-title_partners {
    padding: 10px 48px 6px 57px;
    background-image: url("../images/partners__title.svg");
    width: fit-content;
}

.section-title_competency-directions {
    padding: 8px 50px;
    background-image: url('../images/directions__title_bg.png');
}

.section-title_system-diagnostic {
    font-size: 32px;
    padding: 9px 66px 7px 40px;
    background-image: url('../images/system-diagnostic__title_bg.png');
    display: block;
    width: fit-content;
    margin-bottom: 40px;
}

.section-title_team {
    padding: 13px 60px 11px;
    background-image: url(../images/team__title_bg.png);
    background-size: contain;
    display: inline-block;
    margin-bottom: 40px;

}

.hero__features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-xxl);
    margin-bottom: var(--space-xxl);
}

.hero__features-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-white);
    font-weight: 500;
}

.hero__feature-icon {
    width: 24px;
    height: 24px;
    background-image: url('../images/slider_gex.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hero__actions {
    display: flex;
    gap: var(--space-lg);
}

.hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 45vw;
    /* Takes up the right side extending to the edge */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Align image towards the right */
    z-index: 1;
}

.hero__img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Floating Socials */
.social-float {
    position: fixed;
    right: 15px;
    top: 75%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    z-index: 100;
    border-radius: var(--radius-sm);
    background-color: #6f6d6d;
    padding: var(--space-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}


.social-float__link {
    width: 36px;
    height: 36px;
    background-color: var(--color-accent);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-float__link:hover {
    transform: scale(1.1);
    background-color: var(--color-white);
}

.social-float__link svg,
.social-float__link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-5px);
}



/* Hero Nav */
.hero__nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.hero__nav-btn:hover {
    background-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.hero__nav-btn_prev {
    left: 49px;
    background-image: url('../images/slider_arrow_left.svg');
}

.hero__nav-btn_next {
    right: 49px;
    background-image: url('../images/slider_arrow_right.svg');
}

.hero__pagination {
    position: absolute;
    bottom: var(--space-xxl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-md);
    z-index: 10;
}

.hero__pagination-dot {
    width: 16px;
    height: 16px;
    background-image: url('../images/slider_gex_dots.svg');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: var(--transition);
}

.hero__pagination-dot.active {
    background-image: url('../images/slider_gex_dots_active.svg');
}

/* Buttons Re-styling */
.btn {
    display: inline-block;
    padding: var(--space-md) 36px;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn_primary {
    background: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
    line-height: 1.3;
    font-weight: 500;
    padding: var(--space-sm) 32px;
    width: fit-content;
}

.btn_primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #232323;
}

/* Mobile Menu Styles (New Drawer) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.3s;
}

.mobile-menu.active {
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 35, 35, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active .mobile-menu__overlay {
    opacity: 1;
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background-color: var(--color-white-alt);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-menu.active .mobile-menu__panel {
    right: 0;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-xxxl);
}

.mobile-menu__logo img {
    height: 50px;
}

.mobile-menu__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    padding: 5px;
    margin-right: -5px;
}

.mobile-menu__nav {
    flex-grow: 1;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-menu__link {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu__link_dropdown {
    gap: var(--space-xs);
}

.mobile-menu__footer {
    margin-top: auto;
    padding-top: var(--space-xl);
}

.mobile-menu__socials {
    display: flex;
    gap: var(--space-md);
}

.mobile-menu__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-menu__social-link:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-3px);
}

.mobile-menu__social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* News Section Improvements */
.news__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xxxl);
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.news__card {
    background: #ffffff00;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: none;
    gap: var(--space-lg)
}

.news__card-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.news__card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news__card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    line-height: 1;
    font-weight: 500;
    font-family: 'Montserrat';
    background-color: var(--color-accent);
    border-radius: 30px;
    display: inline-block;
    padding: var(--space-xs) var(--space-xs);
    color: var(--color-dark);
    font-size: 10px;
}

.news__card-info {
    padding: 0px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news__card-date {
    font-size: 14px;
    color: var(--color-dark-alt);
    margin-bottom: 15px;
}

.news__card-info h3 {
    font-size: 16px;
    line-height: 1.3;
    color: var(--color-dark);
    font-weight: 400;
    font-family: 'Montserrat';
    text-transform: none;
    margin-bottom: 15px;
}

.news__card-info p {
    font-size: 15px;
    color: var(--color-gray);
    margin-bottom: 25px;
    line-height: 1.5;
}

.news__link {
    margin-top: auto;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.news__link:hover {
    text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-gray);
    font-family: 'Montserrat', sans-serif;
}

.breadcrumbs a {
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span {
    color: var(--color-gray);
}

/* News Page Filters */
.news-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 60px;
}

.news-filter {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background-color: #FDF9EE;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--color-dark);
}

.news-filter:hover {
    background-color: #f7f1e1;
    transform: translateY(-2px);
}

.news-filter.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.news-filter img,
.news-filter svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.news-filter span {
    line-height: 1.2;
}

.news-page {
    padding-top: 160px;
    padding-bottom: 100px;
    background-color: var(--color-bg-light);
}

@media (max-width: 991px) {
    .news__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* Section Header Decor */
.section__header {
    position: relative;
    margin-bottom: 60px;
    z-index: 1;
}

.section__header h2 {
    font-size: 42px;
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* Courses Section */
.courses {
    background-color: var(--color-dark-alt);
    padding: var(--space-section) 0;
    color: var(--color-white);
}

.courses__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.courses__title {
    color: #2D2525;
    background-image: none;
    padding: 0;
    margin-bottom: 0px;
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.course-card {
    background-color: var(--color-white-alt);
    padding: 0px;
    text-align: left;
    transition: var(--transition);
    border: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* Empty rule removed */

.course-card__number {
    color: var(--color-accent);
    font-family: JakobTT;
    font-weight: 700;
    font-size: 40px;
    line-height: 110.00000000000001%;
    vertical-align: middle;
    padding: 15px 13px 0px 15px;
    margin-bottom: var(--space-lg);
}

.course-card__text {
    color: var(--color-dark);
    font-weight: 500;
    line-height: 130%;
    font-size: 16px;
    padding: 0px 13px 15px 15px;
    min-height: 145px;
}

.course-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card__action {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: calc(100% - 30px);
}

.course-card__action a {
    width: 100%;
}

/* Expeditions Section (Map) */
.expeditions {
    background-color: var(--color-dark);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.expeditions__map {
    position: relative;
    width: 100%;
    margin-top: var(--space-xl);
}

@media (max-width: 991px) {
    .expeditions__map {
        height: 400px;
    }
}


/* Grants Section Update */
.grants {
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.grants__title {
    background-image: url(../images/grants_title_bg.svg);
}

.grants__subtitle {
    vertical-align: middle;
    color: var(--color-dark);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin-top: var(--space-xxl);
}

.grants__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.grants__list-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 16px;
    line-height: 130%;
    padding-left: 26px;
    background-image: url(../images/grants_list_icon.svg);
    background-repeat: no-repeat;
    background-position: 0px 5px;
}

.grants__footer {
    margin-top: var(--space-24);
    display: flex;
    gap: var(--space-xxl);
    flex-wrap: wrap;
}

.grants__tag {
    margin-top: var(--space-24);
    background-image: url(../images/slider_gex.svg);
    background-repeat: no-repeat;
    background-position: 0px center;
    padding-left: 28px;
    font-weight: 600;
    color: var(--color-dark);
    /* Added for consistency, links should be readable */
    text-decoration: none;
}

.grants__action {
    margin-top: var(--space-xxxl);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.grants__hex-wrapper {
    position: relative;
    width: 100%;
    max-width: 588px;
    min-height: 522px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/grants_gex_bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.grants__hex {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition);
}

.grants__hex_1 {
    width: 380px;
    height: 440px;
    z-index: 1;
    padding: 0;
    transition: var(--transition);
}

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

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

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

.grants__hex_2 {
    bottom: 0px;
    left: calc(50% - 230px);
    background-color: var(--color-primary);
    z-index: 2;
    width: 268px;
    min-height: 293px;
    color: var(--color-white-alt);
    transition: var(--transition);
}

.grants__hex_3 {
    bottom: 40px;
    left: calc(50% - -20px);
    background-color: var(--color-accent);
    color: var(--color-dark);
    z-index: 3;
    width: 255px;
    min-height: 271px;
    transition: var(--transition);
}

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

.grants__hex-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    padding: 0 20px;
    margin-bottom: 15px;
}

.grants__hex-number {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white);
}

/* Removed incorrect img selector */

/* =============================================
   Club Page Hero
   ============================================= */
.club-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    background-color: var(--color-dark-alt);
    background-image: url('../images/hero__slide_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.club-hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.club-hero__content {
    flex: 0 0 50%;
    max-width: 600px;
}

.club-hero__title {
    font-size: 60px;
    font-family: 'JakobTT', Arial, sans-serif;
    color: var(--color-accent);
    margin-bottom: var(--space-xl);
    line-height: 1.2;
}

.club-hero__subtitle-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.club-hero__subtitle-icon {
    width: 24px;
    height: 24px;
    background-image: url('../images/slider_gex.svg');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.club-hero__subtitle-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    font-family: 'Montserrat', sans-serif;
}

.club-hero__description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 45px;
    line-height: 1.6;
    max-width: 500px;
}

.club-hero__visual {
    flex: 0 0 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

/* Hex Cluster for Club Hero */
.club-hero__hex-group {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 500px;
}

.club-hero__hex {
    position: absolute;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    background-color: var(--color-accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.club-hero__hex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Base positioning for desktop */
.club-hero__hex_main {
    width: 320px;
    height: 370px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.club-hero__hex_top {
    width: 220px;
    height: 255px;
    top: 0;
    right: 40px;
    z-index: 1;
}

.club-hero__hex_bottom {
    width: 240px;
    height: 275px;
    bottom: 0;
    right: 20px;
    z-index: 3;
}

/* =============================================
   Club Audience Section
   ============================================= */
.club-audience {
    padding: var(--space-section) 0;
    background-color: #fdfaf3;
    /* Warm light beige from screenshot */
}

.club-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.club-audience__card {
    background-color: #23201d;
    /* Dark theme for cards */
    border-radius: 20px;
    padding: 40px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.club-audience__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.club-audience__card-num {
    display: block;
    font-size: 48px;
    font-family: 'JakobTT', Arial, sans-serif;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 20px;
}

.club-audience__card-text {
    font-size: 16px;
    color: var(--color-white);
    line-height: 1.5;
    margin-bottom: 30px;
}

.club-audience__card-image {
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.club-audience__card-image img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

/* =============================================
   Club Experts Section
   ============================================= */
.club-experts {
    padding: var(--space-section) 0;
    background-color: #23201d;
    /* Тёмный фон из макета */
}

.club-experts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.club-experts__card {
    display: flex;
    flex-direction: column;
}

.club-experts__card.hidden {
    display: none;
}

.club-experts__card-img {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.club-experts__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-experts__card-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.club-experts__card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.club-experts__footer {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* Club Features Footer */
.club-features {
    padding-bottom: 100px;
}

.club-features__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    gap: 40px;
}

.club-features__footer-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.4;
    max-width: 600px;
}

/* Club Work Section */
.club-work {
    background-color: var(--color-dark-alt);
    overflow: hidden;
}

.club-work__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    border-bottom: 1px solid #7a7a7a;
    padding: var(--space-section) 0;
}

.club-work__content {
    flex: 0 0 50%;
}

.club-work__list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.club-work__item {
    position: relative;
    color: var(--color-white);
    font-size: 16px;
    line-height: 130%;
    padding-left: 26px;
    background-image: url(../images/grants_list_icon.svg);
    background-repeat: no-repeat;
    background-position: 0px 5px;
}

.club-work__action {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.club-work__visual {
    flex: 0 0 45%;
    position: relative;
}

.club-work__hex-group {
    position: relative;
    width: 100%;
    height: 450px;
}

.club-work__hex {
    position: absolute;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.club-work__hex_image {
    width: 320px;
    height: 370px;
    top: 0;
    right: 0;
    z-index: 2;
}

.club-work__hex_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-work__hex_info {
    width: 250px;
    height: 290px;
    background-color: var(--color-accent);
    top: 100px;
    right: 210px;
    z-index: 3;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.club-work__hex-check {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 15px;
}

.club-work__hex-text {
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.4;
}

/* Decorative hexagons */
.club-work__hex_decor {
    position: absolute;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: transparent;
    border: 2px solid var(--color-primary);
}

.club-work__hex_decor-1 {
    width: 80px;
    height: 92px;
    top: -20px;
    right: 320px;
    border-color: var(--color-accent);
}

.club-work__hex_decor-2 {
    width: 60px;
    height: 69px;
    bottom: 20px;
    right: 180px;
    background: var(--color-primary);
    border: none;
}

.club-work__hex_decor-3 {
    width: 100px;
    height: 115px;
    top: 50px;
    right: -40px;
    opacity: 0.3;
}

.footer {
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    padding: var(--space-section) 0 var(--space-xxl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

.footer__col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--color-accent);
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

/* Removed empty ruleset */

.footer__nav-link {
    display: flex;
    color: var(--color-white-alt);
    text-decoration: none;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    padding: 2px 0px;
}

.footer__nav-link:hover {
    color: var(--white);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__contact p {
    display: flex;
    color: var(--color-white-alt);
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    padding: 2px 0px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    position: relative;
}

.footer__bottom p {
    vertical-align: middle;
    color: #7a7a7a;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    text-align: center;
    padding: 0px;
    margin: 0px;
    border: 0px;
    max-width: 752px;
}

.footer__bottom::before {
    content: '12+';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #7a7a7a;
    border-radius: 3000px;
    background-color: #7a7a7a;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    position: absolute;
    bottom: 0;
    right: 0;
}

@media (max-width: 991px) {

    .expeditions-grid,
    .podcast-main-card,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
}

/* VK Section */
.vk-section {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.vk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .vk-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Partners Section */
.partners-section {
    background-color: var(--color-bg-alt);
    padding: 100px 0;
}

.partners-tabs {
    display: flex;
    gap: var(--space-xxl);
    margin-bottom: var(--space-xxxl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0;
}

.partners-tab {
    padding: 15px 0;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    color: var(--gray);
    transition: var(--transition);
}

.partners-tab:hover {
    color: var(--color-primary);
}

.partners-tab.active {
    color: var(--color-primary);
}

.partners-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.partner-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 767px) {
    .partners-tabs {
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* Expeditions Section */
.expeditions {
    background: var(--color-dark-alt);
}

.expeditions__intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xxl);
    margin-bottom: var(--space-xxl);
}

.expeditions__text {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    max-width: 800px;
    margin: 0;
}

.expeditions__map {
    width: 100%;
    height: 775px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0px;
}

@media (max-width: 767px) {
    .expeditions__intro {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
    }

    .expeditions__map {
        height: 350px;
    }
}

.uppercase {
    text-transform: uppercase;
}



/* Forum SOT Section */
.forum-sot {
    padding: var(--space-section) 0;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.forum-sot__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xxxl);
    flex-wrap: wrap;
    gap: var(--space-xl);
}


.forum-sot__nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.forum-sot__year {
    font-size: 16px;
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: color 0.3s ease;
}

.forum-sot__year::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url('../images/slider_gex.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.forum-sot__year:hover {
    color: #F15A24;
}

.forum-sot__button {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-xl);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: var(--radius-xs);
    transition: background-color 0.3s ease;
}

.forum-sot__button:hover {
    background-color: var(--color-primary-hover);
}

.forum-sot__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xxxl);
    align-items: stretch;
}

.forum-sot__left {
    display: flex;
    flex-direction: column;
}

.forum-sot__item {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    padding: 18px 0;
    border-bottom: 6px solid rgba(220, 210, 190, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.forum-sot__item.active {
    border-bottom: 6px solid var(--color-accent);
}

.forum-sot__item-value {
    font-size: 52px;
    color: var(--color-primary);
    font-weight: 400;
    line-height: 1;
    min-width: 90px;
}

.forum-sot__item-text {
    font-size: 15px;
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.4;
}

.forum-sot__right {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.forum-sot__image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-white);
}

.forum-sot__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.forum-sot__image-text {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    background-color: #FFFDF8;
    padding: 25px 35px;
    border-radius: var(--radius-sm);
    color: var(--color-dark);
    font-size: 15px;
    line-height: 1.6;
    transition: opacity 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.forum-sot__image.fade,
.forum-sot__image-text.fade {
    opacity: 0;
}

@media (max-width: 991px) {
    .forum-sot__content {
        grid-template-columns: 1fr;
    }

    .forum-sot__header {
        justify-content: center;
    }

    .forum-sot__nav {
        justify-content: center;
    }
}


/* =============================================
   Клуб управленцев Section
   ============================================= */
.club-upravlencev {
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.club-upravlencev__container {
    position: relative;
}

/* Верхняя строка: заголовок слева + CTA справа */
.club-upravlencev__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xxl);
    position: relative;
    z-index: 2;
}

.club-upravlencev__intro {
    flex: 1;
}

.club-upravlencev__title {
    font-family: 'JakobTT', Arial, sans-serif;
    color: var(--color-white);
    font-size: 46px;
    font-weight: 400;
    line-height: 1;
    background-image: url(../images/club-upravlencev__title.svg);
    background-repeat: no-repeat;
    padding: var(--space-xs) 56px;
    width: fit-content;
    font-size: 40px;
}

.club-upravlencev__subtitle {
    font-size: 22px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding-left: 10px;
    line-height: 1.4;
}

/* CTA-блок: прямоугольник с оранжевой рамкой */
.club-upravlencev__cta {
    position: relative;
    width: 100%;
    max-width: 438px;
}

.club-upravlencev__cta_info {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    width: 100%;
    max-width: calc(100% - 60px);
    padding: 35px 30px;
    text-align: center;
}

.club-upravlencev__cta-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.4;
    margin-bottom: var(--space-xl);
}

.club-upravlencev__cta-btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-xs);
    transition: background-color 0.3s ease;
}

.club-upravlencev__cta-btn:hover {
    background-color: var(--color-primary-hover);
}

/* Нижняя строка: картинка парня + список */
.club-upravlencev__bottom {
    display: flex;
    align-items: flex-end;
    gap: 0;
    position: relative;
    z-index: 1;
    margin-top: -90px;
}



/* Картинка парня — вырастает снизу */
.club-upravlencev__visual {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: absolute;
    bottom: 0px;
    z-index: 0;
    width: 100%;
}

.club-upravlencev__image {
    width: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* Белая карточка со списком — перекрывает нижний правый блок */
.club-upravlencev__features {
    background-color: #FFFDF8;
    background-image: url('../images/club-upravlencev__features.svg');
    background-repeat: no-repeat;
    background-position-y: 80%;
    background-position-x: calc(100% - 27px);
    background-size: 64px;
    border-radius: var(--radius-md);
    padding: 32px 72px 32px 32px;
    position: relative;
    align-self: flex-end;
    width: 100%;
    max-width: 455px;
    margin: 0px 260px 0px auto;
}

.club-upravlencev__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.club-upravlencev__list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.4;
}

/* Иконка-гексагон через clip-path */
.club-upravlencev__list-icon {
    flex-shrink: 0;
    width: 18px;
    height: 21px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin-top: 1px;
}

/* =============================================
   Адаптив для Клуба управленцев
   ============================================= */


/* =============================================
   Продукты и проекты Section
   ============================================= */
.products {
    padding: var(--space-section) 0;
    background-color: var(--color-bg-light);
}

.products__header {
    margin-bottom: var(--space-xxxl);
}


/* Сетка 3 × 2 */
.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* Карточка */
.products__card {
    background-color: #FFF3D3;
    border: 1px solid #DDB483;
    border-radius: var(--radius-md);
    padding: var(--space-xxl) var(--space-xl) 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

/* Гексагональная иконка */
.products__card-icon {
    width: 76px;
    height: 88px;
    background-color: var(--color-primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.products__card-icon svg {
    width: 36px;
    height: 36px;
}

.products__card-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    color: var(--color-dark-alt);
}

.products__card-desc {
    color: var(--color-dark-alt);
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    text-align: center;
}


/* =============================================
   Будьте с нами ВКонтакте Section
   ============================================= */
.vk-section {
    padding: var(--space-section) 0;
    background-color: var(--color-dark);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Header */
.vk-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xxxl);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.vk-section__title {
    font-family: 'JakobTT', Arial, sans-serif;
    color: var(--color-white);
    font-size: 40px;
    font-weight: 400;
    padding: var(--space-xs) 52px;
    margin: 0;
    line-height: 1;
    background-image: url("../images/vk-section__title_bg.svg");
    background-repeat: no-repeat;
    width: fit-content;
}

.vk-section__button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 9px 24px;
    text-decoration: none;
    border-radius: var(--radius-xs);
    transition: background-color 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    vertical-align: middle;
    min-width: 278px;
    justify-content: center;
}

.vk-section__button:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-dark);
}

.vk-section__button-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Content: две колонки */
.vk-section__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xxxl);
    align-items: stretch;
}

/* Left: хэштег-табы */
.vk-section__left {
    display: flex;
    flex-direction: column;
}

.vk-section__item {
    padding: 18px 0;
    border-bottom: 6px solid #DDB48333;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease, border-color 0.3s ease;
    line-height: 1.4;
}

.vk-section__item:hover {
    color: rgba(255, 255, 255, 0.9);
}

.vk-section__item.active {
    color: var(--color-white);
    border-bottom-color: var(--color-accent);
    border-bottom-width: 6px;
}

/* Right: изображение */
.vk-section__right {
    border-radius: 12px;
    overflow: hidden;
}

.vk-section__image-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.vk-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
    display: block;
}

.vk-section__image-text {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    background-color: #FFFDF8;
    padding: 18px 28px;
    border-radius: var(--radius-xs);
    color: var(--color-dark);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    transition: opacity 0.4s ease;
}

.vk-section__image.fade,
.vk-section__image-text.fade {
    opacity: 0;
}

/* =============================================
   Глобус образования Section
   ============================================= */
.globe {
    padding: var(--space-section) 0;
    background-color: var(--color-bg-light);
    overflow: hidden;
    background-image: url(../images/globe_bg.svg);
    background-repeat: no-repeat;
    background-position: 83% 40%;
}

.globe__container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
}

/* Left content */
.globe__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.globe__desc {
    color: var(--color-dark);
    padding-left: 4px;
    margin-top: 60px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
}

.globe__btn {
    display: flex;
    background-color: var(--color-accent);
    color: var(--color-dark);
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    border-radius: var(--radius-xs);
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    vertical-align: middle;
    margin-top: var(--space-lg);
}

/* Right visual */
.globe__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

/* Большой центральный гексагон */
.globe__hex-main {
    width: 400px;
    height: 460px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    background-color: var(--color-accent);
    position: relative;
    z-index: 1;
}

.globe__hex-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Декоративные гексагоны */
.globe__hex-decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

/* Маленький контурный (оранжевый) — слева сверху */
.globe__hex-decor_outline-sm {
    width: 70px;
    height: 82px;
    top: 30px;
    left: -10px;
}

/* Маленький сплошной (оранжевый) — справа снизу */
.globe__hex-decor_solid-sm {
    width: 55px;
    height: 65px;
    bottom: 20px;
    right: 10px;
    z-index: 2;
}

/* Маленький контурный жёлтый — сверху по центру */
.globe__hex-decor_outline-top {
    width: 48px;
    height: 56px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* =============================================
   Наши партнёры Section
   ============================================= */
.partners {
    padding: var(--space-section) 0;
    background-color: var(--color-bg-light);
}

/* Header: title + filters в одну строку */
.partners__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
    margin-bottom: var(--space-xxxl);
    flex-wrap: wrap;
}


/* Фильтр-табы */
.partners__filters {
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}


.partners__filter {
    background: none;
    border: none;
    padding: var(--space-xs) var(--space-24);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gray);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.partners__filter::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.partners__filter.active {
    color: var(--color-dark);
    font-weight: 700;
}

.partners__filter.active::after {
    transform: scaleX(1);
}

.partners__filter:hover {
    color: var(--color-dark);
}

/* Сетка карточек 6 × N */
.partners__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

/* Карточка партнёра */
.partners__card {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) var(--space-md);
    min-height: 100px;
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.3s ease;
}

.partners__card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

/* Скрытые карточки во время фильтра */
.partners__card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    position: absolute;
    visibility: hidden;
}

.partners__card-logo {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* Кнопка внизу */
.partners__footer {
    display: flex;
    justify-content: center;
}

.partners__btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 14px 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-xs);
    border: 0px;
    cursor: pointer;
}

.partners__btn:hover {
    background-color: var(--color-primary-hover);
}

/* =============================================
   Competency Main Hero (formerly Club Hero)
   ============================================= */
.competency-main {
    position: relative;
    background-color: var(--color-dark-alt);
    background-image: url('../images/hero__slide_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
}

.competency-main__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.competency-main__content {
    flex: 0 0 50%;
    max-width: 600px;
}

.competency-main__actions {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    flex-direction: column;
}

.competency-main__title {
    font-size: 40px;
    font-family: 'Montserrat', sans-serif;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.competency-main__subtitle-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 90px;
}

.competency-main__subtitle-icon {
    width: 24px;
    height: 24px;
    background-image: url('../images/slider_gex.svg');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.competency-main__subtitle-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    font-family: 'Montserrat', sans-serif;
}

.competency-main__visual {
    flex: 0 0 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.competency-main__hex-group {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.competency-main__hex-group>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom
}

.competency-main__hex-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.competency-main__hex {
    position: absolute;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    background-color: var(--color-accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.competency-main__hex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.competency-main__hex_main {
    width: 320px;
    height: 370px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.competency-main__hex_top {
    width: 220px;
    height: 255px;
    top: 0;
    right: 40px;
    z-index: 1;
}

.competency-main__hex_bottom {
    width: 240px;
    height: 275px;
    bottom: 0;
    right: 20px;
    z-index: 3;
}

/* =============================================
   Competency Directions Section
   ============================================= */
.competency-directions {
    padding: var(--space-section) 0;
    background-color: #fdfaf3;
}


.competency-directions__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.competency-card {
    background-color: #FFF3D3;
    border: 1px solid #DDB483;
    border-radius: var(--radius-md);
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.competency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(221, 180, 131, 0.3);
}

.competency-card__icon-wrap {
    width: 60px;
    height: 68px;
    background-color: #ec652b;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.competency-card__num {
    color: var(--color-white);
    font-size: 24px;
    font-family: 'JakobTT', Arial, sans-serif;
    font-weight: 700;
}

.competency-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark-alt);
    margin-bottom: 12px;
    line-height: 1.2;
}

.competency-card__desc {
    font-size: 14px;
    color: var(--color-dark-alt);
    line-height: 1.5;
    margin: 0;
    max-width: 90%;
}

/* Brush Decorator */


/* =============================================
   System Diagnostic Section
   ============================================= */
.system-diagnostic {
    padding: var(--space-section) 0;
    background-color: var(--color-bg);
    overflow: hidden;
}

.system-diagnostic__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.system-diagnostic__content {
    flex: 0 0 55%;
}


.system-diagnostic__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.system-diagnostic__item {
    position: relative;
    padding-left: 28px;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-dark-alt);
}

.system-diagnostic__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 16px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.system-diagnostic__note {
    padding: 24px 40px 23px 43px;
    position: relative;
    max-width: 675px;
    background-image: url(../images/system-diagnostic__note_bg.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
}

.system-diagnostic__note p {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-dark-alt);
    margin: 0;
}

.system-diagnostic__visual {
    flex: 0 0 45%;
}

.system-diagnostic__visual-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.system-diagnostic__bg-shapes {
    width: 100%;
    height: auto;
    display: block;
}

.system-diagnostic__girl {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    height: auto;
    z-index: 2;
}

/* Diagnostic 6K */
.diagnostic-6k {
    padding: var(--space-section) 0;
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    overflow: hidden;
    position: relative;
}

.diagnostic-6k__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.diagnostic-6k__content {
    flex: 0 0 50%;
}

.diagnostic-6k__title {
    font-family: 'JakobTT', Arial, sans-serif;
    background-image: url('../images/diagnostic-6k__title.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 10px 55px;
    color: var(--color-white);
    font-size: 32px;
    margin-bottom: 25px;
    display: block;
    width: fit-content;
    line-height: 1.2;
}

.diagnostic-6k__subtitle {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.4;
    max-width: 500px;
}

.diagnostic-6k__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.diagnostic-6k__item {
    position: relative;
    padding-left: 28px;
    line-height: 1.5;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.diagnostic-6k__item strong {
    color: var(--color-white);
    font-weight: 700;
}

.diagnostic-6k__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 16px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.diagnostic-6k__visual {
    flex: 0 0 45%;
}

.diagnostic-6k__visual-inner {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagnostic-6k__img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.diagnostic-6k__hex-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background-image: url('../images/globe_bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15;
    pointer-events: none;
}

/* =============================================
   Team Section
   ============================================= */
.team {
    padding: var(--space-section) 0;
    background-color: var(--color-bg);
}


.team__subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-dark-alt);
    margin-bottom: 60px;
    line-height: 1.4;
}

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

.team__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.team__hex-wrap {
    position: relative;
    width: 100%;
    max-width: 320px;
    min-height: 320px;
    margin-bottom: 25px;
}

.team__info-marker {
    position: absolute;
    top: 5px;
    left: 20px;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.team__hex {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.team__card:hover .team__hex {
    transform: scale(1.02);
}

.team__hex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.team__hex_silhouette {
    background: #FF9D33;
}

.silhouette-placeholder {
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32' fill='none'%3E%3Cpath d='M12 16C15.866 16 19 12.866 19 9C19 5.13401 15.866 2 12 2C8.13401 2 5 5.13401 5 9C5 12.866 8.13401 16 12 16Z' fill='%23232323' opacity='0.8'/%3E%3Cpath d='M2 30C2 23.3726 7.37258 18 14 18H10C16.6274 18 22 23.3726 22 30V32H2V30Z' fill='%23232323' opacity='0.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 60% auto;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.team__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark-alt);
    line-height: 1.3;
    max-width: 200px;
    margin: 0 auto;
}

/* =============================================
   Audience Section
   ============================================= */
.audience {
    padding: var(--space-section) 0;
    background-color: var(--color-bg);
}

.section-title_audience {
    margin-bottom: 50px;
    text-align: left;
    background-image: url("../images/section-title_audience_bg.png");
}

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

.audience__card {
    background-color: var(--color-white);
    border: 1px solid #FDF2D0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

.audience__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 37, 37, 0.08);
}

.audience__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1.6;
    overflow: hidden;
    border-radius: 8px;
}

.audience__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.audience__content {
    padding: 0px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.audience__content p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-dark-alt);
    margin: 0;
}

/* Team Modal */
.modal-team {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-team__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(35, 35, 35, 0.7);
    backdrop-filter: blur(5px); */
}

.modal-team__container {
    position: relative;
    background-color: var(--color-white-alt);
    width: 100%;
    max-width: 1200px;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--color-accent);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 90vh;
}

.modal-team__close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-team__close:hover {
    transform: rotate(90deg);
}

.modal-team__header {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-bottom: 32px;
}

.modal-team__avatar {
    width: 100%;
    height: 100%;
    max-width: 100px;
    max-height: 100px;
    flex-shrink: 0;
}

.modal-team__avatar img {
    width: 100%;
    height: auto;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.modal-team__name {
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
}

.modal-team__grid {
    column-count: 2;
    column-gap: 29px;
    list-style: none;
    padding: 0;
    display: block;
}

.modal-team__point {
    position: relative;
    padding-left: 36px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--color-dark);
    break-inside: avoid;
    margin-bottom: 24px;
}

.modal-team__point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 18px;
    background-color: var(--color-accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

@media (max-width: 991px) {
    .modal-team__container {
        padding: 32px;
    }

    .modal-team__grid {
        column-count: 1;
        gap: 15px;
    }

    .modal-team__header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .modal-team__name {
        font-size: 28px;
    }
}