/* =============================================
   法律桥 - 律师个人主页专业版样式
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ---- 整体容器 ---- */
.lb-lawyer-profile {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px;
    font-family: 'Source Sans 3', sans-serif;
    color: #1a1a2e;
}

/* ---- Hero Header ---- */
.lb-profile-hero {
    position: relative;
    background: linear-gradient(135deg, #0f1e3d 0%, #1a3a6b 60%, #0d2b52 100%);
    border-radius: 4px;
    padding: 48px 40px;
    margin-bottom: 0;
    display: flex;
    gap: 36px;
    align-items: center;
    overflow: hidden;
}

.lb-profile-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: rgba(197, 160, 80, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.lb-profile-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: 120px;
    width: 160px;
    height: 160px;
    background: rgba(197, 160, 80, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

/* ---- 头像 ---- */
.lb-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.lb-avatar-wrap img {
    width: 130px;
    height: 130px;
    border-radius: 4px;
    object-fit: cover;
    border: 3px solid rgba(197, 160, 80, 0.6);
    display: block;
}

.lb-badge-free {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #c5a050;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    font-family: 'Source Sans 3', sans-serif;
}

/* ---- Hero 文字区 ---- */
.lb-hero-meta {
    flex: 1;
    color: #fff;
}

.lb-hero-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
    line-height: 1.2;
}

.lb-hero-firm {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin: 0 0 16px;
    font-weight: 400;
}

.lb-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.lb-hero-tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 2px;
    letter-spacing: 0.3px;
}

.lb-hero-tag.gold {
    background: rgba(197,160,80,0.2);
    border-color: rgba(197,160,80,0.5);
    color: #f0d080;
}

/* ---- 联系按钮 ---- */
.lb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.lb-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #c5a050;
    color: #fff;
    padding: 10px 22px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.2s;
}
.lb-btn-call:hover { background: #b08d3a; color: #fff; }

.lb-btn-web {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 10px 22px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.lb-btn-web:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }

/* ---- 统计栏 ---- */
.lb-stats-bar {
    display: flex;
    background: #fff;
    border: 1px solid #e0e4ec;
    border-top: none;
    border-radius: 0 0 4px 4px;
    margin-bottom: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.lb-stat {
    flex: 1;
    text-align: center;
    padding: 18px 10px;
    border-right: 1px solid #e8eaef;
}
.lb-stat:last-child { border-right: none; }

.lb-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #0f1e3d;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.lb-stat-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
}

/* ---- Section 通用 ---- */
.lb-section {
    margin-bottom: 32px;
    background: #fff;
    border: 1px solid #e8eaef;
    border-radius: 4px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.lb-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #0f1e3d;
    margin: 0 0 6px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c5a050;
    display: inline-block;
}

.lb-section-subtitle {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

/* ---- 双栏布局 ---- */
.lb-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ---- Practice Area Tags ---- */
.lb-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.lb-area-tag {
    background: #f4f6fb;
    border: 1px solid #d8dde8;
    color: #0f1e3d;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 2px;
    letter-spacing: 0.2px;
    transition: all 0.15s;
}

.lb-area-tag:hover {
    background: #0f1e3d;
    color: #fff;
    border-color: #0f1e3d;
}

/* ---- Language Tags ---- */
.lb-lang-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.lb-lang-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f9f7f2;
    border: 1px solid #e8dfc8;
    color: #7a6030;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 2px;
}

/* ---- Bio ---- */
.lb-bio-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-top: 16px;
}

/* ---- Fees ---- */
.lb-fee-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.lb-fee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f6;
    font-size: 14px;
    color: #333;
}

.lb-fee-item:last-child { border-bottom: none; }

.lb-fee-dot {
    width: 8px;
    height: 8px;
    background: #c5a050;
    border-radius: 50%;
    flex-shrink: 0;
}

.lb-fee-rate {
    font-size: 13px;
    color: #777;
    margin-top: 8px;
}

/* ---- Office ---- */
.lb-office-text {
    font-size: 14px;
    color: #555;
    margin-top: 16px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* ---- 编辑按钮 ---- */
.lb-edit-bar {
    text-align: right;
    margin-bottom: 16px;
}

.lb-btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f6fb;
    border: 1px solid #d0d5e0;
    color: #0f1e3d;
    padding: 7px 16px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}
.lb-btn-edit:hover { background: #e8ecf4; color: #0f1e3d; }

/* =============================================
   手机端响应式
   ============================================= */
@media (max-width: 640px) {
    .lb-profile-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 36px 24px;
    }

    .lb-hero-tags { justify-content: center; }
    .lb-hero-actions { justify-content: center; }

    .lb-avatar-wrap img {
        width: 100px;
        height: 100px;
    }

    .lb-hero-name { font-size: 26px; }

    .lb-stats-bar { flex-wrap: wrap; }
    .lb-stat { min-width: 50%; border-bottom: 1px solid #e8eaef; }

    .lb-two-col { grid-template-columns: 1fr; }

    .lb-section { padding: 22px 20px; }

    .lb-btn-call,
    .lb-btn-web { width: 100%; justify-content: center; }
}
