/* 🎨 Палитра */
:root{
    --blue:#0ea5e9; --blue-dark:#0284c7;
    --purple:#7c3aed; --purple-dark:#5b21b6;
    --mint:#10b981; --mint-dark:#059669;
    --dark-bg:#0b1220;
    --text:#0f172a; --muted:#64748b;
    --section-bg:#f8fafc; --card-bg:#fff;
}

body {
    padding-top: 140px; /* ≈ высота хедера */

}


/* ===== Глобально ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{box-sizing:border-box}
html,body{
    margin:0;
    padding:0;
    font-family:'Poppins',sans-serif;
    color:var(--text);
    background: #cbe1f6;
    scroll-behavior:smooth
}
a{color:inherit;text-decoration:none;transition:.25s ease}
img{max-width:100%;display:block}
.container{width:min(1200px,92%);margin:0 auto}

/* ============================================
   HEADER TOP BAR - LANGUAGE SWITCHER
   ============================================ */
/* === ROOT VARIABLES === */
:root {
    --primary-blue: #1e3a8a;
    --dark-blue: #0f172a;
    --light-blue: #325fd1;
    --accent-blue: #60a5fa;
    --white: #ffffff;
    --off-white: #f8fafc;
    --text-dark: #1e293b;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.1);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.15);
    --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === HEADER STRUCTURE === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* === TOP BAR: Language Switcher === */
.header-top {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 10px 0;
    border-bottom: 2px solid var(--light-blue);
}

.header-top .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switcher i {
    color: var(--accent-blue);
    font-size: 16px;
    margin-right: 8px;
    animation: rotateGlobe 10s linear infinite;
}

@keyframes rotateGlobe {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.lang-link {
    color: var(--white);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.lang-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.lang-link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.lang-link:hover::before {
    transform: translateY(0);
}

.lang-link.active {
    background: var(--light-blue);
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* === MAIN HEADER === */
.header-inner {
    position: relative;
    z-index: 5001;
    background: var(--white);
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled .header-inner {
    padding: 12px 0;
}

.header-inner .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    gap: 40px;
}

/* === LOGOS === */
.header-left,
.header-right {
    display: flex;
    align-items: center;
}

.header-left {
    justify-content: flex-start;
}

.header-right {
    justify-content: flex-end;
}

.logo {
    display: inline-block;
    transition: var(--transition);
}

.logo-img {
    max-height: 60px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.1));
}

.header.scrolled .logo-img {
    max-height: 50px;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.25));
}

.logo--eu .logo-img {
    filter: drop-shadow(0 2px 8px rgba(30, 58, 138, 0.15));
}

.logo--digitech .logo-img {
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.2));
}

/* === NAVIGATION === */
.nav {
    display: flex;
    justify-content: center;
}

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

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    color: #0f172a;            /* темнее */
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--light-blue), var(--accent-blue));
    transition: transform 0.3s ease;
}

.nav-list > li > a:hover {
    color: var(--light-blue);
    background: rgba(59, 130, 246, 0.08);
}

.nav-list > li > a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Active link styling */
.nav-list > li > a.active {
    color: var(--light-blue);
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
}

/* === DROPDOWN === */
.dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #0f172a;            /* темнее */
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 14px;
}

.dropdown-menu a i {
    color: var(--light-blue);
    font-size: 14px;
    width: 20px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.08));
    color: var(--light-blue);
    transform: translateX(4px);
}

.dropdown-menu a:hover i {
    transform: scale(1.2);
}

/* === BURGER MENU === */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;

    position: relative;
    z-index: 6000; /* ← КЛЮЧ */
}


.burger span {
    width: 28px;
    height: 3px;
    background: var(--dark-blue);
    border-radius: 3px;
    transition: var(--transition);
}

.burger:hover span {
    background: var(--light-blue);
}

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

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

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

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
/* Tablet */
@media (max-width: 1024px) {
    .header-inner .container {
        grid-template-columns: 150px 1fr auto;
        gap: 20px;
    }

    .logo-img {
        max-height: 50px;
    }

    .header.scrolled .logo-img {
        max-height: 45px;
    }

    .nav-list {
        gap: 4px;
    }

    .nav-list > li > a {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Mobile & Tablet - Burger Menu */
@media (max-width: 1024px) {

    .header-inner .container {
        grid-template-columns: 120px 1fr auto;
        gap: 15px;
    }

    .header-right {
        order: 2;
    }

    .burger {
        display: flex;
        order: 3;
        z-index: 7000;
        position: relative;
    }


    /* ⛔ УБИРАЕМ NAV ИЗ GRID (ВАЖНО) */
    /* скрываем меню ТОЛЬКО когда не активно */
    .nav {
        pointer-events: none;
        opacity: 0;
    }

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


    /* ✅ NAV ТОЛЬКО КАК OVERLAY */
    .nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: linear-gradient(
            180deg,
            var(--dark-blue) 0%,
            var(--primary-blue) 100%
        );
        padding: 80px 30px 30px;
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
        z-index: 6000;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-list > li {
        opacity: 0;
        animation: none;
    }

    .nav.active .nav-list > li {
        animation: slideInRight 0.4s ease forwards;
        animation-delay: calc(var(--item-index, 0) * 0.05s);
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-list > li > a {
        color: var(--white);
        padding: 14px 20px;
        font-size: 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        font-weight: 600; /* ссылки темнее */
    }

    .nav-list > li > a::after {
        display: none;
    }

    .nav-list > li > a:hover,
    .nav-list > li > a.active {
        background: rgba(59, 130, 246, 0.3);
        color: var(--white);
        border-color: var(--accent-blue);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }

    /* Dropdown in mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .dropdown-menu a {
        color: var(--white);
        padding: 12px 20px;
        font-weight: 500;
    }

    .dropdown-menu a:hover {
        background: rgba(59, 130, 246, 0.3);
        color: var(--white);
    }

    .dropdown-menu a i {
        color: var(--accent-blue);
    }

    /* Backdrop */
    .nav::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.8);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: -1;
    }

    .nav.active::before {
        opacity: 1;
        visibility: visible;
    }
}


/* Small Mobile */
@media (max-width: 480px) {
    .header-top .container {
        padding: 0 15px;
    }

    .header-inner .container {
        padding: 0 15px;
        grid-template-columns: 100px 1fr auto;
    }

    .logo-img {
        max-height: 45px;
    }

    .header.scrolled .logo-img {
        max-height: 40px;
    }

    .lang-switcher {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lang-link {
        padding: 5px 10px;
        font-size: 12px;
    }

    .nav {
        max-width: 100%;
        padding: 70px 20px 20px;
    }

    .nav-list > li > a {
        font-size: 15px;
        padding: 12px 16px;
    }

    .burger span {
        width: 24px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .header-inner .container {
        grid-template-columns: 80px 1fr auto;
        gap: 10px;
    }

    .logo-img {
        max-height: 40px;
    }

    .lang-link {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus styles for keyboard navigation */
.lang-link:focus,
.nav-list a:focus,
.burger:focus {
    outline: 2px solid var(--light-blue);
    outline-offset: 2px;
}

/* === PRINT STYLES === */
@media print {
    .header-top,
    .burger {
        display: none;
    }

    .header {
        position: static;
        box-shadow: none;
    }
}

/* ===== Hero ===== */
.hero{
    position:relative;min-height:700px;display:flex;align-items:center;justify-content:center;
    text-align:center;color:#fff;padding:84px 20px;overflow:hidden;
}
.hero::before{
    content:"";position:absolute;inset:0;
    background:
        linear-gradient(rgba(15,23,42,.6),rgba(15,23,42,.6)),
        url('../img/banner.jpg') center/cover no-repeat;
    animation:heroZoom 8s ease-in-out infinite alternate;
    transform-origin:center;
}
@keyframes heroZoom{from{transform:scale(1)}to{transform:scale(1.12)}}
.hero-content{position:relative;z-index:2;animation:revealUp .9s ease-out}
.hero h1{font-size:clamp(34px,5vw,60px);margin:0 0 12px;font-weight:700;letter-spacing:.3px}
.hero p{font-size:18px;opacity:.92;margin:0 0 24px}
.btn{
    display:inline-block;padding:14px 32px;border-radius:12px;
    background:linear-gradient(135deg,var(--purple),var(--blue));
    color:#fff;font-weight:600;box-shadow:0 6px 18px rgba(124,58,237,.35);
}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(14,165,233,.45)}

/* стрелка вниз */
.scroll-down{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);color:#fff;opacity:.85;font-size:26px;animation:float 1.6s infinite}
@keyframes float{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-9px)}}

/* ===== Секции ===== */
.section {
    padding: 100px 0;
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    border-radius: 4px;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    background: #123899;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    position: relative;
    animation: fadeUp 0.8s ease-out both;
}

.section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    border-radius: 10px;
    margin: 16px auto 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.muted {
    text-align: center;
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 60px;
    line-height: 1.6;
    animation: fadeUp 1s ease both;
    font-weight: 500;
}

/* ===== WELCOME SECTION ===== */
.welcome {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 50%, #faf5ff 100%);
    position: relative;
}

.welcome::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.welcome-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.2s;
    position: relative;
    z-index: 2;
}

.welcome-text {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow:
        0 25px 60px rgba(59, 130, 246, 0.15),
        inset 0 0 40px rgba(255, 255, 255, 0.6);
    transition: all 0.5s ease;
}

.welcome-text:hover {
    transform: translateY(-8px);
    box-shadow:
        0 35px 80px rgba(59, 130, 246, 0.25),
        inset 0 0 60px rgba(255, 255, 255, 0.8);
    border-color: rgba(168, 85, 247, 0.3);
}

.welcome-text h2 {
    text-align: left;
    font-size: 38px;
    margin-bottom: 20px;
}

.welcome-text h2::after {
    margin: 12px 0 0 0;
    width: 60px;
}

.highlight {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.welcome-text p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 17px;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--blue);
    background: linear-gradient(to right, rgba(59, 130, 246, 0.05), transparent);
    padding: 20px;
    padding-left: 24px;
    border-radius: 0 12px 12px 0;
}

/* STATS */
.stats {
    display: flex;
    gap: 40px;
    margin: 35px 0;
    justify-content: space-around;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(168, 85, 247, 0.05));
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.stats div {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.stats b {
    display: block;
    font-size: 36px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 5px;
}

.stats span {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* BUTTON */
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue), var(--purple));
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.4);
    background-position: 100% 0;
}

/* WELCOME IMAGE */
.welcome-img {
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 6px solid white;
    position: relative;
}

.welcome-img::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    filter: blur(20px);
}

.welcome-img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow:
        0 30px 70px rgba(168, 85, 247, 0.4),
        0 0 60px rgba(59, 130, 246, 0.3);
}

.welcome-img:hover::before {
    opacity: 0.6;
}

/* ===== CARDS ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* всегда 4 карточки в ряд */
    gap: 25px; /* чуть меньше отступ */
    justify-items: center;
    align-items: stretch;
}


.card {
    background: white;
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(168, 85, 247, 0.08));
    transition: height 0.5s ease;
    z-index: 0;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card:hover::after {
    opacity: 1;
}

.card:hover::before {
    height: 100%;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(59, 130, 246, 0.25),
        0 0 40px rgba(168, 85, 247, 0.15);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(168, 85, 247, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.card:hover .icon-circle {
    transform: rotate(360deg) scale(1.15);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(168, 85, 247, 0.25));
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.3);
}

.card b {
    display: block;
    font-size: 20px;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue-dark), var(--purple-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* ===== EVENTS ===== */
.events-grid{
    width: min(1300px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    column-gap: 80px;   /* расстояние между колонками */
    row-gap: 90px;      /* расстояние между рядами */

    justify-content: center;
}


.event-card {
width: 100%; 
max-width: none;
    border-radius: 24px;
    overflow: hidden;
    background: white;
    border: 2px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.12);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;

}

.event-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.event-card:hover::before {
    opacity: 1;
}

.event-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 30px 70px rgba(59, 130, 246, 0.25),
        0 0 50px rgba(168, 85, 247, 0.2);
}

.event-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.event-card:hover img {
    transform: scale(1.1);
}

.event-body {
    padding: 30px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.02), transparent);
}

.event-body b {
    font-weight: 700;
    color: var(--text);
    font-size: 19px;
    margin-bottom: 10px;
    display: block;
    background: linear-gradient(135deg, var(--blue-dark), var(--purple-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.event-body .muted {
    text-align: left;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 8px 0 16px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-body a {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
}

.event-body a::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.event-body a:hover {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    transform: translateX(5px);
}

.event-body a:hover::after {
    transform: translateX(5px);
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .welcome-inner {
        flex-direction: column;
        gap: 50px;
    }

    .welcome-text {
        padding: 40px 30px;
    }

    .welcome-text h2 {
        font-size: 32px;
        text-align: center;
    }

    .welcome-text h2::after {
        margin: 12px auto 0;
    }

    .welcome-text p {
        border-left: none;
        border-top: 4px solid var(--blue);
        border-radius: 12px;
        background: linear-gradient(to bottom, rgba(59, 130, 246, 0.05), transparent);
    }

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

    .welcome-img {
        max-width: 100%;
    }

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

@media (max-width: 600px) {
    .section {
        padding: 70px 0;
    }

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

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

.partners {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 25%, #faf5ff 50%, #f0f9ff 75%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 90px 0;
}

/* Animated Background Orbs */
.partners::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

.partners::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.partners .container {
    position: relative;
    z-index: 1;
}

/* ===== SECTION HEADING ===== */
.partners h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    background: #0e2f82;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.muted {
    text-align: center;
    font-size: 18px;
    color: #64748b;
    margin-bottom: 10px;
}

/* ===== PARTNERS SLIDER ===== */
.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
    padding: 40px 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7) 0%, rgba(240, 249, 255, 0.7) 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
}

/* Decorative Top/Bottom Lines */
.partners-slider::before,
.partners-slider::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
    transparent 0%,
    #3b82f6 20%,
    #8b5cf6 50%,
    #3b82f6 80%,
    transparent 100%);
    z-index: 3;
}

.partners-slider::before {
    top: 0;
}

.partners-slider::after {
    bottom: 0;
}

/* ===== SLIDER TRACK ===== */
.partners-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scrollPartners 35s linear infinite;
    padding: 0 20px;
}

.partners-track:hover {
    animation-play-state: paused;
}

.events-more {
    margin-top: 2.5rem;
    text-align: center;
}

.events-more-btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.events-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79,70,229,.35);
}


/* ===== LOGO CARDS ===== */
.logo-card {
    flex-shrink: 0;
    position: relative;
    padding: 20px 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.logo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #a855f7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.logo-card:hover::before {
    opacity: 1;
}

.logo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.logo-card:hover::after {
    opacity: 1;
}

.logo-card img {
    height: 70px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(30%) brightness(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.logo-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.3),
    0 8px 16px rgba(139, 92, 246, 0.2);
    background: linear-gradient(145deg, #ffffff 0%, #dbeafe 100%);
}

.logo-card:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* ===== GRADIENT EDGES ===== */
.slider-edge-left,
.slider-edge-right {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.slider-edge-left {
    left: 0;
    background: linear-gradient(90deg,
    rgba(240, 249, 255, 1) 0%,
    rgba(240, 249, 255, 0.7) 40%,
    transparent 100%);
}

.slider-edge-right {
    right: 0;
    background: linear-gradient(270deg,
    rgba(240, 249, 255, 1) 0%,
    rgba(240, 249, 255, 0.7) 40%,
    transparent 100%);
}

/* ===== SCROLL ANIMATION ===== */
@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== DECORATIVE BADGE ===== */
.trust-badge {
    text-align: center;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
}

.trust-badge::before,
.trust-badge::after {
    content: '';
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .partners h2 {
        font-size: 32px;
    }

    .partners-track {
        gap: 50px;
        animation-duration: 45s;
    }

    .logo-card {
        padding: 15px 25px;
    }

    .logo-card img {
        height: 55px;
        max-width: 130px;
    }

    .slider-edge-left,
    .slider-edge-right {
        width: 80px;
    }
}


/* Footer */
.footer {
    background: #1e283e;
    color: #e2e8f0;
    padding: 90px 0 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}



/* === ЛОГО === */
.footer h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #60a5fa;
    letter-spacing: 0.5px;
}

.footer h3 span {
    color: #a855f7;
}

.footer .tagline {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 22px;
    font-style: italic;
}

.footer p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

/* === РАЗДЕЛЫ === */
.footer h4 {
    font-size: 20px;
    color: #93c5fd;
    margin-bottom: 18px;
    position: relative;
}

.footer h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #7c3aed);
    margin-top: 6px;
    border-radius: 3px;
}

/* === ССЫЛКИ === */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin: 10px 0;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 16px;
}

.footer a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #60a5fa;
    transition: 0.3s ease;
}

.footer a:hover {
    color: #fff;
    text-shadow: 0 0 10px #60a5fa;
    transform: translateX(4px);
}

.footer a:hover::before {
    color: #a855f7;
    transform: translateX(3px);
}

/* === КОНТАКТЫ === */
.footer-contact i {
    color: #60a5fa;
    margin-right: 10px;
}

.footer-contact li {
    display: flex;
    align-items: center;
}

/* === СОЦСЕТИ === */
.socials {
    margin-top: 24px;
}

.socials a {
    color: #cbd5e1;
    margin-right: 14px;
    font-size: 22px;
    transition: all 0.3s ease;
}

.socials a:hover {
    color: #fff;
    text-shadow: 0 0 12px #3b82f6;
    transform: scale(1.2);
}

/* === DISCLAIMER === */
.footer-disclaimer-wrapper {
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 0 30px;
}

.footer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    background: linear-gradient(
        135deg,
        rgba(96, 165, 250, 0.08),
        rgba(168, 85, 247, 0.08)
    );

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;

    padding: 18px 22px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255,255,255,0.04);

    transition: all 0.35s ease;
}

.footer-disclaimer:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 45px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* Иконка */
.disclaimer-icon {
    font-size: 28px;
    color: #60a5fa;
    flex-shrink: 0;
    margin-top: 4px;

    filter:
        drop-shadow(0 0 8px rgba(96,165,250,0.7));
}

/* Контент */
.disclaimer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.disclaimer-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;

    background: linear-gradient(90deg, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Текст */
.disclaimer-text {
    font-size: 14px;
    line-height: 1.55;
    color: #cbd5e1;
}

.disclaimer-text strong {
    color: #e5edff;
    font-weight: 600;
}

/* === Адаптив === */
@media (max-width: 768px) {
    .footer-disclaimer {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .disclaimer-icon {
        font-size: 30px;
    }
}



/* === НИЖНЯЯ ПОЛОСА === */
.footer-bottom {
    text-align: center;
    padding: 24px 0;
    background: rgba(10, 15, 30, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 30px;
    font-size: 14px;
    color: #94a3b8;
    letter-spacing: 0.4px;
}

.footer-bottom span {
    color: #60a5fa;
    font-weight: 600;
}

.footer-bottom i {
    color: #3b82f6;
}

/* === FOOTER LOGOS === */
.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 12px;

    /* 🔥 СИЛЬНОЕ БЕЛОЕ СВЕЧЕНИЕ */
    filter:
        brightness(1.4)
        contrast(1.1)
        drop-shadow(0 0 10px rgb(171, 193, 230))
        drop-shadow(0 0 26px rgb(127, 169, 239))
        drop-shadow(0 0 60px rgb(121, 167, 244));

    transition: all 0.35s ease;
}


.footer-logo--secondary {
    max-width: 130px;
    margin-top: 40px;
    margin-bottom: 18px;
    opacity: 0.95;

    border-radius: 20%;            /* ⭕ округление */
    overflow: hidden;              /* важно для img */

    filter:
        drop-shadow(0 0 18px rgba(255,255,255,0.45))
        drop-shadow(0 0 40px rgba(255,255,255,0.25));

    transition: all 0.35s ease;
}


/* === АДАПТИВ === */
@media (max-width: 768px) {

    .footer {
        padding-top: 70px;
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer a::before {
        display: none;
    }

    .socials {
        justify-content: center;
    }

    .socials a {
        margin: 0 10px;
        font-size: 24px;
    }
}





/* Reveal */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .6s ease, transform .6s ease}
.reveal.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Адаптив ===== */
/* ===== Адаптив ===== */
@media (max-width:1100px){
    .events-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:920px){
    .burger{display:block}
    .nav{
        position:absolute;left:0;right:0;top:100%;
        background:#fff;display:grid;gap:2px;max-height:0;
        overflow:hidden;border-bottom:1px solid #e5e7eb;
        transition:max-height .3s ease,padding .3s ease;
    }
    .nav.nav--open{max-height:400px;padding:10px 0}
    .header-inner{position:relative}
    .cards{grid-template-columns:repeat(2,1fr)}
    .welcome-inner {
        flex-direction: column;
        text-align: center;
    }
    .welcome-img {
        max-width: 90%;
    }
}

@media (max-width:640px){
    .hero{min-height:520px}
    .events-grid,
    .cards{grid-template-columns:1fr}
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
}

.dropdown-content a {
    color: #1e293b;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}



/* ======================== DROPDOWN MENU ======================== */

.header .dropdown {
    position: relative;
    list-style: none;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 18px 0;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 10;
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

/* Иконки */
.dropdown-menu i {
    font-size: 16px;
    color: #64748b;
}

/* ====== FILTER ONLY (точечно под твой Blade) ====== */
.events-filter{
    width: min(1200px, 92%);
    margin: 55px auto 10px;
    padding: 60px;
    border-radius: 22px;
margin-bottom: 80px !important;

    background: linear-gradient(135deg,
        rgba(255,255,255,0.85),
        rgba(240,249,255,0.75),
        rgba(250,245,255,0.70)
    );
    border: 1px solid rgba(59,130,246,0.18);
    box-shadow: 0 18px 45px rgba(15,23,42,0.10);

    position: relative;
    overflow: hidden;
}

/* декор */
.events-filter::before,
.events-filter::after{
    content:"";
    position:absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(35px);
    opacity: .55;
    pointer-events:none;
}
.events-filter::before{
    top: -260px;
    left: -220px;
    background: radial-gradient(circle, rgba(59,130,246,0.28), transparent 70%);
}
.events-filter::after{
    bottom: -280px;
    right: -220px;
    background: radial-gradient(circle, rgba(168,85,247,0.22), transparent 70%);
}

/* ТОЛЬКО заголовок фильтра */
.events-filter .section-title{
    margin: 0 0 14px 0;
    font-size: 26px;
    font-weight: 800;
    color: #0e2f82;
    text-align: left;

    /* если где-то есть градиентный текст — убираем */
    background: none;
    -webkit-text-fill-color: initial;
}
.events-filter .section-title::after{
    content:"";
    display:block;
    width: 64px;
    height: 4px;
    margin-top: 10px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    box-shadow: 0 8px 20px rgba(59,130,246,0.25);
}

/* SELECT только в фильтре */
.events-filter .events-month-select{
    width: 100%;
    max-width: 520px;
    display: block;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 14px 52px 14px 16px;
    border-radius: 14px;

    background-color: rgba(255,255,255,0.92);
    border: 1px solid rgba(59,130,246,0.22);

    color: #0f172a;
    font-weight: 650;
    font-size: 15px;

    outline: none;
    transition: all .25s ease;
    cursor: pointer;

    box-shadow: 0 10px 25px rgba(59,130,246,0.12);

    /* стрелка */
    background-image:
        linear-gradient(45deg, transparent 50%, #334155 50%),
        linear-gradient(135deg, #334155 50%, transparent 50%),
        linear-gradient(to right, rgba(59,130,246,0.10), rgba(168,85,247,0.10));
    background-position:
        calc(100% - 22px) 50%,
        calc(100% - 16px) 50%,
        calc(100% - 48px) 50%;
    background-size:
        7px 7px,
        7px 7px,
        1px 22px;
    background-repeat: no-repeat;
}

.events-filter .events-month-select:hover{
    transform: translateY(-2px);
    border-color: rgba(59,130,246,0.35);
    box-shadow: 0 16px 35px rgba(59,130,246,0.16);
}
.events-filter .events-month-select:focus{
    border-color: rgba(59,130,246,0.50);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.18), 0 16px 35px rgba(59,130,246,0.16);
}

/* заголовок месяца */
.events-month-group{
    width: min(1200px, 92%);
    margin: 20px auto 0;
    animation: monthFade .25s ease;
}
@keyframes monthFade{
    from{ opacity:0; transform: translateY(10px); }
    to{ opacity:1; transform: translateY(0); }
}
.events-month-title{
    margin: 28px 0 12px;
    font-size: 22px;
    font-weight: 800;
    color: #0e2f82;
}

/* адаптив */
@media (max-width: 768px){
    .events-filter{ padding: 18px 16px; margin-top: 40px; }
    .events-filter .section-title{ font-size: 22px; }
    .events-filter .events-month-select{ max-width: 100%; font-size: 14px; }
}
/* ✅ убрать огромный воздух перед карточками внутри выбранного месяца */
.events-month-group .events-grid{
    margin-top: 18px !important;   /* сделай 10-25px как нравится */
    padding-top: 0 !important;
}

/* ✅ если вдруг сам заголовок даёт лишний воздух */
.events-month-title{
    margin: 0 0 18px !important;   /* было 28px сверху — убрали */
}

