﻿:root {
    --bg-main: #0f0f17;
    --bg-secondary: #151522;
    --text-main: #e6e6f0;
    --text-muted: #a1a1c2;
    --accent: #7c6cff;
    /* NEW */
    --glow-color: 124,108,255; /* фиолетовый по умолчанию */
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden; /* Запрещает сайту шататься вправо-влево */
    width: 100%;
    font-family: Inter, Arial, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.centered {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

section {
    margin-bottom: 5rem;
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15,15,23,.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.logo {
    font-weight: 700;
}

/* ===== NAV ===== */
nav {
    position: relative;
    display: flex;
    gap: .3rem;
}

.nav-indicator {
    position: absolute;
    top: 4px;
    left: 0;
    height: calc(100% - 8px);
    border-radius: 999px;
    background: linear-gradient( 135deg, rgba(255,255,255,.25), rgba(255,255,255,.05) );
    backdrop-filter: blur(14px);
    transition: transform .45s cubic-bezier(.4,0,.2,1), width .45s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 8px 24px rgba(124,108,255,.35);
    z-index: 0;
}

nav a {
    position: relative;
    z-index: 1;
    padding: .45rem .9rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-muted);
}

    nav a.active {
        color: #fff;
    }

/* ===== TYPO ===== */
h1 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: .8rem;
}

/* ВАЖНО: глобальный p НЕ трогаем */
p {
    text-align: center;
    color: var(--text-muted);
    max-width: 1500px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.btn {
    padding: .8rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
}

    .btn.primary {
        background: var(--accent);
        color: #fff;
    }

    .btn.secondary {
        border: 1px solid var(--border);
        color: var(--text-main);
    }

/* ===== VIDEO ===== */
.video-wrapper {
    margin: 2.5rem auto 0;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
}

    .video-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ===== GRID ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

/* ===== CONTACT (НЕ ТРОГАЕМ) ===== */
.contact-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-box {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 1rem;
    padding: .8rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: .7s;
}

    .reveal.active {
        opacity: 1;
        transform: none;
    }

/* =========================
   ABOUT / O NAS – WIDE TEXT
   (ЕДИНСТВЕННОЕ ИЗМЕНЕНИЕ)
========================= */

.about-project {
    max-width: 1100px; /* шире, чем было */
    margin: 0 auto 6rem;
    text-align: center;
}

.about-text {
    background: linear-gradient( 180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02) );
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 3.2rem 3.5rem;
    backdrop-filter: blur(6px);
}

    /* ПЕРЕОПРЕДЕЛЯЕМ ТОЛЬКО ЗДЕСЬ */
    .about-text p {
        max-width: 950px;
        margin: 0 auto 1.8rem;
        text-align: center;
    }

        .about-text p:last-child {
            margin-bottom: 0;
        }

/* mobile */
@media (max-width: 768px) {
    .about-text {
        padding: 2.2rem 1.8rem;
    }

        .about-text p {
            max-width: 100%;
        }
}



/* ===== TEAM CARDS (BASIC & SAFE) ===== */

.team-grid {
    margin-top: 3rem;
}

.team-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

    .team-card img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .team-card h3 {
        margin-bottom: .4rem;
        font-size: 1.1rem;
    }

    .team-card p {
        font-size: .9rem;
        color: var(--text-muted);
        max-width: none;
    }

/* ===== TEAM CARD FLIP ===== */

.team-card {
    perspective: 1000px;
}

.team-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
}

.team-card.is-flipped .team-inner {
    transform: rotateY(180deg);
}

.team-front,
.team-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

    /* FRONT */
    .team-front img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

/* BACK */
.team-back {
    transform: rotateY(180deg);
    text-align: center;
}

    .team-back p {
        max-width: none;
        color: var(--text-main);
    }

/* ===== TEAM SLIDER ===== */

.team-slider {
    position: relative;
    margin-top: 3rem;
}

.slider-viewport {
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

/* карточка */
.team-card {
    min-width: 260px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

    .team-card img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .team-card p {
        max-width: none;
    }



/* ===== SLIDER BUTTONS – SQUARE LIQUID GLASS ===== */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 156px;
    height: 56px;
    border-radius: 18px; /* ← квадрат с мягкими углами */

    background: linear-gradient( 135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05) );
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 24px rgba(124,108,255,0.35), inset 0 1px 1px rgba(255,255,255,0.25);
    color: var(--text-main);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s ease;
}

    /* расстояние от карточек */
    .slider-btn.left {
        left: -200px;
    }

    .slider-btn.right {
        right: -190px;
    }

    /* hover */
    .slider-btn:hover {
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 14px 36px rgba(124,108,255,0.45), inset 0 1px 1px rgba(255,255,255,0.35);
    }



.team-card img {
    width: 100%;
    max-width: 220px; /* ← ГЛАВНОЕ */
    height: auto;
    aspect-ratio: 1 / 1.25; /* квадрат */
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 1rem;
    display: block;
}

/* ===== TEAM DETAIL PANEL ===== */

.team-detail {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255,255,255,0.04);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

    .team-detail.hidden {
        opacity: 0;
        transform: translateY(30px);
        pointer-events: none;
    }

.detail-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

    .detail-content img {
        width: 280px;
        height: 280px;
        object-fit: cover;
        border-radius: 18px;
    }

.detail-text h2 {
    margin-bottom: 0.5rem;
}

.detail-text p {
    max-width: none;
    text-align: left;
    margin-bottom: 0.8rem;
}

/* mobile */
@media (max-width: 768px) {
    .detail-content {
        flex-direction: column;
        text-align: center;
    }

    .detail-text p {
        text-align: center;
    }
}

/* ===== DETAIL PANEL CLOSE HINT ===== */

.team-detail {
    cursor: pointer;
}

    .team-detail::after {
        content: "Kliknij, aby zamknąć";
        display: block;
        margin-top: 1.5rem;
        font-size: 0.85rem;
        color: var(--text-muted);
        opacity: 0.7;
        text-align: center;
    }

/* ===== CONTACT SOCIAL LINKS ===== */

.contact-socials {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

    .contact-socials a {
        text-decoration: none;
        color: var(--text-muted);
        padding: 0.55rem 1rem;
        border-radius: 12px;
        background: linear-gradient( 135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03) );
        backdrop-filter: blur(8px);
        transition: color 0.3s ease, background 0.3s ease, transform 0.25s ease;
    }

        .contact-socials a:hover {
            color: var(--text-main);
            background: linear-gradient( 135deg, rgba(124,108,255,0.25), rgba(124,108,255,0.1) );
            transform: translateX(4px);
        }

        /* =========================
   SOCIAL BRAND HOVER COLORS
========================= */

        .contact-socials a.instagram:hover {
            background: linear-gradient( 135deg, rgba(225,48,108,0.35), rgba(193,53,132,0.25) );
            box-shadow: 0 10px 30px rgba(225,48,108,0.35);
            color: #fff;
        }

        .contact-socials a.facebook:hover {
            background: linear-gradient( 135deg, rgba(24,119,242,0.35), rgba(24,119,242,0.2) );
            box-shadow: 0 10px 30px rgba(24,119,242,0.35);
            color: #fff;
        }

        .contact-socials a.tiktok:hover {
            background: linear-gradient( 135deg, rgba(0,0,0,0.6), rgba(255,0,80,0.35) );
            box-shadow: 0 10px 30px rgba(255,0,80,0.35);
            color: #fff;
        }

        .contact-socials a.youtube:hover {
            background: linear-gradient( 135deg, rgba(255,0,0,0.45), rgba(255,0,0,0.25) );
            box-shadow: 0 10px 30px rgba(255,0,0,0.35);
            color: #fff;
        }

/* =========================
   PARALLAX BANNER
========================= */

.parallax-section {
    position: relative;
    height: 420px;
    margin: 10rem 0;
    overflow: hidden;
    border-radius: 28px;
}

/* фон */
.parallax-bg {
    position: absolute;
    inset: -20%;
    background-image: url("images/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(0);
    will-change: transform;
    filter: brightness(0.6);
}


/* контент */
.parallax-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

    .parallax-content h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .parallax-content p {
        max-width: 700px;
        font-size: 1.05rem;
        color: var(--text-muted);
    }

.parallax-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(15,15,23,0.65), rgba(15,15,23,0.2) );
    z-index: 0;
}

/* =========================
   FULL WIDTH PARALLAX
========================= */

.parallax-section {
    position: relative;
    width: 99.5vw; /* вся ширина окна */
    left: 50%;
    right: 70%;
    margin-left: -50vw; /* выход из centered */
    margin-right: -50vw;
    height: 420px;
    margin-top: 20rem;
    margin-bottom: 5rem;
    overflow: hidden;
    border-radius: 0; /* full-bleed */
}

/* =========================
   ABSTRACT FLOWING LINES
========================= */


}

/* =========================
   TILTED IMAGE SECTION
========================= */

.tilted-section {
    margin-top: 8rem; /* визуальное отделение от видео */
}

.tilted-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* картинка */
.tilted-image {
    position: relative;
    transform: rotate(-4deg);
}

    .tilted-image img {
        width: 100%;
        max-width: 420px;
        border-radius: 20px;
        display: block;
        box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
    }

    /* лёгкий «ореол» */
    .tilted-image::after {
        content: "";
        position: absolute;
        inset: -35%;
        z-index: -1;
        pointer-events: none;
        background: radial-gradient( 55% 55% at 50% 60%, rgba(124,108,255,0.45), rgba(124,108,255,0.25) 35%, rgba(124,108,255,0.12) 55%, transparent 75% );
        filter: blur(50px);
        opacity: 0.85;
    }


/* текст */
.tilted-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.tilted-text p {
    text-align: left;
    max-width: 520px;
    margin-bottom: 1.2rem;
}

/* mobile */
@media (max-width: 768px) {
    .tilted-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .tilted-image {
        transform: rotate(-2deg);
        margin: 0 auto;
    }

    .tilted-text h2,
    .tilted-text p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
}

    .logo img {
        height: 35px; /* контролируем размер */
        width: auto;
        display: block;
        filter: drop-shadow(0 0 8px rgba(124,108,255,0.35));
    }

    .logo span {
        letter-spacing: 0.02em;
    }

/* =========================
   SPONSORS AROUND VIDEO
   (NON-DESTRUCTIVE)
========================= */

.video-sponsors-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    /* ↓ ВАЖНО: резервируем место под спонсоров */
    padding-bottom: 260px;
}

/* боковые блоки */
.sponsors-side {
    position: absolute;
    top: px; /* чуть ниже верхней кромки видео */
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

    /* слева / справа */
    .sponsors-side.left {
        right: calc(100% + 5.5rem); /* ← дальше от центра */
        align-items: flex-end;
        text-align: right;
    }

    .sponsors-side.right {
        left: calc(100% + 5.5rem); /* ← дальше от центра */
        align-items: flex-start;
        text-align: left;
    }


/* карточка спонсора */
.sponsor {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .sponsor:hover {
        opacity: 1;
        transform: translateY(-2px);
    }

    /* логотип */
    .sponsor img {
        width: 34px;
        height: 34px;
        object-fit: contain;
        filter: drop-shadow(0 0 10px rgba(124,108,255,0.35));
    }

    /* название */
    .sponsor span {
        font-size: 0.85rem;
        color: var(--text-muted);
        white-space: nowrap;
    }

/* =========================
   MOBILE (НЕ ЛОМАЕМ ВИДЕО)
========================= */

@media (max-width: 900px) {
    .sponsors-side {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .video-sponsors-wrap {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

/* =========================
   SPONSORS — TITLE + LINE
========================= */

.sponsors-title {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.6;
    margin-bottom: 1.2rem;
}

/* вертикальная линия */


.sponsors-side.left::before {
    right: -1.4rem;
}

.sponsors-side.right::before {
    left: -1.4rem;
}

/* =========================
   SPONSORS — PARALLAX
========================= */

.sponsor {
    will-change: transform;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

/* =========================
   SPONSORS — ICON ONLY
========================= */

.sponsor {
    display: block;
    opacity: 0.75;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.35s ease, filter 0.35s ease;
}

    /* =========================
   SPONSORS — PROPER SIZE
========================= */

    .sponsor img {
        width: 150px; /* ← нормальный размер */
        height: 150px;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 0 14px rgba(124,108,255,0.3));
        transition: filter 0.35s ease;
    }


    /* hover */
    .sponsor:hover {
        opacity: 1;
        transform: translateY(-4px) scale(1.06);
    }

    /* =========================
   BRAND GLOW COLORS
========================= */

    /* =========================
   SPONSORS — NEUTRAL GLASS GLOW
========================= */

.sponsor:hover img {
    filter:
        drop-shadow(0 0 18px rgba(255,255,255,0.45))
        drop-shadow(0 0 32px rgba(200,200,220,0.35));
}

/* =========================
   REAL WAVY LINES (SVG)
========================= */

/* =========================
   WAVY BACKGROUND LINES
========================= */



/* =========================
   EXTRA BACKGROUND GLOW
========================= */

.bg-glow {
    position: fixed;
    inset: -30%;
    pointer-events: none;
    z-index: -2;
    background: radial-gradient( 60% 50% at 20% 80%, rgba(124,108,255,0.35), transparent 70% ), radial-gradient( 50% 40% at 80% 20%, rgba(180,140,255,0.25), transparent 70% ), radial-gradient( 40% 35% at 50% 50%, rgba(255,160,220,0.18), transparent 75% );
    filter: blur(80px);
    opacity: 0.85;
}

/* =========================
   Aktualności
========================= */

.news-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1500px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-card {
    display: flex;
    flex-direction: row;
    gap: 24px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    }

.news-img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
    transition: transform 0.3s ease;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 4px;
}

.news-title {
    font-size: 1.25rem;
    margin: 0 0 8px 0;
    color: #fff;
}

.news-desc {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.5;
}

/* =========================
   Адаптив для мобильных
========================= */
@media(max-width: 600px) {
    .news-card {
        flex-direction: column;
        align-items: center;
    }

    .news-img {
        width: 100%;
        height: auto; /* сохраняем пропорции */
        border-radius: 12px 12px 0 0;
    }

    .news-content {
        text-align: center;
        padding: 12px 16px; /* добавляем отступы */
    }

    .news-title {
        font-size: 1.15rem;
    }

    .news-desc {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

@media (max-width: 600px) {
    nav {
        display: flex;
        gap: 16px;
        overflow-x: auto; /* горизонтальная прокрутка */
        -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
        padding: 0 10px;
    }

        nav::-webkit-scrollbar {
            display: none; /* скрыть полоску прокрутки */
        }

        nav a {
            flex: 0 0 auto; /* чтобы ссылки не сжимались */
            padding: 10px 8px;
            white-space: nowrap;
        }
}

.bg-waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

    .bg-waves svg {
        width: 200%;
        height: 100%;
    }

.wave {
    fill: none;
    stroke-width: 3;
    opacity: 0.3; /* полупрозрачные линии */
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px currentColor) drop-shadow(0 0 20px currentColor);
    animation: waveMove linear infinite;
}

/* Цвета линий как из палитры сайта */
.wave1 {
    stroke: #C21807; /* фиолетовый акцент */
    color: #C21807;
    animation-duration: 20s;
}

.wave2 {
    stroke: #4B0082; /* глубокий синий */
    color: #4B0082;
    animation-duration: 24s;
}

.wave3 {
    stroke: #F8F8F8; /* лёгкий голубой */
    color: #F8F8F8;
    animation-duration: 28s;
}

.wave4 {
    stroke: #0D1B2A; /* пастельно‑фиолетовый */
    color: #0D1B2A;
    animation-duration: 22s;
}

.wave5 {
    stroke: #4CAF50; /* светло‑лавандовый */
    color: #4CAF50;
    animation-duration: 30s;
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

/* CARD */
.news-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s cubic-bezier(.22,.61,.36,1), box-shadow 0.5s cubic-bezier(.22,.61,.36,1);
}

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
    }

/* IMAGE */
.news-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s cubic-bezier(.22,.61,.36,1);
    }

.news-card:hover .news-image img {
    transform: scale(1.08);
}

/* CONTENT */
.news-content {
    padding: 26px 28px 30px;
}

    .news-content h3 {
        margin: 0 0 14px;
        font-size: 1.35rem;
        font-weight: 600;
        line-height: 1.3;
    }

    .news-content p {
        opacity: 0.85;
        line-height: 1.65;
        font-size: 1rem;
    }

/* SHORT / FULL TEXT */
.news-short {
    margin-bottom: 0;
}

.news-full {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

.news-card.open .news-full {
    max-height: 500px;
    opacity: 1;
    margin-top: 14px;
}

/* LINK */
.news-more {
    display: inline-block;
    margin-top: 18px;
    color: #7fffd4;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: opacity 0.3s ease;
}

    .news-more:hover {
        opacity: 0.7;
    }

/* ===== MOBILE PERFECT ===== */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin: 40px auto;
    }

    .news-image {
        height: 220px;
    }

    .news-content {
        padding: 20px 22px 24px;
        text-align: center;
    }

        .news-content h3 {
            font-size: 1.2rem;
        }

        .news-content p {
            font-size: 0.95rem;
        }
}

/* ===== ABOUT PAGE ===== */

.about-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

    .about-hero h1 {
        font-size: clamp(2.4rem, 5vw, 3.2rem);
        line-height: 1.15;
        margin-bottom: 24px;
    }

    .about-hero p {
        font-size: 1.15rem;
        opacity: 0.85;
    }

/* =========================
   VALUES
========================= */

.about-values {
    position: relative; /* 🔥 нужно для связующего фона */
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 36px;
    max-width: 900px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

    .about-values::before {
        content: "";
        position: absolute;
        inset: -80px;
        background: radial-gradient(circle at 25% 30%, rgba(127,255,212,0.10), transparent 45%), radial-gradient(circle at 75% 30%, rgba(88,110,255,0.10), transparent 45%), radial-gradient(circle at 50% 80%, rgba(168,85,247,0.12), transparent 55%);
        filter: blur(50px);
        z-index: -1;
        pointer-events: none;
        animation: valuesFlow 22s ease-in-out infinite;
        transform-origin: center;
    }

    /* третья карточка — по центру */
    .about-values .value-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 420px;
        justify-self: center;
    }

/* =========================
   CARD
========================= */

.value-card {
    position: relative;
    background: rgba(255,255,255,0.045);
    border-radius: 22px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
}

    .value-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        border: 1px solid rgba(255,255,255,0.08);
        opacity: 0.6;
        pointer-events: none;
    }

    .value-card span {
        font-size: 2rem;
        display: block;
        margin-bottom: 14px;
    }

.about-values:hover .value-card {
    opacity: 0.6;
    transform: scale(0.98);
}

.about-values .value-card:hover {
    opacity: 1;
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 80px rgba(127,255,212,0.25), 0 0 40px rgba(127,255,212,0.15);
    z-index: 2;
}

/* =========================
   PROCESS
========================= */

/* =========================
   ABOUT HERO
========================= */
.about-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

    .about-hero h1 {
        font-size: clamp(2.4rem, 5vw, 3.2rem);
        line-height: 1.15;
        margin-bottom: 24px;
    }

    .about-hero p {
        font-size: 1.15rem;
        opacity: 0.85;
    }

/* =========================
   PROCESS STEPS
========================= */
.about-process {
    max-width: 900px;
    margin: 0 auto 120px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Каждая карточка процесса */
.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 40px 30px 40px 100px; /* увеличен padding сверху/снизу и слева для цифры */
    min-height: 120px; /* минимальная высота */
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.07); /* более заметный фон */
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25); /* чуть более глубокая тень */
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: pulse 2s ease-in-out infinite;
}


    /* Цифры слева */
    .process-step span {
        position: absolute;
        left: 30px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2.4rem;
        font-weight: 700;
        color: rgba(127,255,212,0.8);
        opacity: 0.9;
        pointer-events: none;
    }

    /* Нумерация через CSS */
    .process-step:nth-child(1) span::before {
        content: "1";
    }

    .process-step:nth-child(2) span::before {
        content: "2";
    }

    .process-step:nth-child(3) span::before {
        content: "3";
    }

    .process-step:nth-child(4) span::before {
        content: "4";
    }

    /* Текст внутри шага */
    .process-step p {
        margin: 0;
        font-size: 1.05rem;
        line-height: 1.7;
        color: #fff;
        font-weight: 400;
        transition: transform 0.4s ease, color 0.4s ease;
    }

/* Пульсация вверх/вниз */
@keyframes pulse {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Glow-эффект: движущийся световой градиент */
.process-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.15), rgba(255,255,255,0) 70%);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

/* Hover эффект */
.process-step:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 80px rgba(0,0,0,0.35);
}

    .process-step:hover p {
        transform: translateX(4px);
        color: #7fffd4;
    }

/* Поочередная подпрыгивающая анимация */
.process-step:nth-child(1) {
    animation-delay: 0s;
}

.process-step:nth-child(2) {
    animation-delay: 0.3s;
}

.process-step:nth-child(3) {
    animation-delay: 0.6s;
}

.process-step:nth-child(4) {
    animation-delay: 0.9s;
}

/* =========================
   QUOTE
========================= */
.about-quote {
    max-width: 800px;
    margin: 0 auto 140px;
    padding: 0 20px;
    text-align: center;
}

    .about-quote blockquote {
        font-size: 1.8rem;
        line-height: 1.4;
        opacity: 0.85;
    }

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        padding-left: 20px;
        animation: pulse 2s ease-in-out infinite;
    }

        .process-step span {
            position: static;
            display: block;
            margin-bottom: 12px;
            text-align: center;
        }

        .process-step p {
            text-align: center;
            font-size: 1rem;
        }

    .about-quote blockquote {
        font-size: 1.4rem;
    }
}


/* =========================
   VALUES & PROCESS ANIMATIONS
========================= */

@keyframes valuesFlow {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-20px) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 0.9;
    }
}

@keyframes valuesRotate {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(360deg) scale(1);
    }
}

/* Контейнер */
/* Контейнер на весь экран */
.about-hero-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh; /* высота экрана */
    overflow: hidden;
}

/* Фото */
.hero-fullscreen-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* картинка полностью покрывает экран, без искажений */
    z-index: 1;
    transition: transform 0.6s ease;
}

/* Текст поверх фото */
.hero-fullscreen-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

    .hero-fullscreen-text h1 {
        font-size: clamp(3rem, 8vw, 5rem);
        margin: 0;
        font-weight: 700;
    }

/* Hover лёгкий зум фото */
.about-hero-fullscreen:hover .hero-fullscreen-img {
    transform: scale(1.03);
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-fullscreen-text h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }
}

/* ===== Mobile adjustments ===== */
@media (max-width: 768px) {
    .header {
        font-size: 18px;
    }

    ...
}

.wspolpraca {
    max-width: 900px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.wspolpraca-hero {
    text-align: center;
    margin-bottom: 60px;
}

    .wspolpraca-hero h1 {
        font-size: clamp(2.4rem, 5vw, 3.2rem);
        margin-bottom: 16px;
    }

    .wspolpraca-hero p {
        opacity: 0.85;
        max-width: 600px;
        margin: 0 auto;
    }

.wspolpraca-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.wspol-card {
    background: rgba(255,255,255,0.04);
    border-radius: 22px;
    padding: 32px 26px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transition: transform .4s ease, box-shadow .4s ease;
}

    .wspol-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 35px 80px rgba(127,255,212,0.25);
    }

    .wspol-card h3 {
        margin: 12px 0 8px;
    }

@media (max-width: 768px) {
    .wspolpraca-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   WSPÓŁPRACA INTRO
========================= */

.wspolpraca-intro {
    max-width: 900px;
    margin: 120px auto 80px;
    padding: 0 20px;
    text-align: center;
}

    .wspolpraca-intro h1 {
        font-size: clamp(2.4rem, 5vw, 3.2rem);
        margin-bottom: 22px;
        line-height: 1.15;
    }

    .wspolpraca-intro p {
        font-size: 1.15rem;
        opacity: 0.85;
        line-height: 1.6;
    }

/* MOBILE */
@media (max-width: 768px) {
    .wspolpraca-intro {
        margin: 90px auto 60px;
    }

        .wspolpraca-intro p {
            font-size: 1.05rem;
        }
}

/* ======================================
   MOBILE OPTIMIZATION — MAIN PAGE
====================================== */
@media (max-width: 768px) {
    /* ===== HEADER SCROLL NAV (MOBILE) ===== */
    @media (max-width: 768px) {

        header .nav {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        header nav {
            display: flex;
            gap: 22px;
            overflow-x: auto; /* горизонтальный скролл */
            overflow-y: hidden;
            white-space: nowrap;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE */
        }

            header nav::-webkit-scrollbar {
                display: none; /* Chrome / Safari */
            }

            header nav a {
                flex-shrink: 0; /* ❗ не сжиматься */
                font-size: 0.95rem;
                padding: 6px 2px;
            }
    }


    /* ===== HERO ===== */
    main.centered {
        padding-top: 100px;
    }

        main.centered h1 {
            font-size: 2rem;
            line-height: 1.2;
        }

        main.centered p {
            font-size: 1rem;
        }

    .actions {
        flex-direction: column;
        gap: 14px;
    }

        .actions a {
            width: 100%;
            text-align: center;
        }

    /* ===== VIDEO + SPONSORS ===== */
    .video-sponsors-wrap {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding-bottom: 80px;
    }

    .video-wrapper video {
        width: 100%;
        border-radius: 18px;
    }

    .sponsors-side {
        position: static;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 20px;
        justify-items: center;
    }

    .sponsors-title {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 10px;
    }

    .sponsor img {
        max-width: 90px;
    }

    /* ===== PARALLAX ===== */
    .parallax-section {
        margin-top: 80px;
        margin-bottom: 80px;
        height: auto;
        min-height: 300px;
    }

    .parallax-bg {
        background-attachment: scroll;
        filter: brightness(0.7);
    }

    .parallax-content h2 {
        font-size: 1.8rem;
    }

    .parallax-content p {
        font-size: 1rem;
    }

    /* ===== TILTED SECTION ===== */
    .tilted-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tilted-image img {
        border-radius: 18px;
        width: 100%;
        height: auto;
    }

    .tilted-text {
        text-align: center;
    }

    /* ===== SPACING ===== */
    section.reveal {
        margin-bottom: 70px;
    }

    footer {
        padding: 30px 0;
        font-size: 0.9rem;
    }
}

.partners-section {
    text-align: center;
    margin-top: 25px; /* ближе к видео */
    margin-bottom: 80px;
}

    .partners-section h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

/* ===== GRID 2 COLUMNS ===== */
/* ===== PARTNERS GRID ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    max-width: 420px;
    margin: 0 auto;
}

    /* ===== LOGO CARD ===== */
    .partners-grid a {
        width: 100%;
        height: 120px; /* ОДИНАКОВАЯ ВЫСОТА */
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(255,255,255,0.03);
        border-radius: 16px;
        backdrop-filter: blur(6px);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .partners-grid a:hover {
            transform: translateY(-6px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.25);
        }

        /* ===== IMAGE FIT ===== */
        .partners-grid a img {
            max-width: 80%;
            max-height: 65%;
            object-fit: contain;
            width: auto;
            height: auto;
            opacity: 0.95;
            transition: transform 0.3s ease;
        }

        .partners-grid a:hover img {
            transform: scale(1.05);
        }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .partners-grid {
        max-width: 300px;
        gap: 20px;
    }

        .partners-grid a {
            height: 100px;
            border-radius: 14px;
        }

            .partners-grid a img {
                max-width: 85%;
                max-height: 70%;
            }
}

@media (max-width: 768px) {
    .zespol {
        position: relative;
        padding: 0 12px;
    }

    .team-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(124,108,255,0.25);
        border: none;
        color: #fff;
        font-size: 1.5rem;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        transition: transform 0.2s ease;
    }

        .team-arrow:hover {
            transform: translateY(-50%) scale(1.1);
        }

        .team-arrow.left {
            left: 0;
        }

        .team-arrow.right {
            right: 0;
        }

    .team-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 10px 6px 20px;
    }

        .team-grid::-webkit-scrollbar {
            display: none;
        }

    .team-card {
        flex: 0 0 auto;
        width: 220px;
        scroll-snap-align: start;
    }
}

/* На мобилках (до 768px) */
@media (max-width: 768px) {
    /* Прячем стрелки */
    .slider-btn {
        display: none !important;
    }

    /* Настраиваем контейнер для нативного скролла */
    .slider-viewport {
        overflow-x: auto; /* Включаем горизонтальный скролл */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch; /* Плавность на iOS */
        scroll-snap-type: x mandatory; /* Магнитный эффект */
        padding-bottom: 15px; /* Запас для удобства */
    }

    .slider-track {
        display: flex;
        transform: none !important; /* Отключаем JS-трансформацию */
        width: max-content; /* Чтобы карточки не сжимались */
    }

    .team-card {
        scroll-snap-align: center; /* Карточка центрируется при остановке */
        min-width: 80vw; /* Карточка почти на весь экран */
        margin-right: 15px;
    }
}

html, body {
    max-width: 100%;
    overflow-x: hidden; /* Скрывает горизонтальную полосу прокрутки */
    position: relative;
}

html, body {
    /* Разрешаем только вертикальный скролл, отключаем "резиновость" по бокам */
    touch-action: pan-y;
    /* Включаем аппаратное ускорение для плавности */
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

/* Отключаем параллакс-трансформации на мобилках, если они тормозят */
@media (max-width: 768px) {
    .parallax-bg, .sponsor {
        transform: none !important;
        will-change: auto;
    }
}

.contact-socials-only {
    display: flex;
    flex-direction: column; /* На мобилках в столбик */
    gap: 20px;
    max-width: 400px;
    margin: 40px auto; /* Центрируем блок */
}

@media (min-width: 768px) {
    .contact-socials-only {
        flex-direction: row; /* На ПК в ряд */
        justify-content: center;
        max-width: none;
    }
}

.social {
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Твои стили кнопок... */
}

/* --- СЕТКА КНОПОК --- */
.contact-socials-grid {
    display: grid;
    /* На телефоне 1 колонка, на планшете 2, на ПК 4 */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- СТИЛЬ КНОПКИ (БАЗА) --- */
.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03); /* Прозрачный фон */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Тонкая рамка */
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Пружинистая анимация */
    position: relative;
    overflow: hidden;
}

    /* Текст внутри кнопки */
    .social-btn span {
        margin-top: 15px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 1px;
        transition: color 0.3s;
    }

    /* Иконка SVG */
    .social-btn .icon-box svg {
        width: 40px;
        height: 40px;
        stroke: rgba(255, 255, 255, 0.8);
        transition: stroke 0.3s, transform 0.3s;
    }

    /* --- ЭФФЕКТЫ ПРИ НАВЕДЕНИИ (ОБЩИЕ) --- */
    .social-btn:hover {
        transform: translateY(-10px) scale(1.02); /* Взлетает вверх */
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.5);
    }

        .social-btn:hover span {
            color: #fff;
        }

        .social-btn:hover .icon-box svg {
            transform: scale(1.2); /* Иконка увеличивается */
        }

    /* --- ИНДИВИДУАЛЬНЫЕ ЦВЕТА (GLOW) --- */

    /* Instagram (Градиентное свечение) */
    .social-btn.instagram:hover {
        box-shadow: 0 0 30px rgba(225, 48, 108, 0.4);
        border-color: #E1306C;
    }

        .social-btn.instagram:hover .icon-box svg {
            stroke: #E1306C;
        }

    /* Facebook (Синее свечение) */
    .social-btn.facebook:hover {
        box-shadow: 0 0 30px rgba(24, 119, 242, 0.4);
        border-color: #1877F2;
    }

        .social-btn.facebook:hover .icon-box svg {
            stroke: #1877F2;
        }

    /* TikTok (Циан + Розовый сдвиг) */
    .social-btn.tiktok:hover {
        box-shadow: 0 0 30px rgba(0, 242, 234, 0.3), inset 0 0 20px rgba(255, 0, 80, 0.2);
        border-color: #00f2ea;
    }

        .social-btn.tiktok:hover .icon-box svg {
            stroke: #00f2ea;
            filter: drop-shadow(2px 2px 0px #ff0050);
        }

    /* YouTube (Красное свечение) */
    .social-btn.youtube:hover {
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
        border-color: #FF0000;
    }

        .social-btn.youtube:hover .icon-box svg {
            stroke: #FF0000;
        }

/* Оптимизация карточек "Наши ценности" для мобильных устройств */
@media (max-width: 768px) {
    .about-values {
        /* Переключаемся на одну колонку */
        grid-template-columns: 1fr;
        gap: 20px; /* Уменьшаем расстояние между карточками */
        padding: 0 15px;
    }

        .about-values .value-card {
            /* Убираем фиксированную минимальную ширину, если она была */
            min-width: 0;
            padding: 25px 20px; /* Немного уменьшаем внутренние отступы */
        }

            /* Исправляем поведение третьей карточки */
            .about-values .value-card:nth-child(3) {
                grid-column: auto; /* Сбрасываем растягивание на две колонки */
                max-width: 100%; /* Позволяем занимать всю ширину */
                justify-self: stretch;
            }
}

/* --- МОБИЛЬНЫЕ ПРАВКИ (Добавь это в конец файла) --- */

/* Глобальный фикс для всего сайта */
html, body {
    overflow-x: hidden; /* Убирает горизонтальный скролл */
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Применяем правильный расчет размеров для всех элементов */
*, *:before, *:after {
    box-sizing: inherit;
}

/* Скрываем курсор на тач-скринах */
@media (max-width: 1024px) {
    .cursor, .cursor-follower {
        display: none !important;
    }
}

/* Основные правки для экранов телефонов */
@media (max-width: 768px) {
    /* Исправляем ширину контента */
    .hero-content, .container, .nav-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Заголовки */
    .hero h1 {
        font-size: 2.5rem !important; /* Уменьшаем, чтобы не вылезал за экран */
    }

    /* Сетка преимуществ: карточки одна под другой */
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }

    /* Статистика: в столбик */
    .stats-container {
        flex-direction: column !important;
        gap: 40px !important;
    }

    /* Навигация: скрываем ссылки, оставляем лого */
    .nav-links {
        display: none !important;
    }
}

/* =========================
   LANGUAGE SWITCHER BUTTON
========================= */

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    margin-left: 20px;
    letter-spacing: 0.5px;
}

    .lang-btn:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .lang-btn:active {
        transform: scale(0.95);
    }

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .lang-btn {
        margin-left: 0;
        margin-top: 10px;
        align-self: center;
    }
}