/* ══════════════════════════════════════════════════════════════
   SBEHUB — Funding Page Styles v2
   ══════════════════════════════════════════════════════════════ */

/* ── Funding Range Badges ── */
.funding-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
}

.range-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.range-val {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand-light), var(--accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.range-lbl {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.range-dash {
    width: 56px;
    height: 1px;
    background: var(--border-strong);
    position: relative;
}

.range-dash::after {
    content: 'to';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.72rem;
    color: var(--text-muted);
    background: var(--bg-primary);
    padding: 0 8px;
}

/* ── Loan Bento ── */
.loan-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.lb-item {
    padding: 36px 28px;
    background: var(--bg-secondary);
    transition: var(--transition-base);
}

.lb-item:hover { background: rgba(12, 18, 35, 0.7); }

.lb-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 16px;
}

.lb-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.lb-item:hover h3 { color: var(--brand-light); }

.lb-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Loan Accordion ── */
.detail-bg { background: var(--bg-secondary); }

.loan-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.la-item {
    background: var(--bg-primary);
    overflow: hidden;
    transition: var(--transition-base);
}

.la-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.la-head:hover { background: rgba(255, 255, 255, 0.015); }

.la-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: rgba(4, 92, 180, 0.2);
    flex-shrink: 0;
    width: 44px;
    transition: var(--transition-base);
}

.la-item.active .la-num { color: rgba(4, 92, 180, 0.5); }

.la-head h3 {
    font-size: 1.05rem;
    font-weight: 600;
    flex: 1;
    transition: var(--transition-fast);
}

.la-item.active .la-head h3 { color: var(--brand-light); }

.la-toggle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition-base);
}

.la-item.active .la-toggle {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: rotate(45deg);
}

.la-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.la-item.active .la-body { max-height: 300px; }

.la-body p {
    padding: 0 32px 28px 96px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .loan-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .funding-range { flex-direction: column; gap: 12px; }
    .range-val { font-size: 2.2rem; }
    .range-dash { width: 1px; height: 20px; }
    .range-dash::after { display: none; }
    .la-body p { padding-left: 32px; }
}

@media (max-width: 480px) {
    .loan-bento { grid-template-columns: 1fr; }
}
