/* ==========================================================================
   Банкрот Плюс — Enhanced Styles (teal accent, timeline, animated stats)
   bankrot-plus.ru | bankruptcy niche
   ========================================================================== */

/* ── Hero (gradient navy→teal) ──────────────────────────────────────── */
.bp-hero {
    background: linear-gradient(135deg, #1B2A4A 0%, #0D9488 100%);
    border-radius: var(--radius-xl, 16px);
    padding: 48px 40px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.bp-hero::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -40px;
    width: 240px;
    height: 240px;
    background: rgba(13, 148, 136, 0.2);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.bp-hero-title {
    font-family: var(--font-heading, var(--font-body));
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
    position: relative;
}

.bp-hero-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    line-height: 1.7;
    position: relative;
}

.bp-hero .trust-row {
    position: relative;
}

.bp-hero .w-badge--primary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(8px);
}

/* ── Animated Stats ─────────────────────────────────────────────────── */
.bp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.bp-stat-card {
    background: var(--bg-card, #fff);
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--sculpt-shadow, 0 4px 12px rgba(0,0,0,0.06));
    border: 1px solid var(--sculpt-border, rgba(0,0,0,0.06));
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bp-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.2);
}

.bp-stat-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-cyan, #0D9488);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.bp-stat-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted, #6B7280);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Visual Timeline ────────────────────────────────────────────────── */
.bp-timeline {
    position: relative;
    padding-left: 48px;
}

.bp-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, #0D9488, rgba(13, 148, 136, 0.15));
    border-radius: 1px;
}

.bp-timeline-step {
    position: relative;
    padding-bottom: 36px;
}

.bp-timeline-step:last-child {
    padding-bottom: 0;
}

.bp-timeline-dot {
    position: absolute;
    left: -37px;
    top: 2px;
    width: 36px;
    height: 36px;
    background: #0D9488;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.bp-timeline-dot span {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.bp-timeline-content {
    background: var(--bg-card, #fff);
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--sculpt-shadow, 0 4px 12px rgba(0,0,0,0.06));
    border: 1px solid var(--sculpt-border, rgba(0,0,0,0.06));
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.bp-timeline-step:hover .bp-timeline-content {
    border-color: rgba(13, 148, 136, 0.2);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.08);
}

.bp-timeline-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark, #1A1A2E);
    margin-bottom: 6px;
}

.bp-timeline-text {
    font-size: 14px;
    color: var(--text-muted, #6B7280);
    line-height: 1.65;
}

/* ── Category Cards (hover) ─────────────────────────────────────────── */
.bp-category-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-card, #fff);
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--sculpt-shadow, 0 4px 12px rgba(0,0,0,0.06));
    border: 1px solid var(--sculpt-border, rgba(0,0,0,0.06));
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bp-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.2);
}

.bp-category-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark, #1A1A2E);
}

.bp-category-arrow {
    color: #0D9488;
    font-size: 20px;
    transition: transform 0.2s;
}

.bp-category-card:hover .bp-category-arrow {
    transform: translateX(4px);
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .bp-hero { padding: 36px 28px; }
    .bp-hero-title { font-size: 1.8rem; }
    .bp-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .bp-hero { padding: 28px 20px; }
    .bp-hero-title { font-size: 1.5rem; }
    .bp-stats { grid-template-columns: 1fr; }
    .bp-timeline { padding-left: 40px; }
    .bp-timeline-dot { width: 30px; height: 30px; left: -33px; }
    .bp-timeline-dot span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .bp-stat-card,
    .bp-category-card,
    .bp-timeline-content {
        transition: none !important;
    }
}
