﻿:root {
    --bg: #f4f7fb;
    --surface: rgba(255, 255, 255, 0.94);
    --surface-strong: #ffffff;
    --text: #172033;
    --muted: #5f6980;
    --brand: #123b72;
    --brand-2: #1f6cb0;
    --accent: #ff7a2f;
    --soft: #eaf2fb;
    --slate: #102542;
    --line: rgba(23, 32, 51, 0.09);
    --shadow-lg: 0 28px 80px rgba(10, 33, 68, 0.18);
    --shadow-md: 0 18px 40px rgba(19, 59, 114, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(31, 108, 176, 0.18), transparent 30%),
        linear-gradient(180deg, #f9fbfe 0%, var(--bg) 100%);
}

a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(100% - 32px, 1240px);
    margin: 0 auto;
}

.site-shell {
    min-height: 100vh;
}

.site-main {
    padding-bottom: 64px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(244, 247, 251, 0.88);
    border-bottom: 1px solid rgba(18, 59, 114, 0.08);
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brand__eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-2);
    font-weight: 800;
}

.brand__title {
    font-family: "Oswald", sans-serif;
    font-size: 28px;
    line-height: 0.95;
    color: var(--brand);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav__link {
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14pt;
}

.site-nav__link:hover,
.site-nav__link:focus {
    color: var(--brand);
    background: rgba(18, 59, 114, 0.08);
}

.bvi-box {
    margin-top: 10px;
}

.bvi-panel a {
    color: var(--muted);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--surface-strong);
    box-shadow: var(--shadow-md);
    padding: 12px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--brand);
}

.menu-toggle span + span {
    margin-top: 8px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 70px 0 92px;
    margin-bottom: 0;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(16, 37, 66, 0.88), rgba(31, 108, 176, 0.58)),
        url("/Content/img/background3.jpg") center/cover no-repeat;
    z-index: 0;
}

.hero-section.hero-program::before {
    background:
        linear-gradient(135deg, rgba(8, 19, 37, 0.9), rgba(25, 76, 134, 0.58)),
        url("/Content/img/slides/new2/business-and-management-consulting-04.jpg") center/cover no-repeat;
}

.hero-section.hero-centers::before,
.hero-section.hero-catalog::before {
    background:
        linear-gradient(135deg, rgba(9, 27, 48, 0.9), rgba(19, 59, 114, 0.58)),
        url("/Content/img/background2.jpg") center/cover no-repeat;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    gap: 28px;
    align-items: end;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.eyebrow::before {
    content: "";
    width: 42px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.eyebrow-dark {
    color: var(--brand-2);
}

.hero-title,
.section-title,
.page-title,
.article-layout h2,
.article-layout h3 {
    margin: 0;
    font-family: "Oswald", sans-serif;
    line-height: 0.96;
}

.hero-title {
    font-size: clamp(42px, 5vw, 72px);
    color: #fff;
    /* max-width: 12ch; */
}

.hero-text {
    margin: 22px 0 0;
    max-width: 58ch;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
}

.hero-meta-line {
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.hero-meta-line a {
    color: #fff;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-panel,
.surface-card,
.info-panel,
.program-summary,
.contact-card,
.catalog-card,
.news-card,
.article-layout,
.review-block-modern,
.doc-item {
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid rgba(23, 32, 51, 0.07);
    box-shadow: var(--shadow-md);
}

.hero-panel {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
}

.hero-panel__inner {
    background: rgba(10, 20, 35, 0.3);
    border-radius: calc(var(--radius-lg) - 8px);
    padding: 24px;
    color: #fff;
}

.hero-panel__label,
.panel-kicker,
.meta-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
}

.hero-panel__label {
    color: rgba(255, 255, 255, 0.68);
}

.hero-panel__title {
    margin-top: 10px;
    font-family: "Oswald", sans-serif;
    font-size: 34px;
    line-height: 1;
}

.hero-panel__text {
    margin-top: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-actions a:hover {
    color: rgba(255, 255, 255, 0.78);
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease;
}

.btn-modern:hover {
    transform: translateY(-1px);
}

.btn-modern-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #ff985d);
    box-shadow: 0 16px 30px rgba(255, 122, 47, 0.28);
}

.btn-modern-secondary {
    color: #fff;
    background: linear-gradient(135deg, #1f6cb0, #4ba0ea);
    box-shadow: 0 16px 30px rgba(31, 108, 176, 0.24);
}

.btn-modern-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.btn-modern-secondary:hover {
    color: #fff;
    opacity: 0.9;
}

.section-block {
    padding: 80px 0 0;
}

.section-pullup {
    margin-top: -54px;
    position: relative;
    z-index: 2;
}

.payment-section {
    position: relative;
    z-index: 4;
}

.payment-banner {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 22px;
    background: linear-gradient(90deg, rgba(33, 160, 56, 0.16) 0%, rgba(0, 135, 205, 0.18) 100%);
    border: 1px solid rgba(18, 59, 114, 0.12);
    box-shadow: 0 18px 36px rgba(10, 33, 68, 0.12);
}

.payment-banner__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, #21a038 0%, #0087cd 100%);
}

.payment-banner__title {
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    line-height: 1.1;
    color: var(--brand);
}

.payment-banner__text {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.6;
}

.payment-banner__action {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(18, 59, 114, 0.12);
}

.section-title {
    font-size: clamp(30px, 3vw, 48px);
    color: var(--brand);
}

.rating-block-box {
    font-size: 20pt;
}

.carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
    top:40%;
}










        /* Сбербанк - зеленая тема */
        .sberbank-card {
            background: linear-gradient(135deg, #21a038 0%, #74B65F 100%);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 40px rgba(33, 160, 56, 0.3);
            color: white;
            margin-bottom: 30px;
            transition: transform 0.3s ease;
        }
        
        .sberbank-card:hover {
            transform: translateY(-5px);
        }
        
        .sberbank-card h2 {
            color:#fff;
            font-weight: 700;
            margin-bottom: 20px;
            font-size: 28px;
        }
        
        .sberbank-card p {
            font-size: 16px;
            line-height: 1.6;
            opacity: 0.95;
        }

        .btn-sberbank {
            background: linear-gradient(135deg, #21a038 0%, #2db847 100%);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 16px;
            box-shadow: 0 5px 15px rgba(33, 160, 56, 0.3);
            transition: all 0.3s ease;
        }
        
        .btn-sberbank:hover, .btn-sberbank:focus {
            background: linear-gradient(135deg, #1d8c30 0%, #26a63e 100%);
            box-shadow: 0 8px 20px rgba(33, 160, 56, 0.4);
            transform: translateY(-2px);
            color: white;
        }
        
        /* ВТБ - голубая тема */
        .vtb-card {
            background: linear-gradient(135deg, #0087cd 0%, #00AAFF 100%);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 40px rgba(0, 170, 255, 0.3);
            color: white;
            margin-bottom: 30px;
            transition: transform 0.3s ease;
        }
        
        div#carousel-vtb.carousel.slide a.left.carousel-control, div#carousel-vtb.carousel.slide a.right.carousel-control {
            background-image: none !important;
        }

        div#carousel-vtb.carousel.slide a.left.carousel-control span.glyphicon.glyphicon-chevron-left::before {
            color:#0087cd !important;
        }

        div#carousel-vtb.carousel.slide a.right.carousel-control span.glyphicon.glyphicon-chevron-right::before {
            color:#0087cd !important;
        }

        .vtb-card:hover {
            transform: translateY(-5px);
        }
        
        .vtb-card h2 {
            color:#fff;
            font-weight: 700;
            margin-bottom: 20px;
            font-size: 28px;
        }
        
        .vtb-card p {
            font-size: 16px;
            line-height: 1.6;
            opacity: 0.95;
        }
        
        .btn-vtb {
            background: linear-gradient(135deg, #0087cd 0%, #00a0f0 100%);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 16px;
            box-shadow: 0 5px 15px rgba(0, 135, 205, 0.3);
            transition: all 0.3s ease;
        }
        
        .btn-vtb:hover,.btn-vtb:focus {
            background: linear-gradient(135deg, #0076b8 0%, #0090d8 100%);
            box-shadow: 0 8px 20px rgba(0, 135, 205, 0.4);
            transform: translateY(-2px);
            color: white;
        }
        

        .modal-header-sberbank {
            background: linear-gradient(135deg, #21a038 0%, #74B65F 100%);
            color: white; 
        }

        .modal-header-sberbank h5 {
            display: inline-block;
            color:#fff;
        }

        .modal-header-sberbank .close span {
            color:#fff;
        }
        
        .modal-header-vtb {
            background: linear-gradient(135deg, #0087cd 0%, #00AAFF 100%);
            color: white; 
        }

        .modal-header-vtb h5 {
            display: inline-block;
            color:#fff;
        }

        .modal-header-vtb .close span {
            color:#fff;
        }


        @media (max-width: 768px) {
            .qr-alert-mobile span {
                display: block !important;
                margin-bottom: 10px !important;
                margin-right: 0 !important;
            }
            .qr-alert-mobile a {
                display: block !important;
                margin: 0 auto !important;
                max-width: 200px;
            }
        }

        
        /* QR-код блок */
        .qr-container {
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            margin: 25px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .qr-code-placeholder {
            width: 250px;
            height: 250px;
            margin: 0 auto 20px;
            background: #f8f9fa;
            border: 3px dashed #dee2e6;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #6c757d;
            border-radius: 10px;
        }
        
        .qr-container h4 {
            color: #333;
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        /* Слайдер инструкций */
        .instructions-slider {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .instruction-step {
            padding: 20px;
            border-left: 4px solid;
            margin-bottom: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .sberbank-column .instruction-step {
            border-left-color: #21a038;
        }
        
        .vtb-column .instruction-step {
            border-left-color: #0087cd;
        }
        
        .instruction-step:hover {
            transform: translateX(5px);
            box-shadow: 0 3px 15px rgba(0,0,0,0.1);
        }
        
        .step-number {
            display: inline-block;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            text-align: center;
            line-height: 35px;
            font-weight: bold;
            color: white;
            margin-right: 15px;
        }
        
        .sberbank-column .step-number {
            background: #21a038;
        }
        
        .vtb-column .step-number {
            background: #0087cd;
        }
        
        .step-text {
            color: #333;
            font-size: 15px;
            line-height: 1.5;
        }
        
        .page-title {
            text-align: center;
            margin-bottom: 50px;
            color: #2c3e50;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }
        
        @media (max-width: 768px) {
            .sberbank-card, .vtb-card {
                margin-bottom: 20px;
            }
        }



        

.grid-3,
.stats-grid,
.catalog-grid,
.news-grid,
.centers-grid,
.details-grid {
    display: grid;
    gap: 20px;
}

.grid-3,
.stats-grid,
.catalog-grid,
.news-grid,
.centers-grid,
.details-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.surface-card,
.catalog-card,
.contact-card,
.info-panel,
.article-layout,
.review-block-modern {
    padding: 26px;
}

.surface-card h2,
.surface-card h3,
.catalog-card h3,
.contact-card h2,
.news-card h3,
.program-card-title,
.page-title,
.article-layout h2,
.article-layout h3 {
    color: var(--brand);
}

.surface-card p,
.catalog-card p,
.contact-card p,
.news-card p,
.article-layout p,
.rich-content,
.rich-content p,
.txt p {
    line-height: 1.85;
    color: var(--muted);
}

.number-badge {
    display: inline-block;
    margin-bottom: 18px;
    font-family: "Oswald", sans-serif;
    font-size: 44px;
    line-height: 1;
    color: var(--accent);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--brand-2);
    font-weight: 800;
}

.text-link::after {
    content: "->";
}

.tag-modern {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(18, 59, 114, 0.08);
    color: var(--brand);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.home-categories,
.quick-facts,
.contact-grid {
    display: grid;
    gap: 20px;
}

.home-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fact-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(23, 32, 51, 0.07);
    box-shadow: var(--shadow-md);
}

.fact-card strong {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    color: var(--brand);
}

.program-list-accordion .panel,
.news-feed .panel,
.legacy-panels .panel {
    border: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 18px;
}

.program-list-accordion .panel-heading,
.news-feed .panel-heading,
.legacy-panels .panel-heading {
    background: linear-gradient(135deg, rgba(18, 59, 114, 0.96), rgba(31, 108, 176, 0.88)) !important;
    color: #fff !important;
    border: 0;
}

.program-list-accordion .panel-heading a,
.news-feed .panel-heading a,
.legacy-panels .panel-heading a,
.program-list-accordion .panel-title,
.news-feed .panel-title {
    color: #fff !important;
}

.program-list-accordion .panel-body,
.news-feed .panel-body,
.legacy-panels .panel-body,
.legacy-panels .panel-footer {
    background: #fff;
}

.legacy-search {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.legacy-search table {
    width: 100%;
}

.legacy-search td {
    padding: 8px 12px 8px 0;
    vertical-align: top;
}

.legacy-search .form-control,
.modern-form .form-control,
.modern-form textarea {
    border-radius: 16px;
    border: 1px solid rgba(18, 59, 114, 0.14);
    box-shadow: none;
    min-height: 46px;
}

.search-intro {
    margin-top: 16px;
    max-width: 72ch;
}

.search-form-modern {
    margin-top: 28px;
}

.search-form-modern__row {
    display: grid;
    gap: 10px;
}

.search-form-modern__label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-2);
}

.search-form-modern__input {
    min-height: 58px !important;
    padding: 14px 18px;
    font-size: 16px;
}

.search-form-modern__actions {
    margin-top: 18px;
}

.search-tips-list {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.search-tips-list li + li {
    margin-top: 10px;
}

.category-List-cat {
    margin: 24px 0 12px;
    font-family: "Oswald", sans-serif;
    font-size: 28px;
    color: var(--brand);
}

.category-List-item {
    padding: 14px 16px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: var(--soft);
    color: var(--text);
}

.category-List-item a {
    color: var(--brand);
    font-weight: 700;
}

.search-results-group {
    display: grid;
    gap: 14px;
}

.search-result-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.96));
    border: 1px solid rgba(18, 59, 114, 0.08);
    box-shadow: 0 14px 30px rgba(18, 59, 114, 0.08);
    color: var(--brand);
}

.search-result-card strong {
    min-width: 0;
    color: var(--brand);
}

.search-result-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(31, 108, 176, 0.1);
    color: var(--brand-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.search-result-card__arrow {
    color: var(--brand-2);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.search-result-card:hover,
.search-result-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(18, 59, 114, 0.11);
    color: var(--brand);
}

.carousel-inner > .item > a > img,
.carousel-inner > .item > img {
    width: 100%;
    border-radius: var(--radius-md);
}

.carousel-indicators {
    bottom: 14px;
}

.carousel-control.left,
.carousel-control.right {
    background: none;
}

.deskSLide {
    position: absolute;
    right: 30px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    max-width: min(86%, 720px);
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(248, 251, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(10, 33, 68, 0.16);
    text-align: right;
}

.deskSLide__title {
    display: block;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    line-height: 1.04;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.deskSLide__date {
    display: block;
    font-size: 0.92em;
    font-weight: 800;
    line-height: 1.35;
    color: var(--brand-2);
}

.modern-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
    gap: 24px;
    align-items: start;
    font-size: 12pt;
}

.program-summary {
    padding: 24px;
    background: linear-gradient(180deg, rgba(18, 59, 114, 0.06), rgba(255, 255, 255, 0.92));
}

.program-summary--hero {
    align-self: start;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.program-summary--hero .program-summary__row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.program-summary--hero .program-summary__row span {
    color: rgba(255, 255, 255, 0.72);
}

.program-summary--hero .program-summary__row strong {
    color: #fff;
    font-size: 12pt;
}

.program-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.program-summary__row:last-child {
    border-bottom: 0;
}

.program-summary__row span {
    color: var(--brand-2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.program-summary__row strong {
    color: var(--brand);
    text-align: right;
}

.page-shell {
    padding-top: 40px;
}

.breadcrumbs-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.breadcrumbs-modern a {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.breadcrumbs-modern span {
    color: rgba(255, 255, 255, 0.96);
}

.breadcrumbs-modern a::after {
    content: "/";
    margin-left: 10px;
    opacity: 0.5;
}

.content-panel {
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    padding: 30px;
}

.content-panel + .content-panel {
    margin-top: 20px;
}

.content-panel h3,
.content-panel h4 {
    font-family: "Oswald", sans-serif;
    color: var(--brand);
}

.article-layout {
    max-width: 960px;
    margin: 0 auto;
}

.article-legacy {
    padding: 34px;
}

.article-legacy .breadcrumb,
.article-legacy .breadcrumbModify,
.article-legacy .breadcrumbModifyFly,
.article-legacy style {
    display: none;
}

.article-legacy h3,
.article-legacy h4 {
    margin: 0 0 22px;
    font-family: "Oswald", sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
    color: var(--brand);
    text-align: left !important;
}

.article-legacy h3 {
    margin-top: 0;
}

.article-legacy h4 + p,
.article-legacy h3 + p {
    margin-top: 16px;
}

.article-legacy b,
.article-legacy strong {
    display: block;
    margin: 28px 0 14px;
    color: var(--brand);
    font-size: 18px;
}

.article-legacy p,
.article-legacy td,
.article-legacy li,
.article-legacy div {
    line-height: 1.8;
    color: var(--muted);
}

.article-legacy a {
    color: var(--brand);
    font-weight: 700;
}

.article-legacy > .bvi-tts + .bvi-tts,
.article-legacy > .bvi-tts + hr,
.article-legacy > hr + .bvi-tts {
    margin-top: 32px;
}

.article-legacy hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid rgba(18, 59, 114, 0.1);
}

.article-legacy ul {
    margin: 0;
    padding-left: 0 !important;
}

.article-legacy ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(18, 59, 114, 0.08);
    list-style: none;
}

.article-legacy ul li:last-child {
    border-bottom: 0;
}

.article-legacy ul li img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 3px;
}

.article-legacy ul li a {
    color: var(--brand);
    font-weight: 700;
    line-height: 1.65;
}

.article-legacy img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.article-legacy table {
    width: 100%;
    margin: 22px 0 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(18, 59, 114, 0.08);
}

.article-legacy table[border="1"] {
    border: 0;
}

.article-legacy th,
.article-legacy td {
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid rgba(18, 59, 114, 0.08);
    vertical-align: top;
}

.article-legacy th {
    background: linear-gradient(135deg, rgba(18, 59, 114, 0.95), rgba(31, 108, 176, 0.9));
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-legacy td {
    background: #fff;
}

.article-legacy tr:last-child td {
    border-bottom: 0;
}

.article-legacy--cert p[style*="text-align:center"],
.article-legacy--cert p[align="center"],
.article-legacy--platform h4[style*="text-align:center"] {
    text-align: center !important;
}

.article-legacy--cert table,
.article-legacy--platform table {
    box-shadow: none;
    background: transparent;
}

.article-legacy--cert table td,
.article-legacy--platform table td {
    border: 0;
    background: transparent;
    padding: 8px;
}

.article-legacy--rb38 table {
    border-radius: 22px;
}

.article-legacy--rb38 td p,
.article-legacy--rb38 th p {
    margin: 0;
}

.article-legacy--qr .container-fluid {
    padding: 0;
}

.article-legacy--qr .row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    align-items: stretch;
}

.article-legacy--qr .col-lg-6,
.article-legacy--qr .col-md-6,
.article-legacy--qr .col-12 {
    flex: 1 1 320px;
    max-width: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.article-legacy--qr .sberbank-card,
.article-legacy--qr .vtb-card,
.article-legacy--qr .qr-container {
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(18, 59, 114, 0.08);
    box-shadow: 0 18px 36px rgba(18, 59, 114, 0.08);
    padding: 22px 24px;
}

.article-legacy--qr .sberbank-card h2,
.article-legacy--qr .vtb-card h2 {
    margin-top: 0;
    font-family: "Oswald", sans-serif;
    color: var(--brand);
}

.article-legacy--qr .qr-container h4 {
    margin: 0 0 12px;
    font-family: "Oswald", sans-serif;
    color: var(--brand);
}

.article-legacy--qr .qr-code-placeholder {
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.92), rgba(255, 255, 255, 0.96));
    border: 1px dashed rgba(18, 59, 114, 0.15);
}

.article-legacy--qr .qr-code-placeholder img {
    width: min(320px, 100%) !important;
    display: block;
    margin: 0 auto;
}

.article-legacy--qr .btn-sberbank,
.article-legacy--qr .btn-vtb {
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 800;
    color: #fff;
    border: 0;
}

.article-legacy--qr .btn-sberbank {
    background: linear-gradient(135deg, #21a038 0%, #1f8a36 100%);
    box-shadow: 0 14px 26px rgba(33, 160, 56, 0.22);
}

.article-legacy--qr .btn-vtb {
    background: linear-gradient(135deg, #0096ff 0%, #0062b1 100%);
    box-shadow: 0 14px 26px rgba(0, 122, 204, 0.2);
}

.article-legacy--qr .text-muted {
    color: var(--muted) !important;
}

.article-legacy--qr .modal {
    z-index: 1060;
}

.article-legacy--qr .modal-backdrop {
    z-index: 1040;
}

.modal {
    z-index: 1050 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

.modal-dialog {
    pointer-events: auto;
}

.article-legacy--documents {
    max-width: 1080px;
}

.article-legacy--documents > .bvi-tts {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
    border: 1px solid rgba(18, 59, 114, 0.08);
    box-shadow: 0 18px 40px rgba(18, 59, 114, 0.08);
}

.article-legacy--documents > .bvi-tts + .bvi-tts {
    margin-top: 24px;
}

.article-legacy--documents h4 {
    margin-bottom: 24px;
}

.article-legacy--documents b {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: 0 0 16px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(31, 108, 176, 0.1);
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-legacy--documents ul {
    display: grid;
    gap: 14px;
}

.article-legacy--documents ul li {
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(18, 59, 114, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(18, 59, 114, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.article-legacy--documents ul li:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 108, 176, 0.2);
    box-shadow: 0 16px 28px rgba(18, 59, 114, 0.09);
}

.article-legacy--documents ul li img {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    margin-top: 0;
}

.article-legacy--documents ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    color: var(--brand);
    font-weight: 700;
}

.article-legacy--documents ul li > a::after {
    content: "Открыть";
    margin-left: auto;
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.article-legacy--documents > .bvi-tts > ul > li {
    display: block;
}

.article-legacy--documents > .bvi-tts > ul > li > ul,
.article-legacy--documents > .bvi-tts > ul > li > ul > li > ul {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(18, 59, 114, 0.12);
}

.article-legacy--documents > .bvi-tts > ul > li > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.article-legacy--documents > .bvi-tts > ul > li > ul > li,
.article-legacy--documents > .bvi-tts > ul > li > ul > li > ul > li {
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.95), rgba(255, 255, 255, 0.96));
}

.article-legacy--documents > .bvi-tts > ul > li > ul > li {
    display: block;
    height: 100%;
    min-height: 100%;
}

.article-legacy--documents > .bvi-tts > ul > li > ul > li > ul {
    grid-template-columns: 1fr;
}

.article-layout__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
    color: var(--brand-2);
    font-size: 13px;
    font-weight: 700;
}

.article-list li {
    margin-top: 10px;
}

.article-quote {
    margin: 28px 0;
    padding: 24px 28px;
    border-left: 4px solid var(--accent);
    border-radius: 0 18px 18px 0;
    background: var(--soft);
    color: var(--brand);
    font-size: 20px;
    line-height: 1.7;
}

.article-cover {
    width: 100%;
    border-radius: 20px;
    margin: 12px 0 28px;
}

.sidebar-links {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.sidebar-links a {
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--soft);
    color: var(--brand);
    font-weight: 700;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.toolbar-pill {
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    color: var(--brand);
    font-weight: 700;
}

.catalog-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: var(--brand-2);
    font-size: 14px;
    font-weight: 700;
}

.news-card {
    overflow: hidden;
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-card__body {
    padding: 22px;
}

.news-card__date {
    color: var(--brand-2);
    font-size: 13px;
    font-weight: 700;
}

.centers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.center-card .meta-line,
.doc-item span {
    color: var(--muted);
}

.center-card__title,
.center-card__title a {
    font-family: "Oswald", sans-serif;
    line-height: 1;
}

.center-card__title a {
    color: var(--brand);
}

.center-card .meta-line {
    display: block;
    margin-top: 10px;
}

.contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
}

.docs-list {
    display: grid;
    gap: 16px;
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
}

.doc-item__main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.doc-item__icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    object-fit: contain;
}

.doc-item__action {
    color: var(--brand-2);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.doc-item strong {
    color: var(--brand);
}

.program-sidebar {
    align-self: start;
    min-width: 0;
}

.info-card {
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 255, 0.96));
    border: 1px solid rgba(18, 59, 114, 0.08);
    box-shadow: var(--shadow-md);
}

.info-card--sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 108px;
}

.modal-content {
    border: 0;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--line);
}

.modal-footer {
    border-top: 1px solid var(--line);
}

.rating-block,
.review-empty-info {
    border-radius: var(--radius-md);
    background: var(--soft);
    padding: 24px;
}

.review-block {
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-md);
    padding: 20px;
    margin-bottom: 18px;
}

.review-block hr {
    margin-bottom: 0;
}

.review-block-name {
    font-weight: 800;
    color: var(--brand);
}

.review-block-date {
    color: var(--muted);
}

.site-footer {
    padding: 38px 0 48px;
    background: #0c1b2f;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 70px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.6fr));
    gap: 24px;
}

.brand--footer .brand__title,
.brand--footer .brand__eyebrow,
.site-footer__title {
    color: #fff;
}

.site-footer__title {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
}

.site-footer__text {
    margin-top: 14px;
    line-height: 1.8;
}

.site-footer a {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.78);
}

.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.error-page__box {
    max-width: 760px;
    padding: 40px;
    text-align: center;
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.error-page__box h1 {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: clamp(44px, 8vw, 96px);
    color: var(--brand);
}

.section-muted {
    color: var(--muted);
}

.table,
.sheduletable {
    background: transparent;
}

.schedule-lead,
.schedule-meta {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.7;
}


.schedule-card {
    margin-top: 16px;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.96));
    border: 1px solid rgba(18, 59, 114, 0.08);
    box-shadow: 0 22px 48px rgba(18, 59, 114, 0.11);
}

.schedule-pay-callout {
    margin-top: 16px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(33, 160, 56, 0.14) 0%, rgba(0, 135, 205, 0.16) 100%);
    border: 1px solid rgba(18, 59, 114, 0.12);
}

.schedule-pay-callout__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.schedule-pay-callout__content {
    display: grid;
    gap: 4px;
    color: var(--text);
}

.schedule-pay-callout__content strong {
    color: var(--brand);
    font-size: 15px;
}

.schedule-pay-callout__content span {
    color: var(--muted);
    line-height: 1.6;
}

.schedule-pay-callout__action {
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 18px rgba(18, 59, 114, 0.12);
}

.schedule-card__header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 2px 14px;
}

.schedule-card__title {
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    line-height: 1;
    color: var(--brand);
}

.schedule-card__hint {
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sheduletable {
    width: 100%;
    margin-top: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.sheduletable thead th {
    padding: 0 18px 10px;
    border: 0;
    background: transparent;
    color: var(--brand-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
}

.sheduletable thead th:first-child,
.sheduletable tbody td:first-child {
    padding-left: 22px;
}

.sheduletable thead th:last-child,
.sheduletable tbody td:last-child {
    padding-right: 22px;
}

.sheduletable tbody td {
    padding: 18px 18px;
    border: 0;
    background: #fff;
    color: var(--text);
    vertical-align: middle;
    box-shadow: 0 10px 24px rgba(18, 59, 114, 0.08);
}

.sheduletable tbody td:first-child {
    border-radius: 18px 0 0 18px;
    font-weight: 700;
}

.sheduletable tbody td:last-child {
    border-radius: 0 18px 18px 0;
    color: var(--brand);
    font-weight: 800;
    white-space: nowrap;
}

.sheduletable tbody tr:hover td {
    background: #f8fbff;
    box-shadow: 0 14px 30px rgba(18, 59, 114, 0.1);
}

.btn-modern-link {
    margin-top: 12px;
    min-height: 46px;
    padding: 12px 20px;
}

.center-about-info {
    border-collapse: separate;
    border-spacing: 0 18px;
}

.center-about-info tr {
    background: transparent;
}

.center-about-info td {
    padding: 0;
}

.details-icon-cell {
    width: 44px;
    padding-right: 14px !important;
    vertical-align: top;
}

.details-icon-cell .glyphicon {
    color: var(--brand-2);
    font-size: 18px;
    top: 2px;
}

.center-about-info {
    width: 100%;
}

.center-about-info td {
    padding: 12px 0;
    vertical-align: top;
}

.prog_info_more,
.legacy-sidebox,
.program-contact-card {
    border-radius: var(--radius-md);
    background: rgba(18, 59, 114, 0.05);
    padding: 20px;
}

.dont-break-out {
    overflow-wrap: anywhere;
}

.hidden-modern {
    display: none;
}

@media (max-width: 1100px) {
    .hero-grid,
    .modern-layout-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .stats-grid,
    .catalog-grid,
    .news-grid,
    .centers-grid,
    .details-grid,
    .home-categories,
    .quick-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-card--sticky {
        position: static;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow-lg);
    }

    .site-nav.is-open {
        display: flex;
    }

    .brand__title {
        font-size: 24px;
    }

    .hero-section {
        padding: 56px 0 84px;
    }

    .grid-3,
    .stats-grid,
    .catalog-grid,
    .news-grid,
    .centers-grid,
    .details-grid,
    .home-categories,
    .quick-facts,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .payment-banner {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 16px 18px;
    }

    .payment-banner__action {
        justify-self: start;
    }

    .legacy-search td,
    .legacy-search tr,
    .legacy-search table,
    .legacy-search tbody {
        display: block;
        width: 100%;
    }

    .search-result-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .deskSLide {
        right: 14px;
        left: 14px;
        bottom: 14px;
        max-width: none;
        padding: 14px 16px;
    }

    .deskSLide__title {
        font-size: 18pt !important;
    }

    .deskSLide__date {
        font-size: 11pt;
    }

    .article-documents {
        padding: 24px;
    }

    .article-legacy--documents > .bvi-tts > ul > li > ul {
        grid-template-columns: 1fr;
    }

    .schedule-card {
        padding: 16px;
    }

    .schedule-card__header {
        padding-bottom: 10px;
    }

    .sheduletable {
        display: block;
        overflow-x: auto;
        border-spacing: 0 8px;
    }

    .sheduletable thead th,
    .sheduletable tbody td {
        white-space: nowrap;
    }
}
