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

:root {
    --blue: #0A1F44;
    --blue-light: #132D5E;
    --yellow: #fbc708;
    --yellow-light: #fcd535;
    --white: #fdfdfd;
    --black: #111827;
    --grey: #4a628a;
    --grey-light: #F3F4F6;
    --radius: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--blue);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 31, 68, 0.06);
}

.cms-active .nav,
body:has(#mypanel-toolbar) .nav { top: 30px; }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--blue);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.nav-logo img {
    height: 32px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 10px;
    border: 2px solid rgba(15, 76, 129, 0.95);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #FBC708 0%, rgba(255, 255, 255, 0.7) 100%);
    color: var(--blue);
    transition: transform .15s, box-shadow .15s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(251, 199, 8, 0.35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--blue);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    transition: color .15s;
}

.nav-link:hover {
    color: var(--yellow);
}

.nav-link.is-active {
    color: var(--yellow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-doc-link {
    text-decoration: none;
    color: var(--blue);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 4px;
}

.nav-doc-link:hover {
    color: var(--yellow);
}

.nav-cta {
    padding: 10px 22px;
}

.nav-menu-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid rgba(15, 76, 129, 0.95);
    background: linear-gradient(135deg, #FBC708 0%, rgba(255, 255, 255, 0.7) 100%);
    color: var(--blue);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.nav-menu-btn .material-icons {
    font-size: 20px;
}

.nav-menu-btn .material-icons + span { display: none; }

.nav-menu-btn.is-open {
    background: linear-gradient(135deg, #FBC708 0%, rgba(255, 255, 255, 0.7) 100%);
    border-color: rgba(15, 76, 129, 0.95);
    color: var(--blue);
}

[x-cloak] { display: none !important; }

.nav-mobile-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.32), rgba(251, 199, 8, 0.32));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 110;
}

.nav-mobile-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    min-height: 100dvh;
    width: min(86vw, 340px);
    background: linear-gradient(135deg, #0F4C81 0%, #1a6bb5 50%, #FBC708 100%);
    border-left: 1px solid rgba(15, 76, 129, 0.6);
    z-index: 120;
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    padding: 76px 0 24px;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile.is-open {
    transform: translateX(0);
}

.nav-mobile-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-mobile-close .material-icons { font-size: 22px; }

.nav-mobile-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    border-radius: 0;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    transition: background .15s;
}

.nav-mobile-link:hover,
.nav-mobile-link:focus {
    background: rgba(255, 255, 255, 0.2);
}

.nav-mobile-cta {
    margin: 12px 16px 0;
    background: var(--yellow);
    color: var(--blue);
    font-weight: 800;
    border: none;
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0;
}

.nav-mobile-cta:hover,
.nav-mobile-cta:focus {
    background: var(--yellow);
    color: var(--blue);
    filter: brightness(1.05);
}

.nav-mobile-link.is-active {
    background: var(--yellow);
    color: var(--blue);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ─── Выпадающее меню «Возможности» (desktop) ─── */
.nav-drop { position: relative; }
.nav-drop-trigger {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.nav-drop-caret {
    font-size: 18px;
    transition: transform .2s;
}
.nav-drop-caret.is-open { transform: rotate(180deg); }

.nav-drop-panel {
    position: fixed;
    top: 66px;
    left: 50%;
    transform: translateX(-50%);
    width: min(880px, 94vw);
    background: #fff;
    border: 1px solid rgba(10, 31, 68, 0.08);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(10, 31, 68, 0.20);
    padding: 22px;
    z-index: 120;
}
/* Мостик, чтобы панель не закрывалась при наведении */
.nav-drop-panel::before {
    content: '';
    position: absolute;
    top: -34px; left: 0; right: 0; height: 34px;
}
/* ─── Вкладочное мега-меню (группы слева, источники справа) ─── */
.ndp {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    align-items: start;
}
.ndp-rail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 18px;
    border-right: 1px solid rgba(10,31,68,.08);
}
.ndp-tab {
    display: flex; align-items: center; gap: 11px;
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 11px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    text-align: left;
    transition: background .15s, color .15s;
}
.ndp-tab:hover { background: rgba(10,31,68,.05); }
.ndp-tab.is-active {
    background: var(--blue);
    color: #fff;
}
.ndp-tab-ico { font-size: 19px; width: 24px; text-align: center; flex-shrink: 0; }

/* Кнопка-ссылка «Что такое источник?» — на всю ширину внизу панели */
.ndp-concept-bar {
    display: flex; align-items: center; gap: 12px;
    margin-top: 16px;
    padding: 13px 16px;
    border-top: 1px solid rgba(10,31,68,.08);
    background: linear-gradient(135deg, rgba(251,199,8,.18), rgba(251,199,8,.06));
    border: 1px solid rgba(251,199,8,.55);
    border-radius: 12px;
    text-decoration: none;
    color: var(--blue);
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.ndp-concept-bar:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(251,199,8,.30); filter: brightness(1.02); }
.ndp-concept-bar .ndp-concept-ico { font-size: 22px; flex-shrink: 0; }
.ndp-concept-bar .ndp-concept-txt { flex: 1; min-width: 0; font-size: 14px; color: var(--blue); }
.ndp-concept-bar .ndp-concept-txt b { font-weight: 800; }
.ndp-concept-bar .ndp-concept-arrow { font-size: 20px; flex-shrink: 0; color: var(--blue); }

/* Правая колонка: сетка источников */
.ndp-content { padding-left: 20px; }
.ndp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-content: start;
    grid-auto-rows: 1fr;
}
.ndp-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--blue);
    transition: background .15s, border-color .15s;
}
.ndp-item:hover {
    background: rgba(251,199,8,.12);
    border-color: rgba(251,199,8,.5);
}
.ndp-item-ico {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10,31,68,.06);
    border-radius: 10px;
    font-size: 19px;
    flex-shrink: 0;
}
.ndp-item-ico img { width: 26px; height: 26px; object-fit: contain; display: block; }
.ndp-item:hover .ndp-item-ico { background: var(--yellow); }
.ndp-item-txt { min-width: 0; }
.ndp-item-txt b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.ndp-item-txt small {
    display: block; font-size: 11.5px; color: var(--grey);
    margin-top: 3px; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Анимация появления панели */
.nav-drop-anim { transition: opacity .18s ease, transform .18s ease; }
.nav-drop-anim-start { opacity: 0; transform: translateX(-50%) translateY(-8px); }
.nav-drop-anim-end { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Мобильный аккордеон «Возможности» ─── */
.nav-mobile-feat {
    justify-content: space-between;
    cursor: pointer;
}
.nav-mobile-feat .material-icons { transition: transform .2s; }
.nav-mobile-feat .material-icons.is-open { transform: rotate(180deg); }
.nav-mobile-sub { padding: 4px 0 8px; background: rgba(0,0,0,.18); }
.nav-mobile-sublink {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 24px 11px 40px;
    color: var(--white);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav-mobile-sublink:hover { background: rgba(255,255,255,.12); }
.nav-mobile-subico { width: 20px; height: 20px; object-fit: contain; display: inline-block; flex-shrink: 0; border-radius: 5px; }

@media (max-width: 960px) {
    .nav-links, .nav-doc-link { display: none; }
    .nav-menu-btn { display: inline-flex; }
    .nav-inner { padding: 12px 16px; gap: 6px; }
    .nav-actions { gap: 6px; }
    .nav-cta { padding: 0 16px; height: 40px; }
}

@media (max-width: 820px) {
    .nav-drop-panel { width: 94vw; }
    .ndp { grid-template-columns: 1fr; }
    .ndp-rail { border-right: none; border-bottom: 1px solid rgba(10,31,68,.08); padding-right: 0; padding-bottom: 12px; }
    .ndp-content { padding-left: 0; padding-top: 12px; }
}

/* ─── Hero ─── */

.hero {
    padding: 140px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    background: #fdfdfd;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: #fdf5d0;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--blue);
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    color: var(--yellow);
}

.hero p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--yellow);
    margin-bottom: 36px;
    max-width: 480px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .18s;
}

.btn-accent {
    background: var(--yellow);
    color: var(--blue);
    box-shadow: 0 6px 24px rgba(251, 199, 8, 0.35);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(251, 199, 8, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--blue);
    border: 2px solid rgba(10, 31, 68, 0.2);
}

.btn-ghost:hover {
    border-color: var(--blue);
    background: rgba(10, 31, 68, 0.03);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #fdfdfd;
    border-radius: 24px;
    padding: 40px;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 199, 8, 0.18) 0%, transparent 70%);
    z-index: 0;
}

.hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

/* ─── Stats strip ─── */

.stats-strip {
    background: var(--blue);
    padding: 50px 0;
    margin-bottom: 100px;
}

.stats-strip .inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 24px;
}

.hero-text {
    text-align: left;
}

.stat {
    text-align: left;
}

.stat-icon {
    font-size: 64px;
    font-weight: 900;
    color: var(--yellow);
    line-height: 0.5;
}

.stat h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: -0.5px;
}

.stat p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
}

/* ─── Sections ─── */

section {
    padding: 100px 24px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header .chip {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: #fdf5d0;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--grey);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ─── Features grid ─── */

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

.feature-card {
    background: var(--grey-light);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid transparent;
    transition: all .2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(10, 31, 68, 0.08);
    border-color: rgba(10, 31, 68, 0.08);
}

.feature-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--blue);
}

.feature-card p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
}

/* ─── Integrations ─── */

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.integration-badge {
    background: var(--grey-light);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--blue);
    transition: transform .15s;
}

.integration-badge:hover {
    transform: translateY(-2px);
}

.integration-badge .ico {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.integration-badge .ico-img {
    width: 36px;
    height: 36px;
    display: block;
    margin: 10px auto 8px;
    object-fit: contain;
}

/* ─── SDK section ─── */

#sdk {
    background: var(--blue);
}

#sdk .section-header h2 {
    color: var(--white);
}

#sdk .section-header p {
    color: rgba(255, 255, 255, 0.65);
}

#sdk .section-header .chip {
    background: rgba(251, 199, 8, 0.22);
    color: var(--yellow-light);
}

.sdk-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.sdk-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.sdk-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin-bottom: 24px;
}

.sdk-features {
    list-style: none;
    display: grid;
    gap: 10px;
}

.sdk-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.sdk-features li svg {
    flex-shrink: 0;
}

.code-block {
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius);
    padding: 28px 24px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #e5e7eb;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-block .c {
    color: #9ca3af;
}

.code-block .s {
    color: #fbbf24;
}

.code-block .k {
    color: #93c5fd;
}

.code-block .m {
    color: #34d399;
}

/* ─── Rich API ─── */

.api-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.api-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 12px;
}

.api-info p {
    font-size: 15px;
    color: var(--grey);
    line-height: 1.65;
    margin-bottom: 20px;
}

.api-info .btn {
    margin-top: 12px;
}

/* ─── CTA Banner ─── */

.cta {
    background: linear-gradient(135deg, #0A1F44 0%, #132D5E 100%);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.cta-text {
    text-align: left;
}

.cta-text h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--yellow);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-text p {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 248, 220, 0.8);
    max-width: 460px;
    line-height: 1.45;
    margin: 0;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    max-width: 440px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
    box-sizing: border-box;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cta-form input:focus,
.cta-form textarea:focus {
    border-color: var(--yellow);
}

.cta-form textarea {
    resize: vertical;
}

.cta-form-result {
    margin-top: 16px;
    font-size: 14px;
}

.cta-form-result.error {
    color: #EF4444;
}

/* ─── Footer ─── */

footer {
    background: #060E1F;
    padding: 40px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

footer a {
    color: var(--yellow);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ─── Integrations bg ─── */
.integrations-bg {
    background: var(--grey-light);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        width: 160px;
    }

    .hero-visual::before {
        width: 240px;
        height: 240px;
    }

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

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sdk-content,
    .api-content {
        grid-template-columns: 1fr;
    }

    .stats-strip .inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-form {
        align-items: center;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

/* ── Consent ── */
.consent-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 0;
}
.consent-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent, #F59E0B);
    flex-shrink: 0;
}

/* ── Modal ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: modalIn 0.3s ease;
}
.modal-icon {
    font-size: 56px;
    margin-bottom: 16px;
}
.modal-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary, #0F4C81);
}
.modal-card p {
    font-size: 15px;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
    margin-bottom: 24px;
}
.modal-card .btn {
    display: inline-block;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ Тело поста блога (.blog-body) ═══ */
.blog-body { color: #1f2a44; }
.blog-body h2 {
    font-size: 25px; line-height: 1.25; font-weight: 800; color: #0A1F44;
    margin: 40px 0 14px; padding-bottom: 10px; border-bottom: 2px solid #EEF1F7;
}
.blog-body h2:first-child { margin-top: 0; }
.blog-body h3 { font-size: 18px; font-weight: 700; color: #132D5E; margin: 26px 0 8px; }
.blog-body p { margin: 0 0 16px; }
.blog-body strong { color: #0A1F44; }
.blog-body a { color: #0F4C81; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(15,76,129,.3); }
.blog-body a:hover { border-bottom-color: #0F4C81; }
.blog-body .bb-lead {
    font-size: 19px; line-height: 1.7; color: #33415C; margin-bottom: 28px;
}
.blog-body ul.bb-check { list-style: none; padding: 0; margin: 0 0 22px; }
.blog-body ul.bb-check li {
    position: relative; padding: 7px 0 7px 30px; font-size: 16px; color: #33415C;
}
.blog-body ul.bb-check li::before {
    content: '✓'; position: absolute; left: 0; top: 7px;
    width: 20px; height: 20px; line-height: 20px; text-align: center;
    color: #0A1F44; background: #fbc708; border-radius: 50%;
    font-size: 12px; font-weight: 800;
}
.blog-body .bb-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 26px;
}
.blog-body .bb-card {
    background: #F8FAFC; border: 1px solid #E8ECF4; border-radius: 14px; padding: 18px 18px 16px;
}
.blog-body .bb-card .bb-ico {
    width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
    font-size: 21px; background: #fff; border: 1px solid #E8ECF4; margin-bottom: 10px;
}
.blog-body .bb-card h3 { margin: 0 0 6px; font-size: 16px; }
.blog-body .bb-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #56627c; }
.blog-body .bb-figure { margin: 26px auto; max-width: 640px; }
.blog-body .bb-figure img {
    width: 100%; height: auto; display: block; border-radius: 14px;
    border: 1px solid #E8ECF4; box-shadow: 0 10px 30px rgba(10,31,68,.10);
}
.blog-body .bb-cap { margin-top: 8px; font-size: 13px; color: #8a93a8; text-align: center; }
.blog-body .bb-quote {
    background: linear-gradient(90deg, #FFF8DE, #FFFCF2); border-left: 4px solid #fbc708;
    border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 28px 0;
    font-size: 16px; line-height: 1.65; color: #4a3d05;
}
.blog-body .bb-quote p:last-child { margin-bottom: 0; }
.blog-body .bb-tag {
    display: inline-block; font-size: 12px; font-weight: 700; color: #0F4C81;
    background: #E8F0FE; border-radius: 100px; padding: 4px 12px; margin: 0 6px 6px 0;
}
@media (max-width: 640px) {
    .blog-body .bb-grid { grid-template-columns: 1fr; }
    .blog-body h2 { font-size: 21px; }
    .blog-body .bb-lead { font-size: 17px; }
}
