.hero {
            position: relative;
            min-height: 100vh;
            min-height: 100svh;
            display: flex;
            align-items: center;
            overflow: hidden;
            padding: calc(80px + 26px) 0 90px;
            background:
                radial-gradient(120% 90% at 80% 40%, rgba(5, 32, 145, 0.55) 0%, transparent 55%),
                radial-gradient(90% 80% at 10% 20%, rgba(1, 28, 115, 0.5) 0%, transparent 50%),
                var(--gradient-blue-dark);
        }

        #heroCanvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
            opacity: 0.9;
        }

        .hero-particles { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
        .particle {
            position: absolute;
            width: 3px; height: 3px;
            background: rgba(255, 255, 255, 0.4);
            border-radius: 50%;
            animation: float 20s infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
        }

        .hero-owl {
            position: absolute;
            right: 15%;
            top: 50%;
            height: 70%;
            aspect-ratio: 1163 / 2274;
            z-index: 1;
            opacity: 0.95;
            pointer-events: none;
            background: white;
            background-size: 240% 240%;
            -webkit-mask: url('../krasgmu_logo_owl_mob_old.svg') center / contain no-repeat;
            mask: url('../krasgmu_logo_owl_mob_old.svg') center / contain no-repeat;
            filter: drop-shadow(0 0 42px rgba(120, 150, 255, 0.45));
            animation: owlFloat 7s ease-in-out infinite,
                       owlShimmer 7.5s linear infinite,
                       owlPulse 5s ease-in-out infinite;
        }
        @keyframes owlFloat {
            0%, 100% { transform: translateY(-52%); }
            50% { transform: translateY(-46%); }
        }
        @keyframes owlShimmer {
            0% { background-position: 0% 50%; }
            100% { background-position: 240% 50%; }
        }
        @keyframes owlPulse {
            0%, 100% { filter: drop-shadow(0 0 28px rgba(120, 150, 255, 0.35)); }
            50% { filter: drop-shadow(0 0 62px rgba(150, 180, 255, 0.6)); }
        }

        .hero-deco-dots {
            position: absolute;
            width: 70px; height: 90px;
            background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1.4px, transparent 1.6px);
            background-size: 14px 14px;
            opacity: 0.5;
            z-index: 1;
            pointer-events: none;
        }
        .hero-deco-x {
            position: absolute;
            font-weight: 700;
            line-height: 0.8;
            color: var(--accent-red);
            opacity: 0.55;
            z-index: 1;
            pointer-events: none;
            user-select: none;
        }

        .hero-inner { position: relative; z-index: 3; width: 100%; }
        .hero-content { color: var(--white); max-width: 760px; }

        .hero-label {
            display: inline-block;
            padding: 10px 24px;
            background: rgba(255, 255, 255, 1);
            border-radius: 30px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 28px;
            color: var(--primary-blue);
        }

        .hero-title {
            font-size: clamp(38px, 6vw, 82px);
            font-weight: 700;
            line-height: 1.04;
            letter-spacing: -0.5px;
            text-transform: uppercase;
            margin-bottom: 24px;
        }
        .hero-title span { display: block; }
        .hero-title .l-solid { color: var(--white); }
        .hero-title .l-outline {
            color: transparent;
            -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
        }

        .hero-subtitle {
            font-size: clamp(16px, 1.7vw, 19px);
            font-weight: 400;
            color: rgba(255, 255, 255, 0.82);
            margin-bottom: 40px;
            line-height: 1.75;
            max-width: 540px;
        }

        .hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }
        .hero-buttons .btn {
            position: relative;
            overflow: hidden;
            padding: 18px 38px;
            letter-spacing: 1px;
        }
        .hero-buttons .btn > * { position: relative; z-index: 1; }
        .hero-buttons .btn::before {
            content: '';
            position: absolute;
            top: 0; left: -140%;
            width: 65%; height: 100%;
            background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.42), transparent);
            transform: skewX(-20deg);
            transition: left 0.6s ease;
            z-index: 0;
        }
        .hero-buttons .btn:hover::before { left: 150%; }
        .hero-buttons .btn-secondary:hover { background: var(--white); color: var(--primary-blue); box-shadow: inset 0 0 0 2px var(--white); }

        .scroll-indicator {
            position: absolute;
            bottom: 26px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            color: rgba(255, 255, 255, 0.5);
            font-size: 20px;
        }
        .scroll-indicator i { display: block; animation: scrollBounce 2s ease-in-out infinite; }
        @keyframes scrollBounce {
            0%, 100% { transform: translateY(0); opacity: 0.4; }
            50% { transform: translateY(7px); opacity: 0.9; }
        }

        @media (max-width: 992px) {
            .hero-owl { right: -14%; height: 62%; opacity: 0.38; }
        }
        @media (max-width: 768px) {
            .hero { padding: 112px 0 70px; }
            .hero-deco-dots, .hero-deco-x { display: none; }
            .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
            .hero-buttons .btn { width: 100%; justify-content: center; }
            .hero-owl { height: auto; width: 175px; top: 220px; right: 0px; opacity: 0.42; }
            .scroll-indicator { bottom: 14px; font-size: 18px; }
        }
        @media (max-width: 480px) {
            .hero-label { font-size: 9px; padding: 8px 16px; }
        }

        .about-section {
            position: relative;
            padding-top: 100px;
            padding-bottom: 100px;
            background: var(--beige);
            border-top: 3px solid var(--beige-line);
            border-bottom: 3px solid var(--beige-line);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
            overflow: hidden;
        }
        .about-section > .container { position: relative; z-index: 1; }

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

        .about-text .section-label { margin-bottom: 0; }
        .about-text h2 {
            font-size: clamp(30px, 4vw, 44px);
            font-weight: 700;
            color: var(--text-dark);
            margin: 16px 0 10px;
            line-height: 1.15;
        }
        .about-text h2 span { color: var(--accent-red); }
        .about-text p {
            font-size: 17px;
            line-height: 1.85;
            color: var(--text-light);
            margin-top: 20px;
        }

        .images-gallery { position: relative; padding: 14px 14px 0 0; }
        .images-gallery__main { position: relative; cursor: pointer; }
        .images-gallery__main::before {
            content: '';
            position: absolute;
            top: -14px; right: -14px;
            width: 100%; height: 100%;
            border: 2px solid var(--accent-red);
            border-radius: 22px;
            z-index: 0;
            pointer-events: none;
        }
        .images-gallery__inner {
            position: relative;
            z-index: 1;
            overflow: hidden;
            border-radius: 20px;
            border: 1.5px solid var(--card-border);
            aspect-ratio: 16 / 10;
            background: var(--card-soft);
            box-shadow: 0 18px 45px rgba(4, 13, 46, 0.14);
        }
        .images-gallery__inner img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.45s ease;
        }
        .images-gallery__main:hover .images-gallery__inner img { transform: scale(1.05); }
        .images-gallery__zoom {
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%) scale(0.85);
            width: 60px; height: 60px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            background: var(--gradient-red);
            color: var(--white); font-size: 20px;
            box-shadow: 0 10px 26px -6px rgba(220, 20, 60, 0.6);
            opacity: 0;
            transition: opacity 0.3s ease, transform 0.3s ease;
            z-index: 3;
            pointer-events: none;
        }
        .images-gallery__main:hover .images-gallery__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }

        .images-gallery__thumbs {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 12px;
            margin-top: 16px;
        }
        .gthumb, .gthumb-more {
            position: relative;
            overflow: hidden;
            border: 1.5px solid var(--card-border);
            border-radius: 12px;
            aspect-ratio: 1;
            background: var(--card-soft);
            padding: 0;
            cursor: pointer;
        }
        .gthumb { display: block; transition: border-color 0.25s ease; }
        .gthumb.hidden { display: none !important; }
        .gthumb img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        .gthumb:hover { border-color: var(--accent-red); }
        .gthumb:hover img { transform: scale(1.08); }
        .gthumb.is-active { border-color: var(--accent-red); }
        .gthumb.is-active::after {
            content: '';
            position: absolute; inset: 0;
            border: 2px solid var(--accent-red);
            border-radius: 10px;
            pointer-events: none;
        }
        .gthumb-more {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            background: var(--gradient-blue);
            border-color: transparent;
            color: var(--white);
            font-family: inherit;
            font-weight: 700;
            font-size: 22px;
            line-height: 1;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
        .gthumb-more.visible { display: flex; }
        .gthumb-more small {
            font-weight: 400;
            font-size: 11px;
            letter-spacing: 0.4px;
            opacity: 0.85;
        }
        .gthumb-more:hover { transform: translateY(-3px); box-shadow: 0 12px 26px -8px rgba(4, 13, 46, 0.55); }

        .about-facts {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 18px;
            margin-top: 60px;
        }
        .about-fact {
            position: relative;
            background: var(--beige-card);
            border: 1.5px solid var(--beige-card-line);
            border-radius: 18px;
            padding: 28px 24px;
            box-shadow: 0 8px 22px rgba(120, 95, 40, 0.07);
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .about-fact i {
            width: 54px; height: 54px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: var(--white);
            background: var(--gradient-red);
            box-shadow: 0 10px 24px -8px rgba(220, 20, 60, 0.55);
            margin-bottom: 18px;
            transform: rotate(-4deg);
            transition: transform 0.35s ease;
        }
        .about-fact:nth-child(even) i {
            background: var(--gradient-blue);
            box-shadow: 0 10px 24px -8px rgba(1, 28, 115, 0.55);
        }
        .about-fact:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 42px rgba(120, 95, 40, 0.16);
            border-color: var(--accent-red);
        }
        .about-fact:nth-child(even):hover { border-color: var(--brand-blue); }
        .about-fact:hover i { transform: rotate(0) scale(1.08); }
        .about-fact h4 {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 7px;
            line-height: 1.3;
        }
        .about-fact p { font-size: 14px; line-height: 1.6; color: var(--text-light); }

        @media (max-width: 1000px) {
            .about-grid { grid-template-columns: 1fr; gap: 44px; }
            .about-section { padding-top: 130px; }
            .about-facts { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 520px) {
            .about-facts { grid-template-columns: 1fr; }
            .images-gallery__thumbs { gap: 8px; }
        }

.team-section {
            position: relative;
        }

        .team-header {
            text-align: left;
            max-width: 760px;
            margin: 0 0 50px;
        }

        .team-header h2 {
            font-size: 40px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 25px;
            line-height: 1.2;
        }

        .team-header h2 span {
            color: var(--accent-red);
        }

        .team-header p {
            font-size: 18px;
            line-height: 1.8;
            color: var(--text-light);
        }

        .team-lead-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 26px;
            margin-bottom: 26px;
        }
        .team-card.team-card--wide { flex-direction: row; align-items: stretch; }
        .team-card.team-card--wide .team-photo-wrapper {
            aspect-ratio: auto;
            width: 40%;
            flex-shrink: 0;
        }
        .team-card.team-card--wide .team-photo { height: 100%; }

        .team-card.team-card--wide .team-card__body {
            padding: 28px 28px 28px 26px;
            justify-content: flex-start;
        }

        .team-card.team-card--wide .team-card__foot { margin-top: auto; padding-top: 22px; }

        .team-leadership {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 26px;
            height: 700px;
        }

        .team-card {
            position: relative;
            display: flex;
            flex-direction: column;
            background: linear-gradient(160deg, #071033 0%, #0A1A4A 100%);
            border: 1px solid rgba(255, 255, 255, 0.10);
            overflow: hidden;
            box-shadow: 0 14px 36px rgba(4, 13, 46, 0.28);
            transition: transform 0.3s ease, border-color 0.3s ease;
        }
        .team-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-red);
        }

        .team-photo-wrapper {
            position: relative;
            overflow: hidden;
            aspect-ratio: 3 / 4;
        }
        .team-photo-wrapper::after {
            content: '';
            position: absolute;
            inset: auto 0 0 0;
            height: 46%;
            background: linear-gradient(to top, rgba(7, 16, 51, 0.85), transparent);
            pointer-events: none;
        }
        .team-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 18%;
            transition: transform 0.45s ease;
        }
        .team-card:hover .team-photo { transform: scale(1.05); }

        .team-card__body {
            display: flex;
            flex-direction: column;
            flex: 1;
            padding: 18px 20px 22px;
        }
        .team-name {
            font-size: 19px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            color: var(--white);
            line-height: 1.25;
        }
        .team-position {
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: var(--bright-red);
            margin-top: 7px;
        }

        .team-desc {
            font-size: 14.5px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.72);
            margin-top: 10px;
            min-height: 92px;
        }

        .team-card__foot {
            margin-top: auto;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.12);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 14px;
            width: 100%;
        }
        .team-lines {
            display: flex;
            flex-direction: column;
            gap: 9px;
            width: 100%;
            min-height: 75px;
        }
        .team-contact {
            display: inline-flex;

            gap: 11px;
            min-height: 26px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            text-decoration: none;
            transition: color 0.25s ease;
            max-width: 100%;
        }
        .team-contact i { color: var(--accent-red); font-size: 24px; flex-shrink: 0; width: 24px; text-align: center; margin-left: 2px; }
        .team-contact span { word-break: break-word; }
        a.team-contact:hover { color: var(--bright-red); }
        .team-card__soc { display: flex; gap: 16px; align-items: center; min-height: 30px; }
        .team-card__soc a {
            width: 30px; height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.25s ease;
        }
        .team-card__soc a img { width: 26px; height: 26px; }
        .team-card__soc a:hover { transform: translateY(-3px); }
        @media (max-width: 1100px) {
            .team-leadership {
                gap: 20px;
            }
            .team-lead-grid { gap: 20px; margin-bottom: 20px; }
        }

        @media (max-width: 900px) {
            .team-lead-grid { grid-template-columns: 1fr; }
            .team-leadership {
                grid-template-columns: repeat(3, 1fr);
                gap: 18px;

                height: auto;
            }
            .team-card__body { padding: 18px 18px 20px; }
        }

        @media (max-width: 768px) {
            .team-header h2 {
                font-size: 30px;
            }
            .team-lead-grid,
            .team-leadership {
                grid-template-columns: 1fr;
                gap: 18px;
                height: auto;
                max-width: 420px;
                margin: 0 auto;
            }
            .team-lead-grid { margin-bottom: 18px; }

            .team-card.team-card--wide { flex-direction: column; }
            .team-card.team-card--wide .team-card__body { padding: 18px 18px 20px; }

            .team-photo-wrapper,
            .team-card.team-card--wide .team-photo-wrapper {
                width: 100%;
                aspect-ratio: 3 / 4;
            }

            .team-desc { min-height: 0; }
            .team-lines { min-height: 0; }
        }

        .team-carousel-section {
            padding: 0 0 60px;
            overflow: hidden;
        }

        .team-carousel-section .splide {
            padding: 0;
        }

        .team-carousel-section .splide__track {
            overflow: visible;
        }

        .carousel-item img {
            width: 100%;
            height: 420px;
            object-fit: cover;
            object-position: top;
            border-radius: 20px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
            display: block;
        }

        .carousel-item span {
            display: block;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-dark);
            text-align: center;
            margin-top: 15px;
        }

        .team-carousel-section .splide__arrows,
        .team-carousel-section .splide__pagination {
            display: none;
        }

        @media (max-width: 768px) {
            .carousel-item img {
                height: 340px;
            }
        }

        @media (max-width: 480px) {
            .carousel-item img {
                height: 280px;
            }
            .carousel-item span {
                font-size: 14px;
            }
        }

.structure-section {
            position: relative;
        }

        .structure-header {
            text-align: left;
            max-width: 760px;
            margin: 0 0 55px;
        }

        .structure-header h2 {
            font-size: 40px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 25px;
            line-height: 1.2;
        }

        .structure-header h2 span {
            color: var(--brand-blue);
        }

        .structure-header p {
            font-size: 18px;
            line-height: 1.8;
            color: var(--text-light);
        }

        .structure-grid {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .structure-block {
            display: grid;
            grid-template-columns: 1fr 320px;
            background: var(--card-soft);
            border: 1.5px solid var(--card-border);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 8px 28px rgba(20, 40, 80, 0.06);
        }

        .structure-info {
            padding: 45px;
        }

        .structure-info-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
        }

        .structure-icon {
            width: 65px;
            height: 65px;
            background: var(--gradient-red);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            color: var(--white);
            flex-shrink: 0;
            box-shadow: 0 8px 20px rgba(139, 0, 0, 0.25);
        }

        .structure-block:nth-child(even) .structure-icon {
            background: var(--gradient-blue);
            box-shadow: 0 8px 20px rgba(1, 28, 115, 0.25);
        }

        .structure-info h3 {
            font-size: 26px;
            font-weight: 700;
            color: var(--text-dark);
            line-height: 1.3;
        }

        .structure-desc {
            font-size: 16px;
            color: var(--text-dark);
            line-height: 1.8;
            margin-bottom: 25px;
        }

        .structure-tasks {
            margin-bottom: 0;
        }

        .structure-tasks-title {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-dark);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
        }

        .structure-list {
            list-style: none;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .structure-list li {
            position: relative;
            padding-left: 30px;
            font-size: 15px;
            color: var(--text-dark);
            line-height: 1.5;
        }

        .structure-list li::before {
            content: "\f00c";
            font-family: "Font Awesome 7 Free", "Font Awesome 5 Free";
            font-weight: 900;
            font-size: 9px;
            color: var(--white);
            position: absolute;
            left: 0;
            top: 1px;
            width: 19px;
            height: 19px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-red);
            border-radius: 50%;
            line-height: 1;
        }

        .structure-block:nth-child(even) .structure-list li::before {
            background: var(--gradient-blue);
        }

        .structure-leader {
            position: relative;
            overflow: hidden;
            background: linear-gradient(160deg, #5C0000 0%, #8B0000 100%);

            padding: 78px 30px 40px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        .structure-block:nth-child(even) .structure-leader {
            background: linear-gradient(160deg, #040D2E 0%, #011C73 100%);
        }

        .structure-leader::before {
            content: '';
            position: absolute;
            top: 18px; right: 18px;
            width: 74px; height: 66px;
            background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.3px, transparent 1.5px);
            background-size: 14px 14px;
            pointer-events: none;
        }
        .structure-leader::after {
            content: '';
            position: absolute;
            bottom: -45%; left: -25%;
            width: 220px; height: 220px;
            background: radial-gradient(circle, rgba(255, 107, 107, 0.30), transparent 68%);
            pointer-events: none;
        }
        .structure-block:nth-child(even) .structure-leader::after {
            background: radial-gradient(circle, rgba(5, 32, 145, 0.55), transparent 68%);
        }

        .structure-leader-label {
            position: absolute;
            top: 26px;
            left: 0;
            right: 0;
            width: max-content;
            max-width: calc(100% - 40px);
            margin: 0 auto;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            z-index: 1;
            display: inline-block;
            padding: 6px 16px;
            background: rgba(255, 255, 255, 0.14);
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 20px;
            font-size: 10px;
            font-weight: 700;

            color: #fff;
            opacity: 1;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            text-align: center;
            margin-bottom: 0;
        }

        .structure-leader-photo {
            position: relative;
            z-index: 1;
            width: 124px;
            height: 124px;
            border-radius: 50%;
            object-fit: cover;
            object-position: center 20%;
            border: 4px solid rgba(255, 255, 255, 0.95);
            box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.10), 0 16px 40px rgba(0, 0, 0, 0.35);
            margin-bottom: 22px;
        }

        .structure-leader-name {
            position: relative;
            z-index: 1;
            font-size: 20px;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .structure-leader-group {
            position: relative;
            z-index: 1;
            font-size: 14px;

            color: #fff;
        }

        .structure-leader-contacts {
            position: relative;
            z-index: 1;
            width: 100%;
            border-top: 1px solid rgba(255, 255, 255, 0.28);
            margin-top: 18px;
            padding-top: 16px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
            gap: 10px;
        }

        .structure-leader-contact {
            display: inline-flex;
            align-items: center;
            gap: 11px;
            color: rgba(255, 255, 255, 0.92);
            font-size: 14px;
            text-decoration: none;
            transition: opacity 0.25s ease;
            max-width: 100%;
        }
        .structure-leader-contact i {
            width: 24px;
            font-size: 24px;
            text-align: center;
            color: var(--white);
            flex-shrink: 0;
        }
        .structure-leader-contact span { word-break: break-word; }
        .structure-leader-contact:hover { opacity: 0.8; }

        .structure-leader-socials {
            display: flex;
            gap: 14px;
            margin-top: 4px;
        }
        .structure-leader-socials a {
            display: inline-flex;
            text-decoration: none;
            transition: transform 0.25s ease;
        }
        .structure-leader-socials a img { width: 24px; height: 24px; display: block; }
        .structure-leader-socials a:hover { transform: translateY(-3px); }

        .structure-leader-email {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.75);
        }

        .structure-leader-email a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .structure-leader-email a:hover {
            color: var(--white);
            text-decoration: underline;
        }

        @media (max-width: 1000px) {
            .structure-block {
                grid-template-columns: 1fr 280px;
            }
            .structure-info {
                padding: 35px;
            }
            .structure-list {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 800px) {
            .structure-block {
                grid-template-columns: 1fr;
            }
            .structure-leader {
                padding: 26px 24px;
                display: grid;

                grid-template-columns: auto 1fr;
                grid-template-areas:
                    'photo label'
                    'photo name'
                    'photo group'
                    'links links';
                align-items: center;
                column-gap: 20px;
                text-align: left;
            }
            .structure-leader-label {
                position: static;
                width: auto;
                max-width: none;
                margin: 0 0 10px;
                white-space: normal;
                overflow: visible;
                text-align: left;
                grid-area: label;
                justify-self: start;
            }
            .structure-leader-photo {
                grid-area: photo;
                width: 104px;
                height: 104px;
                margin-bottom: 0;
                align-self: center;
            }
            .structure-leader-name { grid-area: name; }
            .structure-leader-group { grid-area: group; margin-bottom: 0; }
            .structure-leader-contacts {
                grid-area: links;
                align-items: flex-start;
                margin-top: 18px;
                width: 100%;
            }

            .structure-leader-socials {
                display: flex;
                gap: 14px;
                margin-top: 4px;
            }

            .structure-leader::before { display: none; }
        }

        @media (max-width: 420px) {
            .structure-leader {

                column-gap: 14px;
                padding: 22px 18px;
            }
            .structure-leader-photo { width: 82px; height: 82px; }
        }

        @media (max-width: 600px) {
            .structure-header h2 {
                font-size: 30px;
            }
            .structure-info-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            .structure-info h3 {
                font-size: 22px;
            }
            .structure-info {
                padding: 30px;
            }
        }

.sno-section {
        background: var(--gradient-blue-dark);
        color: var(--white);
        position: relative;
        overflow: hidden;
    }

    .sno-section::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -15%;
        width: 500px;
        height: 500px;
        background: rgba(220, 20, 60, 0.06);
        border-radius: 50%;
        pointer-events: none;
    }

    .sno-head-row {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
        flex-wrap: wrap;
        margin-bottom: 55px;
    }
    .sno-head-row .btn { flex-shrink: 0; }
    .sno-head-row .btn i { font-size: 12px; transition: transform 0.3s ease; }
    .sno-head-row .btn:hover i { transform: translateX(4px); }

    .sno-section .section-header {
        text-align: left;
        max-width: 820px;
        margin: 0;
    }

    .sno-section .section-title {
        color: var(--white);
    }

    .sno-section .section-title span {
        color: var(--bright-red);
    }

    .sno-section .section-desc {
        color: rgba(255, 255, 255, 0.8);
    }

    .sno-hero {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 60px;
        align-items: center;
        margin-bottom: 80px;
        position: relative;
        z-index: 1;
    }

    .sno-hero-content h3 {
        font-size: 28px;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 25px;
    }

    .sno-hero-text {
        font-size: 16px;
        line-height: 1.9;
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: 30px;
    }

    .sno-hero-features {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .sno-hero-feature {
        display: flex;
        align-items: center;
        gap: 14px;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.9);
    }

    .sno-hero-feature i {
        width: 26px;
        height: 26px;
        background: var(--bright-red);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        flex-shrink: 0;
    }

    .sno-hero-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sno-hero-icon i {
        font-size: 220px;
        color: var(--white);
        animation: atomRotate 20s linear infinite;
    }

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

    .sno-stats {
        display: flex;
        justify-content: center;
        gap: 100px;
        margin-bottom: 80px;
        flex-wrap: wrap;
        position: relative;
        z-index: 1;
    }

    .sno-stat {
        text-align: center;
    }

    .sno-stat-number {
        font-size: 64px;
        font-weight: 800;
        color: var(--bright-red);
        line-height: 1;
        margin-bottom: 12px;
    }

    .sno-stat-label {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 600;
    }

    .sno-accordion {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: relative;
        z-index: 1;
    }

    .sno-item {
        background: var(--white);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .sno-item-header {
        display: flex;
        align-items: center;
        padding: 20px 28px;
        cursor: pointer;
        gap: 20px;
        transition: background 0.2s ease;
    }

    .sno-item-header:hover {
        background: #f9fafb;
    }

    .sno-item-num {
        width: 48px;
        height: 48px;
        background: var(--gradient-red);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        font-weight: 700;
        color: var(--white);
        flex-shrink: 0;
    }

    .sno-item:nth-child(even) .sno-item-num {
        background: var(--gradient-blue);
    }

    .sno-item-name {
        flex: 1;
        font-size: 17px;
        font-weight: 600;
        color: var(--text-dark);
        line-height: 1.4;
    }

    .sno-item-toggle {
        width: 42px;
        height: 42px;
        background: #f0f2f5;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: var(--text-light);
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .sno-item.active .sno-item-toggle {
        background: var(--primary-red);
        color: var(--white);
        transform: rotate(45deg);
    }

    .sno-item:nth-child(even).active .sno-item-toggle {
        background: var(--primary-blue);
    }

    .sno-item-body {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.4s ease;
    }

    .sno-item.active .sno-item-body {
        grid-template-rows: 1fr;
    }

    .sno-item-content {
        overflow: hidden;
    }

    .sno-item-inner {
        padding: 0 28px 30px;
    }

    .sno-dept {
        display: grid;
        grid-template-columns: 1fr 320px;
        border-top: 1px solid #eee;
        padding-top: 25px;
        gap: 30px;
    }

    .sno-dept-info {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .sno-dept-desc {
        font-size: 15px;
        line-height: 1.8;
        color: var(--text-dark);
    }

    .sno-dept-section-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-dark);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .sno-dept-contacts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sno-dept-contact {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .sno-dept-contact i {
        width: 36px;
        height: 36px;
        background: var(--gradient-red);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 14px;
        flex-shrink: 0;
    }

    .sno-item:nth-child(even) .sno-dept-contact i {
        background: var(--gradient-blue);
    }

    .sno-dept-contact-text {
        flex: 1;
        min-width: 0;
    }

    .sno-dept-contact-label {
        font-size: 11px;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .sno-dept-contact-value {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
    }

    .sno-dept-contact-value a {
        color: var(--brand-blue);
        text-decoration: none;
    }

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

    .sno-dept-link {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 24px;
        border: 2px solid #ddd;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
        text-decoration: none;
        transition: all 0.2s ease;
        align-self: flex-start;
    }

    .sno-dept-link:hover {
        border-color: var(--brand-blue);
        color: var(--brand-blue);
    }

    .sno-dept-starosta {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-red) 100%);
        border-radius: 20px;
        padding: 30px 25px;
        text-align: center;
        color: var(--white);
    }

    .sno-item:nth-child(even) .sno-dept-starosta {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    }

    .sno-starosta-label {
        font-size: 10px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .sno-starosta-photo {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center 20%;
        border: 4px solid var(--white);
        margin-bottom: 18px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

    .sno-starosta-name {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .sno-starosta-group {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 18px;
    }

    .sno-starosta-contacts {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.9);
    }

    .sno-starosta-contacts a {
        color: var(--white);
        text-decoration: none;
    }

    .sno-starosta-contacts a:hover {
        text-decoration: underline;
    }

    .sno-starosta-vk {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: var(--white);
        color: var(--text-dark);
        padding: 12px 28px;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .sno-starosta-vk i {
        color: var(--primary-blue);
        font-size: 18px;
    }

    .sno-item:nth-child(even) .sno-starosta-vk i {
        color: var(--primary-blue);
    }

    .sno-starosta-vk:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    @media (max-width: 1100px) {
        .sno-hero {
            grid-template-columns: 1fr;
            gap: 40px;
        }
        .sno-hero-icon {
            display: none;
        }
    }

    @media (max-width: 900px) {
        .sno-dept {
            grid-template-columns: 1fr;
            gap: 25px;
        }
        .sno-dept-starosta {
            max-width: 350px;
            margin: 0 auto;
        }
        .sno-dept-contacts {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 600px) {
        .sno-stats {
            gap: 50px;
        }
        .sno-stat-number {
            font-size: 48px;
        }
        .sno-item-header {
            padding: 10px;
        }
        .sno-item-name {
            font-size: 15px;
        }
        .sno-item-inner {
            padding: 0 20px 25px;
        }
    }

.events-section {

    }

    .events-header {
        text-align: left;
        max-width: 760px;
        margin: 0 0 60px;
    }

    .events-header h2 {
        font-size: 44px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .events-header h2 span {
        color: var(--accent-red);
    }

    .events-header p {
        font-size: 18px;
        color: var(--text-light);
        line-height: 1.8;
    }

    .event-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
        margin-bottom: 80px;
    }

    .event-item:last-child {
        margin-bottom: 0;
    }

    .event-item:nth-child(even) {
        direction: rtl;
    }

    .event-item:nth-child(even) > * {
        direction: ltr;
    }

    .event-item .images-gallery__main::before { border-color: var(--accent-red); }
    .event-item:nth-child(even) .images-gallery__main::before { border-color: var(--brand-blue); }

    .event-item:nth-child(even) .images-gallery__zoom {
        background: var(--gradient-blue);
        box-shadow: 0 10px 26px -6px rgba(4, 13, 46, 0.6);
    }

    .event-item:nth-child(even) .gthumb:hover { border-color: var(--brand-blue); }
    .event-item:nth-child(even) .gthumb.is-active { border-color: var(--brand-blue); }
    .event-item:nth-child(even) .gthumb.is-active::after { border-color: var(--brand-blue); }

    .event-item .gthumb-more { display: none; }
    .event-item .gthumb-more.visible { display: flex; }
    .event-item:nth-child(odd) .gthumb-more { background: var(--gradient-red); }
    .event-item:nth-child(odd) .gthumb-more:hover { box-shadow: 0 12px 26px -8px rgba(220, 20, 60, 0.5); }

    .event-content {
        padding: 20px 0;
    }

    .event-tag {
        display: inline-block;
        padding: 8px 20px;
        background: var(--gradient-red);
        color: var(--white);
        border-radius: 20px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .event-item:nth-child(even) .event-tag {
        background: var(--gradient-blue);
    }

    .event-title {
        font-size: 32px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .event-desc {
        font-size: 16px;
        color: var(--text-light);
        line-height: 1.8;
        margin-bottom: 25px;
    }

    .event-features {
        list-style: none;
        margin-bottom: 30px;
    }

    .event-features li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        font-size: 15px;
        color: var(--text-dark);
    }

    .event-features i {
        color: var(--accent-red);
        font-size: 14px;
    }

    .event-item:nth-child(even) .event-features i {
        color: var(--brand-blue);
    }

    .ev-modal__grid {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 26px;
        align-items: start;
    }

    .ev-modal__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
    .ev-modal__thumbs button {
        position: relative;
        aspect-ratio: 1;
        border-radius: 9px;
        overflow: hidden;
        border: 1.5px solid var(--card-border);
        background: var(--card-soft);
        padding: 0;
        cursor: pointer;
        transition: border-color 0.25s ease;
    }
    .ev-modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
    .ev-modal__thumbs button:hover { border-color: var(--accent-red); }
    .ev-modal__thumbs button.is-active { border-color: var(--accent-red); }
    .ev-modal__thumbs .ev-modal__more {
        display: flex; align-items: center; justify-content: center;
        background: var(--gradient-red);
        border-color: transparent;
        color: var(--white);
        font-family: inherit; font-weight: 700; font-size: 14px;
    }

    .ev-modal__facts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }
    .ev-modal__fact {
        display: flex; align-items: center; gap: 11px;
        background: var(--card-soft);
        border: 1px solid var(--card-border);
        border-radius: 12px;
        padding: 10px 12px;
    }
    .ev-modal__fact i {
        width: 32px; height: 32px; flex-shrink: 0;
        border-radius: 9px;
        background: rgba(220, 20, 60, 0.09);
        color: var(--accent-red);
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 13px;
    }
    .ev-modal__fact-k { font-size: 10px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--medium-grey); }
    .ev-modal__fact-v { font-size: 13px; font-weight: 600; color: var(--text-dark); line-height: 1.35; margin-top: 1px; }

    .ev-modal__photo {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        aspect-ratio: 4 / 3;
        background: var(--card-soft);
        cursor: pointer;
    }
    .ev-modal__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
    .ev-modal__photo:hover img { transform: scale(1.04); }
    .ev-modal__zoom {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%) scale(0.85);
        width: 56px; height: 56px;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        background: var(--gradient-red);
        color: var(--white); font-size: 19px;
        box-shadow: 0 10px 26px -6px rgba(220, 20, 60, 0.6);
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }
    .ev-modal__photo:hover .ev-modal__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }

    .ev-modal__desc { font-size: 15px; line-height: 1.75; color: var(--text-light); }
    .ev-modal__desc + .ev-modal__desc { margin-top: 12px; }
    .ev-modal__feats-title {
        margin-top: 20px;
        font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
        color: var(--text-light);
    }
    .ev-modal__feats { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
    .ev-modal__feats li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-dark); line-height: 1.5; }
    .ev-modal__feats i {
        width: 24px; height: 24px; flex-shrink: 0; margin-top: 1px;
        border-radius: 50%;
        background: var(--gradient-red);
        color: var(--white);
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 10px;
    }

    @media (max-width: 760px) {
        .ev-modal__grid { grid-template-columns: 1fr; gap: 20px; }
        .ev-modal__photo { aspect-ratio: 16 / 10; }
        .ev-modal__facts { grid-template-columns: 1fr; }
    }

    .btn-event {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 28px;
        background: transparent;
        border: 2px solid var(--accent-red);
        color: var(--accent-red);
        border-radius: 12px;
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .btn-event:hover {
        background: var(--accent-red);
        color: var(--white);
        transform: translateY(-2px);
    }

    .event-item:nth-child(even) .btn-event {
        border-color: var(--brand-blue);
        color: var(--brand-blue);
    }

    .event-item:nth-child(even) .btn-event:hover {
        background: var(--brand-blue);
        color: var(--white);
    }

    @media (max-width: 1300px) {
    }

    @media (max-width: 1100px) {
        .event-item {
            gap: 50px;
        }
    }

    @media (max-width: 900px) {
        .event-item,
        .event-item:nth-child(even) {
            grid-template-columns: 1fr;
            gap: 30px;
            direction: ltr;
            margin-bottom: 60px;
        }

        .event-title {
            font-size: 26px;
        }

        .events-header {
            margin-bottom: 50px;
        }

        .events-header h2 {
            font-size: 32px;
        }
    }

    @media (max-width: 600px) {
        .images-gallery__thumbs {
            gap: 8px;
            margin-top: 12px;
        }

        .gthumb,
        .gthumb-more {
            border-radius: 10px;
        }

        .gthumb-more {
            font-size: 15px;
        }
        .gthumb-more small {
            font-size: 9px;
        }

        .event-title {
            font-size: 22px;
        }

        .event-desc {
            font-size: 15px;
        }

        .event-content {
            padding: 10px 0;
        }

        .btn-event {
            padding: 12px 24px;
            font-size: 13px;
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 400px) {
        .events-header h2 {
            font-size: 26px;
        }

        .images-gallery__thumbs {
            gap: 6px;
        }

        .gthumb,
        .gthumb-more {
            border-radius: 8px;
        }

        .gthumb-more {
            font-size: 13px;
        }
        .gthumb-more small {
            display: none;
        }
    }

.tramplin-section {
            background: var(--gradient-red-dark);
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .tramplin-section::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 500px;
            height: 500px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 50%;
        }

        .tramplin-content {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 80px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .section-label.on-red {
            background: var(--white);
            color: var(--primary-red);
        }

        .tramplin-info h2 {
            font-size: clamp(34px, 4.5vw, 48px);
            font-weight: 700;
            margin-bottom: 25px;
            line-height: 1.2;
        }

        .tramplin-info p {
            font-size: 18px;
            opacity: 0.9;
            line-height: 1.8;
            margin-bottom: 35px;
        }

        .tramplin-features {
            list-style: none;
            margin-bottom: 40px;
        }

        .tramplin-features li {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 18px;
            font-size: 16px;
        }

        .tramplin-features i {
            width: 28px;
            height: 28px;
            background: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: var(--primary-red);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
        }

        .tramplin-image {
            position: relative;
            padding: 14px 14px 0 0;
        }
        .tramplin-image::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: calc(100% - 14px);
            height: calc(100% - 14px);
            border: 2px solid rgba(255, 255, 255, 0.75);
            border-radius: 22px;
            z-index: 0;
            pointer-events: none;
        }

        .tramplin-image .image-frame {
            height: 450px;
            position: relative;
            z-index: 1;
        }

        .tramplin-image .image-frame.white-border::before {
            display: none;
        }

        .tramplin-badge {
            position: absolute;
            bottom: -30px;
            left: -30px;
            width: 140px;
            height: 140px;
            background: var(--white);
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--primary-red);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
            z-index: 3;
        }

        .tramplin-badge span:first-child {
            font-size: 42px;
            font-weight: 700;
            line-height: 1;
        }

        .tramplin-badge span:last-child {
            font-size: 12px;
            text-transform: uppercase;
            font-weight: 600;
        }

        .btn-tramplin {
            background: var(--white);
            color: var(--primary-red);
        }

        .btn-tramplin:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
        }

        @media (max-width: 900px) {
            .tramplin-content {
                grid-template-columns: 1fr;
                gap: 50px;
            }
            .tramplin-info h2 {
                font-size: 36px;
            }
        }

.contact-section {
        position: relative;
    }

    .contact-section .section-header {
        text-align: left;
        max-width: 700px;
        margin: 0 0 55px;
    }

    .contact-wrapper {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
        align-items: start;
    }

    .contact-info {
        background: linear-gradient(160deg, #071033 0%, #0A1A4A 100%);
        border: 1px solid rgba(255, 255, 255, 0.10);
        padding: 45px;
        box-shadow: 0 18px 45px rgba(4, 13, 46, 0.25);
    }

    .contact-info h3 {
        font-size: 26px;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 12px;
    }

    .contact-info > p {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.72);
        margin-bottom: 35px;
        line-height: 1.7;
    }

    .contact-items {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 35px;
    }

    .contact-item-block {
        display: flex;
        align-items: flex-start;
        gap: 18px;
    }

    .contact-icon {
        width: 55px;
        height: 55px;
        background: var(--gradient-red);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: var(--white);
        flex-shrink: 0;
        box-shadow: 0 10px 24px -8px rgba(220, 20, 60, 0.55);
    }

    .contact-text h4 {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: white;
        margin-bottom: 5px;
    }

    .contact-text p,
    .contact-text a {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        line-height: 1.6;
        transition: color 0.3s ease;
    }

    .contact-text a:hover {
        color: var(--bright-red);
    }

    .contact-socials {
        display: flex;
        gap: 14px;
        padding-top: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .contact-socials a {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

    .contact-socials a img { width: 30px; height: 30px; display: block; }
    .contact-socials a .soc-invert { filter: invert(1); }

    .contact-socials a:hover {
        transform: translateY(-3px);
    }

    .contact-form {
        background: var(--white);
        padding: 45px;
        border: 1.5px solid var(--card-border);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    }

    .contact-form-header {
        margin-bottom: 28px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-light);
    }

    .contact-form-title {
        font-size: 24px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 8px;
    }

    .contact-form-desc {
        font-size: 15px;
        color: var(--text-light);
        line-height: 1.6;
    }

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

    .form-group {
        margin-bottom: 22px;
    }

    .form-group.full-width {
        grid-column: 1 / -1;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 700;
        font-size: 12px;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: var(--text-light);
    }

    .form-group label .required {
        color: var(--accent-red);
        margin-left: 2px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 14px 16px;
        border: 1.5px solid var(--card-border);
        background: var(--white);
        color: var(--text-dark);
        font-size: 15px;
        font-family: inherit;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: var(--medium-grey);
    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--accent-red);
        box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.08);
    }

    .form-group input.error,
    .form-group textarea.error {
        border-color: var(--accent-red);
        background: #fff5f5;
    }

    .form-group textarea {
        min-height: 140px;
        resize: vertical;
    }

    .form-checkbox {
        margin-bottom: 25px;
    }

    .form-checkbox a { color: var(--brand-blue); font-weight: 600; }
    .form-checkbox a:hover { color: var(--accent-red); }

    .form-success { text-align: center; padding: 40px 10px; }
    .form-success i { font-size: 52px; color: #2e7d32; margin-bottom: 18px; }
    .form-success h4 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
    .form-success p { font-size: 15px; color: var(--text-light); }

    .form-checkbox label {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        cursor: pointer;
        font-size: 14px;
        color: var(--text-light);
        line-height: 1.5;
    }

    .form-checkbox input[type="checkbox"] {
        display: none;
    }

    .checkbox-custom {
        width: 22px;
        height: 22px;
        min-width: 22px;
        border: 2px solid var(--border-light);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        margin-top: 1px;
    }

    .checkbox-custom i {
        font-size: 12px;
        color: var(--white);
        opacity: 0;
        transform: scale(0);
        transition: all 0.2s ease;
    }

    .form-checkbox input[type="checkbox"]:checked + .checkbox-custom {
        background: var(--gradient-blue);
        border-color: var(--brand-blue);
    }

    .form-checkbox input[type="checkbox"]:checked + .checkbox-custom i {
        opacity: 1;
        transform: scale(1);
    }

    .form-checkbox label:hover .checkbox-custom {
        border-color: var(--brand-blue);
    }

    .checkbox-text a {
        color: var(--brand-blue);
        text-decoration: none;
    }

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

    .form-message {
        padding: 15px 20px;
        border-radius: 10px;
        margin-bottom: 20px;
        font-size: 14px;
        display: none;
    }

    .form-message.success {
        background: #e8f5e9;
        color: #2e7d32;
        border: 1px solid #a5d6a7;
        display: block;
    }

    .form-message.error {
        background: #ffebee;
        color: #c62828;
        border: 1px solid #ef9a9a;
        display: block;
    }

    .btn-submit {
        width: 100%;
        padding: 18px;
        background: var(--gradient-red);
        color: var(--white);
        border: none;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 10px 26px -8px rgba(220, 20, 60, 0.5);
    }

    .btn-submit:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 14px 34px -8px rgba(220, 20, 60, 0.6);
    }

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

    .btn-submit i {
        font-size: 18px;
    }

    @media (max-width: 1000px) {
        .contact-wrapper {
            grid-template-columns: 1fr;
            gap: 40px;
        }

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

        .form-group.full-width {
            grid-column: auto;
        }
    }

    @media (max-width: 600px) {
        .contact-info,
        .contact-form {
            padding: 30px 25px;
        }

        .contact-info h3 {
            font-size: 22px;
        }

        .contact-form-title {
            font-size: 20px;
        }

        .contact-icon {
            width: 48px;
            height: 48px;
            font-size: 20px;
        }

        .form-group input,
        .form-group textarea {
            padding: 14px 16px;
        }

        .btn-submit {
            padding: 16px;
        }

        .contact-socials a {
            font-size: 24px;
        }
    }

.modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.9);
        z-index: 2000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 40px;
    }

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

    .modal-content {
        max-width: 90%;
        max-height: 90%;
        position: relative;
    }

    .modal-content img {
        max-width: 100%;
        max-height: 80vh;
        border-radius: 10px;
    }

    .modal-close {
        position: absolute;
        top: -50px;
        right: 0;
        color: var(--white);
        font-size: 36px;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .modal-close:hover {
        color: var(--accent-red);
    }

    .modal-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: var(--white);
        font-size: 48px;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .modal-nav:hover {
        color: var(--accent-red);
    }

    .modal-prev {
        left: -60px;
    }

    .modal-next {
        right: -60px;
    }

        .club-hero { position: relative; overflow: hidden; background: var(--gradient-blue-dark); color: var(--white); padding: 150px 0 56px; }
        .club-hero::before { content:''; position:absolute; top:-30%; right:-10%; width:520px; height:520px; background:rgba(220,20,60,.10); border-radius:50%; pointer-events:none; }
        .club-hero .container { position: relative; z-index: 1; }
        .club-hero .crumbs span { color: rgba(255,255,255,.85); }
        .club-hero h1 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; line-height: 1.2; margin: 16px 0 16px; max-width: 900px; }
        .club-hero .lead { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.8); max-width: 760px; }
        .club-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

        .club-layout {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 50px;
            align-items: start;
            padding: 56px 0 90px;
        }
        .club-article h2 { font-size: 26px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
        .club-article > p { color: var(--text-light); font-size: 16px; line-height: 1.85; margin-bottom: 16px; }
        .club-article .pull {
            border-left: 3px solid var(--accent-red);
            background: rgba(220, 20, 60, 0.06);
            border-radius: 0 12px 12px 0;
            padding: 20px 24px;
            margin: 26px 0 6px;
            color: var(--text-dark);
            font-size: 16px;
            line-height: 1.65;
        }

        .club-leaders { margin-top: 44px; }
        .club-leaders .section-label { margin-bottom: 18px; }

        .leaders-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }
        @media (max-width: 560px) { .leaders-grid { grid-template-columns: 1fr; } }
        .leader {
            display: flex;
            flex-direction: column;
            background: #ffffff;
            border: 1.5px solid var(--card-border);
            border-radius: 18px;
            padding: 24px 26px;
            box-shadow: 0 6px 20px rgba(20, 40, 80, 0.05);
            transition: border-color 0.3s ease, transform 0.3s ease;
        }
        .leader:hover { border-color: var(--accent-red); transform: translateY(-4px); }
        .leader__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
        .leader__id { min-width: 0; }
        .leader__id h4 { font-size: 17px; font-weight: 700; color: var(--text-dark); line-height: 1.25; }
        .leader__role { color: var(--accent-red); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; font-weight: 600; }
        .leader__ava {
            width: 74px; height: 74px; flex-shrink: 0;
            border-radius: 50%; overflow: hidden;
            border: 2px solid var(--card-border);
        }
        .leader__ava img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
        .leader:hover .leader__ava { border-color: var(--accent-red); }
        .leader__desc { color: var(--text-light); font-size: 15px; line-height: 1.7; margin-top: 18px; }
        .leader__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 12px; }
        .leader__contact { display: inline-flex; align-items: center; gap: 10px; color: var(--text-light); font-size: 14px; text-decoration: none; transition: color 0.25s ease; }
        .leader__contact i { color: var(--accent-red); font-size: 18px; width: 22px; text-align: center; flex-shrink: 0; }
        .leader__contact span { word-break: break-word; }
        a.leader__contact:hover { color: var(--accent-red); }

        .club-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
        .side-card {
            background: #ffffff;
            border: 1.5px solid var(--card-border);
            border-radius: 18px;
            padding: 24px 26px;
            box-shadow: 0 6px 20px rgba(20, 40, 80, 0.05);
        }
        .side-card__title {
            font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
            color: var(--accent-red);
            margin-bottom: 16px;
        }
        .club-fact { display: flex; align-items: center; gap: 14px; padding: 11px 0; }
        .club-fact + .club-fact { border-top: 1px solid var(--border-light); }
        .club-fact i {
            width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            font-size: 16px; color: var(--accent-red);
            background: rgba(220, 20, 60, 0.09); border: 1px solid rgba(220, 20, 60, 0.22);
        }
        .club-fact__k { font-size: 11px; color: var(--medium-grey); text-transform: uppercase; letter-spacing: 1px; }
        .club-fact__v { font-size: 14px; color: var(--text-dark); margin-top: 2px; word-break: break-word; }
        .club-fact__v a { color: var(--text-dark); text-decoration: none; }
        .club-fact__v a:hover { color: var(--accent-red); }

        .leader--empty { border-style: dashed; background: var(--card-soft); box-shadow: none; }
        .leader--empty:hover { border-color: var(--card-border); transform: none; }
        .leader--empty .leader__id h4 { color: var(--text-light); }
        .leader--empty .leader__role { color: var(--medium-grey); }
        .leader__ava--empty {
            display: flex; align-items: center; justify-content: center;
            background: #fff; color: var(--medium-grey); font-size: 24px;
        }
        .leader__contact--muted { color: var(--medium-grey); }
        .leader__contact--muted i { color: var(--medium-grey); }

        .club-starosta { text-align: center; padding: 0; overflow: hidden; }
        .club-starosta__banner {
            position: relative;
            background: var(--gradient-blue);
            padding: 22px 20px 0;
        }
        .club-starosta__banner::before {
            content: ''; position: absolute; inset: 0;
            background-image: radial-gradient(rgba(255,255,255,0.18) 1.3px, transparent 1.5px);
            background-size: 14px 14px; opacity: 0.6; pointer-events: none;
        }
        .club-starosta__label {
            position: relative; z-index: 1; display: block;
            font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
            color: rgba(255, 255, 255, 0.85);
        }
        .club-starosta__photo-wrap {
            position: relative; z-index: 1;
            width: 104px; height: 52px;
            margin: 16px auto 0;
        }
        .club-starosta__photo {
            position: absolute; top: 0; left: 0;
            width: 104px; height: 104px; border-radius: 50%;
            object-fit: cover; object-position: center 20%;
            border: 4px solid #fff;
            box-shadow: 0 10px 24px rgba(4, 13, 46, 0.28);
            display: block;
        }
        .club-starosta__body { padding: 64px 24px 24px; }
        .club-starosta__name { font-size: 18px; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
        .club-starosta__group { font-size: 13px; color: var(--text-light); margin: 6px 0 16px; }
        .club-starosta__contacts { display: flex; flex-direction: column; gap: 8px; text-align: left; margin-bottom: 16px; }
        .club-starosta__contact { display: inline-flex; align-items: center; gap: 11px; color: var(--text-light); font-size: 14px; text-decoration: none; transition: color 0.25s ease; }
        .club-starosta__contact i {
            width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
            background: rgba(1, 28, 115, 0.08); color: var(--brand-blue);
            display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
        }
        .club-starosta__contact span { word-break: break-word; }
        .club-starosta__contact:hover { color: var(--brand-blue); }
        .club-starosta .btn { width: 100%; }

        @media (max-width: 1000px) {
            .club-layout { grid-template-columns: 1fr; gap: 34px; }
            .club-aside { position: static; }
        }
        @media (max-width: 768px) { .club-hero { padding-top: 120px; } .club-layout { padding-top: 40px; } }


/*
| Второй способ показать снимки новости — выбирается в админке
| («Как показать фотографии»). Карусель хороша, когда кадров немного
| и каждый хочется разглядеть; репортаж удобнее охватить целиком.
|
| Первый снимок крупный: у репортажа почти всегда есть главный кадр,
| а ровная сетка делает их все одинаково неважными.
*/
.ncollage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 32px;
}
.ncollage__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    background: rgba(0, 0, 0, .06);
    cursor: zoom-in;
}
.ncollage__item img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.ncollage__item:hover img { transform: scale(1.04); }

/* Затемнение по наведению — подсказывает, что снимок откроется */
.ncollage__item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(transparent 55%, rgba(20, 1, 4, .35));
    opacity: 0;
    transition: opacity .3s ease;
}
.ncollage__item:hover::after { opacity: 1; }

/* Первый кадр крупнее — но только когда снимков хватает на сетку */
.ncollage[data-count="1"] { grid-template-columns: 1fr; }
.ncollage[data-count="1"] .ncollage__item { aspect-ratio: 16 / 9; }

.ncollage[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ncollage:not([data-count="1"]):not([data-count="2"]) .ncollage__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

@media (max-width: 700px) {
    /* На телефоне крупный кадр во всю ширину, остальные по двое:
       в три колонки снимок становится с ноготь */
    .ncollage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ncollage:not([data-count="1"]):not([data-count="2"]) .ncollage__item:first-child {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }
}
