/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}

/* 客服头部Banner */
.service-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.header-content {
    position: relative;
    z-index: 2;
}
.service-header__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}
.service-header__desc {
    font-size: 20px;
    opacity: 0.9;
}

/* 客服主体容器 */
.service-container {
    width: 1440px;
    margin: 40px auto;
    padding: 0 20px;
}
.service-staff-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-staff {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 480px;
}
.service-staff:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 客服信息区 */
.staff-info {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f0f2f5;
}
.staff-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.status-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.status-badge.online {
    background-color: #22c55e;
}
.staff-icon {
    width: 32px;
    height: 32px;
}
.staff-details h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #222;
}
.staff-details .staff-title {
    font-size: 14px;
    color: #dc2626;
    font-weight: 500;
    margin: 0 0 8px;
}
.staff-details .staff-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* 联系方式区域 */
.contact-section {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
}
.wechat-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.wechat-contact .qr-code {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.wechat-contact .qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.wechat-contact .contact-tip {
    font-size: 14px;
    color: #546e7a;
    margin: 0;
}

/* 响应式适配 */
@media (max-width: 1440px) {
    .service-container {
        width: 95%;
    }
}
@media (max-width: 1024px) {
    .service-staff-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .service-header__title {
        font-size: 36px;
    }
    .service-header__desc {
        font-size: 18px;
    }
    .service-staff-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-staff {
        min-height: 450px;
    }
}
@media (max-width: 480px) {
    .service-header {
        height: 220px;
    }
    .service-header__title {
        font-size: 28px;
    }
    .wechat-contact .qr-code {
        width: 120px;
        height: 120px;
    }
}