/* ============================================================
   counselors.css - 咨询师团队页面
   品牌色：#f96c9f / #d9658d
   ============================================================ */

/* ========== Hero Banner ========== */
.counselors-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0a2e 0%, #3b1258 50%, #6d295a 100%);
    overflow: hidden;
}
.counselors-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 85%, rgba(249,108,159,0.2) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
}
.counselors-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
}
.counselors-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.counselors-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.counselors-hero-content p {
    font-size: 16px;
    opacity: 0.88;
    letter-spacing: 4px;
}
.counselors-hero-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 42px;
    background: #fff;
    color: #f96c9f;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all .3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.counselors-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: #e85a8e;
}

/* ========== 筛选区域 ========== */
.filter-section {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    position: sticky;
    top: 72px;
    z-index: 99;
}
.filter-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.filter-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.filter-item label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    min-width: 80px;
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-tag {
    display: inline-block;
    padding: 6px 18px;
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    border-radius: 20px;
    text-decoration: none;
    transition: all .25s;
    border: 1px solid transparent;
}
.filter-tag:hover {
    color: #f96c9f;
    background: #fff0f5;
    border-color: rgba(249,108,159,0.3);
}
.filter-tag.active {
    color: #fff;
    background: linear-gradient(135deg, #f96c9f, #e85a8e);
    box-shadow: 0 2px 8px rgba(249,108,159,0.3);
}

/* ========== 咨询师列表 ========== */
.counselors-list {
    padding: 60px 0 40px;
    background: #fafafa;
    min-height: 400px;
}
.counselors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ========== 咨询师卡片 ========== */
.counselor-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: transform .3s, box-shadow .3s;
}
.counselor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(249,108,159,0.12);
    border-color: rgba(249,108,159,0.2);
}
.counselor-card-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}
.counselor-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.counselor-card:hover .counselor-card-img img {
    transform: scale(1.05);
}
.counselor-level-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.counselor-level-badge.chief {
    background: linear-gradient(135deg, #f96c9f, #e85a8e);
    box-shadow: 0 2px 8px rgba(249,108,159,0.4);
}
.counselor-level-badge.expert {
    background: linear-gradient(135deg, #ff8a65, #f4511e);
}
.counselor-level-badge.senior {
    background: linear-gradient(135deg, #81c784, #43a047);
}

.counselor-card-body {
    padding: 20px;
}
.counselor-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.counselor-subtitle {
    font-size: 13px;
    color: #f96c9f;
    margin-bottom: 12px;
}
.counselor-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #888;
}
.counselor-meta i {
    margin-right: 4px;
    color: #f96c9f;
}
.counselor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.counselor-tags span {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    color: #f96c9f;
    background: #fff0f5;
    border-radius: 10px;
}
.counselor-intro {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.counselor-actions {
    display: flex;
    gap: 10px;
}
.btn-counselor-detail {
    flex: 1;
    text-align: center;
    padding: 9px 0;
    font-size: 13px;
    color: #f96c9f;
    border: 1px solid #f96c9f;
    border-radius: 8px;
    text-decoration: none;
    transition: all .25s;
}
.btn-counselor-detail:hover {
    background: #fff0f5;
}
.btn-counselor-book {
    flex: 1;
    text-align: center;
    padding: 9px 0;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(135deg, #f96c9f, #e85a8e);
    border-radius: 8px;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 2px 8px rgba(249,108,159,0.3);
}
.btn-counselor-book:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(249,108,159,0.4);
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}
.empty-state i {
    font-size: 56px;
    color: #e0e0e0;
    display: block;
    margin-bottom: 16px;
}
.empty-state p {
    font-size: 15px;
    margin-bottom: 16px;
}
.btn-back-all {
    display: inline-block;
    padding: 8px 28px;
    color: #f96c9f;
    border: 1px solid #f96c9f;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all .25s;
}
.btn-back-all:hover {
    background: #fff0f5;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 40px 0 20px;
}
.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-decoration: none;
    transition: all .25s;
}
.page-item:hover {
    color: #f96c9f;
    border-color: #f96c9f;
    background: #fff0f5;
}
.page-item.active {
    color: #fff;
    background: linear-gradient(135deg, #f96c9f, #e85a8e);
    border-color: #f96c9f;
    box-shadow: 0 2px 8px rgba(249,108,159,0.3);
}
.page-item.next {
    font-weight: 500;
}
.page-item.next i {
    margin-left: 4px;
    font-size: 12px;
}

/* ========== CTA Banner ========== */
.cta-banner {
    background: linear-gradient(135deg, #f96c9f 0%, #e85a8e 50%, #d94a7e 100%);
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -120px; left: -80px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -100px; right: -60px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.cta-inner p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
}
.cta-btns { display: flex; justify-content: center; gap: 18px; }

.btn-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 38px;
    background: #fff;
    color: #f96c9f;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all .3s;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-cta-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    color: #e85a8e;
}
.btn-cta-sub {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 38px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.5);
    text-decoration: none;
    transition: all .3s;
}
.btn-cta-sub:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
    color: #fff;
}

/* ========== 响应式 ========== */
@media (max-width: 1199px) {
    .counselors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .counselors-hero { min-height: 260px; }
    .counselors-hero-content h1 { font-size: 28px; }
    .counselors-hero-content p { font-size: 14px; letter-spacing: 2px; }
    .filter-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    .counselors-grid { grid-template-columns: 1fr; gap: 20px; }
    .counselor-card-img { height: 200px; }
    .cta-inner h2 { font-size: 26px; }
    .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .counselors-hero { min-height: 220px; }
    .counselors-hero-content h1 { font-size: 24px; }
    .counselor-actions { flex-direction: column; }
}
