/* ═══════════════════════════════════════════════════════════════
   BUMAGA ESCROW — Public Page Styles v3.0 (Clean Rebuild)
   Location: /assets/css/escrow.css
   ═══════════════════════════════════════════════════════════════
   
   CLEAN FLAT DARK UI — matches Labels / Methods / Proxy pages.
   No gradient sections. No glow. No glassmorphism. Just clean cards.
   
   Namespace: esc-*
   Dependencies: tokens.css (--bp-* variables)
   ═══════════════════════════════════════════════════════════════ */


/* ── Page Layout ── */

.esc-page {
    /* clamp(1280px, 86vw, 1420px) caused horizontal overflow on screens < 1488px
       (86vw < 1280px minimum → max-width locked to 1280px → scrollbar flash → layout jank).
       Fixed: simple max-width, width: 100% stays within viewport always. */
    max-width: 1420px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 60px;
    box-sizing: border-box;
}

.esc-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ══════════════════════════════════════════════════════════════
   HERO — 1:1 Labels / Methods / Proxy + trust chips
   ══════════════════════════════════════════════════════════════ */

.esc-header {
    text-align: center;
    padding: 48px 0 32px;
}

.esc-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--bp-text);
}

.esc-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--bp-accent) 0%, #2d7cd6 100%);
    border-radius: var(--bp-radius);
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.3);
    flex-shrink: 0;
}

.esc-title-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.esc-subtitle {
    color: var(--bp-text-secondary);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* Trust chips — GREEN = trust, not blue */
.esc-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.esc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bp-green-dim);
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bp-green);
    font-family: var(--bp-sans);
}

.esc-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bp-green);
}

.esc-chip-icon {
    font-weight: 700;
    font-size: 11px;
}


/* ══════════════════════════════════════════════════════════════
   METRICS — Primary KPI (60%) + Secondary stack (40%)
   Color rule: numbers = WHITE, blue = only borders/hover/buttons
   ══════════════════════════════════════════════════════════════ */

.esc-metrics-section {
    margin-bottom: 48px;
    /* contain: layout isolates any residual counter animation reflow
       so it cannot shift elements outside this section */
    contain: layout;
}

.esc-metrics-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* Primary KPI card */
.esc-kpi-card {
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.esc-kpi-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

/* KPI number = WHITE, heavy, clean — not neon blue */
.esc-kpi-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--bp-text);
    font-family: var(--bp-mono);
    line-height: 1;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    /* Fade-in reveal — числа не прыгают, просто плавно появляются */
    opacity: 0;
    transition: opacity 0.5s ease;
}
.esc-kpi-value.esc-stat-visible { opacity: 1; }

.esc-kpi-meta {
    font-size: 13px;
    color: var(--bp-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.esc-kpi-sep {
    color: var(--bp-border-hover);
    margin: 0 2px;
}

/* Dynamic line: +$102k in 2026 */
.esc-kpi-dynamic {
    font-size: 13px;
    color: var(--bp-text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.esc-kpi-plus {
    color: var(--bp-green);
    font-weight: 700;
    font-family: var(--bp-mono);
}

/* Divider between financial + trust zones */
.esc-kpi-divider {
    height: 1px;
    background: var(--bp-border);
    margin: 14px 0;
}

/* Trust signals — green checkmarks */
.esc-trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 20px;
}

.esc-trust-signal {
    font-size: 12px;
    color: var(--bp-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Popup on max deal — click to see proof */
.esc-has-popup {
    position: relative;
    cursor: pointer;
}

.esc-tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bp-border);
    color: var(--bp-text-muted);
    font-size: 9px;
    font-weight: 700;
    margin-left: 2px;
    transition: background var(--bp-transition-fast);
}

.esc-has-popup:hover .esc-tooltip-icon {
    background: var(--bp-accent);
    color: #fff;
}

.esc-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: var(--bp-card-raised);
    border: 1px solid var(--bp-border-hover);
    border-radius: var(--bp-radius-sm);
    padding: 14px 16px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all 0.2s ease;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.esc-has-popup:hover .esc-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.esc-popup-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.esc-popup-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-xs);
    color: var(--bp-text);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color var(--bp-transition-fast);
}

.esc-popup-link:hover {
    border-color: var(--bp-accent);
}

.esc-popup-link svg {
    flex-shrink: 0;
    color: var(--bp-accent);
}

.esc-popup-hash {
    font-family: var(--bp-mono);
}

.esc-popup-hash-short {
    color: var(--bp-text-muted);
    font-family: var(--bp-mono);
    font-size: 11px;
    margin-left: auto;
}

/* Secondary card as link (reviews → TG group) */
a.esc-secondary-card.esc-secondary-link {
    text-decoration: none;
    cursor: pointer;
}

a.esc-secondary-card.esc-secondary-link:hover {
    border-color: var(--bp-accent-border);
}

.esc-secondary-arrow {
    color: var(--bp-text-muted);
    flex-shrink: 0;
    transition: color var(--bp-transition-fast), transform var(--bp-transition-fast);
}

a.esc-secondary-card:hover .esc-secondary-arrow {
    color: var(--bp-accent);
    transform: translateX(2px);
}

/* CTA button in KPI card */
.esc-kpi-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--bp-accent);
    color: #fff;
    border: none;
    border-radius: var(--bp-radius-xs);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background var(--bp-transition);
    font-family: var(--bp-sans);
    align-self: flex-start;
}

.esc-kpi-cta svg {
    flex-shrink: 0;
}

.esc-kpi-cta:hover {
    background: var(--bp-accent-hover);
}

/* Secondary stack */
.esc-secondary-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.esc-secondary-card {
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    transition: border-color var(--bp-transition);
}

.esc-secondary-card:hover {
    border-color: var(--bp-border-hover);
}

/* Secondary numbers = WHITE, not blue */
.esc-secondary-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--bp-text);
    font-family: var(--bp-mono);
    min-width: 90px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.esc-secondary-value.esc-stat-visible { opacity: 1; }

.esc-secondary-info {
    flex: 1;
    min-width: 0;
}

.esc-secondary-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--bp-text);
    margin-bottom: 2px;
}

.esc-secondary-hint {
    font-size: 12px;
    color: var(--bp-text-muted);
}

/* Yearly performance — compact row */
.esc-yearly-row {
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.esc-yearly-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.esc-yearly-chips {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.esc-yearly-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-xs);
    min-width: 100px;
    transition: border-color var(--bp-transition);
}

.esc-yearly-chip:hover {
    border-color: var(--bp-border-hover);
}

/* Active total = only blue accent allowed */
.esc-yearly-chip.esc-yearly-total {
    border-color: var(--bp-accent-border);
    background: var(--bp-accent-dim);
}

.esc-yearly-year {
    font-size: 11px;
    color: var(--bp-text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

/* Year amounts = progressive brightness, blue only on total */
.esc-yearly-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--bp-text);
    font-family: var(--bp-mono);
}

.esc-yearly-chip.esc-yearly-total .esc-yearly-amount {
    color: var(--bp-accent);
}

/* Прогрессивная яркость: старые годы тусклее */
.esc-yearly-chip--old .esc-yearly-amount {
    color: var(--bp-text-muted);
}
.esc-yearly-chip--old .esc-yearly-year {
    color: var(--bp-text-muted);
    opacity: 0.6;
}

.esc-yearly-chip--mid .esc-yearly-amount {
    color: var(--bp-text-secondary);
}

/* Текущий год — акцент: белый + синяя рамка сверху */
.esc-yearly-chip--current {
    border-top: 2px solid var(--bp-accent-border);
}
.esc-yearly-chip--current .esc-yearly-amount {
    color: var(--bp-text);
}
.esc-yearly-chip--current .esc-yearly-year {
    color: var(--bp-accent);
    font-weight: 600;
}

.esc-yearly-deals {
    font-size: 10px;
    color: var(--bp-text-muted);
    margin-top: 1px;
}


/* ══════════════════════════════════════════════════════════════
   SECTION TITLE — Reusable
   ══════════════════════════════════════════════════════════════ */

.esc-section-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
    color: var(--bp-text);
}


/* ══════════════════════════════════════════════════════════════
   ESCROW FLOW — 5-step process (replaces Services + How It Works)
   Layout: 3+2 desktop, vertical stack mobile
   ══════════════════════════════════════════════════════════════ */

.esc-flow-section {
    padding: 48px 0;
}

.esc-flow-subtitle {
    text-align: center;
    color: var(--bp-text-secondary);
    font-size: 15px;
    margin: -20px auto 36px;
    max-width: 480px;
    line-height: 1.5;
}

/* ── Grid: 6-col, 3 rows (cards → connector → cards) ── */

.esc-flow-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    row-gap: 0;
    margin-bottom: 32px;
}

/* Row 1: 3 cards, each span 2 columns */
.esc-flow-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.esc-flow-card:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
.esc-flow-card:nth-child(3) { grid-column: 5 / 7; grid-row: 1; }

/* Row 3: 2 cards centered — offset by 1 col each side */
.esc-flow-card:nth-child(4) { grid-column: 2 / 4; grid-row: 3; }
.esc-flow-card:nth-child(5) { grid-column: 4 / 6; grid-row: 3; }

/* Row 2: connector — sits between card rows */
.esc-flow-grid::after {
    content: '';
    grid-column: 1 / -1;
    grid-row: 2;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Vertical dashed line in connector row */
.esc-flow-grid::before {
    content: '›';
    grid-column: 1 / -1;
    grid-row: 2;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 300;
    color: var(--bp-text-muted);
    transform: rotate(90deg);
    position: relative;
    z-index: 2;
}

/* ── Card ── */

.esc-flow-card {
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 24px 20px;
    position: relative;
    transition: border-color var(--bp-transition);
}

.esc-flow-card:hover {
    border-color: var(--bp-border-hover);
}

/* ── Step badge ── */

.esc-flow-badge {
    width: 44px;
    height: 44px;
    background: var(--bp-accent-dim);
    border: 1px solid var(--bp-accent-border-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--bp-accent);
    font-family: var(--bp-mono);
    margin-bottom: 14px;
    flex-shrink: 0;
}

/* ── Card content ── */

.esc-flow-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--bp-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.esc-flow-card-desc {
    font-size: 13px;
    color: var(--bp-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Connectors: dashed line + chevron between cards (horizontal) ── */

.esc-flow-card:nth-child(1)::after,
.esc-flow-card:nth-child(2)::after,
.esc-flow-card:nth-child(4)::after {
    content: '›';
    position: absolute;
    top: 34px;
    right: -14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    color: var(--bp-text-muted);
    z-index: 2;
}

/* Subtle dashed line behind chevron */
.esc-flow-card:nth-child(1)::before,
.esc-flow-card:nth-child(2)::before,
.esc-flow-card:nth-child(4)::before {
    content: '';
    position: absolute;
    top: 45px;
    right: -16px;
    width: 16px;
    height: 1px;
    border-top: 1px dashed var(--bp-border-hover);
    z-index: 1;
}

/* ── Helper trust line ── */

.esc-flow-helper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-xs);
    margin-bottom: 24px;
}

.esc-flow-helper svg {
    color: var(--bp-green);
    flex-shrink: 0;
}

.esc-flow-helper span {
    font-size: 13px;
    color: var(--bp-text-secondary);
    line-height: 1.5;
}




/* ══════════════════════════════════════════════════════════════
   SECURITY — 2×2 monolithic grid (PR-7)
   ══════════════════════════════════════════════════════════════ */

.esc-security-section {
    padding: 48px 0;
}

.esc-security-header {
    text-align: center;
    margin-bottom: 36px;
}

.esc-security-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.esc-security-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--bp-text);
    margin-bottom: 10px;
}

.esc-security-subtitle {
    font-size: 14px;
    color: var(--bp-text-secondary);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Monolithic 2×2 grid — single card, internal dividers */
.esc-security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

/* Internal dividers via box-shadow on cells */
.esc-security-cell {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 32px 28px;
    transition: background var(--bp-transition);
    position: relative;
}

/* Right border for left cells */
.esc-security-cell:nth-child(odd) {
    border-right: 1px solid var(--bp-border);
}

/* Bottom border for top row */
.esc-security-cell:nth-child(-n+2) {
    border-bottom: 1px solid var(--bp-border);
}

.esc-security-cell:hover {
    background: rgba(74, 158, 255, 0.04);
}

.esc-security-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bp-accent-dim);
    border: 1px solid var(--bp-accent-border);
    border-radius: var(--bp-radius-sm);
    color: var(--bp-accent);
}

.esc-security-icon svg {
    width: 20px;
    height: 20px;
}

.esc-security-cell-body {
    flex: 1;
    min-width: 0;
}

.esc-security-cell-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--bp-text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.esc-security-cell-desc {
    font-size: 13px;
    color: var(--bp-text-secondary);
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .esc-security-grid {
        grid-template-columns: 1fr;
    }
    .esc-security-cell:nth-child(odd) {
        border-right: none;
    }
    .esc-security-cell:nth-child(-n+2) {
        border-bottom: none;
    }
    .esc-security-cell:not(:last-child) {
        border-bottom: 1px solid var(--bp-border);
    }
    .esc-security-cell {
        padding: 22px 20px;
    }
}


/* ══════════════════════════════════════════════════════════════
   PRICING — Split layout: tiers (left) + calculator (right)
   Interactive: click tier → syncs calculator select
   ══════════════════════════════════════════════════════════════ */

.esc-pricing-section {
    padding: 48px 0;
}

.esc-pricing-subtitle {
    text-align: center;
    color: var(--bp-text-secondary);
    font-size: 15px;
    margin: -20px auto 36px;
    max-width: 480px;
    line-height: 1.5;
}

/* ── Split grid ── */

.esc-pricing-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.esc-pricing-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.esc-pricing-right {
    display: flex;
    flex-direction: column;
}

/* ── Tier card (shared) ── */

.esc-tier {
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 20px 22px;
    transition: border-color var(--bp-transition);
    position: relative;
    cursor: pointer;
}

.esc-tier:hover {
    border-color: var(--bp-border-hover);
}

/* Active state (selected tier) */
.esc-tier.esc-tier-active {
    border-color: var(--bp-accent-border-strong);
}

/* Primary tier — Standard */
.esc-tier-primary {
    padding-top: 32px;
}

.esc-tier-badge {
    position: absolute;
    top: -11px;
    left: 22px;
    padding: 3px 12px;
    background: var(--bp-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--bp-sans);
}

/* Header row */
.esc-tier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.esc-tier-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--bp-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.esc-tier-rate-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.esc-tier-rate {
    font-size: 24px;
    font-weight: 900;
    color: var(--bp-accent);
    font-family: var(--bp-mono);
    line-height: 1;
}

.esc-tier-min {
    font-size: 12px;
    color: var(--bp-text-muted);
    font-weight: 500;
}

.esc-tier-desc {
    font-size: 13px;
    color: var(--bp-text-secondary);
    line-height: 1.55;
    margin-bottom: 0;
}

/* Secondary text-link */
.esc-tier-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--bp-accent);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--bp-transition-fast);
    font-family: var(--bp-sans);
}

.esc-tier-link:hover {
    color: var(--bp-accent-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Info popup on Training "?" */
.esc-tier-info-trigger {
    display: inline-flex;
    margin-left: 2px;
}

.esc-tier-popup {
    min-width: 280px;
    bottom: auto;
    top: calc(100% + 10px);
    left: auto;
    right: 0;
}

.esc-tier-popup-text {
    font-size: 12px;
    color: var(--bp-text-secondary);
    line-height: 1.6;
    margin: 0 0 6px;
}

.esc-tier-popup-text:last-child { margin-bottom: 0; }

/* Custom tier — compact one-line */
.esc-tier-custom {
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-xs);
}

.esc-tier-custom span {
    font-size: 13px;
    color: var(--bp-text-muted);
}

/* ── Calculator (right side) — Live mode ── */

.esc-calc-box {
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.esc-calc-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--bp-text);
}

.esc-calc-field {
    margin-bottom: 12px;
}

.esc-calc-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--bp-text-secondary);
    font-size: 12px;
}

.esc-calc-input {
    width: 100%;
    padding: 9px 12px;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-xs);
    color: var(--bp-text);
    font-size: 15px;
    font-family: var(--bp-mono);
    font-weight: 600;
    transition: border-color var(--bp-transition);
    box-sizing: border-box;
}

.esc-calc-input:focus {
    outline: none;
    border-color: var(--bp-accent);
    box-shadow: 0 0 0 3px var(--bp-accent-dim);
}

/* Live result — always visible */
.esc-calc-live {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-xs);
    padding: 12px 14px;
    margin-bottom: 10px;
}

.esc-calc-live-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

.esc-calc-live-row + .esc-calc-live-row {
    border-top: 1px solid var(--bp-border);
}

.esc-calc-live-label {
    font-size: 12px;
    color: var(--bp-text-secondary);
    font-weight: 500;
}

.esc-calc-live-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--bp-accent);
    font-family: var(--bp-mono);
    transition: color 0.2s ease;
}

.esc-calc-payout {
    color: var(--bp-text);
}

.esc-calc-live-note {
    font-size: 11px;
    color: var(--bp-text-muted);
    text-align: center;
    margin-top: 6px;
}

.esc-calc-auto-hint {
    font-size: 11px;
    color: var(--bp-text-muted);
    text-align: center;
    margin-bottom: 12px;
}

/* CTA in calculator */
.esc-tier-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 28px;
    background: var(--bp-accent);
    color: #fff;
    border: none;
    border-radius: var(--bp-radius-xs);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: background var(--bp-transition);
    font-family: var(--bp-sans);
}

.esc-tier-cta:hover { background: var(--bp-accent-hover); }
.esc-tier-cta svg { flex-shrink: 0; }

.esc-calc-cta {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

/* Trust micro-features under tiers */
.esc-tier-features {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.esc-tier-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--bp-text-muted);
}

.esc-tier-feature-check {
    color: var(--bp-green);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}



/* ══════════════════════════════════════════════════════════════
   USE CASES — Chips + Unified Panel
   ══════════════════════════════════════════════════════════════ */

.esc-cases-section {
    padding: 56px 0 48px;
}

.esc-cases-header {
    text-align: center;
    margin-bottom: 32px;
}

.esc-cases-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.esc-cases-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--bp-text);
    margin-bottom: 10px;
}

.esc-cases-subtitle {
    font-size: 14px;
    color: var(--bp-text-secondary);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Chips row ── */
.esc-cases-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.esc-case-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    border: 1px solid var(--bp-border);
    background: rgba(255,255,255,0.03);
    color: var(--bp-text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--bp-sans);
    cursor: pointer;
    transition: border-color var(--bp-transition), background var(--bp-transition), color var(--bp-transition);
    user-select: none;
}

.esc-case-chip:hover {
    border-color: rgba(74, 158, 255, 0.30);
    background: rgba(255,255,255,0.05);
    color: var(--bp-text);
}

.esc-case-chip--active {
    border-color: rgba(74, 158, 255, 0.45);
    background: rgba(74, 158, 255, 0.08);
    color: var(--bp-text);
}

.esc-case-chip-icon {
    font-size: 15px;
    line-height: 1;
}

/* ── Unified expand panel ── */
.esc-cases-panel {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.esc-case-content {
    display: none;
}

.esc-case-content--active {
    display: block;
    animation: escCaseFadeIn 0.22s ease;
}

@keyframes escCaseFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.esc-case-content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    overflow: hidden;
}

/* Left column */
.esc-case-left {
    padding: 32px 28px;
    border-right: 1px solid var(--bp-border);
}

.esc-case-icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 14px;
}

.esc-case-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--bp-text);
    margin-bottom: 10px;
}

.esc-case-desc {
    font-size: 14px;
    color: var(--bp-text-secondary);
    line-height: 1.7;
}

/* Right column — bullets */
.esc-case-bullets {
    list-style: none;
    padding: 32px 28px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.esc-case-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--bp-text-secondary);
    line-height: 1.6;
}

.esc-case-bullet-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bp-accent);
    flex-shrink: 0;
    margin-top: 6px;
}

/* Mobile */
@media (max-width: 768px) {
    .esc-case-content-inner {
        grid-template-columns: 1fr;
    }
    .esc-case-left {
        border-right: none;
        border-bottom: 1px solid var(--bp-border);
        padding: 22px 20px;
    }
    .esc-case-bullets {
        padding: 20px;
        gap: 12px;
    }
    .esc-cases-chips {
        gap: 8px;
    }
    .esc-case-chip {
        padding: 8px 14px;
        font-size: 12px;
    }
}


/* ══════════════════════════════════════════════════════════════
   REVIEWS — Horizontal ticker
   ══════════════════════════════════════════════════════════════ */

/* ── Reviews — Dual-Row Trust Feed (PR-4b) ── */
.esc-reviews-section {
    padding: 56px 0 48px;
    overflow: hidden;
}

.esc-reviews-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 36px;
    text-align: center;
}

.esc-reviews-header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.esc-reviews-header .esc-section-title {
    margin-bottom: 0;
}

.esc-reviews-subline {
    font-size: 13px;
    color: var(--bp-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.esc-reviews-count {
    color: var(--bp-green);
    font-weight: 600;
    font-size: 13px;
}

.esc-reviews-tg-link {
    font-size: 13px;
    color: var(--bp-accent);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color var(--bp-transition-fast);
    margin-top: 2px;
}

.esc-reviews-tg-link:hover {
    color: var(--bp-accent-hover);
}

.esc-reviews-ticker {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    padding: 4px 0;
    /* mask-image: плавный fade без артефактов цвета — работает на любом фоне */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image:         linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.esc-reviews-ticker:last-of-type {
    margin-bottom: 0;
}

.esc-reviews-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: escTickerScroll 45s linear infinite;
    will-change: transform;
}

.esc-reviews-track--rev {
    animation-direction: reverse;
    animation-duration: 50s;
}

.esc-reviews-track:hover {
    animation-play-state: paused;
}

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

.esc-review-card {
    flex-shrink: 0;
    width: 320px;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color var(--bp-transition);
}

.esc-review-card:hover {
    border-color: var(--bp-border-hover);
}

.esc-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.esc-review-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.esc-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.esc-review-meta {
    min-width: 0;
}

.esc-review-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--bp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.esc-review-date {
    font-size: 11px;
    color: var(--bp-text-muted);
    margin-top: 1px;
}

.esc-review-stars {
    display: flex;
    gap: 1px;
    flex-shrink: 0;
    padding-top: 3px;
    opacity: 0.85;
}

.esc-review-amount {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bp-green-dim);
    border: 1px solid rgba(52, 211, 153, 0.18);
    border-radius: var(--bp-radius-xs);
    padding: 4px 10px;
    width: fit-content;
}

.esc-review-amount-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bp-green);
    flex-shrink: 0;
}

.esc-review-amount-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--bp-green);
    font-family: var(--bp-mono);
}

.esc-review-amount-label {
    font-size: 11px;
    color: var(--bp-text-secondary);
}

.esc-review-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--bp-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.esc-review-link {
    font-size: 12px;
    color: var(--bp-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--bp-transition-fast);
    margin-top: auto;
    white-space: nowrap;
}

.esc-review-link:hover {
    color: var(--bp-accent-hover);
}

@media (max-width: 768px) {
    .esc-reviews-header {
        gap: 6px;
        margin-bottom: 24px;
    }
    .esc-review-card {
        width: 270px;
        padding: 16px 18px;
    }
}


/* ══════════════════════════════════════════════════════════════
   TOP USERS — Leaderboard (PR-5)
   Fintech-style ranked list, no emoji, no gimmicks
   ══════════════════════════════════════════════════════════════ */

.esc-top-section {
    padding: 56px 0 48px;
}

.esc-top-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header — same language as numbers.php */
.esc-top-header {
    text-align: center;
    margin-bottom: 40px;
}

.esc-top-header-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.esc-top-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--bp-text);
    margin-bottom: 8px;
}

.esc-top-header p {
    color: var(--bp-text-secondary);
    font-size: 14px;
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Leaderboard wrapper */
.esc-leaderboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Row */
.esc-lb-row {
    display: grid;
    grid-template-columns: 44px 44px 1fr auto auto;
    align-items: center;
    gap: 16px;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-sm);
    padding: 14px 20px;
    text-decoration: none;
    transition: border-color var(--bp-transition);
    position: relative;
    overflow: hidden;
}

.esc-lb-row:hover {
    border-color: var(--bp-border-hover);
}

/* Top-3: accent left stripe */
.esc-lb-row[data-rank="1"] { border-left-color: rgba(255, 215, 0, 0.35); }
.esc-lb-row[data-rank="2"] { border-left-color: rgba(192, 192, 192, 0.25); }
.esc-lb-row[data-rank="3"] { border-left-color: rgba(205, 127, 50, 0.25); }

.esc-lb-row[data-rank="1"]::before,
.esc-lb-row[data-rank="2"]::before,
.esc-lb-row[data-rank="3"]::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 0 2px 2px 0;
}

.esc-lb-row[data-rank="1"]::before { background: #FFD700; }
.esc-lb-row[data-rank="2"]::before { background: #C0C0C0; }
.esc-lb-row[data-rank="3"]::before { background: #CD7F32; }

/* Rank number */
.esc-lb-rank {
    font-size: 15px;
    font-weight: 700;
    color: var(--bp-text-muted);
    font-family: var(--bp-mono);
    text-align: center;
    line-height: 1;
    padding-left: 8px;
}

.esc-lb-row[data-rank="1"] .esc-lb-rank { color: #FFD700; }
.esc-lb-row[data-rank="2"] .esc-lb-rank { color: #C0C0C0; }
.esc-lb-row[data-rank="3"] .esc-lb-rank { color: #CD7F32; }

/* Avatar */
.esc-lb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.esc-lb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Identity column */
.esc-lb-identity {
    min-width: 0;
}

.esc-lb-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--bp-text);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.esc-lb-verified {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: var(--bp-accent);
}

.esc-lb-verified svg {
    width: 14px;
    height: 14px;
}

.esc-lb-handle {
    font-size: 12px;
    color: var(--bp-text-muted);
    font-family: var(--bp-mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Volume bar column */
.esc-lb-bar-col {
    width: 120px;
    flex-shrink: 0;
}

.esc-lb-bar-track {
    height: 4px;
    background: var(--bp-border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.esc-lb-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--bp-accent), var(--bp-green));
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.esc-lb-bar-label {
    font-size: 10px;
    color: var(--bp-text-muted);
    text-align: right;
    font-family: var(--bp-mono);
    letter-spacing: 0.2px;
}

/* Stats column */
.esc-lb-stats {
    text-align: right;
    flex-shrink: 0;
}

.esc-lb-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--bp-green);
    font-family: var(--bp-mono);
    line-height: 1;
    margin-bottom: 3px;
}

.esc-lb-deals {
    font-size: 11px;
    color: var(--bp-text-muted);
    font-family: var(--bp-mono);
}

/* Disclaimer */
.esc-disclaimer {
    text-align: center;
    margin-top: 24px;
}

.esc-disclaimer p {
    font-size: 11px;
    color: var(--bp-text-muted);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile */
@media (max-width: 768px) {
    .esc-lb-row {
        grid-template-columns: 32px 36px 1fr auto;
        gap: 10px;
        padding: 12px 14px;
    }
    .esc-lb-bar-col { display: none; }
    .esc-lb-rank { font-size: 13px; padding-left: 4px; }
    .esc-lb-avatar { width: 36px; height: 36px; font-size: 14px; border-radius: 8px; }
    .esc-lb-amount { font-size: 13px; }
}


/* ══════════════════════════════════════════════════════════════
   FAQ — 1:1 pattern from numbers.php (PR-6)
   ══════════════════════════════════════════════════════════════ */

.esc-faq-section {
    padding: 48px 0 56px;
}

.esc-faq-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--bp-radius);
}

.esc-faq-header {
    margin-bottom: 24px;
}

.esc-faq-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--bp-text);
    margin: 0 0 8px 0;
}

.esc-faq-title::before {
    content: '❓';
    font-size: 20px;
}

.esc-faq-subtitle {
    color: var(--bp-text-secondary);
    font-size: 14px;
    margin: 0;
}

.esc-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.esc-faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--bp-radius-sm);
    overflow: hidden;
    transition: border-color var(--bp-transition), background var(--bp-transition);
    cursor: pointer;
}

.esc-faq-item:hover {
    border-color: rgba(74, 158, 255, 0.30);
    background: rgba(255,255,255,0.04);
}

.esc-faq-item.esc-active {
    border-color: rgba(74, 158, 255, 0.40);
    background: rgba(74, 158, 255, 0.05);
}

.esc-faq-question {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    user-select: none;
}

.esc-faq-q {
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
    line-height: 1.5;
}

.esc-faq-chevron {
    flex-shrink: 0;
    color: var(--bp-text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.esc-faq-chevron svg {
    width: 14px;
    height: 14px;
    display: block;
}

.esc-faq-item.esc-active .esc-faq-chevron {
    transform: rotate(180deg);
    color: var(--bp-accent);
}

.esc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.esc-faq-item.esc-active .esc-faq-answer {
    max-height: 600px;
}

.esc-faq-answer-content {
    padding: 0 20px 20px;
    font-size: 13px;
    color: #a0a0a0;
    line-height: 1.7;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
    margin-top: 0;
}

.esc-faq-answer-content strong {
    color: var(--bp-accent);
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .esc-faq-inner {
        padding: 16px;
        border-radius: var(--bp-radius-sm);
    }
    .esc-faq-title { font-size: 16px; }
    .esc-faq-question { padding: 14px 16px; }
    .esc-faq-answer-content { padding: 12px 16px 16px; font-size: 13px; }
}


/* ══════════════════════════════════════════════════════════════
   FIND PARTNER — Clean widget
   ══════════════════════════════════════════════════════════════ */

.esc-partner-section {
    padding: 48px 0;
}

.esc-partner-widget {
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.esc-widget-promo {
    padding: 32px 24px;
    border-right: 1px solid var(--bp-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.esc-widget-promo-icon {
    width: 64px;
    height: 64px;
    background: var(--bp-accent-dim);
    border: 1px solid var(--bp-accent-border);
    border-radius: var(--bp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.esc-widget-promo-icon svg {
    width: 32px;
    height: 32px;
    color: var(--bp-accent);
}

.esc-widget-promo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bp-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.esc-widget-promo-text {
    font-size: 13px;
    color: var(--bp-text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 240px;
}

.esc-widget-buttons {
    display: flex;
    gap: 8px;
    width: 100%;
}

.esc-widget-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--bp-radius-xs);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--bp-transition);
    font-family: var(--bp-sans);
}

.esc-widget-btn svg { width: 16px; height: 16px; }

.esc-widget-btn-primary {
    background: var(--bp-accent);
    color: #fff;
}

.esc-widget-btn-primary:hover {
    background: var(--bp-accent-hover);
}

.esc-widget-btn-tg {
    background: #0088cc;
    color: #fff;
}

.esc-widget-btn-tg:hover {
    background: #0077b5;
}

/* Listings side */
.esc-widget-listings {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
}

.esc-widget-listings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.esc-widget-listings-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--bp-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.esc-widget-view-all {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--bp-accent);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: var(--bp-radius-xs);
    background: var(--bp-accent-dim);
    transition: background var(--bp-transition);
}

.esc-widget-view-all:hover {
    background: rgba(74, 158, 255, 0.15);
}

.esc-widget-view-all svg { width: 14px; height: 14px; }

.esc-widget-listings-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-text-muted);
    font-size: 13px;
    padding: 36px 20px;
    text-align: center;
    border-radius: var(--bp-radius-xs);
    border: 1px dashed var(--bp-border);
}





/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .esc-metrics-grid       { grid-template-columns: 1fr; }
    .esc-kpi-value          { font-size: 40px; }
    .esc-flow-grid          { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; gap: 16px; }
    .esc-flow-card:nth-child(1),
    .esc-flow-card:nth-child(2),
    .esc-flow-card:nth-child(3),
    .esc-flow-card:nth-child(4),
    .esc-flow-card:nth-child(5) { grid-column: auto; grid-row: auto; }
    .esc-flow-card:nth-child(5) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
    /* Hide all connectors on tablet */
    .esc-flow-card::after,
    .esc-flow-card::before   { display: none !important; }
    .esc-flow-grid::after,
    .esc-flow-grid::before   { display: none !important; }
    .esc-pricing-split      { grid-template-columns: 1fr; }
    .esc-calc-box           { max-width: 100%; }
    .esc-row-bottom         { grid-template-columns: repeat(2, 1fr); }
    .esc-partner-widget     { grid-template-columns: 1fr; }
    .esc-widget-promo       { border-right: none; border-bottom: 1px solid var(--bp-border); }
    .esc-yearly-row         { flex-direction: column; align-items: stretch; gap: 12px; }
    .esc-yearly-chips       { justify-content: center; }
    .esc-yearly-label       { text-align: center; }
}

@media (max-width: 768px) {
    .esc-page               { padding: 0 16px 40px; }
    .esc-header             { padding: 32px 0 24px; }
    .esc-title              { font-size: 30px; gap: 12px; }
    .esc-title-icon         { width: 46px; height: 46px; }
    .esc-title-icon svg     { width: 26px; height: 26px; }
    .esc-subtitle           { font-size: 15px; }
    .esc-section-title      { font-size: 22px; margin-bottom: 24px; }

    /* Hero KPI — кнопка на полную ширину */
    .esc-kpi-card           { padding: 24px 18px; }
    .esc-kpi-value          { font-size: 34px; }
    .esc-kpi-cta            { width: 100%; justify-content: center; }
    .esc-secondary-stack    { flex-direction: column; gap: 8px; }
    .esc-secondary-value    { font-size: 22px; min-width: 70px; }

    /* Section paddings — убираем раздутость */
    .esc-flow-section       { padding: 32px 0; }
    .esc-cases-section      { padding: 36px 0 28px; }
    .esc-reviews-section    { padding: 36px 0 28px; }
    .esc-top-section        { padding: 36px 0 28px; }
    .esc-faq-section        { padding: 32px 0 40px; }

    /* ── Flow: вертикальный стек с таймлайном ──────────────────
       BUGFIX: .esc-flow-card:nth-child(1/2/4)::after имеют
       content:'›' и right:-14px с более высокой специфичностью.
       Переопределяем явно по nth-child чтобы не проигрывать.
    ─────────────────────────────────────────────────────────── */
    .esc-flow-subtitle      { font-size: 14px; margin-bottom: 24px; }
    .esc-flow-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0;
        padding-left: 22px;
        position: relative;
    }
    .esc-flow-card:nth-child(1),
    .esc-flow-card:nth-child(2),
    .esc-flow-card:nth-child(3),
    .esc-flow-card:nth-child(4),
    .esc-flow-card:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
        max-width: 100%;
        margin: 0;
    }
    .esc-flow-card {
        position: relative;
        margin-bottom: 8px;
        border-radius: var(--bp-radius-sm);
        padding: 16px 16px 16px 14px;
    }
    .esc-flow-card:last-child { margin-bottom: 0; }

    /* Сброс всех desktop pseudo-элементов */
    .esc-flow-card::after,
    .esc-flow-card::before  { display: none !important; }
    .esc-flow-grid::after   { display: none !important; }

    /* Вертикальная линия таймлайна — на ::before грида */
    .esc-flow-grid::before {
        display: block !important;
        content: '';
        position: absolute;
        left: 5px;
        top: 26px;
        bottom: 26px;
        width: 1px;
        height: auto;
        border-left: 1px dashed var(--bp-border-hover);
        grid-column: auto;
        grid-row: auto;
        transform: none;
        font-size: 0;
        z-index: 0;
    }

    /* Точки таймлайна — общее правило (карты 3, 5) */
    .esc-flow-card::after {
        display: flex !important;
        content: '' !important;
        position: absolute;
        left: -19px !important; /* 22px padding - 19px = 3px ≈ left:5px линии */
        right: auto !important;
        top: 28px !important;
        width: 7px !important;
        height: 7px !important;
        border-radius: 50% !important;
        background: var(--bp-accent) !important;
        border: none !important;
        font-size: 0 !important;
        z-index: 2;
    }

    /* КРИТИЧЕСКИЙ ФИКС: карты 1, 2, 4 — перебиваем nth-child специфичность */
    .esc-flow-card:nth-child(1)::after,
    .esc-flow-card:nth-child(2)::after,
    .esc-flow-card:nth-child(4)::after {
        display: flex !important;
        content: '' !important;   /* убираем '›' */
        right: auto !important;   /* сбрасываем right: -14px */
        left: -19px !important;
        top: 28px !important;
        width: 7px !important;
        height: 7px !important;
        border-radius: 50% !important;
        background: var(--bp-accent) !important;
        border: none !important;
        font-size: 0 !important;
    }
    /* Убираем dashed line ::before у тех же карт */
    .esc-flow-card:nth-child(1)::before,
    .esc-flow-card:nth-child(2)::before,
    .esc-flow-card:nth-child(4)::before {
        display: none !important;
    }

    .esc-flow-helper        { flex-direction: column; text-align: center; gap: 6px; padding: 12px 14px; }

    .esc-tier               { padding: 18px 16px; }
    .esc-tier-primary       { padding-top: 30px; }
    .esc-tier-rate          { font-size: 22px; }
    .esc-tier-header        { flex-direction: column; align-items: flex-start; }
    .esc-tier-custom        { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px; }
    .esc-tier-popup         { min-width: 240px; right: auto; left: 0; }
    .esc-calc-box           { padding: 20px 16px; }

    .esc-review-card        { width: min(270px, 85vw); padding: 16px 18px; }

    /* Leaderboard mobile */
    .esc-top-header h2      { font-size: 22px; }
    .esc-lb-stats           { min-width: 0; }
    .esc-lb-amount          { white-space: nowrap; }

    /* FAQ mobile */
    .esc-faq-inner          { padding: 16px; }
    .esc-faq-question       { padding: 14px 16px; }
    .esc-faq-answer-content { padding: 12px 16px 16px; font-size: 13px; }

    .esc-widget-buttons     { flex-direction: column; }
    .esc-widget-btn         { width: 100%; }

    .esc-yearly-chip        { min-width: 80px; padding: 6px 12px; }
}

@media (max-width: 480px) {
    .esc-title              { font-size: 26px; }
    .esc-kpi-value          { font-size: 28px; }
    .esc-kpi-dynamic        { font-size: 12px; }
    .esc-chips              { gap: 6px; }
    .esc-chip               { padding: 5px 10px; font-size: 11px; }
    .esc-container          { padding: 0 14px; }
    .esc-flow-badge         { width: 36px; height: 36px; font-size: 15px; }
    .esc-flow-card-title    { font-size: 14px; }
    .esc-flow-card          { padding: 14px 14px 14px 12px; }
    .esc-yearly-chip        { min-width: 70px; padding: 6px 8px; font-size: 11px; }
    .esc-lb-row             { grid-template-columns: 28px 32px 1fr auto; gap: 8px; padding: 10px 12px; }
    .esc-lb-avatar          { width: 32px; height: 32px; font-size: 13px; }
    .esc-lb-name            { font-size: 13px; }
    .esc-lb-handle          { font-size: 10px; }
}
