/* ============================================================
   Bariatric Nepal Plugin — Frontend Styles
   Brand: #e8f4fd (light blue header) · #c0392b (red) · #1a6fa8 (blue text)
   ============================================================ */

:root {
    --bn-navy:    #1a6fa8;
    --bn-navy-dk: #0d5a8a;
    --bn-header:  #e8f4fd;
    --bn-red:     #c0392b;
    --bn-red-dk:  #96281b;
    --bn-gold:    #f4a427;
    --bn-green:   #27ae60;
    --bn-light:   #f5f8fb;
    --bn-border:  #cce0f5;
    --bn-text:    #2c3e50;
    --bn-muted:   #6b7a8d;
    --bn-radius:  10px;
    --bn-shadow:  0 4px 20px rgba(26,111,168,.12);
}

/* ── Base ──────────────────────────────────────────────────── */
.bn-section {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--bn-text);
    line-height: 1.7;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ── Section header ────────────────────────────────────────── */
.bn-section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px 32px;
    background: var(--bn-header);
    border-radius: var(--bn-radius);
    border-bottom: 3px solid var(--bn-red);
}
.bn-section-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--bn-navy);
    margin: 0 0 10px;
    font-weight: 800;
}
.bn-subtitle {
    color: var(--bn-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* ── Stats strip ───────────────────────────────────────────── */
.bn-stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0;
    background: var(--bn-header);
    border: 2px solid var(--bn-border);
    border-radius: var(--bn-radius);
    overflow: hidden;
    margin: 32px 0;
}
.bn-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;
    border-right: 1px solid var(--bn-border);
    transition: background .2s;
}
.bn-stat-item:last-child { border-right: none; }
.bn-stat-item:hover { background: rgba(26,111,168,.07); }
.bn-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bn-red);
    line-height: 1;
}
.bn-stat-lbl {
    font-size: .78rem;
    color: var(--bn-navy);
    text-align: center;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}

/* ── About intro ───────────────────────────────────────────── */
.bn-about-intro {
    background: var(--bn-light);
    border-left: 5px solid var(--bn-navy);
    border-radius: var(--bn-radius);
    padding: 24px 28px;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

/* ── Mission box ───────────────────────────────────────────── */
.bn-mission-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--bn-border);
    border-radius: var(--bn-radius);
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--bn-shadow);
}
.bn-mission-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.bn-mission-box h3 {
    margin: 0 0 8px;
    color: var(--bn-navy);
    font-size: 1.1rem;
}
.bn-mission-box p { margin: 0; }

/* ── Doctor card ───────────────────────────────────────────── */
.bn-doctor-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bn-header);
    border: 2px solid var(--bn-border);
    color: var(--bn-text);
    border-radius: var(--bn-radius);
    padding: 32px;
    margin: 32px 0;
    box-shadow: var(--bn-shadow);
}
.bn-doctor-avatar {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bn-red);
    background: #c8dff0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bn-doctor-avatar svg { width: 100%; height: 100%; }
.bn-doctor-info h3 {
    margin: 0 0 4px;
    font-size: 1.3rem;
    color: var(--bn-navy);
}
.bn-doctor-creds {
    font-size: .85rem;
    color: var(--bn-red);
    margin: 0 0 12px;
    font-weight: 600;
}
.bn-doctor-info p { color: var(--bn-text); margin: 0 0 12px; }
.bn-media-logos {
    font-size: .82rem;
    color: var(--bn-muted);
}
.bn-media-logos strong { color: var(--bn-navy); }

/* ── Contact bar ───────────────────────────────────────────── */
.bn-contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 24px 0;
}
.bn-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
}
.bn-contact-icon { font-size: 1.1rem; }
.bn-contact-item a { color: var(--bn-navy); text-decoration: none; font-weight: 600; }

/* ── Buttons ───────────────────────────────────────────────── */
.bn-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}
.bn-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 6px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    border: none;
}
.bn-btn-wa   { background: #25d366; color: #fff; }
.bn-btn-call { background: var(--bn-navy); color: #fff; }
.bn-btn-book { background: var(--bn-red); color: #fff; }
.bn-btn-wa:hover   { background: #1da355; color: #fff; }
.bn-btn-call:hover { background: var(--bn-navy-dk); color: #fff; }
.bn-btn-book:hover { background: var(--bn-red-dk); color: #fff; }

/* ── Surgery section ───────────────────────────────────────── */
.bn-surgery-section { padding: 20px 0 40px; }
.bn-surgery-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}
.bn-sleeve-accent { background: #e8f4fd; color: #1a6fa8; }
.bn-rygb-accent   { background: #fef5e7; color: #c0392b; }

.bn-surgery-intro {
    background: var(--bn-light);
    border-radius: var(--bn-radius);
    padding: 20px 24px;
    margin-bottom: 28px;
    font-size: 1.02rem;
}

.bn-sub-heading {
    color: var(--bn-navy);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 28px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bn-border);
}

/* ── How-it-works steps ─────────────────────────────────────── */
.bn-how-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}
.bn-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--bn-border);
    border-radius: var(--bn-radius);
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.bn-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    color: #fff;
}
.bn-sleeve-accent.bn-step-num { background: #1a6fa8; }
.bn-rygb-accent.bn-step-num   { background: var(--bn-red); }
.bn-step strong { display: block; color: var(--bn-navy); font-size: .95rem; }
.bn-step p { margin: 4px 0 0; font-size: .9rem; color: var(--bn-muted); }

/* ── Benefits grid ─────────────────────────────────────────── */
.bn-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}
.bn-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bn-benefit-list li {
    padding: 9px 0 9px 28px;
    position: relative;
    border-bottom: 1px solid var(--bn-border);
    font-size: .95rem;
}
.bn-benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bn-green);
    font-weight: 700;
}

.bn-info-box {
    background: var(--bn-light);
    border-radius: var(--bn-radius);
    padding: 18px 20px;
    margin-bottom: 16px;
}
.bn-info-box--alt { background: #fff; border: 1px solid var(--bn-border); }
.bn-info-box h4 { margin: 0 0 8px; color: var(--bn-navy); font-size: .95rem; }
.bn-info-box p  { margin: 0; font-size: .9rem; color: var(--bn-muted); }

/* ── Tabs ──────────────────────────────────────────────────── */
.bn-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--bn-border);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.bn-tab-btn {
    background: none;
    border: none;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--bn-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
    font-family: inherit;
}
.bn-tab-btn:hover { color: var(--bn-navy); }
.bn-tab-active {
    color: var(--bn-navy) !important;
    border-bottom-color: var(--bn-red) !important;
}
.bn-tab-hidden { display: none; }

/* ── Comparison table ──────────────────────────────────────── */
.bn-compare-wrap {
    margin: 40px 0;
}
.bn-table-scroll { overflow-x: auto; }
.bn-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
    min-width: 500px;
}
.bn-compare-table thead {
    background: var(--bn-header);
    color: var(--bn-navy);
    border-bottom: 2px solid var(--bn-border);
}
.bn-compare-table th {
    padding: 13px 16px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
}
.bn-compare-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--bn-border);
}
.bn-compare-table tbody tr:hover { background: var(--bn-light); }
.bn-best-row { background: #fef9e7 !important; font-weight: 700; }
.bn-best-row td:last-child { color: var(--bn-red); }

/* ── CTA section ───────────────────────────────────────────── */
.bn-cta-section {
    background: var(--bn-header);
    border: 2px solid var(--bn-border);
    border-radius: var(--bn-radius);
    padding: 48px 32px;
    text-align: center;
    margin: 40px 0;
    color: var(--bn-text);
}
.bn-cta-section h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 0 0 10px;
    color: var(--bn-navy);
}
.bn-cta-section p { color: var(--bn-muted); margin: 0 0 24px; }
.bn-cta-section .bn-cta-row { justify-content: center; }
.bn-contact-note {
    font-size: .82rem;
    color: var(--bn-muted);
    margin: 20px 0 0;
}

/* ── About wrap padding ────────────────────────────────────── */
.bn-about-wrap { padding-bottom: 48px; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile-first adjustments
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .bn-section-header { padding-top: 32px; }

    .bn-stats-strip {
        grid-template-columns: 1fr 1fr;
    }
    .bn-stat-item { border-right: none; border-bottom: 1px solid var(--bn-border); }
    .bn-stat-item:nth-child(odd)  { border-right: 1px solid var(--bn-border); }
    .bn-stat-item:last-child,
    .bn-stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

    .bn-doctor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }

    .bn-benefits-grid {
        grid-template-columns: 1fr;
    }

    .bn-tab-btn {
        padding: 12px 16px;
        font-size: .9rem;
    }

    .bn-cta-row { flex-direction: column; align-items: stretch; }
    .bn-btn { justify-content: center; }

    .bn-cta-section { padding: 36px 20px; }
    .bn-mission-box { flex-direction: column; }

    .bn-contact-bar { flex-direction: column; gap: 12px; }

    .bn-how-steps { gap: 10px; }
}

@media (max-width: 480px) {
    .bn-stats-strip { grid-template-columns: 1fr 1fr; }
    .bn-about-intro,
    .bn-surgery-intro { padding: 16px 18px; }
    .bn-step { flex-direction: column; gap: 10px; }
}
