/* ========================================
   律师团队页面专属样式
   ======================================== */

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 团队统计 */
.team-stats {
    background: var(--bg-light);
    padding: 40px 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-num {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-num span {
    font-size: 24px;
}

.stat-text {
    font-size: 15px;
    color: var(--text-gray);
}

/* 律师列表 - 新布局 */
.team-list {
    padding: 80px 0;
}

.lawyer-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lawyer-item {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.lawyer-item:hover {
    box-shadow: var(--shadow-hover);
}

/* 律师照片 */
.lawyer-photo-wrap {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #f0f0f0;
}

.lawyer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.lawyer-item:hover .lawyer-photo {
    transform: scale(1.03);
}

/* 基本信息 */
.lawyer-basic {
    background: #f8fafc;
    color: var(--text-dark);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.lawyer-basic h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.lawyer-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.lawyer-tags .tag {
    background: #fff;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid var(--border-color);
}

.lawyer-tags .tag-primary {
    background: rgba(201, 48, 44, 0.1);
    color: var(--accent-color);
    border-color: rgba(201, 48, 44, 0.2);
}

.lawyer-tags .tag-success {
    background: rgba(7, 193, 96, 0.1);
    color: #07c160;
    border-color: rgba(7, 193, 96, 0.2);
}

/* 详细信息 */
.lawyer-detail {
    padding: 25px;
    flex: 1;
}

.lawyer-detail p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 团队优势 */
.team-advantages {
    background: var(--bg-light);
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.adv-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 执业资质 */
.qualification-section {
    padding: 80px 0;
}

.qualification-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.qualification-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.qual-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.qual-icon {
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.qual-item h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.qual-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.qualification-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.qualification-img img {
    width: 100%;
    height: auto;
}

/* 底部CTA */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ========================================
   响应式适配
   ======================================== */
@media (max-width: 1024px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lawyer-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lawyer-photo-wrap {
        height: 320px;
    }
    
    .lawyer-basic {
        padding: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qualification-content {
        grid-template-columns: 1fr;
    }
    
    .qualification-img {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .stat-box {
        padding: 20px 15px;
    }
    
    .stat-num {
        font-size: 32px;
    }
    
    .lawyer-list {
        grid-template-columns: 1fr;
    }
    
    .lawyer-photo-wrap {
        height: 400px;
    }
    
    .lawyer-detail {
        padding: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 26px;
    }
    
    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .lawyer-photo-wrap {
        height: 350px;
    }
    
    .lawyer-basic {
        padding: 20px 15px;
    }
    
    .lawyer-basic h3 {
        font-size: 20px;
    }
    
    .lawyer-detail {
        padding: 15px;
    }
    
    .qual-item {
        gap: 10px;
    }
    
    .qual-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
}
