/* =============================================
   ИНТЕРАКТИВНАЯ КАРТА
   ============================================= */
.map-layout {
    display: flex;
    gap: 0;
    align-items: stretch;
    min-height: 460px;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Карта слева */
.map-svg-wrap {
    flex: 0 0 60%;
    position: relative;
    overflow: hidden;
    min-height: 460px;
}

/* Панель справа */
.map-panel {
    flex: 1;
    border-left: 1px dashed rgba(200,168,75,0.35);
    background: rgba(10,25,60,0.45);
    padding: 20px 16px;
    overflow-y: auto;
    max-height: 520px;
}
.map-panel-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 380px;
    gap: 12px;
    color: rgba(255,255,255,0.35);
    font-size: 14px;
    text-align: center;
}
.map-panel-icon { font-size: 44px; }

.map-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.map-panel-num {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #1A3C6E;
    border: 2px solid #C8A84B;
    color: #fff;
    font-size: 17px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.map-panel-name { font-size: 17px; font-weight: 700; color: #fff; }

/* Список МФЙ в панели */
.map-panel-leaders { display: flex; flex-direction: column; gap: 10px; }
.map-leader-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: background 0.2s;
}
.map-leader-card:hover { background: rgba(255,255,255,0.09); }
.map-leader-photo {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1A3C6E;
    flex-shrink: 0;
}
.map-leader-photo--empty {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #1A3C6E;
    border: 2px solid #C8A84B;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.map-leader-info { display: flex; flex-direction: column; gap: 2px; }
.map-leader-mahalla {
    font-size: 10px; color: #C8A84B;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.map-leader-name  { font-size: 13px; font-weight: 600; color: #fff; }
.map-leader-phone { font-size: 12px; color: rgba(255,255,255,0.55); }

/* Стрелка-коннектор */
@keyframes connectorDraw {
    from { opacity: 0; stroke-dashoffset: 80; }
    to   { opacity: 1; stroke-dashoffset: 0;  }
}
.connector-line {
    stroke-dashoffset: 0;
    animation: connectorDraw 0.4s ease forwards;
}

/* Мобильная адаптация */
@media (max-width: 720px) {
    .map-layout   { flex-direction: column; }
    .map-svg-wrap { flex: none; min-height: 320px; }
    .map-panel    { max-height: none; }
    #map-connector-svg { display: none; }
}

/* =============================================
   SPLASH SCREEN (приветствие)
   ============================================= */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #1443A3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Флаг Узбекистана — горизонтальные полосы снизу */
.splash-flag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 9px;
    display: flex;
    flex-direction: column;
}
.sf-blue  { flex: 1; background: #1BBFEF; }
.sf-white { flex: 1; background: #fff; }
.sf-green { flex: 1; background: #1DBF73; }

/* Центральный блок */
.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    animation: splashFadeIn 0.9s ease both;
}

@keyframes splashFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* Горизонтальный ряд: герб + разделитель + текст */
.splash-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.splash-logo-img {
    width: clamp(120px, 15vw, 180px);
    height: clamp(120px, 15vw, 180px);
    object-fit: contain;
}

.splash-divider {
    width: 4px;
    height: clamp(70px, 9vw, 110px);
    background: linear-gradient(to bottom,
        #1DAEEF 33.33%,
        #FFFFFF 33.33%,
        #FFFFFF 66.66%,
        #1EB57E 66.66%
    );
    flex-shrink: 0;
    border-radius: 1px;
}

/* Обёртка текста — нужна для позиционирования флага поверх */
.splash-text-wrapper {
    position: relative;
}

/* Большой флаг, перекрывает текст */
.splash-flag-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        #1DAEEF 33.33%,
        #FFFFFF 33.33%,
        #FFFFFF 66.66%,
        #1EB57E 66.66%
    );
    transform-origin: left center;
    animation: flagCover 2s ease forwards;
    z-index: 2;
}

@keyframes flagCover {
    0%   { transform: scaleX(1); }  /* флаг полностью виден */
    40%  { transform: scaleX(1); }  /* держится */
    85%  { transform: scaleX(0); }  /* схлопывается влево к линии */
    100% { transform: scaleX(0); }  /* скрыт */
}

.splash-text-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 1;
    animation: splashTextSlide 2s ease forwards;
    width: fit-content;
}

.splash-text-top,
.splash-text-main,
.splash-text-bottom {
    display: block;
    white-space: nowrap;
}

@keyframes splashTextSlide {
    0%   { opacity: 0; transform: translateX(-12px); }
    40%  { opacity: 0; transform: translateX(-12px); }
    85%  { opacity: 1; transform: translateX(0);     }
    100% { opacity: 1; transform: translateX(0);     }
}

.splash-text-top {
    font-size: clamp(26px, 3.6vw, 48px);
    color: rgba(255,255,255,0.75);
    font-weight: 400;
    white-space: nowrap;
    display: block;
    line-height: 1;
}

.splash-text-bottom {
    font-size: clamp(26px, 3.6vw, 32px);
    color: rgba(255,255,255,0.75);
    font-weight: 400;
    white-space: nowrap;
    display: block;
    line-height: 1;
}

.splash-text-main {
    font-size: clamp(36px, 5vw, 64px);
    color: #fff;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    display: block;
}

/* Прогресс-бар */
.splash-loader-wrap {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 48px;
}

.splash-loader-bar {
    height: 100%;
    width: 0%;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    animation: splashLoad 2.8s ease forwards;
}

@keyframes splashLoad {
    0%   { width: 0%; }
    100% { width: 100%; }
}

/* Мобильный сплэш — вертикальная раскладка */
@media (max-width: 540px) {
    .splash-logo-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .splash-logo-img {
        width: 90px;
        height: 90px;
    }

    .splash-divider {
        width: clamp(120px, 50vw, 200px);
        height: 4px;
        background: linear-gradient(to right,
            #1DAEEF 33.33%,
            #FFFFFF 33.33%,
            #FFFFFF 66.66%,
            #1EB57E 66.66%
        );
    }

    .splash-text-block {
        align-items: center;
        text-align: center;
    }

    .splash-text-top,
    .splash-text-main,
    .splash-text-bottom {
        white-space: normal;
        text-align: center;
        max-width: 85vw;
    }

    .splash-text-top    { font-size: clamp(14px, 4vw, 20px); }
    .splash-text-main   { font-size: clamp(28px, 8vw, 40px); }
    .splash-text-bottom { font-size: clamp(13px, 3.8vw, 18px); }

    .splash-loader-wrap { width: 140px; margin-top: 32px; }
}

/* =============================================
   RESET & BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0d1a3a;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ── Глобальное видео-фон ── */
#site-bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

#site-bg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 16, 40, 0.6);
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =============================================
   LAYOUT
   ============================================= */
.section {
    padding: 60px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-gray {
    background: rgba(240, 244, 255, 0.10);
}

/* Когда на body есть общий фон */
body.has-global-bg .section-gray {
    background: rgba(249, 249, 249, 0.10);
}

body.has-global-bg .hero {
    background: transparent;
}

/* Секция с собственным фото */
.section-gray[style*="background-image"] {
    background-color: transparent !important;
}



.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
}

.section-link {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
}

span.section-link {
    cursor: default;
    opacity: 0.5;
}

/* Кнопка «Все события →» — выглядит как ссылка */
.section-link-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: opacity .2s;
}
.section-link-btn:hover { opacity: .7; }


.section-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 16px;
    margin-top: 8px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Wrapper-ы для скрытых карточек — прозрачны для grid-раскладки */
.event-extra-item,
.circle-extra-item {
    display: contents;
}

/* =============================================
   HEADER
   ============================================= */
/* Флаг Узбекистана — тонкая полоса сверху */
.flag-stripe {
    display: flex;
    height: 5px;
    width: 100%;
}
.flag-stripe .fs-blue  { flex: 1; background: #1DAEEF; }
.flag-stripe .fs-white { flex: 1; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.flag-stripe .fs-green { flex: 1; background: #1EB57E; }

.header {
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #1A3C6E;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Герб — круглый значок с официальным стилем */
.logo-emblem {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px #C8A84B;
}

.logo-text {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    line-height: 1.3;
    max-width: 280px;
}

.nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.nav a {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    transition: color .2s;
    white-space: nowrap;
}

.nav a:hover {
    color: #fff;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    padding: 0;
    text-align: center;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hero-content {
    padding: 80px 2rem;
    width: 100%;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.82);
    max-width: 500px;
    margin: 0 auto 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */
/* Shared base for primary button and form submit */
.btn-primary,
.form-submit {
    background: #1A3C6E;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}

.btn-primary:hover,
.form-submit:not(:disabled):hover {
    background: #14305A;
}

.btn-primary {
    padding: 14px 32px;
    display: inline-block;
}

.btn-secondary {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #ddd;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: border-color .2s, color .2s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #1A3C6E;
    color: #1A3C6E;
}

/* =============================================
   EVENT CARDS
   ============================================= */
.card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .3);
}

.event-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image.blue  { background: linear-gradient(135deg, #E6F1FB, #B5D4F4); }
.event-image.yellow { background: linear-gradient(135deg, #FAEEDA, #FAC775); }
.event-image.green  { background: linear-gradient(135deg, #E1F5EE, #9FE1CB); }

.event-content {
    padding: 20px;
}

.event-date {
    font-size: 13px;
    font-weight: 600;
    color: #1A3C6E;
}

.event-date.yellow { color: #BA7517; }
.event-date.green  { color: #1D9E75; }

.event-title {
    font-size: 18px;
    font-weight: 600;
    margin: 8px 0;
}

.event-meta {
    font-size: 14px;
    color: #666;
}

/* =============================================
   CIRCLE CARDS
   ============================================= */
.circle-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: transform .2s;
}

.circle-card:hover {
    transform: translateY(-4px);
}

.circle-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-icon.purple { background: #E8EFF8; }
.circle-icon.green  { background: #E1F5EE; }
.circle-icon.yellow { background: #FAEEDA; }
.circle-icon.pink   { background: #FBEAF0; }

.circle-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.circle-age {
    font-size: 14px;
    color: #666;
}

/* =============================================
   НОВОСТИ
   ============================================= */
.news-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.news-section-header .section-title {
    margin-bottom: 0;
}
.news-nav-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.news-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #1A3C6E;
    background: #fff;
    color: #1A3C6E;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
    font-family: inherit;
}
.news-nav-btn:hover {
    background: #1A3C6E;
    color: #fff;
}
.news-track-wrap {
    overflow: hidden;
    margin: 0 -8px;
    padding: 8px 8px 16px;
}
.news-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}
.news-track::-webkit-scrollbar { display: none; }
.news-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    flex: 0 0 300px;
    scroll-snap-align: start;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
a.news-card--link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}
.news-tg-hint {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1A3C6E;
    opacity: 0.7;
    transition: opacity .2s;
}
.news-card--link:hover .news-tg-hint {
    opacity: 1;
}
@media (max-width: 600px) {
    .news-card { flex: 0 0 260px; }
}
.news-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .3s ease;
}
.news-img-loading {
    background: #e8eef6;
}
.news-img-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: newsShimmer 1.4s infinite;
}
.news-img-loading img {
    opacity: 0;
}
.news-img-error {
    background: linear-gradient(135deg, #E8EFF8, #D3D1F7);
}
.news-img-video { position: relative; }
.news-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    background: rgba(0,0,0,0.35);
    transition: background .2s;
    pointer-events: none;
}
.news-card--link:hover .news-play-btn {
    background: rgba(26,60,110,0.55);
}
.news-img-placeholder {
    background: linear-gradient(135deg, #E8EFF8, #D3D1F7);
}
@keyframes newsShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
.news-body {
    padding: 20px;
}
.news-date {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}
.news-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}
.news-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   ДОСТИЖЕНИЯ
   ============================================= */
.ach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ach-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.ach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.ach-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.ach-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ach-img-placeholder {
    height: 240px;
    background: linear-gradient(135deg, #E8EFF8, #D3D1F7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    .ach-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ach-grid { grid-template-columns: 1fr; }
}
.ach-card { cursor: pointer; }

/* Модальное окно достижений */
.ach-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ach-modal.is-open {
    display: flex;
}
.ach-modal-inner {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,.3);
    animation: achModalIn .22s ease;
}
@keyframes achModalIn {
    from { opacity: 0; transform: scale(.95) translateY(12px); }
    to   { opacity: 1; transform: scale(1)  translateY(0); }
}
.ach-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.08);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 1;
}
.ach-modal-close:hover { background: rgba(0,0,0,.16); }

/* Галерея в модалке */
.ach-modal-gallery {
    position: relative;
    background: #000;
    max-height: 460px;
    overflow: hidden;
}
.ach-modal-gallery img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    display: block;
}
.ach-modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
}
.ach-modal-arrow:hover { background: rgba(0,0,0,.7); }
.ach-modal-prev { left: 10px; }
.ach-modal-next { right: 10px; }
.ach-modal-counter {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}
.ach-modal-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.ach-modal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.ach-modal-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Счётчик фото на карточке */
.ach-img { position: relative; }
.ach-img-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
}
.ach-modal-body {
    padding: 24px 28px 28px;
}
.ach-modal-year {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}
.ach-modal-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
    color: #1A3C6E;
}
.ach-modal-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

/* =============================================
   TEAM
   ============================================= */
.director-card {
    max-width: 380px;
    margin: 0 auto 40px;
    background: rgba(255,255,255,0.92);
    border: 2px solid #1A3C6E;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}

.avatar {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.avatar.lg {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #E8EFF8, #CECBF6);
    margin-bottom: 20px;
}

.avatar.md {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.avatar.sm {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 1px solid #e5e5e5;
    margin-bottom: 12px;
}

.avatar.green  { background: linear-gradient(135deg, #E1F5EE, #9FE1CB); }
.avatar.blue   { background: linear-gradient(135deg, #E6F1FB, #B5D4F4); }
.avatar.yellow { background: linear-gradient(135deg, #FAEEDA, #FAC775); }

.badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.badge.purple { background: #E8EFF8; color: #1A3C6E; }
.badge.green  { background: #E1F5EE; color: #0F6E56; }
.badge.blue   { background: #E6F1FB; color: #185FA5; }
.badge.yellow { background: #FAEEDA; color: #854F0B; }
.badge.sm     { font-size: 11px; padding: 4px 12px; margin-bottom: 10px; }

.name-lg { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.name-md { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.name-sm { font-size: 14px; font-weight: 600; margin-bottom: 2px; }

.title-text { font-size: 14px; color: #666; margin-bottom: 20px; }
.title-sm {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #1A3C6E;
    background: #E8EFF8;
    border: 1px solid #c4d7ef;
    border-radius: 8px;
    padding: 4px 12px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.title-xs   { font-size: 12px; color: #666; margin-bottom: 8px; }

.hours-box {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.hours-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.hours-box p {
    font-size: 14px;
    color: #666;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #E8EFF8;
    border-radius: 10px;
    color: #1A3C6E;
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-text { font-size: 13px; color: #666; margin-bottom: 6px; }
.contact-email { color: #1A3C6E; }

.deputies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
    overflow: visible;
    padding-top: 40px;
}
@media (max-width: 1100px) {
    .deputies-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .deputies-grid { grid-template-columns: 1fr; }
}

.deputy-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
    overflow: visible;
    position: relative;
}
.deputy-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(26, 60, 110, 0.15);
}
.deputy-card .avatar {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}
.deputy-card:hover .avatar {
    transform: translateY(-18px) scale(1.75);
    box-shadow: 0 20px 50px rgba(26, 60, 110, 0.25);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.staff-card {
    background: #f9f9f9;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.phone-sm { font-size: 12px; color: #888; }
a.phone-sm { color: #1A3C6E; }

/* =============================================
   DOCUMENTS
   ============================================= */
.docs-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
@media (max-width: 1024px) {
    .docs-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .docs-main { grid-template-columns: 1fr; }
}

.doc-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.doc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-icon.red    { background: #FCEBEB; }
.doc-icon.green  { background: #E1F5EE; }
.doc-icon.blue   { background: #E6F1FB; }
.doc-icon.yellow { background: #FAEEDA; }

.doc-info { flex: 1; }

.doc-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.doc-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.doc-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.doc-size {
    font-size: 11px;
    color: #888;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 6px;
}

.doc-download {
    font-size: 13px;
    color: #1A3C6E;
    font-weight: 500;
    text-decoration: none;
}

a.doc-download:hover {
    text-decoration: underline;
}

.docs-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.doc-small {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}

a.doc-small:hover {
    background: #f0f0f0;
}

.doc-small-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-small-title { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.doc-small-size  { font-size: 12px; color: #888; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 40px;
}

/* Обёртка формы заявки */
.request-form-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}

.contact-form {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 32px;
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1A3C6E;
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: #1A3C6E;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox a { color: #1A3C6E; }

.form-submit {
    width: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.info-card {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
}

.info-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon.purple { background: #E8EFF8; }
.contact-item-icon.green  { background: #E1F5EE; }
.contact-item-icon.blue   { background: #E6F1FB; }
.contact-item-icon.yellow { background: #FAEEDA; }

.contact-item-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.contact-link { color: #1A3C6E; }

.social-links { display: flex; gap: 14px; }

.social-link {
    width: 52px;
    height: 52px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, transform .2s;
}

.social-link:hover {
    border-color: #1A3C6E;
    transform: translateY(-2px);
}

/* =============================================
   MAP
   ============================================= */
.map-wrap {
    border-radius: 20px;
    overflow: hidden;
    height: 240px;
    margin-top: 16px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-marquee-outer {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.gallery-marquee-track {
    display: flex;
    animation: gallery-scroll linear infinite;
    width: max-content;
}

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

.gallery-marquee-set {
    display: flex;
    gap: 20px;
    padding-right: 20px;
}

@keyframes gallery-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.gallery-card {
    width: 280px;
    flex-shrink: 0;
    cursor: default;
}
.gallery-card.clickable {
    cursor: pointer;
}

.gallery-count {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0,0,0,.45);
    border-radius: 20px;
    padding: 3px 10px;
    backdrop-filter: blur(4px);
}

/* =============================================
   LIGHTBOX
   ============================================= */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.lb-img-wrap {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.lb-img-wrap img {
    max-width: 90vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 48px rgba(0,0,0,.5);
    display: block;
}

.lb-title {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
    max-width: 70vw;
    margin: 0;
}

.lb-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    backdrop-filter: blur(4px);
    transition: background .15s;
}
.lb-close:hover { background: rgba(255,255,255,.28); }

.lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .15s;
}
.lb-arrow:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.75);
    font-size: 14px;
    background: rgba(0,0,0,.4);
    padding: 4px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.gallery-item.clickable { cursor: pointer; }

/* =============================================
   БУРГЕР-МЕНЮ
   ============================================= */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
}
.burger-btn span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   КНОПКИ ДОСТУПНОСТИ
   ============================================= */
/* ===== ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА ===== */
.lang-switcher {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 3px;
}
.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,.7);
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
    font-family: inherit;
    letter-spacing: .3px;
}
.lang-btn:hover  { background: rgba(255,255,255,.15); color: #fff; }
.lang-btn.active { background: rgba(255,255,255,.28); color: #fff; }

.access-btns {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.access-btn {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
}
.access-btn:hover,
.access-btn.active { background: rgba(255,255,255,.3); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: linear-gradient(180deg, #0f2a52 0%, #1A3C6E 100%);
    color: rgba(255,255,255,.85);
    padding: 0;
    border-top: none;
}

/* Флаг-полоска сверху */
.footer-flag {
    display: flex;
    height: 5px;
}
.footer-flag-blue  { flex: 1; background: #1DAEEF; }
.footer-flag-white { flex: 1; background: #fff; }
.footer-flag-green { flex: 1; background: #1EB57E; }

/* Основная часть */
.footer-body {
    display: flex;
    gap: 0;
    align-items: flex-start;
    padding: 48px 3rem 40px;
    max-width: 1280px;
    margin: 0 auto;
}

/* Вертикальный разделитель */
.footer-divider-v {
    width: 1px;
    background: rgba(255,255,255,.12);
    align-self: stretch;
    margin: 0 48px;
    flex-shrink: 0;
}

/* Колонки */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}
.footer-col--brand { flex: 1.4; }

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #C8A84B;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(200,168,75,.3);
}

/* Бренд-колонка */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #C8A84B, 0 4px 12px rgba(0,0,0,.3);
}
.footer-logo-text {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    line-height: 1.3;
}
.footer-brand-desc {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,.6);
}

/* Соцсети — иконки кнопки */
.footer-socials-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.footer-soc-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.footer-soc-btn svg { width: 18px; height: 18px; }
.footer-soc-btn:hover {
    background: #C8A84B;
    border-color: #C8A84B;
    color: #fff;
    transform: translateY(-2px);
}

/* Навигация — сетка 2 колонки */
.footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}
.footer-nav-grid a {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .2s, gap .2s;
    white-space: nowrap;
}
.footer-nav-grid a:hover { color: #fff; gap: 10px; }

/* Контакты */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.75);
    line-height: 1.5;
}
.fci-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a {
    color: rgba(255,255,255,.75);
    transition: color .2s;
}
.footer-contact-item a:hover { color: #C8A84B; }

/* Нижняя строка */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1280px;
    margin: 0 auto;
}
.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-flag-mini {
    display: flex;
    border-radius: 3px;
    overflow: hidden;
    height: 14px;
    width: 28px;
    flex-shrink: 0;
}
.footer-flag-mini span { flex: 1; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.45); }
.footer-official { font-size: 12px; color: rgba(255,255,255,.35); }

/* Мобильная адаптация */
@media (max-width: 900px) {
    .footer-body {
        flex-direction: column;
        padding: 32px 1.5rem 28px;
        gap: 28px;
    }
    .footer-divider-v { display: none; }
    .footer-col--brand { flex: none; width: 100%; }
    .footer-col { flex: none; width: 100%; }
    .footer-bottom { padding: 14px 1.5rem; }
}

/* =============================================
   РЕЖИМ ДЛЯ СЛАБОВИДЯЩИХ
   ============================================= */
body.high-contrast {
    background: #000 !important;
    color: #fff !important;
}
body.high-contrast .header { background: #000; border-bottom: 2px solid #fff; }
body.high-contrast .nav a  { color: #fff; }
body.high-contrast .section,
body.high-contrast .card,
body.high-contrast .news-card,
body.high-contrast .ach-card,
body.high-contrast .circle-card,
body.high-contrast .deputy-card,
body.high-contrast .staff-card,
body.high-contrast .info-card,
body.high-contrast .director-card {
    background: #111 !important;
    border-color: #fff !important;
    color: #fff !important;
}
body.high-contrast .section-gray,
body.high-contrast .section-gray .section { background: #111 !important; }
body.high-contrast a { color: #FFD700 !important; }
body.high-contrast .btn-primary,
body.high-contrast .circle-enroll-btn,
body.high-contrast .enroll-submit { background: #fff !important; color: #000 !important; }
body.high-contrast .btn-secondary { border-color: #fff !important; color: #fff !important; }
body.high-contrast p, body.high-contrast h1, body.high-contrast h2,
body.high-contrast h3, body.high-contrast h4 { color: #fff !important; }
body.high-contrast .stats-bar { background: #111; border: 1px solid #fff; }
body.high-contrast .footer { background: #000; border-top: 2px solid #fff; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .burger-btn { display: flex; }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #1A3C6E;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 99;
    }
    .nav.open { display: flex; }
    .nav a {
        font-size: 20px;
        color: #fff;
        font-weight: 600;
    }

    .access-btns { display: none; }

    .hero h1 { font-size: 28px; }
    .hero p   { font-size: 15px; }

    .stats-bar { flex-direction: column; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
    .stat-item:last-child { border-bottom: none; }

    .gallery-card {
        width: 220px;
    }

    .footer-top { flex-direction: column; gap: 16px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .enroll-box { padding: 24px 16px; }
}

/* =============================================
   БАННЕР ОБЪЯВЛЕНИЙ
   ============================================= */
.announce-bar {
    background: #1A3C6E;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    height: 36px;
    display: flex;
    align-items: center;
}
.announce-bar:empty,
.announce-bar[data-empty="true"] { display: none; }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.announce-track {
    display: inline-flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    will-change: transform;
}
.announce-track:hover { animation-play-state: paused; }
.announce-item {
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.announce-dot {
    width: 6px;
    height: 6px;
    background: #C8A84B;
    border-radius: 50%;
    flex-shrink: 0;
}

/* =============================================
   СЧЁТЧИКИ СТАТИСТИКИ
   ============================================= */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    background: #1A3C6E;
    flex-wrap: wrap;
}
.stat-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 28px 20px;
    border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,.75);
    font-weight: 500;
}

/* =============================================
   КНОПКА ЗАПИСИ НА КРУЖОК
   ============================================= */
.circle-enroll-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 20px;
    background: #1A3C6E;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}
.circle-enroll-btn:hover { background: #14305A; }

/* =============================================
   МОДАЛЬНОЕ ОКНО ЗАПИСИ
   ============================================= */
#enroll-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
#enroll-modal.open { display: flex; }

.enroll-box {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    position: relative;
}
.enroll-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.enroll-circle-name {
    font-size: 14px;
    color: #1A3C6E;
    font-weight: 600;
    margin-bottom: 20px;
}
.enroll-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f4f4f8;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}
.enroll-close:hover { background: #eee; }
.enroll-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.enroll-field label {
    font-size: 13px;
    font-weight: 500;
    color: #444;
}
.enroll-field input {
    padding: 10px 14px;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}
.enroll-field input:focus { border-color: #1A3C6E; }
.enroll-submit {
    width: 100%;
    padding: 13px;
    background: #1A3C6E;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    transition: background .2s;
}
.enroll-submit:hover { background: #14305A; }
.enroll-submit:disabled { background: #aaa; cursor: not-allowed; }
.enroll-success {
    text-align: center;
    padding: 20px 0 8px;
}
.enroll-success .enroll-check {
    font-size: 48px;
    margin-bottom: 12px;
}
.enroll-success h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.enroll-success p {
    font-size: 14px;
    color: #666;
}

/* =============================================
   КНОПКА "НАВЕРХ"
   ============================================= */
#back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #1A3C6E;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s, visibility .3s, background .2s;
    z-index: 999;
}
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    background: #14305a;
}

/* =============================================
   SKELETON LOADING
   ============================================= */
@keyframes skl-shine {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
.skl {
    background: linear-gradient(90deg, rgba(255,255,255,.08) 25%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.08) 75%);
    background-size: 200% 100%;
    animation: skl-shine 1.4s ease infinite;
    border-radius: 8px;
}
.skl-section {
    padding: 48px 24px;
}
.skl-title {
    height: 30px;
    width: 180px;
    margin: 0 auto 32px;
    border-radius: 8px;
}
.skl-row {
    display: flex;
    gap: 20px;
    overflow: hidden;
}
.skl-card {
    flex: 0 0 280px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
}
.skl-card-img { height: 160px; }
.skl-card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.skl-line { height: 13px; border-radius: 4px; }
.skl-line.s60 { width: 60%; }
.skl-line.s80 { width: 80%; }
.skl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.skl-grid-card { height: 200px; border-radius: 12px; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.anim-card {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .45s ease, transform .45s ease;
}
.anim-card.in-view {
    opacity: 1;
    transform: none;
}

/* =============================================
   DRAG & DROP (admin)
   ============================================= */
.drag-handle {
    cursor: grab;
    color: #bbb;
    font-size: 18px;
    padding: 4px 8px 4px 0;
    user-select: none;
    flex-shrink: 0;
    align-self: center;
    letter-spacing: -2px;
}
.drag-handle:active { cursor: grabbing; }
.item-row.drag-over {
    outline: 2px dashed #534AB7;
    border-radius: 10px;
    background: rgba(83,74,183,.06);
}
