/* =======================================================================
   РКО НАВИГАТОР: СТИЛИ ДИСПЛЕЯ И ВИТРИНЫ
   ======================================================================= */

:root {
    --primary: #1062fe;
    --primary-dark: #0043ce;
    --primary-light: #edf5ff;
    --accent: #198038;
    --accent-light: #defbe6;
    --warning: #f1c21b;
    --danger: #da1e28;
    --bg-page: #f4f7fb;
    --bg-card: #ffffff;
    --text-heading: #121619;
    --text-body: #343a40;
    --text-muted: #697077;
    --border-color: #e0e6ed;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(16, 98, 254, 0.08);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-page);
    color: var(--text-body);
    font-family: var(--font-stack);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ШАПКА САЙТА (HEADER) */
.header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    height: 70px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    color: var(--text-heading);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-badge {
    background: var(--primary);
    color: #ffffff;
    padding: 5px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.logo-text {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-heading);
    white-space: nowrap;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.2px;
}

.nav-links {
    display: flex;
    gap: 18px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-shrink: 1;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-body);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-cta {
    background: var(--primary);
    color: #ffffff !important;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-cta:hover {
    background: var(--primary-dark);
}

/* ГЕРОЙ-СЕКЦИЯ (HERO) */
.hero {
    background: linear-gradient(135deg, #0b1528 0%, #172a4d 100%);
    color: #ffffff;
    padding: 60px 0 50px;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #60a5fa;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 780px;
    margin: 0 auto 30px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px;
    border-radius: var(--radius-md);
}

.stat-num {
    font-size: 24px;
    font-weight: 800;
    color: #38bdf8;
}

.stat-desc {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
}

/* БЛОК ФИЛЬТРАЦИИ КАРТОЧЕК */
.filters-section {
    margin: 0 0 22px;
    position: relative;
    z-index: 10;
}

.filters-wrapper {
    background: #ffffff;
    padding: 12px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    border: 1px solid var(--border-color);
}

.filter-btn {
    background: #f1f5f9;
    color: var(--text-body);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
    font-family: inherit;
}

.filter-btn:hover {
    background: #e2e8f0;
}

.filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(16, 98, 254, 0.22);
}

@media (max-width: 992px) {
    .filters-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .filters-wrapper {
        grid-template-columns: 1fr;
    }
}

/* СЕТКА БАНКОВСКИХ КАРТОЧЕК */
.banks-section {
    padding: 40px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bank-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.bank-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.bank-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.bank-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bank-avatar {
    width: 52px;
    height: 52px;
    background: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary-dark);
}

.bank-title-group h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-heading);
}

.bank-tag {
    font-size: 13px;
    color: var(--text-muted);
}

.badges-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.badge-top {
    background: var(--accent-light);
    color: var(--accent);
}

.badge-popular {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-bonus {
    background: #fff8e1;
    color: #b78103;
}

/* Сетка характеристик тарифа */
.specs-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 18px;
}

.spec-box {
    display: flex;
    flex-direction: column;
}

.spec-name {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.spec-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    margin-top: 2px;
}

/* Бонусная плашка и кнопка */
.card-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.bonus-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #1e3a8a;
    font-weight: 600;
    line-height: 1.45;
    flex: 1 1 auto;
    min-width: 0;
}

.action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin-left: auto;
}

.btn-details {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-body);
    padding: 0 18px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-details:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-open-account {
    background: var(--primary);
    color: #ffffff !important;
    padding: 0 24px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 98, 254, 0.25);
    box-sizing: border-box;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-open-account:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(16, 98, 254, 0.35);
}

.btn-reg-business {
    background: #ecfdf5;
    border: 1.5px solid #10b981;
    color: #047857 !important;
    padding: 0 16px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-reg-business:hover {
    background: #10b981;
    color: #ffffff !important;
    border-color: #10b981;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

/* Промо-блок торгового эквайринга */
.acquiring-promo-box {
    margin-top: 20px;
    padding: 18px 22px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.acq-tag {
    display: inline-block;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.acq-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #14532d;
    margin-bottom: 4px;
}

.acq-info p {
    font-size: 13px;
    color: #166534;
    margin: 0;
    line-height: 1.45;
}

.btn-acquiring {
    background: #16a34a;
    color: #ffffff !important;
    padding: 0 20px;
    height: 42px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-acquiring:hover {
    background: #15803d;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .acquiring-promo-box {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-acquiring {
        width: 100%;
        text-align: center;
    }
}

/* РАСКРЫВАЮЩИЕСЯ ДЕТАЛИ ТАРИФА (ACCORDION DETAILS) */
.tariff-details-drawer {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
    animation: fadeIn 0.3s ease;
}

.tariff-details-drawer.open {
    display: block;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.details-block h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.details-list {
    list-style: none;
}

.details-list li {
    font-size: 13px;
    color: var(--text-body);
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.details-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ИНТЕРАКТИВНЫЙ КАЛЬКУЛЯТОР ТАРИФОВ (ВЕРСИЯ 2.0 MAX CONVERSION) */
.calc-section {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.06);
    padding: 44px;
    margin: 48px 0;
}

.calc-header-badge {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* БЫСТРЫЕ СЦЕНАРИИ В 1 КЛИК */
.calc-personas-wrapper {
    margin: 20px 0 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
}

.calc-personas-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-personas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.persona-chip {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    outline: none;
}

.persona-chip:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.15);
}

.persona-chip.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.persona-chip .persona-icon {
    font-size: 16px;
    line-height: 1;
}

.calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px;
    margin-top: 10px;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

.control-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.control-val-badge {
    color: #2563eb;
    font-weight: 800;
    font-size: 15px;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.range-slider {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 6px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #2563eb;
    border: 3px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    transition: transform 0.15s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* ДОПОЛНИТЕЛЬНЫЕ ОПЦИИ / ЧЕКБОКСЫ */
.calc-addons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px dashed #cbd5e1;
}

.addon-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.addon-checkbox:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.addon-checkbox input {
    display: none;
}

.addon-box {
    width: 20px;
    height: 20px;
    border: 2px solid #94a3b8;
    border-radius: 6px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s;
}

.addon-checkbox input:checked + .addon-box {
    background: #2563eb;
    border-color: #2563eb;
}

.addon-checkbox input:checked + .addon-box::after {
    content: "✓";
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.addon-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.addon-text strong {
    font-size: 13.5px;
    color: #1e293b;
}

.addon-text small {
    font-size: 12px;
    color: #64748b;
}

/* БЛОК ПОБЕДИТЕЛЯ */
.calc-result-box {
    background: linear-gradient(145deg, #f0f7ff 0%, #e0effe 100%);
    border: 1.5px solid #93c5fd;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
    position: relative;
    min-width: 0;
}

.calc-winner-header {
    border-bottom: 1px solid #bfdbfe;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.calc-winner-tag {
    font-size: 11px;
    font-weight: 800;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 6px;
}

.calc-winner-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calc-winner-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
    background: #ffffff;
    padding: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.calc-winner-name {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.calc-total-savings {
    margin-bottom: 16px;
}

.savings-label {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    display: block;
}

.calc-savings-number {
    font-size: 34px;
    font-weight: 900;
    color: #1d4ed8;
    line-height: 1.1;
    margin-top: 4px;
    letter-spacing: -0.5px;
}

/* ПАКЕТ ПОДАРКОВ */
.calc-perks-banner {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 10px 14px;
    margin: 14px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.perks-badge {
    font-size: 10.5px;
    font-weight: 800;
    color: #d97706;
    letter-spacing: 0.5px;
}

.perks-text {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.calc-savings-desc {
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-calc-cta {
    background: #16a34a !important;
    color: #ffffff !important;
    text-align: center;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.3;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-calc-cta:hover {
    background: #15803d !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}

.calc-trust-micro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-top: 10px;
    flex-wrap: wrap;
}

.calc-consult-bridge {
    margin-top: 16px;
    text-align: center;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
}

.calc-consult-bridge a {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.calc-consult-bridge a:hover {
    color: #1d4ed8;
}

/* СРАВНЕНИЕ ВСЕХ БАНКОВ (ВИЗУАЛЬНЫЕ ШКАЛЫ) */
.calc-compare-section {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.compare-header h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.compare-subtitle {
    font-size: 13.5px;
    color: #64748b;
    display: block;
    margin-bottom: 20px;
}

.calc-compare-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-bar-row {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    display: grid;
    grid-template-columns: 240px 1fr 140px 150px;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.calc-bar-row:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.calc-bar-row.winner {
    background: #f0fdf4;
    border-color: #86efac;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.12);
}

.bar-bank-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-bank-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    padding: 2px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.bar-bank-title {
    display: flex;
    flex-direction: column;
}

.bar-bank-name {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    line-height: 1.2;
}

.bar-bank-tariff {
    font-size: 11.5px;
    color: #64748b;
}

.bar-visual-wrap {
    display: flex;
    align-items: center;
}

.bar-track {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-fill.green {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.bar-fill.blue {
    background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
}

.bar-fill.gray {
    background: linear-gradient(90deg, #cbd5e1 0%, #94a3b8 100%);
}

.bar-cost-text {
    text-align: right;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.bar-cost-text.zero {
    color: #16a34a;
}

.btn-bar-cta {
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.btn-bar-cta:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.calc-bar-row.winner .btn-bar-cta {
    background: #16a34a;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

.calc-bar-row.winner .btn-bar-cta:hover {
    background: #15803d;
}

@media (max-width: 900px) {
    .calc-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .calc-bar-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .bar-visual-wrap {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .calc-section {
        padding: 24px 16px;
    }
    .calc-personas {
        flex-direction: column;
    }
    .persona-chip {
        width: 100%;
        justify-content: flex-start;
    }
    .calc-result-box {
        padding: 20px 16px;
    }
    .calc-winner-name {
        font-size: 19px;
    }
    .calc-savings-number {
        font-size: 28px;
    }
    .calc-breakdown {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 10px 8px;
        gap: 6px;
    }
    .calc-breakdown-label {
        font-size: 9.5px;
        letter-spacing: 0.2px;
    }
    .calc-breakdown-val {
        font-size: 14px;
    }
    .btn-calc-cta {
        font-size: 14.5px;
        padding: 12px 14px;
    }
    .calc-bar-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .bar-cost-text {
        text-align: left;
    }
}

/* ФОРМА ПОДБОРА / ЗАЯВКИ */
.consultation-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 44px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    margin: 48px 0;
}

.consultation-tag {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.consultation-section .section-title {
    margin-bottom: 8px;
    text-align: left;
    font-size: 26px;
}

.consultation-section .section-subtitle {
    text-align: left;
    margin-bottom: 24px;
    max-width: 820px;
    color: #64748b;
    font-size: 15px;
}

.form-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 22px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}

.form-group label .required {
    color: #ef4444;
}

.form-group label .optional {
    color: #94a3b8;
    font-weight: normal;
    font-size: 12px;
}

.form-group input, 
.form-group select {
    width: 100%;
    height: 48px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ПЛАШКИ ВЫБОРА МЕССЕНДЖЕРА */
.messenger-selector {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    margin-top: 10px;
}

.messenger-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.messenger-pill {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #334155;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    outline: none;
}

.messenger-pill:hover {
    border-color: #93c5fd;
    background: #f0f7ff;
    transform: translateY(-2px);
}

.messenger-pill.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.messenger-pill .pill-icon {
    font-size: 18px;
    line-height: 1;
}

.messenger-input-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed #cbd5e1;
}

.messenger-input-box label {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.messenger-input-box input {
    width: 100%;
    height: 48px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.messenger-input-box input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.input-channel-hint {
    font-size: 13px;
    color: #64748b;
    display: block;
    margin-top: 4px;
}

.form-footer {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.btn-submit-lead {
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-submit-lead:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4);
}

.btn-submit-lead:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-privacy {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* УВЕДОМЛЕНИЕ ОБ УСПЕХЕ ОТПРАВКИ */
.form-alert {
    margin-top: 20px;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    animation: fadeIn 0.3s ease;
}

.success-alert {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    color: #14532d;
}

.alert-icon {
    font-size: 22px;
    line-height: 1;
}

.alert-content strong {
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.alert-content p {
    font-size: 14px;
    margin: 0;
    color: #166534;
}

@media (max-width: 640px) {
    .consultation-section {
        padding: 24px 16px;
    }
    .messenger-pills {
        grid-template-columns: repeat(2, 1fr);
    }
    .btn-submit-lead {
        width: 100%;
    }
}

/* БЛОК СТАТЕЙ И БАЗЫ ЗНАНИЙ */
.articles-section {
    padding: 40px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.article-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.article-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.article-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.article-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* FAQ АККОРДЕОН */
.faq-section {
    padding: 40px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ПЛАВАЮЩИЙ БАР НА МОБИЛЬНЫХ */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 12px 20px;
    z-index: 999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
}

.mobile-sticky-bar a {
    display: block;
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
}

/* ФУТЕР */
.footer {
    background: #0b1324;
    color: #94a3b8;
    padding: 50px 0 30px;
    font-size: 13px;
    margin-top: 60px;
    border-top: 1px solid #1e293b;
}

.footer .logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer .logo-badge {
    background: #2563eb;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.footer .logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff !important; /* Ярко-белый цвет для максимальной читаемости на темном фоне */
    letter-spacing: -0.3px;
    display: inline-flex;
    align-items: center;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 24px;
}

.footer-brand {
    max-width: 520px;
    min-width: 0;
}

.footer-brand .logo {
    flex-wrap: wrap;
    white-space: normal;
}

.footer-brand .logo-text {
    white-space: normal;
}

.footer-desc {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-email-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #334155;
}

.footer-email-label {
    color: #94a3b8;
    font-size: 13px;
}

.footer-email-val {
    color: #38bdf8;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-email-val:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-social-links a {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social-links a:hover {
    color: #38bdf8;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: 24px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА И ПЛАНШЕТЫ */
@media (max-width: 1120px) {
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 13px; }
    .nav-links li:last-child { display: none; }
}

@media (max-width: 980px) {
    .nav-links { display: none; } /* Скрываем меню, исключая наложение на логотип */
}

@media (max-width: 768px) {
    .header-inner { height: 60px; }
    .hero { padding: 40px 0 40px; }
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 15px; }
    .calc-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .details-grid { grid-template-columns: 1fr; }
    .card-action-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .bonus-alert {
        width: 100%;
        min-width: 0;
    }
    .action-buttons {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: stretch;
        gap: 10px;
    }
    .btn-details, .btn-open-account, .btn-reg-business {
        flex: 1 1 auto;
        min-width: 140px;
        text-align: center;
        justify-content: center;
    }
    .mobile-sticky-bar { display: block; }
    .footer-contacts {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .header-inner {
        height: 58px;
        gap: 8px;
    }
    .logo {
        gap: 8px;
    }
    .logo-badge {
        font-size: 11px;
        padding: 4px 7px;
    }
    .logo-text {
        font-size: 16px;
    }
    .header-cta {
        font-size: 12px;
        padding: 7px 11px;
    }
}

@media (max-width: 420px) {
    .header-inner {
        height: 52px;
        gap: 6px;
    }
    .logo {
        gap: 6px;
        min-width: 0;
        flex-shrink: 1;
    }
    .logo-badge {
        font-size: 9.5px;
        padding: 3px 5px;
    }
    .logo-text {
        font-size: 12.5px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .header-cta {
        font-size: 10.5px;
        padding: 5px 8px;
    }
    .calc-breakdown-label {
        font-size: 8.5px;
        letter-spacing: 0;
    }
    .calc-breakdown-val {
        font-size: 13px;
    }
}

@media (max-width: 350px) {
    .logo-badge {
        display: none;
    }
}

/* =======================================================================
 * УЛУЧШЕННЫЕ СТИЛИ ДЛЯ ИКОНОК, СТАТЕЙ И КАЛЬКУЛЯТОРА
 * ======================================================================= */
.bank-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    box-sizing: border-box;
}

.bank-avatar-light {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px;
}

.bank-avatar-vtb {
    background: #0A2972;
    padding: 8px;
}

.bank-avatar img,
.bank-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.bank-avatar svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* КЛИКАБЕЛЬНЫЕ КАРТОЧКИ СТАТЕЙ */
a.article-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

a.article-card:hover .article-link {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* ДЕТАЛИЗАЦИЯ КАЛЬКУЛЯТОРА */
.calc-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #bfdbfe;
    border-radius: 10px;
    padding: 12px;
    margin: 14px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.05);
}

.calc-breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.calc-breakdown-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.calc-breakdown-val {
    font-size: 16px;
    font-weight: 800;
    color: #1e3a8a;
}

/* СРАВНЕНИЕ ТОП-3 В КАЛЬКУЛЯТОРЕ */
.calc-top-alternatives {
    margin-top: 24px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.calc-top-alternatives h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.calc-alt-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-alt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid transparent;
    transition: background 0.15s;
}

.calc-alt-row:hover {
    background: #f1f5f9;
}

.calc-alt-row.winner {
    background: #eff6ff;
    border-color: #bfdbfe;
    font-weight: 600;
}

.calc-alt-bank-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-alt-name {
    font-weight: 700;
    color: var(--text-heading);
}

.calc-alt-badge {
    font-size: 11px;
    padding: 2px 8px;
    background: #e2e8f0;
    color: #334155;
    border-radius: 4px;
}

.calc-alt-row.winner .calc-alt-badge {
    background: #dbeafe;
    color: #1e40af;
}

.calc-alt-cost {
    font-weight: 700;
    color: var(--primary-dark);
}


/* =======================================================================
 * СТИЛИ ДЛЯ ИНФОГРАФИКИ, ТАБЛИЦ И СХЕМ В СТАТЬЯХ (РКО 2026–2027)
 * ======================================================================= */

/* 1. Пошаговый процесс / Дорожная карта (Roadmap) */
.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0;
}

.roadmap-step {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.roadmap-step:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    background: #ffffff;
}

.roadmap-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1062fe 0%, #004ecc 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(16, 98, 254, 0.3);
}

.roadmap-body {
    flex: 1;
}

.roadmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.roadmap-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.roadmap-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eff6ff;
    color: #1062fe;
    border: 1px solid #bfdbfe;
}

.roadmap-badge-time {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.roadmap-badge-success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.roadmap-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 8px;
}

.roadmap-details {
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 8px 14px;
    border-radius: 8px;
    margin-top: 8px;
    border-left: 3px solid #1062fe;
}

/* 2. Карточки скрытых комиссий и статей расхода */
.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.cost-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cost-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.cost-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cost-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fef2f2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cost-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.cost-rate-badge {
    display: inline-block;
    background: #fee2e2;
    color: #991b1b;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.cost-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 12px;
}

.cost-trap {
    font-size: 12px;
    color: #b91c1c;
    background: #fff1f2;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #ef4444;
    font-weight: 500;
}

/* 3. Матрица бизнес-моделей (Выбор банка для ИП) */
.business-matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.model-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.model-card:hover {
    border-color: #1062fe;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 98, 254, 0.08);
}

.model-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
    width: fit-content;
}

.model-badge-mp { background: #eff6ff; color: #005BFF; border: 1px solid #bfdbfe; }
.model-badge-it { background: #f5f3ff; color: #7F42E1; border: 1px solid #ddd6fe; }
.model-badge-retail { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.model-badge-b2b { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }

.model-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.model-priority {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.model-banks {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.model-banks-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.model-banks-val {
    font-size: 14px;
    font-weight: 800;
    color: #1062fe;
    line-height: 1.4;
}

.model-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #334155;
}

.model-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.model-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 800;
}

/* 4. Сетка 7 критериев выбора банка для ООО */
.criteria-grid-7 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.criterion-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.criterion-card:hover {
    border-color: #1062fe;
    box-shadow: 0 6px 16px rgba(16, 98, 254, 0.08);
    transform: translateY(-2px);
}

.criterion-num {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1062fe;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.criterion-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.criterion-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 10px;
}

.criterion-metric {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
}

/* 5. Кнопка перехода в таблицах */
.btn-table-cta {
    display: inline-block;
    padding: 8px 14px;
    background: #1062fe;
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(16, 98, 254, 0.2);
    text-align: center;
}

.btn-table-cta:hover {
    background: #004ecc;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 98, 254, 0.3);
}

/* 6. Улучшенные таблицы */
.styled-table {
    display: block;
    overflow-x: auto;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    font-size: 13.5px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.styled-table th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    padding: 12px 14px;
    border-bottom: 2px solid #cbd5e1;
    border-right: 1px solid #e2e8f0;
    vertical-align: middle;
}

.styled-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: middle;
}

.styled-table tr:nth-child(even) td {
    background: #f8fafc;
}

.styled-table tr:hover td {
    background: #eff6ff;
}

.styled-table th:last-child,
.styled-table td:last-child {
    border-right: none;
}

.styled-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 540px) {
    .action-buttons {
        flex-direction: column;
    }
    .btn-details, .btn-open-account, .btn-reg-business {
        width: 100%;
    }
}

/* ==========================================================================
   СЕКЦИЯ TELEGRAM-КАНАЛА (PROMO BANNER)
   ========================================================================== */
.tg-channel-section {
    padding: 60px 0;
    background: #f8fafc;
}

.tg-banner-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0c4a6e 100%);
    border-radius: 24px;
    padding: 44px 48px;
    color: #ffffff;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tg-banner-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(34, 158, 217, 0.35) 0%, rgba(34, 158, 217, 0) 70%);
    pointer-events: none;
}

.tg-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.tg-banner-main {
    flex: 1;
    max-width: 680px;
}

.tg-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 158, 217, 0.18);
    border: 1px solid rgba(34, 158, 217, 0.4);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.tg-badge-dot {
    width: 8px;
    height: 8px;
    background-color: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
    animation: tgPulse 2s infinite;
}

@keyframes tgPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.tg-banner-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.tg-banner-desc {
    font-size: 15.5px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.tg-banner-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tg-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}

.tg-banner-side {
    flex-shrink: 0;
    width: 320px;
}

.tg-action-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tg-channel-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(34, 158, 217, 0.35);
}

.tg-avatar-icon {
    font-size: 28px;
}

.tg-channel-info {
    margin-bottom: 18px;
}

.tg-ch-name {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}

.tg-ch-handle {
    font-size: 13px;
    font-weight: 600;
    color: #38bdf8;
}

.tg-subscribe-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(34, 158, 217, 0.4);
    transition: all 0.25s ease;
}

.tg-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(34, 158, 217, 0.55);
    background: linear-gradient(135deg, #28a9ea 0%, #0096e6 100%);
    color: #ffffff;
}

.tg-subtext {
    margin-top: 12px;
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .tg-banner-inner {
        flex-direction: column;
        text-align: left;
    }
    .tg-banner-side {
        width: 100%;
    }
    .tg-action-card {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .tg-banner-card {
        padding: 28px 20px;
        border-radius: 18px;
    }
    .tg-banner-title {
        font-size: 22px;
    }
    .tg-banner-desc {
        font-size: 14px;
    }
    .tg-pill {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ==========================================================================
   ЭКСПРЕСС-КВИЗ ПОДБОРА БАНКА (ЗАЩИТА АПРУВА И БЫСТРЫЙ СТАРТ)
   ========================================================================== */
.quiz-section {
    margin: -24px auto 12px;
    position: relative;
    z-index: 10;
}

.quiz-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px solid #dbeafe;
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    box-shadow: var(--shadow-md);
}

.quiz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.quiz-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1062fe;
    border: 1px solid #bfdbfe;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.quiz-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-heading);
    margin: 6px 0 4px;
}

.quiz-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.quiz-step-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.quiz-step-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
    display: block;
}

.quiz-pills {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.quiz-pill {
    text-align: left;
    background: #f1f5f9;
    color: var(--text-body);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
}

.quiz-pill:hover {
    background: #e2e8f0;
}

.quiz-pill.active {
    background: #1062fe;
    color: #ffffff;
    border-color: #1062fe;
    box-shadow: 0 4px 10px rgba(16, 98, 254, 0.25);
}

.quiz-result-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1.5px solid #86efac;
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.quiz-result-info {
    flex: 1;
    min-width: 260px;
}

.quiz-result-tag {
    font-size: 11.5px;
    font-weight: 800;
    color: #15803d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    display: block;
}

.quiz-result-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.quiz-result-reason {
    font-size: 13.5px;
    color: #334155;
    margin: 0;
    line-height: 1.5;
}

.quiz-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-quiz-primary {
    background: #16a34a;
    color: #ffffff !important;
    padding: 11px 18px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
    transition: all 0.2s ease;
}

.btn-quiz-primary:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.btn-quiz-reserve {
    background: #ffffff;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-quiz-reserve:hover {
    border-color: #1062fe;
    color: #1062fe !important;
}

/* ==========================================================================
   ПЕРЕКЛЮЧАТЕЛЬ «КАРТОЧКИ / ТАБЛИЦА СРАВНЕНИЯ»
   ========================================================================== */
.rating-top-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.view-switcher {
    display: inline-flex;
    background: #e2e8f0;
    padding: 4px;
    border-radius: 12px;
    gap: 4px;
}

.view-tab-btn {
    border: none;
    background: transparent;
    color: var(--text-body);
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s ease;
}

.view-tab-btn.active {
    background: #ffffff;
    color: #1062fe;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.quick-compare-wrap {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.quick-compare-wrap.active {
    display: block;
}

.quick-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    min-width: 720px;
}

.quick-compare-table th {
    text-align: left;
    padding: 12px 14px;
    background: #f8fafc;
    color: var(--text-heading);
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
}

.quick-compare-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.quick-compare-table tr:hover td {
    background: #f8fafc;
}

.table-bank-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-heading);
}

.table-bank-cell img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

/* ==========================================================================
   СЕКЦИЯ «СТРАТЕГИЯ 2 СЧЕТОВ И ЧЕК-ЛИСТ 115-ФЗ»
   ========================================================================== */
.combo-section {
    padding: 50px 0 10px;
}

.combo-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.combo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.combo-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.combo-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: #1062fe;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.combo-card h4 {
    font-size: 16.5px;
    color: var(--text-heading);
    margin: 0 0 8px;
}

.combo-card p {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}

.combo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-combo-cta {
    flex: 1;
    min-width: 120px;
    text-align: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #0f172a !important;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-combo-cta:hover {
    border-color: #1062fe;
    background: #eff6ff;
    color: #1062fe !important;
}

.checklist-115 {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.checklist-115 h4 {
    font-size: 16px;
    color: #92400e;
    margin: 0 0 8px;
}

.checklist-115 ul {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: #78350f;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .quiz-grid {
        grid-template-columns: 1fr;
    }
    .quiz-card {
        padding: 20px 16px;
    }
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-body);
    margin-bottom: 14px;
    cursor: pointer;
    text-align: left;
    max-width: 580px;
}

.form-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    flex-shrink: 0;
    cursor: pointer;
}
