 *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    scroll-behavior: smooth; 
    -webkit-overflow-scrolling: touch; /* плавный скролл */

    overflow-x: hidden;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

span {
    color: rgb(255, 82, 82);
}
/* ======= ACCESSIBLE VERSION ======= */
body.accessible {
    filter: grayscale(1) contrast(1.1);
    font-size: 110%;
}
body.accessible * { animation: none !important; transition: none !important; }

/* ======= HEADER ======= */
header {
    background: #fff;
    box-shadow: 0 20px 35px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 75px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon {
    width: 48px;
    height: 48px;
    background: #fff url("../img/logo.png") no-repeat center center;
    background-size: 90%;
    border-radius: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    line-height: 1.2;
    padding: 4px;
    position: relative;
    z-index: 1010;
}
.logo-texts { display: flex; flex-direction: column; }
.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}
.logo-main span { color: var(--blue); }
.logo-sub {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* ======= HEADER OFFER BAR ======= */

.header-offer {
    background: #fff;
    border-bottom: 1px solid rgba(26, 86, 219, 0.12);
}

.header-offer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 9px 30px;
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    position: relative;
}

/* Лёгкие линии по бокам, чтобы плашка выглядела встроенной */
.header-offer-container::before,
.header-offer-container::after {
    content: '';
    height: 1px;
    width: 120px;
    background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.25));
}

.header-offer-container::after {
    background: linear-gradient(90deg, rgba(26, 86, 219, 0.25), transparent);
}

.header-offer-label {
    display: inline-flex;
    align-items: center;

    padding: 6px 12px;
    border-radius: 999px;

    background: #f0f5ff;
    border: 1px solid rgba(26, 86, 219, 0.14);

    color: var(--blue);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    white-space: nowrap;
}

.header-offer-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.35vw, 19px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    text-align: center;

    color: var(--dark);
}

.header-offer-arrow {
    display: inline-block;
    margin: 0 8px;
    color: var(--red);
    font-weight: 900;
}

.header-offer-result {
    color: var(--blue);
    position: relative;
    white-space: nowrap;
}

/* Красный акцент под результатом */
.header-offer-result::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;

    background: linear-gradient(90deg, var(--red), #ff5252);
    border-radius: 10px;
}

@media (max-width: 992px) {
    .header-offer-container {
        padding: 8px 20px;
        gap: 12px;
    }

    .header-offer-container::before,
    .header-offer-container::after {
        width: 60px;
    }

    .header-offer-text {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .header-offer-container {
        min-height: 40px;
        padding: 8px 16px;
    }

    .header-offer-label {
        display: none;
    }

    .header-offer-container::before,
    .header-offer-container::after {
        display: none;
    }

    .header-offer-text {
        font-size: 12px;
        letter-spacing: 0.2px;
    }

    .header-offer-result::after {
        bottom: -3px;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .header-offer-container {
        padding: 7px 14px;
    }

    .header-offer-text {
        font-size: 10.5px;
        line-height: 1.35;
    }

    .header-offer-arrow {
        display: none;
    }

    .header-offer-result {
        display: block;
        margin-top: 2px;
        white-space: normal;
    }
}
.header-wave {
    width: 100vw;
    height: 90px;
    margin-top: -1px;
    z-index: 1000;
    overflow: hidden;
    position: absolute;
}

.header-wave svg {
    width: 101%;
    height: 100%;
    display: block;
}
@media (max-width: 480px) {
    .header-wave {
        height: 70px;
    }

}
/* NAV */
nav { display: flex; align-items: center; }
.nav-list { display: flex; list-style: none; gap: 0; align-items: center; }
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 26px 14px;
    text-decoration: none;
    color: #2d2d3a;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    transition: color 0.3s;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}
.nav-link i.fa-chevron-down { font-size: 10px; transition: transform 0.3s; color: #a0a0b0; }
.nav-item:hover .nav-link { color: var(--blue); }
.nav-item:hover .nav-link i.fa-chevron-down { transform: rotate(180deg); color: var(--blue); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--red));
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s;
}
.nav-item:hover .nav-link::after { transform: scaleX(1); }

/* DROPDOWN */
.dropdown {
    position: absolute;
    top: 100%; left: 0;
    background: #fff;
    min-width: 290px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.32);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    padding: 10px 0;
    border-top: 3px solid var(--blue);
    z-index: 1100;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 22px;
    text-decoration: none; color: #3a3a4a;
    font-size: 13px; font-weight: 600;
    transition: all 0.25s; position: relative;
}
.dropdown-link::before {
    content: ''; width: 6px; height: 6px;
    border-radius: 50%; background: #c0c0d0;
    transition: all 0.25s; flex-shrink: 0;
}
.dropdown-link:hover { background: #f0f5ff; color: var(--blue); padding-left: 28px; }
.dropdown-link:hover::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,0.2); }
.dropdown-btn-wrap { padding: 10px 22px 6px; }
.dropdown-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 20px;
    background: linear-gradient(135deg, #e02b2b, #ff5252);
    color: #fff; font-size: 13px; font-weight: 700;
    border-radius: 50px; text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(224,43,43,0.35);
}
.dropdown-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(224,43,43,0.45); }

/* RIGHT */
.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.socials { display: flex; gap: 8px; }
.social-link {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: #fff; font-size: 17px;
    transition: all 0.3s;
}
.social-link.vk { background: linear-gradient(135deg, #2787F5, #0057b8); }
.social-link.tg { background: linear-gradient(135deg, #2AABEE, #0088cc); }
.social-link:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.btn-enroll {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 24px;
    background: linear-gradient(135deg, var(--blue), #2b6ee0);
    color: #fff; font-size: 13px; font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none; border-radius: 50px; cursor: pointer;
    text-decoration: none; transition: all 0.3s;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 15px rgba(26,86,219,0.35);
    white-space: nowrap;
    animation: pulse-btn 2.5s ease-in-out infinite;
    z-index: 1100;
}
@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 4px 15px rgba(26,86,219,0.35); }
    50% { box-shadow: 0 4px 25px rgba(26,86,219,0.6); }
}
.btn-enroll:hover {
    background: linear-gradient(135deg, var(--red), #ff5252);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224,43,43,0.4);
    animation: none;
}

/* Accessibility btn */
.btn-access {
    background: none; border: 2px solid var(--border);
    width: 36px; height: 36px; border-radius: 8px;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; font-size: 17px; color: var(--muted);
    transition: all 0.2s;  text-decoration: none;
}
.btn-access:hover { border-color: var(--blue); color: var(--blue); }

/* BURGER */
.burger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none;
    padding: 5px; z-index: 1100;
    position: absolute;
    right: 16px;
}
.burger span { width: 28px; height: 3px; background: #2d2d3a; border-radius: 3px; transition: all 0.3s; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-overlay {
    display: none;
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1015;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }









/* ======= CITY SELECTOR ======= */
.city-selector {
    position: relative;
}

.city-selector-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: #f0f5ff;
    border: 1.5px solid #c7d9ff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #1a56db;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.city-selector-btn:hover {
    background: #e0eaff;
    border-color: #9bb8ff;
}

.city-chevron {
    font-size: 10px !important;
    color: #6b8fd4;
    transition: transform 0.25s;
}

.city-selector.open .city-chevron {
    transform: rotate(180deg);
}

.city-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.13);
    min-width: 210px;
    overflow: hidden;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.city-selector.open .city-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.city-dropdown-label {
    padding: 12px 16px 6px;
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.city-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #1a1a2e;
    text-decoration: none;
    transition: background 0.15s;
    cursor: pointer;
}

.city-dropdown-item:hover {
    background: #f0f5ff;
    color: #1a56db;
}

.city-dropdown-item.active {
    background: #e8f0fe;
    color: #1a56db;
}

.city-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
    transition: background 0.15s;
}

.city-dropdown-item.active .city-dot,
.city-dropdown-item:hover .city-dot {
    background: #1a56db;
}

.city-current-badge {
    margin-left: auto;
    background: #e02b2b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}

/* Мобильный пикер городов внутри nav */
.mobile-city-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 28px;
    width: 100%;
    justify-content: center;
}

.mobile-city-item {
    padding: 8px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
    background: #fff;
}

.mobile-city-item:hover,
.mobile-city-item.active {
    border-color: #1a56db;
    color: #1a56db;
    background: #f0f5ff;
}

/* ======= CITY TOAST (баннер при первом заходе) ======= */
.city-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    max-width: 340px;
    width: calc(100vw - 32px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.35s, transform 0.35s;
    pointer-events: none;
}

.city-toast.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.city-toast-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.city-toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a56db;
    font-size: 20px;
    flex-shrink: 0;
}

.city-toast-text { flex: 1; }

.city-toast-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 3px;
}

.city-toast-sub {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

.city-toast-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #6b7280;
    flex-shrink: 0;
    transition: background 0.2s;
    line-height: 1;
    padding: 0;
}

.city-toast-close:hover {
    background: #fee2e2;
    color: #e02b2b;
}

.city-toast-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.city-toast-btn {
    padding: 8px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.city-toast-btn:hover {
    border-color: #1a56db;
    color: #1a56db;
    background: #f0f5ff;
}

.city-toast-btn.current {
    border-color: #1a56db;
    color: #1a56db;
    background: #f0f5ff;
}

.city-toast-note {
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
}

@media (max-width: 480px) {
    .city-toast {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        width: 100%;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }
    .city-toast.visible {
        transform: translateY(0);
    }
}










/* ======= SECTIONS GENERAL ======= */
.fullwidth section { 
    padding: 80px 0; 
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}

section { 
   padding: 80px 0; 
}

    

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px; font-weight: 800;
    color: var(--blue); margin-bottom: 14px;
    line-height: 1.2;
}
.section-title span { color: var(--red); }
.section-title .red { color: var(--red); }
.section-subtitle { font-size: 17px; color: var(--muted); margin-bottom: 48px; max-width: 600px; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Animate on scroll */
.aos { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.aos.visible { opacity: 1; transform: translateY(0); }
.aos-delay-1 { transition-delay: 0.1s; }
.aos-delay-2 { transition-delay: 0.2s; }
.aos-delay-3 { transition-delay: 0.3s; }
.aos-delay-4 { transition-delay: 0.4s; }
.aos-delay-5 { transition-delay: 0.5s; }

/* ======= HERO ======= */

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

.hero {
    background: linear-gradient(135deg, rgba(13, 27, 75, 1) 0%, rgba(26, 86, 219, 1) 50%, rgba(18, 64, 176, 1) 100%),
    url("../img/director.jpg") center / cover no-repeat;
    min-height: calc(100vh - 75px);
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 60px 0;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0;

}
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.hero-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

/*
@media (min-width: 1024px) {
    .hero-shape:nth-child(1) {
        background: #fff url('../img/logo.svg') no-repeat center center;
        border-radius: 100%;
        background-size: contain;
        opacity: 0.5;
    }
}
*/
.hero-shape:nth-child(2) { width: 250px; height: 250px; bottom: -80px; left: 10%; background: rgba(224,43,43,0.1); }
.hero-shape:nth-child(3) { width: 150px; height: 150px; top: 30%; left: -50px; }

.hero-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 60px;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff; padding: 7px 16px 6px; border-radius: 50px;
    font-size: 13px; font-weight: 600; margin-bottom: 24px;
    backdrop-filter: blur(2.2px);
}
.hero-badge i { color: #ff5252; }
.hero-photo-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.2);
}

.hero-director-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
}

.hero-desc { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 36px; line-height: 1.7; 
background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 16px 20px;max-width: 495px;}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 19px 32px;
    background: linear-gradient(135deg, #e02b2b, #ff5252);
    color: #fff; font-size: 15px; font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none; border-radius: 50px; cursor: pointer;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 6px 25px rgba(224,43,43,0.45);
    letter-spacing: 0.3px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(224,43,43,0.55); }
.btn-outline {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 15px 32px;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff; font-size: 15px; font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px; cursor: pointer;
    text-decoration: none; transition: all 0.3s;
    backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }

.hero-stats {
    display: flex; gap: 28px; margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px; font-weight: 900; color: #fff;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.65); font-weight: 600; }

.hero-image {
    display: flex; justify-content: center; align-items: center;
    position: relative;
}
.hero-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px; padding: 32px;
    max-width: 380px; width: 100%;
    position: relative;
}
.hero-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px; font-weight: 800; color: #fff;
    margin-bottom: 20px;
}
.hero-features { list-style: none; }
.hero-features li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 600;
}
.hero-features li:last-child { border: none; }
.hero-features li i { color: #ff5252; font-size: 16px; width: 20px; }
.hero-floating {
    position: absolute; top: -20px; right: -20px;
    background: linear-gradient(135deg, var(--red), #ff5252);
    color: #fff; border-radius: 16px; padding: 12px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 800;
    box-shadow: 0 8px 25px rgba(224,43,43,0.4);
    animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.hero-subtitle-small {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .accent {
    background: var(--red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .hero-subtitle-small {
        font-size: 14px;
    }

}

@media (max-width: 480px) {

    .hero-subtitle-small {
        font-size: 12px;
    }

}
.ho17{display:flex;flex-direction:column;gap:4px;overflow:hidden;}
.ho17 p{font-family:'Montserrat',sans-serif;font-weight:900;text-transform:uppercase;line-height:0.9;}
.ho17 .a{font-size:clamp(18px,2vw,30px);color:#fff;text-shadow:4px 4px 0 rgba(255,82,82,0.4);}
.ho17 .b{font-size:clamp(28px,3.4vw,54px);color:#fff;text-shadow:5px 5px 0 rgba(255,82,82,0.35);letter-spacing:-1px;}
.ho17 .c{font-size:clamp(22px,2.4vw,38px);color:#ff5252;text-shadow:4px 4px 0 rgba(255,255,255,0.08);margin-top:8px;}
.ho17 .d{font-size:clamp(40px, 4.6vw, 59px);color:#ff5252;text-shadow:6px 6px 0 rgba(255,255,255,0.06);letter-spacing:-3px;}
.ho17 .e{font-size:clamp(32px,4vw,54px);color:#ff5252;text-shadow:5px 5px 0 rgba(255,255,255,0.05);letter-spacing:-2px;}
@media(max-width:1024px){.ho17{display:none}}


/* ======= FOR WHO ======= */
.for-who, .for-who-block { 
    background: var(--bg); 
}
.for-who-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.for-who-card {
    background: #fff; border-radius: 20px;
    padding: 32px 28px;
    border: 2px solid transparent;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.for-who-card:hover { border-color: var(--blue); transform: translateY(-6px); box-shadow: 0 12px 35px rgba(26,86,219,0.15); }
.for-who-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 20px;
}
.for-who-icon.blue { background: var(--blue-light); color: var(--blue); }
.for-who-icon.red { background: var(--red-light); color: var(--red); }
.for-who-icon.yellow { background: #fffbeb; color: #f59e0b; }
.for-who-icon.green { background: #f0fdf4; color: #22c55e; }
.for-who-icon.purple { background: #f5f3ff; color: #8b5cf6; }
.for-who-icon.orange { background: #fff7ed; color: #f97316; }
.for-who-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px; font-weight: 800; color: var(--dark);
    margin-bottom: 10px;
}
.for-who-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ======= STATS ======= */
.stats-section {
    background: linear-gradient(135deg, #1a56db 0%, #3b82f6 50%, #1a56db 100%);
    padding: 80px 0;
}

.stats-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.stat-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stat-num span {
    color: #fff;
}

.stat-num .stat-suffix {
    font-size: 30px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    margin-top: 10px;
}

.stats-image-wrap {
    position: relative;
    min-height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.stats-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

/* Планшеты */
@media (max-width: 992px) {
    .stats-layout {
        grid-template-columns: 1fr;
    }

    .stats-image {
        min-height: 360px;
    }
}

/* Мобильные */
@media (max-width: 576px) {
    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        min-height: 140px;
        padding: 28px 16px;
    }

    .stat-num {
        font-size: 40px;
    }

    .stat-num .stat-suffix {
        font-size: 24px;
    }

    .stat-label {
        font-size: 13px;
    }

    .stats-image {
        min-height: 240px;
    }
}

/* ======= COURSES ======= */
.courses-section { background: #fff; 
}
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; grid-auto-rows: auto; }
.course-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: all 0.3s;
    gap: 0;
}
.course-card:hover { border-color: var(--blue); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26,86,219,0.15); }
.course-card-top {
    padding: 28px 28px 22px;
    position: relative;

}

.course-age {
    display: inline-block; padding: 5px 14px;
    background: #fff; border-radius: 50px;
    font-size: 12px; font-weight: 700; color: var(--blue);
    margin-bottom: 14px;
}

/* Нечетные карточки (1, 3, 5): ПАСТЕЛЬНЫЙ СИНИЙ (яркие и нежные) */
.courses-grid .course-card:nth-child(6n+1) .course-card-top {
    background: linear-gradient(135deg, #d4e4ff, #c2d6ff); /* Яркий небесно-голубой */
}
.courses-grid .course-card:nth-child(6n+1) .course-age {
    color: #4682b4; /* Стальной синий */
}

.courses-grid .course-card:nth-child(6n+3) .course-card-top {
    background: linear-gradient(135deg, #b4e6f0, #9ed9e8); /* Бирюзово-голубой */
}
.courses-grid .course-card:nth-child(6n+3) .course-age {
    color: #2e8b99; /* Яркий морской */
}

.courses-grid .course-card:nth-child(6n+5) .course-card-top {
    background: linear-gradient(135deg, #c2d1ff, #b2c2fa); /* Светло-сиреневый синий */
}
.courses-grid .course-card:nth-child(6n+5) .course-age {
    color: #5f7dcd; /* Средний синий */
}

/* Четные карточки (2, 4, 6): ПАСТЕЛЬНЫЙ КРАСНЫЙ (яркие и нежные) */
.courses-grid .course-card:nth-child(6n+2) .course-card-top {
    background: linear-gradient(135deg, #ffd9d9, #ffc7c7); /* Яркий розовый */
}
.courses-grid .course-card:nth-child(6n+2) .course-age {
    color: #e35151; /* Кораллово-красный */
}

.courses-grid .course-card:nth-child(6n+4) .course-card-top {
    background: linear-gradient(135deg, #ffcece, #ffbaba); /* Чистый красный */
}
.courses-grid .course-card:nth-child(6n+4) .course-age {
    color: #d44545; /* Красный */
}

.courses-grid .course-card:nth-child(6n+6) .course-card-top {
    background: linear-gradient(135deg, #ffc4cd, #ffb2bf); /* Розово-красный */
}
.courses-grid .course-card:nth-child(6n+6) .course-age {
    color: #c94b5c; /* Ягодный */
}

.course-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px; font-weight: 800; color: var(--dark);
}
.course-card-body { padding: 22px 28px 28px; display: flex;
    flex-direction: column;
    flex: 1;
}
.course-card-body p {  font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.course-tag {
    padding: 4px 12px; border-radius: 50px;
    background: var(--bg); font-size: 12px;
    font-weight: 600; color: var(--text);
}
.btn-consult {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--blue), #2b6ee0);
    color: #fff; font-size: 13px; font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none; border-radius: 50px; cursor: pointer;
    transition: all 0.3s; width: 100%; justify-content: center;
    box-shadow: 0 4px 15px rgba(26,86,219,0.3);
    margin-top: auto;
}
.btn-consult:hover { background: linear-gradient(135deg, var(--red), #ff5252); transform: translateY(-2px); }
/* ======= COURSES SHOW MORE ======= */
.course-card.course-hidden {
    display: none;
}

.courses-more-wrap {
    text-align: center;
    margin-top: 36px;
}

.btn-courses-more {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 14px 36px;
    border: 2px solid var(--blue); color: var(--blue);
    background: transparent; font-size: 15px; font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px; cursor: pointer;
    transition: all 0.3s;
}
.btn-courses-more:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-courses-more i { transition: transform 0.3s; }

/* ======= VIDEO ======= */
.video-section {
    background: linear-gradient(135deg, #1a56db 0%, #3b82f6 50%, #1a56db 100%); 
}
.video-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.video-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 60px;
}
.video-info .section-title { color: #fff; }

.video-section .section-title span {
    color:#ff5252;
}

.video-info .section-subtitle { color: rgba(255,255,255,0.75); }
.video-player {
    background: rgba(0,0,0,0.2);
    border-radius: 20px; overflow: hidden;
    position: relative; aspect-ratio: 16/9;
    border: 2px solid rgba(255,255,255,0.1);
}
.video-play-btn {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px; cursor: pointer;
    background: rgba(0,0,0,0.05);
    transition: background 0.3s;
}
.video-play-btn:hover { background: rgba(0,0,0,0.1); }
.play-circle {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--blue);
    transition: transform 0.3s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.video-play-btn:hover .play-circle { transform: scale(1.1); }
.video-play-btn span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; color: #fff; font-size: 14px;
}
video { width: 100%; height: 100%; object-fit: cover; display: none; }

/* ======= REVIEWS ======= */
.reviews-section { background: #fff; 
}

.reviews-slider-wrap {
    position: relative;
    overflow: hidden;
}

.reviews-slider {
    display: block;
}

.reviews-slider .owl-stage {
    display: flex;
}

.reviews-slider .owl-item {
    display: flex;
    height: auto;
}

.review-card {
    width: 100%;
    margin: 0;
    background: var(--bg);
    border-radius: 20px;
    padding: 28px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    height: 100%;
    box-sizing: border-box;
}

.review-card:hover {
    border-color: var(--blue-light);
}

.review-stars {
    color: #ff5252;
    font-size: 16px;
    margin-bottom: 14px;
}

.review-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--red));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    flex-shrink: 0;
}

.review-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
}

.review-meta {
    font-size: 12px;
    color: var(--muted);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text);
    transition: all 0.3s;
}

.slider-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-dots .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border) !important;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    border: none;
}

.slider-dots .owl-dot.active {
    background: var(--blue) !important;
    width: 24px;
    border-radius: 4px;
}

.slider-dots .owl-dot span {
    display: none !important;
}

.reviews-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-vk {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #2787F5, #0057b8);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(39,135,245,0.35);
}

.btn-vk:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(39,135,245,0.45);
}
/* ======= PARTNERS ======= */
.partners-section {
    background: var(--bg);
    padding: 60px 0;
}

.partners-track-wrap {
    overflow: hidden;
    position: relative;
}

.partners-track-wrap::before,
.partners-track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partners-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.partners-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    will-change: transform;
}

.partner-logo {
    flex: 0 0 auto;
    border-radius: 16px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    width: 160px;
    transition: transform 0.3s;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.partner-logo:hover {
    transform: translateY(-2px);
}

/* ======= GALLERY ======= */

/* ======= CONTACTS (footer mini) ======= */
.contacts-section { background: linear-gradient(135deg, #0d1b4b, #1a3a7a); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contacts-info .section-title { color: #fff; }
.contact-item {
    display: flex; align-items: flex-start; gap: 16px;
    margin-bottom: 24px;
}
.contact-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 14px; display: flex;
    align-items: center; justify-content: center;
    font-size: 20px; color: #ff5252;
}
.contact-label { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-value { font-size: 16px; color: #fff; font-weight: 700; font-family: 'Montserrat', sans-serif; }
.contact-value a { color: #fff; text-decoration: none; }
.contact-value a:hover { color: #ff5252; }
.branches { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }

.branch-city-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 800;
    color: #ff5252;
    text-transform: uppercase; letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 7px;
}
.branch-city-name i { font-size: 12px; }

.branch-list { display: flex; flex-direction: column; gap: 6px; }

.branch-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: rgba(255,255,255,0.85);
    font-family: 'Montserrat', sans-serif; font-weight: 600;
    line-height: 1.4;
}

.branch-item span {
    color: rgba(255,255,255,0.85);
}

.branch-num {
    min-width: 22px; height: 22px;
    background: rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 5px 5px 4px 5px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: #fff;
    flex-shrink: 0; margin-top: 1px;
}

.branch-city {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.branch-city:last-child { border-bottom: none; padding-bottom: 0; }

/* MAP */
.map-placeholder {
    background: rgba(255,255,255,0.08);
    border-radius: 20px; height: 300px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 48px; color: rgba(255,255,255,0.3);
    flex-direction: column; gap: 12px;
    overflow: hidden;
}
.map-placeholder span {
    font-size: 14px; color: rgba(255,255,255,0.5);
    font-weight: 600;
}

/* ======= FOOTER ======= */
footer {
    background: #0d1b4b; padding: 48px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px; font-weight: 800; color: #fff;
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 13px; color: rgba(255,255,255,0.55);
    text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 24px; display: flex;
    align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ======= MODAL ======= */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s;
    padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: #fff; border-radius: 24px;
    max-width: 480px; width: 100%;
    padding: 40px; position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    max-height: 90vh; overflow-y: auto;
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: var(--bg); cursor: pointer;
    font-size: 18px; color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.modal-close:hover { background: var(--red); color: #fff; }
.modal-icon {
    width: 64px; height: 64px; border-radius: 18px;
    background: var(--blue-light); display: flex;
    align-items: center; justify-content: center;
    font-size: 28px; color: var(--blue); margin-bottom: 20px;
}
.modal h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px; font-weight: 900;
    color: var(--dark); margin-bottom: 6px;
}
.modal .modal-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 2px solid var(--border); border-radius: 12px;
    font-size: 14px; font-family: 'Nunito', sans-serif;
    color: var(--dark); outline: none;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; cursor: pointer; accent-color: var(--blue); }
.form-check label { font-size: 12px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.form-check label a { color: var(--blue); }
.btn-submit {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--blue), #2b6ee0);
    color: #fff; font-size: 15px; font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none; border-radius: 50px; cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(26,86,219,0.3);
}
.btn-submit:hover { background: linear-gradient(135deg, var(--red), #ff5252); transform: translateY(-2px); }

.modal-success { text-align: center; padding: 20px 0; display: none; }
.success-icon { font-size: 64px; color: #22c55e; margin-bottom: 20px; }
.modal-success h2 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 900; color: var(--dark); margin-bottom: 10px; }
.modal-success p { font-size: 15px; color: var(--muted); }

@media (max-width: 480px) {
  .modal-overlay { padding: 12px; }

  .modal{
    padding: 30px;
    border-radius: 24px;
    max-width: 360px;     /* или уберите, если хотите всегда во всю ширину */
    max-height: 90dvh;    /* лучше на мобилках, чем vh */
  }

  .modal-close{
    top: 20px; right: 20px;
    width: 32px; height: 32px;
  }

  .modal-icon{
    width: 52px; height: 52px;
    font-size: 22px;
    margin-bottom: 14px;
  }

  .modal h2{ font-size: 20px; }
  .modal .modal-sub{ margin-bottom: 18px; }

  .form-group input,
  .form-group textarea{
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 10px;
  }

  .btn-submit{
    padding: 12px;
    font-size: 14px;
  }
}
/* ======= RESPONSIVE ======= */
@media (max-width: 1200px) {
    .nav-link { padding: 26px 10px; font-size: 12px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
    .burger { display: flex; }
    header nav {
        position: fixed; top: 0; right: -100%;
        width: 380px; max-width: 90vw; height: 100vh;
        background: #fff; flex-direction: column;
        padding: 90px 0 30px; transition: right 0.4s;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        overflow-y: auto; z-index: 1050;
    }
    header {
        width: 100%;
    }

    header nav.active { right: 0; }
    .mobile-overlay { display: block; }
    .nav-list { flex-direction: column; width: 100%; gap: 0; }
    .nav-item { width: 100%; border-bottom: 1px solid #f0f0f5; }
    .nav-link { padding: 16px 28px; font-size: 15px; justify-content: space-between; }
    .nav-link::after { display: none; }
    .dropdown {
        position: static; opacity: 1; visibility: visible;
        transform: none; box-shadow: none; border-radius: 0;
        border-top: none; min-width: auto; display: none;
        background: #f8faff; padding: 5px 0;
    }
    .dropdown.open { display: block; }
    .dropdown-link { padding-left: 44px; }
    .dropdown-link:hover { padding-left: 50px; }
    .header-right { display: none; }
    .mobile-bottom {
        display: flex; flex-direction: column;
        align-items: center; gap: 20px;
        padding: 30px 28px; margin-top: auto;
    }
    .mobile-bottom .btn-enroll { width: 100%; justify-content: center; }

    .hero-container { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .hero-title { font-size: 36px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .video-inner { grid-template-columns: 1fr; }
    .review-card { max-width: calc(50% - 16px); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item:first-child { grid-column: 1/3; }
    .contacts-grid { grid-template-columns: 1fr; }
    .for-who-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .courses-grid { grid-template-columns: 1fr; }
    .events-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .review-card { max-width: calc(100%); }
    .partners-track { gap: 12px;}
    .partner-logo {height: 120px; width: 120px; padding: 18px }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:first-child { grid-column: 1/3; grid-row: auto; min-height: 200px; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .for-who-grid { grid-template-columns: 1fr; }
    .hero-stat-num { font-size: 22px; }
    .scroll-hint { display: block; }
}

@media (max-width: 480px) {
    .logo-main { font-size: 14px; }
    .hero-title { font-size: 46px; }
    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 16px; justify-content: center; }
}

@media (min-width: 1025px) { .mobile-bottom { display: none; } }


/* ======= PHOTO COLLAGE ======= */
.photo-collage {
  position: relative;
  width: 100%;
  height: 360px;
  flex-shrink: 0;
}

.collage-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  /*box-shadow: 0 12px 32px rgba(0,0,0,0.28);*/
}
.collage-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Большая — левый верх */
.collage-main {
  top: 0; left: 0;
  width: 100%; height: 215px;
  background: #7ec8d8;
}
.collage-star {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #1a56db;
}

/* Маленькая — правый верх */
.collage-top-right {
  top: 0; right: 0;
  width: 148px; height: 160px;
  background: #c4b5f7;
}

/* Стеклянная с цифрой — левый низ */
.collage-stat-card {
  bottom: 0; left: 0;
  width: 158px; height: 125px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex; align-items: center;
  justify-content: center; gap: 12px;
  overflow: visible;
}
.collage-stat-icon {
  width: 44px; height: 44px;
  background: #ff5252;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.collage-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; font-weight: 900; color: #fff; line-height: 1;
}
.collage-stat-label {
  font-size: 12px; color: rgba(255,255,255,0.65);
}

/* Большая — правый низ */
.collage-bottom-right {
  top: -92px; right: -18px;
  width: 190px; height: 190px;
  background: #fff;
  border-radius: 100%;
}
.collage-badge {
  position: absolute; bottom: 12px; left: 10px; right: 10px;
  background: rgba(255,255,255,0.88);
  border-radius: 10px; padding: 6px 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  color: #1a3a1a; text-align: center;
}

/* Декоративные точки */
.collage-dot {
  position: absolute; border-radius: 50%;
}
.dot-1 { top: 168px; left: 218px; width: 14px; height: 14px; background: rgba(255,255,255,0.55); }
.dot-2 { top: 185px; right: 152px; width: 9px; height: 9px; background: #ff5252; }
.dot-3 { top: 228px; left: 168px; width: 11px; height: 11px; background: rgba(255,255,255,0.3); }

/* Адаптив: скрываем коллаж на мобиле (как и раньше) */
@media (max-width: 1024px) {
  .hero-image { display: none; }
}

.logo-bottom {
    background: #fff;
    width: 60px;
    height: 60px;
    padding: 1px;
    border-radius: 100%;
}

/* Стили для textarea в модальном окне */
.modal textarea {
    font-family: 'Nunito', sans-serif;
    resize: vertical;
    min-height: 100px;
}

.modal textarea:focus {
    outline: none;
    border: 2px solid var(--border);
}


blockquote {
    margin: 16px 0;
    padding: 24px 28px;
    background: var(--blue-light);
    border-left: 5px solid var(--blue);
    border-radius: 0 16px 16px 0;
    font-style: italic; font-size: 17px; color: var(--dark);
    line-height: 1.7;
}
blockquote p {
    margin: 0 !important;
    padding: 0 !important;
}

blockquote mark {
        display: block; margin-top: 12px;
        font-size: 13px; font-style: normal;
        font-weight: 700; color: var(--blue) !important;
    }
blockquote mark::before { content: '— '; }


.wp-block-image {
    padding-bottom: 20px;
}


/* ======= BREADCRUMB ======= */    
.breadcrumb-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.breadcrumb-bar .container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    list-style: none; font-size: 13px; color: var(--muted); flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after {
    content: '/'; color: var(--border); font-weight: 700;
}
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue-dark); }
.breadcrumb li:last-child { color: var(--text); font-weight: 600; }

/* ======= PAGINATION ======= */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.page-btn { width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; font-family: 'Montserrat', sans-serif; color: var(--text); cursor: pointer; transition: all 0.2s; text-decoration: none; }
.page-btn:hover, .page-btn.active { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.page-btn.arrow { color: var(--muted); }
.page-btn.arrow:hover { color: var(--blue); }
.page-dots { color: var(--muted); font-weight: 700; padding: 0 4px; }

/* Enroll widget */
.enroll-widget {
    background: linear-gradient(135deg, var(--blue), #2b6ee0);
    border-radius: 20px; padding: 28px; text-align: center;
    border: none;
}
.enroll-widget-icon { font-size: 40px; margin-bottom: 14px; rotate: 90deg;}
.enroll-widget-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 10px;
}
.enroll-widget-text { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 20px; line-height: 1.6; }

.btn-widget-enroll {
    display: block; width: 100%; padding: 13px;
    background: linear-gradient(135deg, #e02b2b, #ff5252);
    color: #fff; font-size: 14px; font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none; border-radius: 50px; cursor: pointer;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(224,43,43,0.4);
}
.btn-widget-enroll:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(224,43,43,0.5); }












/* ======= MAIN LAYOUT ======= */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 80px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

/* ======= FILTER BAR ======= */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 16px 20px;
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.filter-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--dark);
    margin-right: 4px;
    white-space: nowrap;
}

.filter-btn {
    padding: 7px 16px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid var(--border);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: 'Nunito', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.filter-btn.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* ======= FEATURED CARD ======= */
.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--border);
    margin-bottom: 32px;
    transition: all 0.3s;
    text-decoration: none;
    background: #fff;
}

.featured-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(26,86,219,0.14);
}

.featured-img {
    min-height: 320px;
    position: relative;
    background: linear-gradient(135deg, #1a56db, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    overflow: hidden;
}

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

.featured-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--red);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgb(255, 82, 82);
}

.featured-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: fit-content;
}

.featured-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 14px;
}

.featured-excerpt {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.meta-item i {
    color: var(--blue);
    font-size: 12px;
}

.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: linear-gradient(135deg, var(--blue), #2b6ee0);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(26,86,219,0.3);
}

.btn-read:hover {
    background: linear-gradient(135deg, var(--red), #ff5252);
    transform: translateY(-2px);
}

/* ======= NEWS GRID ======= */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(26,86,219,0.12);
}

.news-card-img {
    aspect-ratio: 16/12;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card:hover .news-card-img img {
    transform: scale(1.06);
}

.news-date-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.news-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    width: fit-content;
}

.news-cat.blue {
    background: var(--blue-light);
    color: var(--blue);
}

.news-cat.red {
    background: var(--red-light);
    color: var(--red);
}

.news-cat.green {
    background: #f0fdf4;
    color: #16a34a;
}

.news-cat.yellow {
    background: #fffbeb;
    color: #d97706;
}

.news-cat.purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.news-cat.teal {
    background: #f0fdfa;
    color: #0d9488;
}

.news-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 10px;
}

.news-card-excerpt {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-card-meta span {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card-meta i {
    font-size: 11px;
    color: var(--blue);
}

.btn-arrow {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    transition: gap 0.2s;
}

.news-card:hover .btn-arrow {
    gap: 9px;
}

.btn-arrow i {
    font-size: 11px;
}

/* ======= ARTICLE STYLES ======= */
.article-header {
    margin-bottom: 32px;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s;
}

.article-category:hover {
    background: var(--blue);
    color: #fff;
}

.article-category.red {
    background: var(--red-light);
    color: var(--red);
}

.article-category.red:hover {
    background: var(--red);
    color: #fff;
}

.article-category.green {
    background: #f0fdf4;
    color: #16a34a;
}

.article-category.green:hover {
    background: #16a34a;
    color: #fff;
}

.article-date,
.article-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.article-date i,
.article-views i {
    font-size: 12px;
}

.article-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.article-title span {
    color: var(--blue);
}

.article-lead {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
    border-left: 4px solid var(--blue);
    padding-left: 20px;
    margin-bottom: 28px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg);
    border-radius: 14px;
    border: 1px solid var(--border);
    margin-bottom: 32px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}

.author-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
}

.author-role {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.article-cover {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 36px;
    position: relative;
    background: linear-gradient(135deg, #1a56db, #3b82f6);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.article-cover-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 72px;
}

.article-cover-placeholder span {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

.article-cover-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 0 20px 20px;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.article-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.article-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--dark);
    margin: 28px 0 12px;
}

.article-body p {
    padding-bottom: 20px;
}

.article-body a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.article-body a:hover {
    color: var(--red);
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 24px;
}

.article-body li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 28px 0;
    border-radius: 16px;
    overflow: hidden;
}

.article-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.article-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-gallery-item:hover img {
    transform: scale(1.08);
}

.article-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: unset;
    min-height: 200px;
}

.gallery-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 36px 0 28px;
    padding-top: 28px;
    border-top: 2px solid var(--border);
}

.tags-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--dark);
    margin-right: 4px;
}

.tag {
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s;
}

.tag:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 48px;
}

.share-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--dark);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.share-btn.vk {
    background: linear-gradient(135deg, #2787F5, #0057b8);
}

.share-btn.tg {
    background: linear-gradient(135deg, #2AABEE, #0088cc);
}

.share-btn.copy {
    background: var(--bg);
    color: var(--muted);
    border: 1px solid var(--border);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.related-section {
    margin-bottom: 60px;
}

.related-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
}

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

.related-card {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.related-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(26,86,219,0.12);
}

.related-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #1a56db, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

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

.related-img.red {
    background: linear-gradient(135deg, #e02b2b, #f87171);
}

.related-img.green {
    background: linear-gradient(135deg, #16a34a, #4ade80);
}

.related-body {
    padding: 16px;
}

.related-cat {
    display: inline-block;
    padding: 3px 10px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.related-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 8px;
}

.related-date {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

/* ======= SIDEBAR ======= */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 20px;
    border: 2px solid var(--border);
    overflow: hidden;
}

.widget-header {
    padding: 16px 22px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
}

.widget-icon {
    font-size: 18px;
    color: var(--blue);
}

.widget-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
}

.widget-body {
    padding: 20px 22px;
}

/* Enroll widget */
.enroll-widget {
    background: linear-gradient(135deg, var(--blue), #2b6ee0);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    border: none;
}

.enroll-widget-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.enroll-widget-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.enroll-widget-text {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-widget {
    display: block;
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #e02b2b, #ff5252);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(224,43,43,0.4);
}

.btn-widget:hover {
    transform: translateY(-2px);
}

/* Search widget */
.search-wrap {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    color: var(--dark);
}

.search-input:focus {
    border-color: var(--blue);
}

.search-btn {
    width: 42px;
    height: 42px;
    background: var(--blue);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--blue-dark);
}

/* Categories widget */
.category-list {
    list-style: none;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.category-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.category-link:hover {
    color: var(--blue);
    padding-left: 4px;
}

.category-link i {
    color: var(--blue);
    font-size: 13px;
    width: 16px;
}

.category-count {
    padding: 2px 10px;
    border-radius: 50px;
    background: var(--bg);
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    border: 1px solid var(--border);
}

/* Recent/Popular news items */
.news-item,
.popular-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.2s;
}

.news-item:last-child,
.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-item:hover .news-item-title,
.popular-item:hover .popular-title {
    color: var(--blue);
}

.news-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.news-item-thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.news-item-thumb.blue {
    background: linear-gradient(135deg, #1a56db, #3b82f6);
}

.news-item-thumb.red {
    background: linear-gradient(135deg, #e02b2b, #f87171);
}

.news-item-thumb.green {
    background: linear-gradient(135deg, #16a34a, #4ade80);
}

.news-item-thumb.yellow {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.news-item-title,
.popular-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 5px;
    transition: color 0.2s;
}

.news-item-date,
.popular-views {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}

.popular-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--blue-light);
    color: var(--blue);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.popular-num.gold {
    background: #fffbeb;
    color: #d97706;
}

.popular-num.silver {
    background: #f8faff;
    color: #6b7280;
}

.popular-num.bronze {
    background: #fff7ed;
    color: #ea580c;
}

/* Tags cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud-item {
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s;
}

.tag-cloud-item:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

/* Contacts widget */
.widget-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
}

.widget-contact-item i {
    color: var(--blue);
    width: 16px;
}

.widget-contact-item a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.widget-contact-item a:hover {
    color: var(--blue);
}

/* Image background utilities */
.img-blue {
    background: linear-gradient(135deg, #1a56db, #3b82f6);
}

.img-red {
    background: linear-gradient(135deg, #e02b2b, #f87171);
}

.img-green {
    background: linear-gradient(135deg, #16a34a, #4ade80);
}

.img-yellow {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.img-purple {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.img-teal {
    background: linear-gradient(135deg, #0891b2, #22d3ee);
}

/* Prices table fix */


.index-table {
    text-align: center;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
    .page-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .featured-card {
        grid-template-columns: 1fr;
    }
    
    .featured-img {
        min-height: 240px;
    }
    
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    
    .article-title {
        font-size: 26px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-gallery {
        grid-template-columns: 1fr 1fr;
    }
    
    .article-gallery-item:first-child {
        grid-column: 1/3;
    }
}

@media (max-width: 480px) {
    
    .header-container {
        padding: 0 16px;
    }
    
    .header-right .btn-access {
        display: none;
    }
    
    .article-gallery {
        grid-template-columns: 1fr;
    }
    
    .article-gallery-item:first-child {
        grid-column: 1;
    }
}

/* ======= ОСНОВНОЙ КОНТЕЙНЕР ======= */
.docs-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px 60px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}



/* ======= КАТЕГОРИЯ ДОКУМЕНТОВ ======= */
.doc-category {
    margin-bottom: 32px;
}
.doc-category:last-child {
    margin-bottom: 0;
}
.doc-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    position: relative;
}
.doc-category-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, #1a56db, #ff5252);
    border-radius: 2px;
}
.doc-cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.cat-blue   { background: #dbeafe; color: #1a56db; }
.cat-red    { background: #ffe4e6; color: #e02b2b; }
.cat-green  { background: #dcfce7; color: #16a34a; }
.cat-yellow { background: #fef9c3; color: #ca8a04; }
.doc-cat-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #1a1a2e;
}

/* ======= СПИСОК ДОКУМЕНТОВ ======= */
.doc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s;
    /* Увеличенная область для тапа на мобильных */
    min-height: 70px;
}
.doc-item:active {
    transform: scale(0.98);
    background: #fafafa;
}
.doc-type-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.doc-type-icon.pdf  { background: #fff1f2; color: #e02b2b; }
.doc-type-icon.doc  { background: #eff6ff; color: #1a56db; }
.doc-type-icon.docx { background: #eff6ff; color: #1a56db; }
.doc-type-icon.file { background: #f3f4f6; color: #6b7280; }
.doc-info {
    flex: 1;
    min-width: 0;
}
.doc-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 4px;
    line-height: 1.4;
    /* Разрешаем перенос на мобильных */
    white-space: normal;
    word-break: break;
}
.doc-meta {
    font-size: 10px;
    color: #6b7280;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.doc-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}
.doc-meta i {
    font-size: 10px;
    color: #1a56db;
}
.doc-download {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    flex-shrink: 0;
    transition: all 0.2s;
}
.doc-download.available {
    background: linear-gradient(135deg, #1a56db, #2b6ee0);
    color: #fff;
}
.doc-download.soon {
    background: #f3f4f6;
    color: #9ca3af;
}

/* ======= САЙДБАР (МОБИЛЬНЫЙ ВЕРТИКАЛЬНЫЙ) ======= */
.docs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
}
.sidebar-card-head {
    padding: 14px 18px;
    background: #f8faff;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-card-head i {
    color: #1a56db;
    font-size: 14px;
}
.sidebar-card-head span {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #1a1a2e;
}
.sidebar-card-body {
    padding: 16px 18px;
}
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 12px;
}
.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.info-row i {
    color: #1a56db;
    width: 16px;
    font-size: 12px;
    margin-top: 1px;
    flex-shrink: 0;
}
.info-row a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}
.info-row .text {
    font-weight: 600;
    color: #374151;
    line-height: 1.5;
}

/* CTA карточка */
.cta-sidebar-card {
    background: linear-gradient(135deg, #1a56db, #2b6ee0);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
}
.cta-sidebar-card .cta-icon {
    font-size: 28px;
    margin-bottom: 10px;
}
.cta-sidebar-card .cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}
.cta-sidebar-card .cta-text {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    line-height: 1.5;
}
.cta-sidebar-card .btn-cta {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #e02b2b, #ff5252);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(224,43,43,0.4);
}
.cta-sidebar-card .btn-cta:active {
    transform: translateY(1px);
}

/* Быстрая навигация */
.quick-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.quick-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8faff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    transition: all 0.2s;
}
.quick-nav-item:active {
    background: #eff6ff;
    transform: scale(0.98);
}
.quick-nav-item i {
    color: #1a56db;
    width: 16px;
    font-size: 12px;
}

/* ======= ПЛАНШЕТЫ (от 768px) ======= */
@media (min-width: 768px) {

    .docs-page {
        padding: 48px 20px 80px;
    }
    .doc-cat-title {
        font-size: 18px;
    }
    .doc-cat-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .doc-name {
        font-size: 14px;
        white-space: nowrap;
    }
    .doc-meta {
        font-size: 12px;
    }
    .doc-download {
        padding: 8px 16px;
        font-size: 12px;
    }
    .sidebar-card-head {
        padding: 16px 22px;
    }
    .sidebar-card-head i {
        font-size: 16px;
    }
    .sidebar-card-head span {
        font-size: 14px;
    }
    .sidebar-card-body {
        padding: 18px 22px;
    }
    .info-row {
        font-size: 13px;
    }
}

/* ======= ДЕСКТОП (от 1024px) ======= */
@media (min-width: 1024px) {
    .docs-page {
        display: grid;
        grid-template-columns: 1fr 340px;
        gap: 48px;
    }
    .notice {
        grid-column: 1 / -1;
    }
    .doc-item:hover {
        border-color: #1a56db;
        transform: translateX(4px);
        box-shadow: 0 6px 20px rgba(26,86,219,0.1);
    }
    .doc-item:active {
        transform: translateX(4px) scale(1);
    }
    .cta-sidebar-card .btn-cta:hover {
        transform: translateY(-2px);
    }
}

/* ======= ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 380px) ======= */
@media (max-width: 380px) {
    .doc-item {
        padding: 10px 12px;
        gap: 10px;
    }
    .doc-type-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .doc-name {
        font-size: 12px;
    }
    .doc-download {
        padding: 4px 10px;
        font-size: 10px;
    }
    .cta-sidebar-card {
        padding: 20px 16px;
    }
}

/* ======= АЛЬБОМНАЯ ОРИЕНТАЦИЯ НА ТЕЛЕФОНАХ ======= */
@media (max-width: 768px) and (orientation: landscape) {
    .docs-page {
        padding: 32px 16px 40px;
    }
    .doc-category {
        margin-bottom: 24px;
    }
}

@media (min-width: 1025px) and (max-width: 1275px) {
    .logo-texts { display: none; }
    .socials { display: none; }
}

@media (min-width: 1025px) and (max-width: 1350px) {
    .socials { display: none; }
}
@media (max-height: 782px) and (max-width: 534px) {
    .hero {
        min-height: calc(120vh - 75px);
    }
}

/* ======= PRICES ======= */
.prices-section { background: #fff; }
.prices-toggle {
    text-align: center; margin-bottom: 0;
}
.btn-toggle-prices {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--blue), #2b6ee0);
    color: #fff; font-size: 16px; font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none; border-radius: 50px; cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(26,86,219,0.3);
}
.btn-toggle-prices:hover { background: linear-gradient(135deg, var(--dark), #1a3a7a); }

.prices-table-wrap {
    height: 0; overflow: hidden;
    transition: 0.5s ease;
    margin-top: 0;
}
.prices-table-wrap.open {margin-top: 40px; }
.prices-table {
    width: 100%; border-collapse: collapse;
    border-radius: 16px; overflow: hidden;
}
.prices-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
}
.scroll-hint {
    display: none;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
}
.prices-table thead { background: linear-gradient(135deg, var(--blue), #2b6ee0); }
.prices-table thead th {
    padding: 16px 20px; color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px; font-weight: 700;
    text-align: left;
}
.prices-table tbody tr:nth-child(even) { background: var(--bg); }
.prices-table tbody tr:hover { background: var(--blue-light); }
.prices-table td {
    padding: 14px 20px; border-bottom: 1px solid var(--border);
    font-size: 14px; color: var(--text);
}
.prices-table td:last-child { font-weight: 800; color: var(--blue); font-family: 'Montserrat', sans-serif; }

.prices-section p {
    margin-top: 24px;
}
.prices-table th[scope="row"] {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--blue);
}







/* ==========================================================
   Block: Page Hero — frontend styles
   ========================================================== */

.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 60%, var(--blue-dark) 100%);
    padding: 56px 0 52px !important;
    position: relative;
    overflow: hidden;
}

.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 12px;
}


.page-hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    line-height: 1.6;
}

/* Stats */
.page-hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stat-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 18px 24px;
}

.hero-stat-box .num {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.hero-stat-box .lbl {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 36px 0 32px;
    }

    .page-hero-title {
        font-size: 30px;
    }

    .page-hero-stats {
        display: none;
    }
}

@media (min-width: 768px) {
    .page-hero-title {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .page-hero-title {
        font-size: 42px;
    }
}




































/*            временные     */














