/* 
 * 百昔心理 - 移动端样式
 * 设计风格：温暖治愈风
 * 创建时间：2026-05-21
 * 更新时间：2026-05-22 - 统一官网颜色方案
 */

/* ==================== 颜色变量 ==================== */
:root {
    --primary-color: #f96c9f;      /* 主色 - 粉红色 */
    --primary-color-rgb: 249, 108, 159;  /* 主色RGB */
    --primary-dark: #e85a8e;       /* 主色深色 */
    --secondary-color: #ffa309;    /* 辅助色 - 橙黄色 */
    --accent-color: #f39800;       /* 强调色 - 橙色 */
    --primary-light: #ffe8f0;      /* 主色浅色 */
    --text-dark: #222;             /* 深色文字 */
    --text-color: #555;            /* 正文文字 */
    --text-light: #999;            /* 浅色文字 */
    --bg-color: rgba(0, 0, 0, 0.12);           /* 背景色 */
    --bg-light: #f1f1f1;           /* 浅绿背景 */
}

/* ==================== 移动端基础样式 ==================== */
html, body {
    margin: 0;
    padding: 0;
}
body {
    padding-bottom: 70px; /* 为底部预约栏留空间 */
    overscroll-behavior: none; /* 禁用下拉刷新和过度滚动效果 */
}

/* ==================== 顶部导航 ==================== */
.wap-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    height: 60px;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 滚动后的导航样式 */
.wap-header.scrolled {
    background: rgba(255, 255, 255, 0.825);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.wap-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
}

.wap-header .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    min-width: 44px;
    min-height: 44px;
}

.wap-header .logo .logo-svg {
    height: 20px;
    width: auto;
    color: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wap-header.scrolled .logo .logo-svg {
    color: var(--primary-color);
}

/* Header 返回按钮 */
.wap-header .logo-back {
    flex: 1;
}

.wap-header .logo-back .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 16px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.wap-header .logo-back .back-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.25);
}

.wap-header .logo-back .back-btn i {
    font-size: 18px;
}

.wap-header.scrolled .logo-back .back-btn {
    background: var(--primary-light);
    color: var(--primary-color);
}

.wap-header .header-actions {
    display: flex;
    gap: 12px;
}

.wap-header .phone-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.wap-header .phone-btn svg {
    width: 22px;
    height: 22px;
}

.wap-header.scrolled .phone-btn {
    color: var(--primary-color);
}

.wap-header .member-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.wap-header .member-btn svg {
    width: 22px;
    height: 22px;
}

.wap-header.scrolled .member-btn {
    color: var(--primary-color);
}

.wap-header .menu-toggle {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.wap-header .menu-toggle svg {
    width: 22px;
    height: 22px;
}

.wap-header.scrolled .menu-toggle {
    color: var(--primary-color);
}

/* ==================== 移动端导航菜单 ==================== */
.wap-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100dvh;
    height: -webkit-fill-available;
    background: white;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wap-nav.active {
    right: 0;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.nav-header span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-light);
}

.nav-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.nav-list li {
    border-bottom: 1px solid var(--border-light);
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    font-size: 16px;
    color: var(--text-color);
}

.nav-list a i {
    width: 22px;
    color: var(--primary-color);
}

.nav-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    flex-shrink: 0;
}

/* 遮罩层 */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== Banner轮播 ==================== */
.wap-banner {
    position: relative;
    height: 100vh;           /* 回退方案：旧浏览器不支持 svh 时使用 */
    height: 100svh;          /* ✅ 小视口高度，浏览器UI隐藏时不会变化 */
    width: 100%;
    background: #f5f5f5;
    z-index: 1;
    overflow: visible;  /* 允许快捷入口显示在Banner外部 */
}

.wap-banner .banner-list {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;  /* 修改为 hidden，防止布局抖动 */
    touch-action: pan-y;  /* 允许垂直滚动，禁用双指缩放 */
}

.wap-banner .banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 渐变背景 - Slide 1 */
.wap-banner .banner-slide:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 渐变背景 - Slide 2 */
.wap-banner .banner-slide:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* 渐变背景 - Slide 3 */
.wap-banner .banner-slide:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.wap-banner .banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.wap-banner .banner-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    z-index: 1;
}

/* Banner遮罩层 —— 底部纯白渐变，无痕衔接快捷入口 */
.wap-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.4) 65%,
        rgba(255, 255, 255, 0.9) 95%,
        var(--bg-light)
    );
    z-index: 3;
}

.wap-banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 5;
    padding: 0 24px;
    width: 100%;
}

.wap-banner .banner-slide.active .banner-text {
    opacity: 1;
}

.wap-banner .banner-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    line-height: 1.3;
}

.wap-banner .banner-text p {
    font-size: 16px;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 500;
    letter-spacing: 1px;
}
.wap-banner .banner-dots {
    position: absolute;
    bottom: 70px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    z-index: 25;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding: 8px 20px 0 20px;
}
.wap-banner .banner-dots::-webkit-scrollbar {
    display: none;
}

/* 正常爱心（渐变半透）*/
.wap-banner .banner-dots span {
    position: relative;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, rgba(249,108,159,0.3), rgba(255,182,193,0.3));
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(45deg);
    flex-shrink: 0;
    /* 为 :before/:after 预留空间 */
    margin: 5px 8px;
}
.wap-banner .banner-dots span:before,
.wap-banner .banner-dots span:after {
    content: '';
    width: 10px;
    height: 10px;
    background: inherit;
    border-radius: 50%;
    position: absolute;
}
.wap-banner .banner-dots span:before {
    top: -5px;
    left: 0;
}
.wap-banner .banner-dots span:after {
    left: -5px;
    top: 0;
}

/* 选中爱心（粉渐变 + 不变形）*/
.wap-banner .banner-dots span.active {
    background: linear-gradient(135deg, #f96ca3, #ffb6c1);
    transform: rotate(45deg) scale(1.3);
    box-shadow: 0 2px 12px rgba(249,108,159,0.4);
    margin: 3px 6px;
}
.wap-banner .banner-dots span.active:before,
.wap-banner .banner-dots span.active:after {
    background: inherit;
}
/* ==================== 快捷入口 ==================== */
.wap-quick-entry {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 113px; /* banner-dots底部(70px) + dots高度(28px) + 间距(15px) */
    padding: 16px 12px;
    /* background: rgba(255, 255, 255, 0.9); */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 26; /* 高于 banner-dots (z-index: 25) */
}

/* (duplicate removed) */
.entry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.entry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 6px;
    border-radius: 16px;
    /* 去掉原有背景 → 改为毛玻璃样式 */
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* 点击/悬浮效果更高级 */
.entry-item:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 点击波纹效果 */
.entry-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    opacity: 0;
}

.entry-item:active::before {
    width: 200px;
    height: 200px;
    opacity: 1;
}

.entry-item:active {
    transform: scale(0.92);
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
}

.entry-icon {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.55);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: visible;
}

.entry-icon svg {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}

.entry-item:active .entry-icon {
    transform: scale(0.92);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.entry-item:active .entry-icon svg {
    transform: scale(1.05);
}

.entry-item span {
    font-size: 13px;
    color: var(--text-color);
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
}

.entry-item:active span {
    color: var(--primary-color);
}

/* ==================== 区块样式 ==================== */
.wap-section {
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 12px 12px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wap-section:first-of-type {
    margin-top: -12px;
}

.wap-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 预约咨询区（最后一个 section）与 footer 保持间距 */
.booking-section {
    margin-bottom: 0;
    border-radius: 16px;
    /* 底部渐变过渡到 footer 深色背景 */
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.95) 100%);
    overflow: visible;  /* 允许下拉框等绝对定位元素正常弹出 */
}

/* 移除之前的渐变过渡伪元素 */

.wap-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-color);
}

.wap-section .section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding-left: 12px;
}

.wap-section .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.wap-section .section-more {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

.wap-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.wap-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.wap-section .section-more {
    font-size: 14px;
    color: var(--text-light);
}

/* ==================== 关于我们 ==================== */
.about-intro {
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 14px;
    color: var(--text-color, #666);
    line-height: 1.8;
    margin-bottom: 10px;
}

.about-intro p:last-child {
    margin-bottom: 0;
}

.about-values {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.value-capsule {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    border: 1px solid rgba(249,108,159,0.12);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark, #333);
    white-space: nowrap;
    min-width: 0;
}

.value-capsule i {
    font-size: 14px;
    color: var(--primary-color);
}

.about-content p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

/* ===== 毛玻璃卡片基础样式 ===== */
.about-stats .stat-item {
    text-align: center;
    padding: 16px 12px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    /* 毛玻璃效果 */
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ===== 6张卡片各自颜色 ===== */
/* 1-认证咨询师：玫红 */
.about-stats .stat-item:nth-child(1) {
    background: rgba(249, 108, 159, 0.18);
    border-color: rgba(249, 108, 159, 0.30);
    box-shadow: 0 4px 24px rgba(249, 108, 159, 0.10);
}
.about-stats .stat-item:nth-child(1) .stat-number {
    background: linear-gradient(135deg, #f96c9f, #ff8ab7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 2-累计咨询时长：蓝色 */
.about-stats .stat-item:nth-child(2) {
    background: rgba(56, 189, 248, 0.18);
    border-color: rgba(56, 189, 248, 0.30);
    box-shadow: 0 4px 24px rgba(56, 189, 248, 0.10);
}
.about-stats .stat-item:nth-child(2) .stat-number {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 3-服务家庭：绿色 */
.about-stats .stat-item:nth-child(3) {
    background: rgba(52, 211, 153, 0.18);
    border-color: rgba(52, 211, 153, 0.30);
    box-shadow: 0 4px 24px rgba(52, 211, 153, 0.10);
}
.about-stats .stat-item:nth-child(3) .stat-number {
    background: linear-gradient(135deg, #34d399, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 4-来访者好评：橙色 */
.about-stats .stat-item:nth-child(4) {
    background: rgba(251, 146, 60, 0.18);
    border-color: rgba(251, 146, 60, 0.30);
    box-shadow: 0 4px 24px rgba(251, 146, 60, 0.10);
}
.about-stats .stat-item:nth-child(4) .stat-number {
    background: linear-gradient(135deg, #fb923c, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 5-咨询流派覆盖：紫色 */
.about-stats .stat-item:nth-child(5) {
    background: rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.30);
    box-shadow: 0 4px 24px rgba(168, 85, 247, 0.10);
}
.about-stats .stat-item:nth-child(5) .stat-number {
    background: linear-gradient(135deg, #a855f7, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 6-危机响应：红色 */
.about-stats .stat-item:nth-child(6) {
    background: rgba(248, 113, 113, 0.18);
    border-color: rgba(248, 113, 113, 0.30);
    box-shadow: 0 4px 24px rgba(248, 113, 113, 0.10);
}
.about-stats .stat-item:nth-child(6) .stat-number {
    background: linear-gradient(135deg, #f87171, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* hover/active 统一效果 */
.about-stats .stat-item:active {
    transform: scale(0.95);
}

/* 移除旧的 ::before 覆盖层，毛玻璃不需要 */

.about-stats .stat-item:active {
    transform: scale(0.95);
}

.about-stats .stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.about-stats .stat-label {
    font-size: 13px;
    color: #4b5563;
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 数字滚动动画 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-stats .stat-item.animate .stat-number {
    animation: countUp 0.6s ease-out forwards;
}

/* ==================== 服务引导流程 ==================== */
.service-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.flow-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 24px;
}

.flow-step:last-child {
    padding-bottom: 0;
}

/* 连接线 */
.flow-step .step-line {
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color, #ffb6c1));
    opacity: 0.3;
}

.flow-step:last-child .step-line {
    display: none;
}

/* 步骤编号 */
.flow-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #ffb6c1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(249,108,159,0.3);
}

.flow-step .step-number span {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

/* 步骤卡片 */
.flow-step .step-card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(249,108,159,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.flow-step .step-card:active {
    transform: scale(0.98);
    border-color: rgba(249,108,159,0.2);
    box-shadow: 0 4px 16px rgba(249,108,159,0.12);
}

.flow-step .step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.flow-step .step-header .step-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(249,108,159,0.12), rgba(255,182,193,0.12));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-step .step-header .step-icon i {
    font-size: 16px;
    color: var(--primary-color);
}

.flow-step .step-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark, #333);
    margin: 0;
}

.flow-step .step-card p {
    font-size: 13px;
    color: var(--text-light, #999);
    line-height: 1.5;
    margin-bottom: 0;
    flex: 1;
}

.flow-step .step-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-end;
    margin-top: 12px;
}

.flow-step .step-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.flow-step .step-btn:active {
    opacity: 0.7;
}

.flow-step .step-btn:active i {
    transform: translateX(4px);
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-light, #999);
    margin-top: 4px;
    font-weight: 400;
}

/* ==================== 咨询师团队 ==================== */
.counselors-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.counselor-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(var(--primary-color-rgb), 0.12);
    box-shadow: 0 4px 24px rgba(var(--primary-color-rgb), 0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* 点击波纹效果 */
.counselor-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(var(--primary-color-rgb),0.15) 0%, transparent 100%);
    transform: translateY(-50%);
    transition: width 0.4s ease;
    opacity: 0;
}

.counselor-card:active::before {
    width: 100%;
    opacity: 1;
}

.counselor-card:active {
    transform: scale(0.98);
    border-color: rgba(var(--primary-color-rgb), 0.35);
    box-shadow: 0 6px 28px rgba(var(--primary-color-rgb), 0.15), inset 0 1px 0 rgba(255,255,255,0.5);
}

.counselor-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(var(--primary-color-rgb), 0.18), 0 0 0 3px rgba(255,255,255,0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.counselor-card:active .counselor-avatar {
    transform: scale(0.95);
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.25), 0 0 0 3px rgba(255,255,255,0.6);
}

.counselor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.counselor-card:active .counselor-avatar img {
    transform: scale(1.1);
}

.counselor-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.counselor-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.3s ease;
}

.counselor-card:active .counselor-info h3 {
    color: var(--primary-dark);
}

.counselor-name-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.counselor-name-row .counselor-title {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 500;
}

.counselor-info .counselor-exp {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.counselor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.counselor-tags .tag {
    padding: 2px 8px;
    font-size: 10px;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-dark);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.counselor-card:active .counselor-tags .tag {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* ==================== 心理文章 ==================== */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #fff 0%, var(--bg-color) 100%);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(249, 108, 159, 0.05);
}

/* 点击波纹效果 */
.article-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light) 0%, transparent 100%);
    transform: translateY(-50%);
    transition: width 0.4s ease;
    opacity: 0;
}

.article-item:active::before {
    width: 100%;
    opacity: 0.5;
}

.article-item:active {
    transform: scale(0.98);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(249, 108, 159, 0.15);
}

.article-item .article-image {
    width: 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-item:active .article-image {
    transform: scale(0.95);
    box-shadow: 0 4px 12px rgba(249, 108, 159, 0.2);
}

.article-item .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-item:active .article-image img {
    transform: scale(1.1);
}


.article-card .article-no-img,
.article-item .article-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8e8ee, #ede4f5);
    border-radius: 6px;
}
.article-card .article-no-img i,
.article-item .article-no-img i {
    font-size: 38px;
    color: #c99bbd;
}
.article-item .article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.article-item .article-category {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 4px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.article-item:active .article-category {
    transform: scale(1.05);
}

.article-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.article-item:active h3 {
    color: var(--primary-color);
}

.article-item .article-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-light);
}

.article-item .article-meta i {
    margin-right: 4px;
}

/* 文章卡片外层链接 */
.article-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.article-card-link:hover .article-item {
    border-color: rgba(249, 108, 159, 0.15);
    box-shadow: 0 4px 16px rgba(249, 108, 159, 0.1);
}
.article-item-horiz .article-image img {
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
}

/* ==================== 预约咨询 ==================== */
.booking-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-intro {
    border-radius: 16px;
    padding: 16px;
    /* 毛玻璃效果 */
    background: rgba(255, 255, 255, 0.50);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.60);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.booking-intro p {
    font-size: 13px;
    color: var(--text-color);
    margin: 0 0 12px;
    text-align: center;
}

.booking-intro .contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-intro .contact-item {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 14px;
    text-align: left;
    border-radius: 12px;
    /* 默认毛玻璃 */
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.50);
    transition: all 0.3s ease;
}

/* 咨询热线 - 绿色毛玻璃 */
.booking-intro .contact-item:nth-child(1) {
    background: rgba(52, 211, 153, 0.15);
    border-color: rgba(52, 211, 153, 0.30);
}
.booking-intro .contact-item:nth-child(1) i {
    background: rgba(52, 211, 153, 0.18);
    color: #16a34a;
}

/* 服务时间 - 蓝色毛玻璃 */
.booking-intro .contact-item:nth-child(2) {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.30);
}
.booking-intro .contact-item:nth-child(2) i {
    background: rgba(56, 189, 248, 0.18);
    color: #0284c7;
}

.booking-intro .contact-item i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
    transition: all 0.3s ease;
}

.booking-intro .contact-item p {
    font-size: 10px;
    color: var(--text-light);
    margin: 0;
    text-align: left;
}

.booking-intro .contact-item a,
.booking-intro .contact-item span {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 600;
    text-align: left;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(var(--primary-color-rgb), 0.06);
}

.form-group {
    position: relative;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.12);
    border-radius: 10px;
    font-size: 13px;
    background: #faf8ff;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.booking-form input:hover,
.booking-form select:hover,
.booking-form textarea:hover {
    border-color: rgba(var(--primary-color-rgb), 0.25);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.08);
    background: #fff;
}

/* 表单验证样式 */
.booking-form input:valid:not(:placeholder-shown),
.booking-form select:valid:not([value=""]),
.booking-form textarea:valid:not(:placeholder-shown) {
    border-color: #4caf50;
}

.booking-form input:invalid:not(:placeholder-shown),
.booking-form select:invalid:not([value=""]) {
    border-color: #f44336;
}

/* 提交按钮样式 */
.booking-form button[type="submit"] {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
    transition: all 0.2s ease;
}

.booking-form button[type="submit"]:active {
    transform: scale(0.98);
    box-shadow: 0 2px 6px rgba(var(--primary-color-rgb), 0.2);
}

/* 自定义下拉选择器 */
.custom-select-wrap {
    position: relative;
}

.custom-select-trigger {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.12);
    border-radius: 10px;
    font-size: 13px;
    background: #faf8ff;
    color: var(--text-light);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.custom-select-trigger.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.08);
    background: #fff;
}

.custom-select-trigger.selected {
    color: var(--text-dark);
}

.custom-select-arrow {
    font-size: 10px;
    color: var(--primary-color);
    transition: transform 0.25s ease;
}

.custom-select-trigger.active .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(var(--primary-color-rgb), 0.15), 0 2px 8px rgba(0,0,0,0.06);
    z-index: 1000;
    padding: 6px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select-options.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-select-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.custom-select-option:active {
    background: rgba(var(--primary-color-rgb), 0.08);
    transform: scale(0.98);
}

.custom-select-option:hover {
    background: rgba(var(--primary-color-rgb), 0.05);
}

.custom-select-option.selected {
    background: rgba(var(--primary-color-rgb), 0.08);
}

.custom-select-option i {
    width: 36px;
    height: 36px;
    background: rgba(var(--primary-color-rgb), 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
    flex-shrink: 0;
}

.custom-select-option strong {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    display: block;
}

.custom-select-option small {
    font-size: 10px;
    color: var(--text-light);
    display: block;
    margin-top: 1px;
}

/* ==================== 底部信息 ==================== */
/* ==================== 底部信息 ==================== */
.wap-footer {
    background: linear-gradient(180deg, #878787, #1a1a1a);
    color: white;
    padding: 0;
    /* 与上方内容保持间距，让 footer 独立出来 */
    margin-top: 40px;
    border-radius: 0 0 0 0;  /* 顶部圆角，与上方内容分隔 */
}

.wap-footer .footer-inner {
    padding: 28px 20px 10px; /* 增加底部 padding 到 100px，确保内容在 tab bar 上方 */
}

/* 品牌 slogan */
.wap-footer .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.wap-footer .footer-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.wap-footer .footer-company {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    margin-bottom: 4px;
}

.wap-footer .footer-slogan {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
}

/* 联系信息（图标+文字横向排列）*/
.wap-footer .footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
}

.wap-footer .footer-contact .contact-item {
    display: none;  /* JS 动态显示 */
    align-items: center;
    gap: 5px;
}

.wap-footer .footer-contact .contact-item i {
    color: var(--primary-color);
    font-size: 11px;
    width: 14px;
    text-align: center;
}

/* 联系链接 */
.wap-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.wap-footer .footer-link-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.2s;
    padding: 4px 8px;
    border-radius: 4px;
}

.wap-footer .footer-link-item:active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.wap-footer .footer-link-item i {
    color: var(--primary-color);
    width: 14px;
    text-align: center;
    font-size: 12px;
}

.wap-footer .footer-link-item span {
    font-size: 12px;
}

/* 底部法律链接 */
.wap-footer .footer-bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    margin: 0 16px 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(249, 108, 160, 0.077);
    border-radius: 24px;
}
.wap-footer .footer-bottom-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.wap-footer .footer-bottom-links a:active {
    color: #f96c9f;
}
.wap-footer .footer-bottom-links a + a::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background: rgba(255,255,255,0.25);
}

/* 版权 */
.wap-footer .footer-copy {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.wap-footer .footer-copy p {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* 备案信息优化 - 更简洁 */
.wap-footer .footer-beian {
    margin-top: 6px;
    font-size: 10px;
    color: rgba(255,255,255,0.3);
}

.wap-footer .footer-beian a {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.3s ease;
}

.wap-footer .footer-beian a:hover {
    color: rgba(255,255,255,0.5);
}

.wap-footer .footer-beian a + a {
    margin-left: 8px;
}

/* ==================== 底部固定导航 ==================== */
.wap-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    background: rgb(255,255,255);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 
        0 -1px 0 rgba(0,0,0,0.06), 
        0 -4px 24px rgba(0,0,0,0.04),
        0 -2px 12px rgba(249, 108, 159, 0.12);
    z-index: 999;
    border-top: 1px solid rgba(249, 108, 159, 0.2);
    
    /* 强制硬件加速，防止滚动时背景消失 */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    
    /* 原生 app 风格：底部安全区域叠加在高度内 */
    padding-bottom: 0;
}

.wap-tabbar .tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-light);
    font-size: 12px;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 12px;
}

.wap-tabbar .tabbar-item svg {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wap-tabbar .tabbar-item.active svg path[opacity="0"],
.wap-tabbar .tabbar-item:active svg path[opacity="0"] {
    opacity: 1 !important;
}

.wap-tabbar .tabbar-item.active svg path[fill="none"],
.wap-tabbar .tabbar-item:active svg path[fill="none"] {
    stroke: var(--primary-color);
}

.wap-tabbar .tabbar-item.active,
.wap-tabbar .tabbar-item:active {
    color: var(--primary-color);
    transform: scale(0.92);
    opacity: 0.85;
}

.wap-tabbar .tabbar-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 0 3px 3px;
}

/* ==================== 响应式优化 ==================== */
@media (max-width: 359px) {
    .wap-banner .banner-text h2 {
        font-size: 18px;
    }
    
    .entry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
    
    .wap-tabbar {
        display: none;
    }
}

/* ==================== 内页样式 ==================== */

/* 页面标题栏 - 适配导航栏+背景填充版 */
/* ==================== 服务页面 ==================== */

/* 页面标题栏 */
.page-title-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 20px 15px;
    color: #fff;
    position: relative;
    /* 强制全屏宽度，抵消父容器 max-width 约束 */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    /* 背景延伸到顶部，覆盖导航栏区域 */
    padding-top: calc(60px + 20px); /* 60px导航栏高度 + 20px内容间距 */
    margin-top: -10px; /* 向上延伸60px，与 wap-header 同高 */
    
    /* ===== 以下是新增高级装饰效果 ===== */
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
/*    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px; */
}

/* 柔光点缀效果 */
.page-title-bar::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -50px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    z-index: 0;
}
.page-title-bar::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
}

/* 让标题文字在最上层 */
.page-title-bar > * {
    position: relative;
    z-index: 2;
}

.page-title-bar h1,
.page-title-bar h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}
.page-title-bar p {
    font-size: 13px;
    margin: 6px 0 0;
    text-align: center;
    opacity: 0.9;
}

.page-title-bar .back-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
}

/* 筛选区域 */
.wap-filter {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
}

.wap-filter .filter-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.wap-filter .filter-row:last-child {
    margin-bottom: 0;
}

.wap-filter .filter-label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
    min-width: 70px;
}

.wap-filter .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.wap-filter .filter-option {
    padding: 6px 15px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.wap-filter .filter-option.active {
    background: var(--primary-color);
    color: #fff;
}

/* 咨询师列表页 */
.wap-counselor-list {
    padding: 10px;
}

.wap-counselor-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wap-counselor-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.wap-counselor-card .info {
    flex: 1;
    min-width: 0;
}

.wap-counselor-card .name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.wap-counselor-card .title {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.wap-counselor-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.wap-counselor-card .tag {
    padding: 3px 8px;
    background: #FFF8DC;
    color: var(--primary-color);
    font-size: 11px;
    border-radius: 10px;
}

.wap-counselor-card .stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.wap-counselor-card .stats i {
    color: var(--primary-color);
    margin-right: 3px;
}

/* 服务项目页 */
.wap-service-list {
    padding: 10px;
}

.wap-service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wap-service-card .image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.wap-service-card .content {
    padding: 15px;
}

.wap-service-card .title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.wap-service-card .desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wap-service-card .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wap-service-card .price {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.wap-service-card .price small {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

.wap-service-card .book-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}

/* 在线预约页 */
.wap-booking-form {
    background: #fff;
    padding: 20px 16px;
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
    padding-bottom: 100px;
}

/* 步骤指示器 */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 20px;
    position: relative;
}

/* step-indicator 样式已迁移到 booking.css，此处移除旧版 ::before 连线 */
.step-indicator .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-indicator .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8e8e8;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-indicator .step-text {
    font-size: 12px;
    color: #999;
    transition: all 0.3s ease;
}

.step-indicator .step.active .step-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(249, 108, 159, 0.3);
}

.step-indicator .step.active .step-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* 表单步骤 */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wap-booking-form .form-group {
    margin-bottom: 20px;
}

.wap-booking-form label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.wap-booking-form label .required {
    color: #ff4d4f;
    margin-left: 2px;
}

.wap-booking-form input[type="text"],
.wap-booking-form input[type="tel"],
.wap-booking-form input[type="number"],
.wap-booking-form select,
.wap-booking-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    color: #333;
    background: #fafafa;
    transition: all 0.3s ease;
}

.wap-booking-form input:focus,
.wap-booking-form select:focus,
.wap-booking-form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 108, 159, 0.1);
}

.wap-booking-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* 服务类型网格 */
.service-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.service-option {
    cursor: pointer;
}

.service-option input {
    display: none;
}

.service-option .option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: #fafafa;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-option .option-content i {
    font-size: 24px;
    color: #999;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.service-option .option-content span {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.service-option input:checked + .option-content {
    background: linear-gradient(135deg, rgba(249, 108, 159, 0.1) 0%, rgba(255, 163, 9, 0.1) 100%);
    border-color: var(--primary-color);
}

.service-option input:checked + .option-content i {
    color: var(--primary-color);
}

.service-option input:checked + .option-content span {
    color: var(--primary-color);
    font-weight: 600;
}

/* 咨询师选择列表 */
.counselor-select-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.counselor-option {
    cursor: pointer;
}

.counselor-option input {
    display: none;
}

.counselor-content {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fafafa;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s ease;
    gap: 12px;
}

.counselor-content img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.counselor-info {
    flex: 1;
}

.counselor-info h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 4px;
    font-weight: 600;
}

.counselor-info p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.counselor-content i {
    font-size: 20px;
    color: #e8e8e8;
    transition: all 0.3s ease;
}

.counselor-option input:checked + .counselor-content {
    background: linear-gradient(135deg, rgba(249, 108, 159, 0.1) 0%, rgba(255, 163, 9, 0.1) 100%);
    border-color: var(--primary-color);
}

.counselor-option input:checked + .counselor-content i {
    color: var(--primary-color);
}

/* 表单操作按钮组 */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
}

/* 按钮样式 */
.btn {
    padding: 14px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(249, 108, 159, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.btn-outline {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:active {
    background: rgba(249, 108, 159, 0.05);
}

.btn-block {
    width: 100%;
    display: block;
}

/* 复选框选项 */
.checkbox-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    min-width: 0;
}

.checkbox-option input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* 预约须知 */
.wap-booking-tips {
    background: #fff;
    padding: 20px 16px;
    margin: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wap-booking-tips h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wap-booking-tips h3 i {
    color: var(--primary-color);
}

.wap-booking-tips ul {
    margin: 0;
    padding-left: 20px;
}

.wap-booking-tips li {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 文章列表页 */
.wap-article-list {
    padding: 10px;
}

.wap-article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wap-article-card .image {
    width: 120px;
    height: 90px;
    object-fit: cover;
    flex-shrink: 0;
}

.wap-article-card .content {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wap-article-card .title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wap-article-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.wap-article-card .category {
    color: var(--primary-color);
}

/* 咨询师详情页 */
.wap-counselor-detail {
    background: #fff;
    margin-bottom: 10px;
}

.wap-counselor-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 30px 15px;
    text-align: center;
    color: #fff;
}

.wap-counselor-header .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    margin-bottom: 15px;
}

.wap-counselor-header .name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.wap-counselor-header .title {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.wap-counselor-header .rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    color: #FFD700;
    font-size: 16px;
}

.wap-counselor-info {
    padding: 15px;
}

.wap-counselor-info .info-section {
    margin-bottom: 20px;
}

.wap-counselor-info .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid var(--primary-color);
}

.wap-counselor-info .info-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.wap-counselor-info .info-item .label {
    color: #999;
    min-width: 80px;
}

.wap-counselor-info .info-item .value {
    color: #333;
    flex: 1;
}

.wap-counselor-info .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wap-counselor-info .tag-list .tag {
    padding: 5px 12px;
    background: #FFF8DC;
    color: var(--primary-color);
    font-size: 13px;
    border-radius: 15px;
}

.wap-counselor-info .bio-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.wap-counselor-actions {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 15px;
    display: flex;
    gap: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 100;
}

.wap-counselor-actions .action-btn {
    flex: 1;
    padding: 12px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.wap-counselor-actions .consult-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
}

.wap-counselor-actions .book-btn {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* 文章详情页 */
.wap-article-detail {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
}

.wap-article-detail .title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin-bottom: 15px;
}

.wap-article-detail .meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.wap-article-detail .meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.wap-article-detail .content {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}

.wap-article-detail .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.wap-article-detail .content p {
    margin-bottom: 15px;
}

/* 文章详情页增强样式 */
.article-header {
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}
.article-header h1 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    line-height: 1.5;
    margin-bottom: 12px;
    display: flex;
    align-items: center; /* ✅ 垂直居中 */
}
.article-header .article-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}
.article-header .article-meta .author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}
.article-header .article-meta .views {
    color: var(--primary-color);
}

.article-cover {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}
.article-cover img {
    width: 100%;
    display: block;
}

.article-body {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    padding-bottom: 20px;
}
.article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}
.article-body p {
    margin-bottom: 15px;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(249,108,159,0.06), rgba(160,120,220,0.06));
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid rgba(249,108,159,0.12);
}
.author-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}
.author-card .author-info {
    flex: 1;
}
.author-card .author-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}
.author-card .author-info p {
    font-size: 12px;
    color: #999;
    margin: 2px 0 0;
}
.author-card .btn-outline {
    padding: 6px 14px;
    font-size: 12px;
}

/* 文章操作按钮 */
.article-actions {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 14px 12px;
    margin: 16px 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(249,108,159,0.1);
    border: 1.5px solid #fce4ec;
    gap: 0;
}
.action-divider { display: none; }
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 16px;
    border: none;
    background: none;
    cursor: pointer;
    color: #aaa;
    font-size: 11px;
    border-radius: 12px;
    flex: 1;
    transition: all 0.2s;
    position: relative;
}
.action-btn:active { background: rgba(249,108,159,0.08); }
.action-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff0f5, #fff5f8);
    border: 1.5px solid #fce4ec;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(249,108,159,0.1);
    transition: all 0.2s;
}
.action-btn:active .action-icon-wrap {
    transform: scale(0.92);
    box-shadow: 0 1px 4px rgba(249,108,159,0.15);
}
.action-btn i {
    font-size: 18px;
    color: #ccc;
    transition: color 0.2s;
}
.action-count {
    font-size: 12px;
    font-weight: 700;
    color: #ccc;
    transition: color 0.2s;
}
.action-label {
    font-size: 11px;
    color: #bbb;
    transition: color 0.2s;
}
/* 点赞态 */
.action-btn.liked { color: #f96c9f; }
.action-btn.liked .action-icon-wrap {
    background: linear-gradient(135deg, #f96c9f, #ff8ab7);
    border-color: #f96c9f;
    box-shadow: 0 4px 14px rgba(249,108,159,0.3);
}
.action-btn.liked i { color: #fff; }
.action-btn.liked .action-count { color: #f96c9f; }
.action-btn.liked .action-label { color: #f96c9f; }
/* 收藏态 */
.action-btn.bookmarked { color: #ffa309; }
.action-btn.bookmarked .action-icon-wrap {
    background: linear-gradient(135deg, #ffa309, #ffb84d);
    border-color: #ffa309;
    box-shadow: 0 4px 14px rgba(255,163,9,0.3);
}
.action-btn.bookmarked i { color: #fff; }
.action-btn.bookmarked .action-label { color: #ffa309; }

/* 相关文章 */
.wap-related-articles {
    padding: 15px;
    background: #fff;
}
.wap-related-articles h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wap-related-articles h3 i {
    color: var(--primary-color);
    font-size: 14px;
}
.wap-related-articles .articles-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wap-related-articles .related-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(249,108,159,0.14);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}
.wap-related-articles .related-item:active {
    transform: scale(0.98);
    background: rgba(249,108,159,0.06);
}
.related-img {
    width: 64px;
    height: 52px;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.related-img img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}
.related-hot-tag {
    position: absolute;
    top: 4px;
    left: 4px;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: #fff;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
}
.related-hot-tag i { font-size: 8px; }
.related-img-placeholder {
    width: 64px;
    height: 52px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(249,108,159,0.15), rgba(160,120,220,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.related-img-placeholder i {
    font-size: 18px;
    color: var(--primary-color);
    opacity: 0.7;
}
.wap-related-articles .related-info {
    flex: 1;
    min-width: 0;
}
.wap-related-articles .related-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 3px;
}
.related-excerpt {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
    margin: 0 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.related-tag {
    font-size: 11px;
    color: var(--primary-color);
    background: rgba(249,108,159,0.1);
    padding: 1px 7px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.related-tag i { font-size: 9px; }
.related-date, .related-views {
    font-size: 11px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 3px;
}
.related-arrow {
    font-size: 12px;
    color: #ccc;
    flex-shrink: 0;
    margin-left: 2px;
}


/* 上下篇导航 */
.article-nav {
    display: flex;
    gap: 8px;
    padding: 15px;
    background: #fff;
}
.article-nav .nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #f8f8f8;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
    min-width: 0;
}
.article-nav .nav-item:active {
    background: #f0f0f0;
}
.article-nav .nav-item.disabled {
    opacity: 0.4;
    pointer-events: none;
}
.article-nav .nav-prev { justify-content: flex-start; }
.article-nav .nav-next { justify-content: flex-end; }
.article-nav .nav-item i {
    font-size: 14px;
    color: var(--primary-color);
    flex-shrink: 0;
}
.article-nav .nav-text {
    min-width: 0;
}
.article-nav .nav-item .label {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 500;
    display: block;
}
.article-nav .nav-item .title {
    font-size: 13px;
    color: #555;
    display: block;
    margin-top: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-nav .nav-next .nav-text { text-align: right; }

/* 文章详情底部需留出底部栏空间 */
body.has-bottom-bar {
    padding-bottom: 70px;
}

/* 关于我们页 */
.wap-about-section {
    background: #fff;
    padding: 20px 15px;
    margin-bottom: 10px;
}

.wap-about-section .section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.wap-about-section .section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 10px auto 0;
    border-radius: 2px;
}

.wap-about-section .content {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.wap-about-section .image {
    width: 100%;
    border-radius: 12px;
    margin: 15px 0;
}

.wap-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.wap-feature-item {
    text-align: center;
    padding: 20px 10px;
    background: #FFF8DC;
    border-radius: 12px;
}

.wap-feature-item .icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.wap-feature-item .title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.wap-feature-item .desc {
    font-size: 12px;
    color: #999;
}

/* 联系我们页 */
.wap-contact-section {
    background: #fff;
    padding: 20px 15px;
    margin-bottom: 10px;
}

.wap-contact-section .section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.wap-contact-info {
    margin-bottom: 20px;
}

.wap-contact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wap-contact-item:last-child {
    border-bottom: none;
}

.wap-contact-item .icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.wap-contact-item .info .label {
    font-size: 13px;
    color: #999;
    margin-bottom: 3px;
}

.wap-contact-item .info .value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.wap-contact-form {
    margin-top: 20px;
}

.wap-contact-form .form-group {
    margin-bottom: 15px;
}

.wap-contact-form .form-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.wap-contact-form .form-input,
.wap-contact-form .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
}

.wap-contact-form .form-input:focus,
.wap-contact-form .form-textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
}

.wap-contact-form .form-textarea {
    min-height: 100px;
    resize: vertical;
}

.wap-contact-form .submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* 分页样式 - 简洁数字风格 */
.wap-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 22px 15px 30px;
    background: #fff;
}

.wap-pagination .page-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #fff0f5, #fff5f8);
    color: #f96c9f;
    border: 1.5px solid #fce4ec;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.wap-pagination .page-btn:active {
    opacity: 0.7;
    transform: scale(0.97);
}

.wap-pagination .page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.page-count-info {
    font-size: 12px;
    color: #bbb;
    text-align: center;
    line-height: 1.4;
}

.page-count-info strong {
    color: #f96c9f;
    font-weight: 700;
}

/* 空状态 */
.wap-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    margin: 10px;
    border-radius: 12px;
}

.wap-empty .icon {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 15px;
}

.wap-empty .text {
    font-size: 14px;
    color: #999;
}

/* ==================== 关于我们页面 ==================== */

/* 机构简介 */
.wap-about-intro {
    padding: 15px;
    background: #fff;
    margin-bottom: 10px;
}
.wap-about-intro .intro-image {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.wap-about-intro .intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wap-about-intro .intro-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}
.wap-about-intro .intro-content .lead {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}
.wap-about-intro .intro-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* 统计数据网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}
.stats-grid .stat-item {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    padding: 14px 8px;
    border-radius: 10px;
}
.stats-grid .stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 4px;
}
.stats-grid .stat-label {
    font-size: 11px;
    color: var(--text-light);
    display: block;
}

/* 理念 section */
.wap-about-values {
    padding: 20px 15px;
    background: #fff;
    margin-bottom: 10px;
}
.wap-about-values h3,
.wap-about-services h3,
.wap-about-team h3,
.wap-about-contact h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}
.wap-about-values h3::after,
.wap-about-services h3::after,
.wap-about-team h3::after,
.wap-about-contact h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin: 8px auto 0;
    border-radius: 2px;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.value-item {
    text-align: center;
    background: var(--bg-color);
    padding: 16px 12px;
    border-radius: 12px;
}
.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    color: var(--primary-color);
}
.value-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}
.value-item p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 服务 section */
.wap-about-services {
    padding: 20px 15px;
    background: #fff;
    margin-bottom: 10px;
}
.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--bg-color);
    padding: 14px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-color);
}
.services-list .service-item i {
    font-size: 22px;
    color: var(--primary-color);
}

/* 团队 section */
.wap-about-team {
    padding: 20px 15px;
    background: #fff;
    margin-bottom: 10px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.team-member {
    text-align: center;
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 12px;
}
.team-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    margin-bottom: 8px;
}
.team-member h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}
.team-member p {
    font-size: 12px;
    color: var(--text-light);
}
.wap-about-team .btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* 联系 section */
.wap-about-contact {
    padding: 20px 15px;
    background: #fff;
    margin-bottom: 10px;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
    background: var(--bg-color);
    border-radius: 10px;
}
.contact-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}
.contact-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 3px;
}
.contact-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 底部预约栏 */
/* ==================== 底部操作栏 ==================== */
.wap-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    padding: 8px 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    gap: 10px;
}
.bar-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.bar-item i { font-size: 16px; }
.bar-item:not(.primary) {
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid #eee;
}
.bar-item.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(244, 160, 8, 0.35);
}
.bar-item:active { opacity: 0.85; transform: scale(0.98); }

/* 通用按钮 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
}
.btn-outline {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

/* ==================== 补充内页样式 ==================== */

/* 筛选区域 - 横向滚动 */
.wap-filter {
    background: #fff;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-scroll::-webkit-scrollbar {
    display: none;
}

.filter-item {
    flex-shrink: 0;
    padding: 6px 16px;
    background: #f5f5f5;
    color: #666;
    border-radius: 18px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    font-weight: 500;
}

/* 咨询师列表页 */
.wap-counselors-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wap-counselors-list .counselor-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wap-counselors-list .counselor-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.wap-counselors-list .counselor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.wap-counselors-list .counselor-info {
    flex: 1;
}

.wap-counselors-list .counselor-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.wap-counselors-list .counselor-title {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.wap-counselors-list .counselor-exp {
    font-size: 12px;
    color: #999;
}

.wap-counselors-list .counselor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.wap-counselors-list .counselor-tags .tag {
    padding: 3px 10px;
    background: #FFF8DC;
    color: var(--primary-color);
    font-size: 11px;
    border-radius: 10px;
}

.wap-counselors-list .counselor-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wap-counselors-list .counselor-actions {
    display: flex;
    gap: 10px;
}

.wap-counselors-list .counselor-actions .btn {
    flex: 1;
    padding: 8px 0;
    font-size: 13px;
}

/* 服务项目页 */
/* ==================== 服务分类导航 ==================== */
.wap-service-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px 15px;
    background: #fff;
    margin-bottom: 10px;
}
.wap-service-categories .category-item {
    text-align: center;
    padding: 15px 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(0,0,0,0.06);
}
.wap-service-categories .category-item:active {
    transform: scale(0.95);
}

/* ==================== 服务列表 ==================== */
.wap-service-list {
    padding: 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wap-service-list .service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wap-service-list .service-header {
    position: relative;
}

.wap-service-list .service-header img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #f5f5f5;
}

/* ==================== 服务卡片图片渐变占位（图片加载失败时显示） ==================== */
/* 情绪管理 - 温暖的粉橙渐变 */
.wap-service-list .service-card[data-category="emotion"] .service-header img {
    background: linear-gradient(135deg, #f7b2c4 0%, #fda4af 50%, #fca5a1 100%);
}

/* 婚姻家庭 - 温馨的金棕渐变 */
.wap-service-list .service-card[data-category="family"] .service-header img {
    background: linear-gradient(135deg, #fed7aa 0%, #fbcfa8 50%, #f59e6a 100%);
}

/* 亲子教育 - 清新的绿蓝渐变 */
.wap-service-list .service-card[data-category="parenting"] .service-header img {
    background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 50%, #34d399 100%);
}

/* 个人成长 - 活力的紫蓝渐变 */
.wap-service-list .service-card[data-category="growth"] .service-header img {
    background: linear-gradient(135deg, #c7d2fe 0%, #a5b4fc 50%, #818cf8 100%);
}

/* 职场心理 - 沉稳的蓝青渐变 */
.wap-service-list .service-card[data-category="workplace"] .service-header img {
    background: linear-gradient(135deg, #a5f3fc 0%, #67e8f9 50%, #22d3ee 100%);
}

/* 危机干预 - 关怀的暖红渐变 */
.wap-service-list .service-card[data-category="crisis"] .service-header img {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a1 50%, #f87171 100%);
}

/* 心理测评 - 专业的靛蓝渐变 */
.wap-service-list .service-card[data-category="assessment"] .service-header img {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 50%, #60a5fa 100%);
}

/* 团体辅导 - 温暖的珊瑚渐变 */
.wap-service-list .service-card[data-category="group"] .service-header img {
    background: linear-gradient(135deg, #fed7e2 0%, #fda4af 50%, #fb7185 100%);
}

/* 服务分类图标区 - 毛玻璃卡片 */
.wap-service-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px 15px;
    background: #fff;
}
.wap-service-categories .category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 8px;
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.25s ease;
}
.wap-service-categories .category-item .category-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    font-size: 18px;
}
.wap-service-categories .category-item .category-icon i {
    color: #fff;
}
.wap-service-categories .category-item[data-type="emotion"] .category-icon { background: linear-gradient(135deg, #f7b2c4, #f87171); }
.wap-service-categories .category-item[data-type="family"] .category-icon { background: linear-gradient(135deg, #fed7aa, #f59e6a); }
.wap-service-categories .category-item[data-type="parenting"] .category-icon { background: linear-gradient(135deg, #a7f3d0, #34d399); }
.wap-service-categories .category-item[data-type="growth"] .category-icon { background: linear-gradient(135deg, #c7d2fe, #818cf8); }
.wap-service-categories .category-item[data-type="workplace"] .category-icon { background: linear-gradient(135deg, #a5f3fc, #22d3ee); }
.wap-service-categories .category-item[data-type="crisis"] .category-icon { background: linear-gradient(135deg, #fecaca, #ef4444); }
.wap-service-categories .category-item[data-type="assessment"] .category-icon { background: linear-gradient(135deg, #bfdbfe, #3b82f6); }
.wap-service-categories .category-item[data-type="group"] .category-icon { background: linear-gradient(135deg, #fda4af, #fb7185); }
.wap-service-categories .category-item[data-type="all"] .category-icon { background: linear-gradient(135deg, #d1d5db, #9ca3af); }
.wap-service-categories .category-item h3 {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}
.wap-service-categories .category-item p {
    font-size: 10px;
    color: #999;
    text-align: center;
}
.wap-service-categories .category-item.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.wap-service-categories .category-item.active h3,
.wap-service-categories .category-item.active p {
    color: #fff;
}
.wap-service-categories .category-item.active .category-icon i {
    color: var(--primary-color);
}
.wap-service-categories .category-item.active .category-icon {
    background: #fff;
}

.wap-service-list .service-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    background: rgba(244, 164, 96, 0.9);
    color: #fff;
    font-size: 11px;
    border-radius: 12px;
}

.wap-service-list .service-content {
    padding: 15px;
}

.wap-service-list .service-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.wap-service-list .service-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ==================== 服务卡片内容样式 ==================== */
/* 服务标题行（标题+价格） */
.wap-service-list .service-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

/* 原价（删除线） */
.wap-service-list .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-right: 6px;
}

/* 服务时长 */
.wap-service-list .duration {
    font-size: 12px;
    color: #999;
    margin-left: 6px;
}

/* 操作按钮容器 */
.wap-service-list .service-actions {
    margin-top: 12px;
}
.wap-service-list .service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.wap-service-list .service-features span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f5f5f5;
    color: #666;
    font-size: 11px;
    border-radius: 10px;
}

.wap-service-list .service-features span i {
    color: var(--primary-color);
    font-size: 10px;
}

.wap-service-list .service-price {
    margin-bottom: 12px;
}

.wap-service-list .service-price .price {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.wap-service-list .service-price .unit {
    font-size: 12px;
    color: #999;
}

.wap-service-list .service-actions .btn {
    width: 100%;
    padding: 10px 0;
}

.wap-counselor-detail .counselor-profile {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 30px 20px;
    text-align: center;
    color: #fff;
}

.wap-counselor-detail .counselor-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    margin-bottom: 12px;
    background: #fff;
}

.wap-counselor-detail .counselor-profile h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.wap-counselor-detail .counselor-title {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.wap-counselor-detail .counselor-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.wap-counselor-detail .stat-item {
    text-align: center;
}

.wap-counselor-detail .stat-number {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.wap-counselor-detail .stat-label {
    display: block;
    font-size: 11px;
    opacity: 0.85;
}

.wap-counselor-detail .counselor-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.wap-counselor-detail .counselor-tags .tag {
    padding: 4px 12px;
    background: rgba(255,255,255,0.25);
    color: #fff;
    font-size: 12px;
    border-radius: 12px;
}

.wap-counselor-detail .detail-section {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.wap-counselor-detail .detail-section:last-child {
    border-bottom: none;
}

.wap-counselor-detail .detail-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.wap-counselor-detail .detail-section h3 i {
    color: var(--primary-color);
    margin-right: 6px;
}

.wap-counselor-detail .qualification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wap-counselor-detail .qualification-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.wap-counselor-detail .qualification-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
}

.wap-counselor-detail .detail-section p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.wap-counselor-detail .expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wap-counselor-detail .expertise-tags .tag {
    padding: 5px 14px;
    background: #FFF8DC;
    color: var(--primary-color);
    font-size: 12px;
    border-radius: 15px;
}

.wap-counselor-detail .booking-info-card {
    margin: 15px;
    padding: 15px;
    background: #FFF8DC;
    border-radius: 12px;
}

.wap-counselor-detail .booking-info-card .price-info {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
}

.wap-counselor-detail .booking-info-card .label {
    font-size: 13px;
    color: #666;
    margin-right: 10px;
}

.wap-counselor-detail .booking-info-card .price {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.wap-counselor-detail .booking-info-card .unit {
    font-size: 12px;
    color: #999;
}

.wap-counselor-detail .reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wap-counselor-detail .review-item {
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
}

.wap-counselor-detail .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wap-counselor-detail .reviewer {
    font-size: 13px;
    color: #666;
}

.wap-counselor-detail .rating {
    color: #FFD700;
    font-size: 12px;
}

.wap-counselor-detail .review-content {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 其他咨询师推荐 */
.wap-other-counselors {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
}

.wap-other-counselors h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.wap-other-counselors .counselors-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.wap-other-counselors .counselors-scroll::-webkit-scrollbar {
    display: none;
}

.wap-other-counselors .counselor-mini-card {
    flex-shrink: 0;
    width: 100px;
    text-align: center;
    text-decoration: none;
}

.wap-other-counselors .counselor-mini-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    background: #f5f5f5;
}

.wap-other-counselors .counselor-mini-card h4 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.wap-other-counselors .counselor-mini-card p {
    font-size: 11px;
    color: #999;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    margin: 12px;
    border-radius: 12px;
}

.empty-state i {
    font-size: 50px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 14px;
    color: #999;
}

/* 搜索栏 */
.wap-search-bar {
    padding: 12px 15px;
    background: #fff;
}
.wap-search-bar form {
    display: flex;
    gap: 8px;
}
.wap-search-bar input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    font-size: 14px;
    background: #f8f8f8;
    transition: all 0.2s;
}
.wap-search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(249,108,159,0.1);
}
.wap-search-bar button {
    width: 42px;
    height: 42px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* 文章列表 */
.wap-articles-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.article-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}
.article-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.article-card .article-image {
    width: 110px;
    height: 88px;
    flex-shrink: 0;
    overflow: hidden;
}
.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.article-card:active .article-image img {
    transform: scale(1.05);
}
.article-card .article-content {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.article-card .article-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.article-card .article-excerpt {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 4px 0 0;
}
.article-card .article-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    color: #bbb;
    margin-top: 6px;
}
.article-card .article-meta .views {
    color: var(--primary-color);
    font-weight: 500;
}

/* 分页 */
.wap-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #fff;
    margin: 12px;
    border-radius: 12px;
}

.wap-pagination .page-btn {
    padding: 8px 16px;
    background: #f5f5f5;
    color: #666;
    border-radius: 18px;
    font-size: 13px;
    text-decoration: none;
}

.wap-pagination .page-info {
    font-size: 13px;
    color: #666;
}

/* 按钮尺寸 */
.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==================== 图片优化 ==================== */

/* 图片容器 - 占位符样式 */
img {
    background: #f5f5f5;
    position: relative;
}

/* 图片加载失败时的占位符 */
img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #b36b85 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

img::after {
    content: attr(alt);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ccc;
    font-size: 12px;
    text-align: center;
    width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 头像占位符 */
.counselor-avatar,
.counselor-mini-card img,
.counselor-profile .counselor-avatar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.counselor-avatar::after,
.counselor-mini-card img::after,
.counselor-profile .counselor-avatar::after {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 30px;
    color: rgba(255,255,255,0.5);
}

/* 服务图片占位符 */
.service-header img {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFE4B5 100%);
}

.service-header img::after {
    content: '\f15c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 40px;
    color: rgba(244, 164, 96, 0.3);
}

/* 文章图片占位符 */
.article-image img,
.article-cover img {
    background: linear-gradient(135deg, #E6F3FF 0%, #B3D9FF 100%);
}

.article-image img::after,
.article-cover img::after {
    content: '\f1ea';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 30px;
    color: rgba(102, 153, 204, 0.3);
}

/* Logo占位符 */
.logo img {
    background: transparent;
}

.logo img::after {
    content: '百昔';
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

/* 图片懒加载动画 */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

img[data-src] {
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #f5f5f5 8%, #e8e8e8 18%, #f5f5f5 33%);
    background-size: 800px 104px;
}

/* 图片加载完成 */
img.loaded {
    animation: none;
    background: transparent;
}

/* 图片悬停效果 */
.counselor-card img,
.service-card img,
.article-item img {
    transition: transform 0.3s ease;
}

.counselor-card:active img,
.service-card:active img,
.article-item:active img {
    transform: scale(1.05);
}

/* 圆形头像裁剪 */
.counselor-avatar,
.counselor-mini-card img,
.counselor-profile .counselor-avatar,
.author-avatar img {
    object-fit: cover;
    object-position: center top;
}

/* ==================== 移动端交互优化 ==================== */

/* 触摸反馈 - 点击高亮 */
.counselor-card,
.service-card,
.article-item,
.category-item,
.filter-item,
.page-btn,
.btn {
    -webkit-tap-highlight-color: rgba(244, 164, 96, 0.1);
}

/* 按下效果 */
.counselor-card:active,
.service-card:active,
.article-item:active {
    transform: scale(0.98);
    transition: transform 0.1s;
}

/* 滚动优化 */
.filter-scroll,
.counselors-scroll,
.articles-scroll {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* 防止滚动穿透 */
body.modal-open {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 输入框优化 */
input,
textarea,
select {
    font-size: 16px; /* 防止iOS自动缩放 */
    -webkit-appearance: none;
    border-radius: 8px;
}

/* 去除iOS默认样式 */
input[type="submit"],
input[type="button"],
button {
    -webkit-appearance: none;
    border-radius: 20px;
}

/* 选择框优化 */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 32px;
}

/* 文本选择颜色 */
::selection {
    background: rgba(244, 164, 96, 0.3);
    color: #333;
}

::-moz-selection {
    background: rgba(244, 164, 96, 0.3);
    color: #333;
}

/* 占位符样式 */
::placeholder {
    color: #999;
    font-size: 14px;
}

/* 禁用状态 */
.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 加载状态 */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 骨架屏加载效果 */
.skeleton {
    background: linear-gradient(90deg, #f5f5f5 25%, #e8e8e8 50%, #f5f5f5 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 阴影优化 - 移动端减少阴影 */
@media (max-width: 768px) {
    .counselor-card,
    .service-card,
    .article-item {
        box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    }
}

/* 安全区域适配 - iPhone X 及以上 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
    
    .wap-bottom-bar {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .wap-tabbar {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* 深色模式支持（可选） */
@media (prefers-color-scheme: dark) {
    /* 如需支持深色模式，可在此添加样式 */
}

/* 减少动画 - 用户偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 打印样式 */
@media print {
    .wap-header,
    .wap-nav,
    .wap-bottom-bar,
    .wap-tabbar,
    .wap-filter {
        display: none !important;
    }
    
    body {
        padding: 0 !important;
    }
}

/* ==================== 联系我们页面 ==================== */

/* 联系信息列表 */
.wap-contact-info {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
}

.wap-contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wap-contact-info .contact-item:last-child {
    border-bottom: none;
}

.wap-contact-info .contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
    margin-right: 15px;
}

.wap-contact-info .contact-content {
    flex: 1;
}

.wap-contact-info .contact-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.wap-contact-info .contact-value {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    text-decoration: none;
}

.wap-contact-info .contact-note {
    font-size: 12px;
    color: #999;
}

/* 联系表单 */
.wap-contact-form {
    background: #fff;
    padding: 20px 15px;
    margin-bottom: 10px;
}

.wap-contact-form h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.wap-contact-form label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.wap-contact-form label .required {
    color: #ff4d4f;
    margin-left: 2px;
}

.wap-contact-form input[type="text"],
.wap-contact-form input[type="tel"],
.wap-contact-form input[type="email"],
.wap-contact-form select,
.wap-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: all 0.3s;
}

.wap-contact-form input:focus,
.wap-contact-form select:focus,
.wap-contact-form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(244, 164, 96, 0.1);
}

.wap-contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.wap-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 35px;
}

.wap-contact-form .checkbox-option {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.wap-contact-form .checkbox-option input {
    width: auto;
    margin-right: 8px;
}

.wap-contact-form .checkbox-option a {
    color: var(--primary-color);
    text-decoration: none;
}

/* FAQ 问答 */
.wap-faq {
    background: #fff;
    padding: 20px 15px;
    margin-bottom: 10px;
}

.wap-faq h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.wap-faq .faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wap-faq .faq-item {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.wap-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
}

.wap-faq .faq-question:active {
    background: #f5f5f5;
}

.wap-faq .faq-question h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    flex: 1;
    margin: 0;
}

.wap-faq .faq-question i {
    color: #999;
    font-size: 12px;
    transition: transform 0.3s;
}

.wap-faq .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.wap-faq .faq-answer {
    display: none;
    padding: 15px;
    background: #fff;
}

.wap-faq .faq-item.active .faq-answer {
    display: block;
}

.wap-faq .faq-answer p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* .customer-service-btn 已迁移至 kf.css */

/* .copy-wechat-btn 已迁移至 kf.css */

/* ==================== 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(249, 108, 159, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
    -webkit-tap-highlight-color: transparent;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:active {
    transform: scale(0.9);
}

.back-to-top i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* ==================== 返回顶部按钮 ==================== */

/* 筛选栏 */
.counselor-filter-bar {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.counselor-filter-bar .filter-row {
    display: flex;
    align-items: center;
    padding: 6px 15px;
    gap: 8px;
}
.counselor-filter-bar .filter-label {
    flex-shrink: 0;
    font-size: 13px;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}
.counselor-filter-bar .filter-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
}
.counselor-filter-bar .filter-scroll::-webkit-scrollbar {
    display: none;
}
.counselor-filter-bar .filter-chip {
    flex-shrink: 0;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}
.counselor-filter-bar .filter-chip.active {
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    color: #fff;
    font-weight: 500;
}
.counselor-filter-bar .filter-chip:not(.active):active {
    background: #eee;
}

/* 咨询师列表 */
.counselor-list-sec {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f7f8fa;
    min-height: 60vh;
}

/* 咨询师卡片 */
.counselor-card-new {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    gap: 14px;
    text-decoration: none;
    color: #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.15s;
}
.counselor-card-new.pressing {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* 左侧头像 */
.counselor-card-new .card-left {
    flex-shrink: 0;
}
.counselor-card-new .avatar-wrap {
    position: relative;
    width: 72px;
    height: 72px;
}
.counselor-card-new .avatar-wrap img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}
.counselor-card-new .level-badge {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
}
.counselor-card-new .level-badge.chief {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}
.counselor-card-new .level-badge.expert {
    background: linear-gradient(135deg, #7b7de5, #6c5ce7);
}
.counselor-card-new .level-badge.senior {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* 中间内容 */
.counselor-card-new .card-body {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.counselor-card-new .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.counselor-card-new .name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
.counselor-card-new .price {
    font-size: 16px;
    font-weight: 600;
    color: #f96c9f;
    flex-shrink: 0;
}
.counselor-card-new .price small {
    font-size: 11px;
    font-weight: 400;
    color: #999;
}
.counselor-card-new .subtitle {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 统计行 */
.counselor-card-new .stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 6px;
}
.counselor-card-new .stats-row span {
    font-size: 11px;
    color: #999;
}
.counselor-card-new .stats-row i {
    color: #c0c0c0;
    margin-right: 2px;
}

/* 标签行 */
.counselor-card-new .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}
.counselor-card-new .tag-row .tag {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(249,108,159,0.08);
    color: #f96c9f;
    white-space: nowrap;
}

/* 简介 */
.counselor-card-new .intro-text {
    font-size: 12px;
    color: #aaa;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 右侧箭头 */
.counselor-card-new .card-arrow {
    flex-shrink: 0;
    color: #ccc;
    font-size: 14px;
    align-self: center;
}

/* 空状态 */
.counselor-list-sec .empty-state-new {
    text-align: center;
    padding: 60px 20px;
}
.counselor-list-sec .empty-state-new i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 16px;
}
.counselor-list-sec .empty-state-new p {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}
.counselor-list-sec .empty-state-new .btn-reset {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

/* 分页 */
.counselor-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 20px 15px 30px;
    background: #f7f8fa;
}
.counselor-pagination .page-btn {
    padding: 8px 20px;
    border-radius: 20px;
    background: #fff;
    color: #f96c9f;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid #f96c9f;
    transition: all 0.2s;
}
.counselor-pagination .page-btn:active {
    background: #f96c9f;
    color: #fff;
}
.counselor-pagination .page-info {
    font-size: 13px;
    color: #999;
}

/* ==================== 咨询师详情页 ==================== */

/* 头像区 */
.cd-profile {
    text-align: center;
    padding: 24px 20px 20px;
    background: linear-gradient(180deg, rgba(249,108,159,0.08) 0%, #fff 100%);
}
/* 头像容器 - CSS背景图兜底，无需onerror */
.avatar-fallback,
.cs-avatar,
.callback-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8d5f5;
    vertical-align: middle;
    flex-shrink: 0;
}

.cd-avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8d5f5;
}

.cd-profile .cd-avatar {
    position: relative;
    display: inline-block;
    width: 96px;
    height: 96px;
    margin-bottom: 14px;
}

.cd-profile .cd-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(249,108,159,0.2);
}
.cd-profile .cd-avatar .level-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
}
.cd-profile .cd-avatar .level-badge.chief {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}
.cd-profile .cd-avatar .level-badge.expert {
    background: linear-gradient(135deg, #7b7de5, #6c5ce7);
}
.cd-profile .cd-avatar .level-badge.senior {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.cd-profile .cd-name {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}
.cd-profile .cd-title {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

/* 统计 */
.cd-profile .cd-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 14px;
}
.cd-profile .cd-stat {
    flex: 1;
    text-align: center;
    padding: 0 12px;
    position: relative;
}
.cd-profile .cd-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: #eee;
}
.cd-profile .cd-stat strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #f96c9f;
}
.cd-profile .cd-stat span {
    font-size: 11px;
    color: #aaa;
}

/* 标签 */
.cd-profile .cd-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.cd-profile .cd-tag {
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 12px;
    background: rgba(249,108,159,0.08);
    color: #f96c9f;
}

/* 座右铭 */
.cd-profile .cd-motto {
    font-size: 13.5px;
    color: #888;
    font-style: italic;
    line-height: 1.7;
    padding: 0 20px;
}

/* 通用section */
.cd-section {
    padding: 0 15px;
    margin-bottom: 8px;
    margin-top: 8px;
}
.cd-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    padding: 16px 0 10px;
}

/* 信息块 - 增加视觉间距 */
.cd-block {
    background: #fff;
    border-radius: 16px;
    padding: 20px 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.04);
    border: 1px solid rgba(249,108,159,0.05);
}
.cd-block h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cd-block h3 i {
    color: #f96c9f;
    font-size: 14px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(249,108,159,0.12), rgba(255,163,9,0.08));
    border-radius: 7px;
}
.cd-block .cd-content {
    font-size: 13.5px;
    color: #555;
    line-height: 1.85;
}
.cd-block .cd-list {
    list-style: none;
    padding: 0;
}
.cd-block .cd-list li {
    font-size: 13px;
    color: #555;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cd-block .cd-list li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f96c9f;
    flex-shrink: 0;
}
.cd-block .cd-list li:last-child {
    border-bottom: none;
}

/* 评价 */
.cd-reviews {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cd-review {
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}
.cd-review:last-child {
    border-bottom: none;
}
.cd-review .review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.cd-review .reviewer {
    font-size: 13.5px;
    color: #333;
    font-weight: 600;
}
.cd-review .rating {
    font-size: 13px;
    color: #f59e0b;
}
.cd-review p {
    font-size: 12.5px;
    color: #777;
    line-height: 1.7;
}

/* 其他咨询师 - 全新卡片设计 */
.cd-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    padding: 20px 0 14px;
    position: relative;
    padding-left: 15px;
}
.cd-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22px;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #f96c9f, #ffa309);
    border-radius: 2px;
}

.cd-others-scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 4px 0 12px;
}
.cd-other-card {
    flex: 0 0 calc((100% - 20px) / 3);
    max-width: 110px;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    padding: 10px 6px 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}
.cd-other-card::before {
    display: none;
}
.cd-other-card:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(249,108,159,0.1);
    border-color: rgba(249,108,159,0.2);
}
.cd-other-card img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(249,108,159,0.08);
    margin-bottom: 7px;
    transition: all 0.15s ease;
    position: relative;
    z-index: 1;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.cd-other-card:active img {
    border-color: rgba(249,108,159,0.25);
}
.cd-other-card .other-name {
    display: block;
    font-size: 12.5px;
    color: #333;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    z-index: 1;
}
.cd-other-card .other-level {
    display: inline-block;
    font-size: 9.5px;
    color: #f96c9f;
    background: rgba(249,108,159,0.07);
    padding: 1px 7px;
    border-radius: 7px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}
.cd-other-card .other-level {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 500;
}

.cd-more-btn {
    display: block;
    text-align: center;
    padding: 12px 0;
    margin: 8px 16px 0;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: opacity 0.2s, transform 0.15s;
}
.cd-more-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}

/* ==================== 底部 CTA - 全新设计 ==================== */

.counselor-cta {
    position: fixed;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    gap: 10px;
    padding: 8px 16px 4px;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.9) 30%, #fff 100%);
}

.counselor-cta .cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 0;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

/* 拨打电话 - 白底+粉边+图标 */
.counselor-cta .cta-btn.phone {
    background: #fff;
    color: #f96c9f;
    border: 1.5px solid rgba(249,108,159,0.35);
    box-shadow: 0 3px 12px rgba(249,108,159,0.12), 0 1px 3px rgba(0,0,0,0.04);
}
.counselor-cta .cta-btn.phone:active {
    background: #fef5f8;
    border-color: #f96c9f;
    transform: scale(0.97);
    box-shadow: 0 1px 6px rgba(249,108,159,0.08);
}

/* 在线预约 - 渐变实心 */
.counselor-cta .cta-btn.book {
    background: linear-gradient(135deg, #f96c9f 0%, #ffa309 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 18px rgba(249,108,159,0.32), 0 2px 8px rgba(255,163,9,0.2);
}
.counselor-cta .cta-btn.book:active {
    opacity: 0.92;
    transform: scale(0.97);
    box-shadow: 0 2px 10px rgba(249,108,159,0.22);
}

.counselor-cta .cta-btn i { font-size: 17px; }

/* ==================== 咨询师详情页 - 优化补充 ==================== */

/* 详情页标题栏（无返回按钮） */
.cd-page-title {
    text-align: center;
    padding-left: 0;
}

/* 头像区优化 */
.cd-profile {
    background: linear-gradient(180deg, rgba(249,108,159,0.12) 0%, rgba(255,163,9,0.04) 60%, #fff 100%);
    padding: 20px 20px 18px;
}
.cd-profile .cd-avatar {
    width: 96px;
    height: 96px;
    margin-bottom: 14px;
}
.cd-profile .cd-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 6px 20px rgba(249,108,159,0.25);
}
.cd-profile .cd-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.cd-profile .cd-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 18px;
}

/* 统计数字动画感 */
.cd-profile .cd-stats {
    gap: 0;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.7);
    border-radius: 14px;
    padding: 14px 0;
    margin-left: 10px;
    margin-right: 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.cd-profile .cd-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cd-profile .cd-stat span {
    font-size: 11px;
    color: #bbb;
}

/* 标签 */
.cd-profile .cd-tags {
    gap: 8px;
    margin-bottom: 14px;
}
.cd-profile .cd-tag {
    font-size: 11.5px;
    padding: 4px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(249,108,159,0.08), rgba(255,163,9,0.06));
    color: #f96c9f;
    border: 1px solid rgba(249,108,159,0.12);
}

/* 信息块间距微调 - 已合并到上方 */
/* ==================== 联系我们页面 - 全新设计 v2 ==================== */

/* ---- 联系方式卡片列表 ---- */
.ct-contact-list {
    padding: 0 15px;
    margin-bottom: 16px;
}

.ct-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    margin-top: 15px;
}
.ct-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* 图标容器 */
.ct-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
    margin-right: 14px;
}
.ct-icon-wrap.phone   { background: linear-gradient(135deg, #f96c9f, #f783ac); }
.ct-icon-wrap.hotline { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); }
.ct-icon-wrap.email   { background: linear-gradient(135deg, #ffa309, #ff9500); }
.ct-icon-wrap.weixin  { background: linear-gradient(135deg, #07c160, #06ad56); }
.ct-icon-wrap.address { background: linear-gradient(135deg, #7b7de5, #6c5ce7); }
.ct-icon-wrap.time    { background: linear-gradient(135deg, #54a0ff, #2e86de); }

/* 文字区 */
.ct-info {
    flex: 1;
    min-width: 0;
}
.ct-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.ct-info .ct-value {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    display: block;
    margin-bottom: 2px;
    word-break: break-all;
}
.ct-card.phone-card .ct-value {
    color: #f96c9f;
    font-size: 17px;
}
.ct-info .ct-note {
    font-size: 11px;
    color: #aaa;
}

/* 右箭头 */
.ct-arrow {
    color: #ccc;
    font-size: 13px;
    flex-shrink: 0;
}

/* 公司名称徽章 */
.ct-company-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: rgba(249,108,159,0.05);
    border-radius: 10px;
    font-size: 12px;
    color: #999;
    margin-top: -4px;
}
.ct-company-badge i { color: #f96c9f; }

/* ---- 表单区域 ---- */
.ct-form-section {
    margin: 0 15px 20px;
    background: #fff;
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.ct-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
.ct-section-header i {
    font-size: 18px;
    color: #f96c9f;
}
.ct-section-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #222;
}
.ct-section-header span {
    font-size: 12px;
    color: #bbb;
    margin-left: auto;
}

.ct-form .ct-field {
    margin-bottom: 16px;
}
.ct-form label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}
.ct-form label i {
    font-size: 13px;
    color: #f96c9f;
    width: 16px;
    text-align: center;
}
.ct-form label em {
    color: #ff4d4f;
    font-style: normal;
    margin-left: 2px;
}

.ct-form input[type="text"],
.ct-form input[type="tel"],
.ct-form input[type="email"],
.ct-form select,
.ct-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: all 0.25s;
    box-sizing: border-box;
}
.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
    border-color: #f96c9f;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249,108,159,0.08);
}
.ct-form textarea {
    min-height: 90px;
    resize: vertical;
    line-height: 1.6;
}
.ct-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 36px;
}

/* 自定义checkbox */
.ct-agree {
    margin-bottom: 18px;
}
.ct-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    user-select: none;
}
.ct-checkbox input {
    display: none;
}
.ct-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #ddd;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.ct-checkbox input:checked + .checkmark {
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    border-color: transparent;
}
.ct-checkbox input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #fff;
}

/* 提交按钮 */
.ct-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(249,108,159,0.25);
    transition: all 0.25s;
}
.ct-submit-btn:active {
    opacity: 0.9;
    transform: scale(0.98);
}
.ct-submit-btn[disabled] {
    opacity: 0.7;
    pointer-events: none;
}

/* Toast提示 */
.ct-toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: ctToastIn 0.3s ease;
    max-width: 80%;
    text-align: center;
}
.ct-toast.success {
    background: #f0fdf4;
    color: #166534;
    box-shadow: 0 4px 16px rgba(22,101,52,0.15);
}
.ct-toast.error {
    background: #fef2f2;
    color: #991b1b;
    box-shadow: 0 4px 16px rgba(153,27,27,0.15);
}
@keyframes ctToastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---- FAQ区域 ---- */
.ct-faq-section {
    margin: 0 15px 20px;
    background: #fff;
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.ct-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ct-faq-item {
    border: 1.5px solid #f3f3f3;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.ct-faq-item.open {
    border-color: rgba(249,108,159,0.2);
}

.ct-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 16px;
    cursor: pointer;
    user-select: none;
    background: #fafafa;
    transition: background 0.2s;
}
.ct-faq-q:active {
    background: #f5f5f5;
}
.ct-faq-q span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    flex: 1;
}
.ct-faq-q i {
    font-size: 12px;
    color: #bbb;
    transition: transform 0.3s;
    width: 18px;
    text-align: center;
}
.ct-faq-item.open .ct-faq-q i {
    transform: rotate(45deg); /* + → × 效果 */
    color: #f96c9f;
}

.ct-faq-a {
    display: none;
    padding: 0 16px 16px;
}
.ct-faq-item.open .ct-faq-a {
    display: block;
    animation: ctFaqSlide 0.25s ease;
}
.ct-faq-a p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}
@keyframes ctFaqSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- 底部操作栏 ---- */
.ct-bottom-bar {
    position: fixed;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    gap: 10px;
    padding: 8px 16px;
    background: transparent;
}
.ct-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 0;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    letter-spacing: 0.5px;
}
.ct-bar-btn.call {
    background: #fff;
    color: #f96c9f;
    border: 1.5px solid rgba(249,108,159,0.35);
    box-shadow: 0 2px 10px rgba(249,108,159,0.12);
}
.ct-bar-btn.call:active {
    background: #fef5f8;
    transform: scale(0.97);
}
.ct-bar-btn.book {
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    color: #fff;
    box-shadow: 0 4px 16px rgba(249,108,159,0.3);
}
.ct-bar-btn.book:active {
    opacity: 0.92;
    transform: scale(0.97);
}

/* ==================== 关于我们页面 - 全新设计 ==================== */

/* ---- Hero 品牌区 ---- */
.ab-hero {
    position: relative;
    padding: 36px 20px 30px;
    text-align: center;
    overflow: hidden;
}
.ab-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(249,108,159,0.12) 0%, rgba(255,163,9,0.06) 50%, #fff 100%);
    z-index: 0;
}
.ab-hero-content {
    position: relative;
    z-index: 1;
}
.ab-brand-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 20px rgba(249,108,159,0.25);
}
.ab-brand-icon i {
    font-size: 28px;
    color: #fff;
}
.ab-hero-content h1 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}
.ab-slogan {
    font-size: 13px;
    color: #f96c9f;
    font-weight: 500;
    margin-bottom: 16px;
}
.ab-hero-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    border-radius: 2px;
    margin: 0 auto 16px;
}
.ab-intro-text {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    max-width: 320px;
    margin: 0 auto;
}

/* ---- 核心数据 ---- */
.ab-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 15px 16px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ab-stat-item {
    flex: 1;
    text-align: center;
}
.ab-stat-num {
    font-size: 26px;
    font-weight: 700;
    color: #f96c9f;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ab-stat-unit {
    font-size: 14px;
    color: #f96c9f;
    margin-left: 1px;
}
.ab-stat-label {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}
.ab-stat-divider {
    width: 1px;
    height: 40px;
    background: #f0f0f0;
    flex-shrink: 0;
}
.ab-stats-row-2 {
    background: linear-gradient(135deg, #fff0f5, #fff8fc);
    border: 1.5px solid #fce4ec;
}

/* ---- 通用区块 ---- */
.ab-section {
    margin: 0 15px 16px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ab-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.ab-section-head i {
    font-size: 16px;
    color: #f96c9f;
}
.ab-section-head h3 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}
.ab-section-head span {
    font-size: 11px;
    color: #bbb;
    margin-left: auto;
}
.ab-section-more {
    font-size: 12px;
    color: #f96c9f;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.ab-section-more:active { opacity: 0.7; }

/* ---- 理念卡片 ---- */
.ab-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ab-value-card {
    background: #fafafa;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
}
.ab-value-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 17px;
    color: #fff;
}
.ab-value-icon.pink    { background: linear-gradient(135deg, #f96c9f, #f783ac); }
.ab-value-icon.orange  { background: linear-gradient(135deg, #ffa309, #ff9500); }
.ab-value-icon.purple  { background: linear-gradient(135deg, #7b7de5, #6c5ce7); }
.ab-value-icon.green   { background: linear-gradient(135deg, #34d399, #10b981); }
.ab-value-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.ab-value-card p {
    font-size: 11px;
    color: #999;
    line-height: 1.5;
}

/* ---- 服务项目 ---- */
.ab-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ab-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 8px;
    background: #fafafa;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ab-service-item:active {
    transform: scale(0.95);
}
.ab-service-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
}
.ab-service-icon.emotion    { background: linear-gradient(135deg, #f7b2c4, #f87171); }
.ab-service-icon.family     { background: linear-gradient(135deg, #fed7aa, #f59e6a); }
.ab-service-icon.parenting  { background: linear-gradient(135deg, #a7f3d0, #34d399); }
.ab-service-icon.growth    { background: linear-gradient(135deg, #c7d2fe, #818cf8); }
.ab-service-icon.workplace  { background: linear-gradient(135deg, #a5f3fc, #22d3ee); }
.ab-service-icon.crisis     { background: linear-gradient(135deg, #fecaca, #ef4444); }
.ab-service-item span {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

/* ---- 团队 ---- */
.ab-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.ab-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 10px 4px;
    border-radius: 12px;
    transition: transform 0.2s;
}
.ab-team-card:active { transform: scale(0.95); }
.ab-team-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
}
.ab-team-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(249,108,159,0.15);
}
.ab-team-badge {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 6px;
    color: #fff;
    white-space: nowrap;
}
.ab-team-badge.chief  { background: linear-gradient(135deg, #f59e0b, #f97316); }
.ab-team-badge.expert { background: linear-gradient(135deg, #7b7de5, #6c5ce7); }
.ab-team-badge.senior { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.ab-team-card h4 {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}
.ab-team-card p {
    font-size: 10px;
    color: #999;
}

/* ---- 联系方式 ---- */
.ab-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ab-contact-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: #fafafa;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}
a.ab-contact-item:active { background: #f3f3f3; }
.ab-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
    margin-right: 12px;
}
.ab-contact-icon.phone    { background: linear-gradient(135deg, #f96c9f, #f783ac); }
.ab-contact-icon.hotline { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); }
.ab-contact-icon.weixin   { background: linear-gradient(135deg, #07c160, #06ad56); }
.ab-contact-icon.email    { background: linear-gradient(135deg, #ffa309, #ff9500); }
.ab-contact-icon.address { background: linear-gradient(135deg, #7b7de5, #6c5ce7); }
.ab-contact-icon.time    { background: linear-gradient(135deg, #54a0ff, #2e86de); }
.ab-contact-text {
    flex: 1;
    min-width: 0;
}
.ab-contact-label {
    display: block;
    font-size: 11px;
    color: #aaa;
    margin-bottom: 2px;
}
.ab-contact-text strong {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    display: block;
}
.ab-contact-arrow {
    font-size: 12px;
    color: #ccc;
    flex-shrink: 0;
}

/* ---- 底部操作栏 ---- */
.ab-bottom-bar {
    position: fixed;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    gap: 10px;
    padding: 8px 16px;
    background: transparent;
}
.ab-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 0;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}
.ab-bar-btn.call {
    background: #fff;
    color: #f96c9f;
    border: 1.5px solid rgba(249,108,159,0.35);
    box-shadow: 0 2px 10px rgba(249,108,159,0.12);
}
.ab-bar-btn.call:active {
    background: #fef5f8;
    transform: scale(0.97);
}
.ab-bar-btn.book {
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    color: #fff;
    box-shadow: 0 4px 16px rgba(249,108,159,0.3);
}
.ab-bar-btn.book:active {
    opacity: 0.92;
    transform: scale(0.97);
}

/* ==================== 咨询师列表页 - 增强版 ==================== */

/* ---- 搜索栏 ---- */
.cs-search-bar {
    padding: 10px 15px 6px;
    background: #fff;
    display: flex;
    gap: 8px;
    align-items: center;
}
.cs-search-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.cs-search-icon {
    position: absolute;
    left: 12px;
    font-size: 13px;
    color: #bbb;
    pointer-events: none;
    z-index: 1;
}
.cs-search-wrap input {
    width: 100%;
    padding: 10px 36px 10px 34px;
    border: 1.5px solid #eee;
    border-radius: 22px;
    font-size: 14px;
    background: #f7f7f7;
    color: #333;
    transition: all 0.25s;
}
.cs-search-wrap input:focus {
    border-color: #f96c9f;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249,108,159,0.08);
}
.cs-search-clear {
    position: absolute;
    right: 10px;
    font-size: 12px;
    color: #bbb;
    text-decoration: none;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    border-radius: 50%;
}
.cs-search-btn {
    padding: 10px 18px;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    color: #fff;
    border: none;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(249,108,159,0.2);
    transition: opacity 0.2s;
}
.cs-search-btn:active { opacity: 0.85; }

/* ---- 入驻 Banner ---- */
.cs-join-banner {
    display: flex;
    align-items: center;
    margin: 8px 15px 10px;
    padding: 13px 14px;
    background: linear-gradient(135deg, rgba(249,108,159,0.08), rgba(255,163,9,0.06));
    border: 1.5px dashed rgba(249,108,159,0.3);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s;
}
.cs-join-banner:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, rgba(249,108,159,0.14), rgba(255,163,9,0.10));
}
.cs-join-left {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 12px;
}
.cs-join-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(249,108,159,0.2);
}
.cs-join-text {
    display: flex;
    flex-direction: column;
}
.cs-join-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}
.cs-join-text span {
    font-size: 11px;
    color: #999;
}
.cs-join-arrow {
    font-size: 14px;
    color: #f96c9f;
}

/* ---- 筛选栏 ---- */
.cs-filter-bar {
    padding: 12px 16px;
    margin: 0 16px 6px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.cs-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
}
.cs-filter-label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}
.cs-filter-label i { color: #f96c9f; }
.cs-filter-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.cs-filter-scroll::-webkit-scrollbar { display: none; }
.cs-chip {
    flex-shrink: 0;
    padding: 5px 14px;
    background: #f2f2f2;
    color: #666;
    border-radius: 16px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1.5px solid transparent;
}
.cs-chip:active { opacity: 0.7; }
.cs-chip.active {
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    color: #fff;
    font-weight: 600;
    border-color: transparent;
}

/* ---- 结果统计 ---- */
.cs-result-bar {
    padding: 8px 0;
    margin: 0 16px 4px;
}
.cs-result-count {
    font-size: 12px;
    color: #999;
}
.cs-result-count strong { color: #f96c9f; }

/* ---- 咨询师卡片 ---- */
.cs-list {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
/* ===== 咨询师卡片（重写） ===== */
.cs-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.15s, box-shadow 0.15s;
    position: relative;
    overflow: hidden;
}
.cs-card:active {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* 左侧头像 */
.cs-card-left {
    flex-shrink: 0;
    margin-right: 12px;
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}
.cs-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    position: relative;
    overflow: hidden; /* 裁剪超出背景 */
}
.cs-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(249,108,159,0.15);
}
.cs-avatar-level {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.cs-avatar-level.chief  { background: linear-gradient(135deg, #f59e0b, #f97316); }
.cs-avatar-level.expert { background: linear-gradient(135deg, #7b7de5, #6c5ce7); }
.cs-avatar-level.senior { background: linear-gradient(135deg, #3b82f6, #2563eb); }

/* 中间内容区 */
.cs-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cs-card-top {
    /* 不再需要padding-right给价格留位 */
    margin-bottom: 4px;
}
.cs-name-row {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    gap: 8px;
}
.cs-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* 价格标签 - 紧跟名字后面 */
.cs-price-tag {
    background: linear-gradient(135deg, #f96c9f, #ff6b9d);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    box-shadow: 0 2px 8px rgba(249,108,159,0.3);
    white-space: nowrap;
    flex-shrink: 0;
	margin-left: auto !important;
}
.cs-price-tag small {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.85;
}

/* meta 信息行 */
.cs-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 22px;
    flex-wrap: wrap; /* 允许换行 */
}
.cs-meta-left {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap; /* 允许换行防溢出 */
    gap: 5px;
    min-width: 0;
}
.cs-title-inline {
    font-size: 11px;
    color: #f96c9f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.cs-level-tag {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
}
.cs-level-tag.chief  { background: linear-gradient(135deg, #f59e0b, #f97316); }
.cs-level-tag.expert { background: linear-gradient(135deg, #7b7de5, #6c5ce7); }
.cs-level-tag.senior { background: linear-gradient(135deg, #3b82f6, #2563eb); }


.cs-stat {
    font-size: 11px;
    color: #999;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.cs-stat i { font-size: 9px; }


/* 标签 */
.cs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 3px;
}
.cs-tag {
    font-size: 10px;
    padding: 2px 7px;
    background: rgba(249,108,159,0.08);
    color: #f96c9f;
    border-radius: 6px;
}

/* 简介 */
.cs-intro {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 箭头 */
.cs-card-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-left: 8px;
    color: #ccc;
    font-size: 12px;
}

/* ---- 空状态 ---- */
.cs-empty {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.cs-empty-icon {
    width: 60px;
    height: 60px;
    background: #f7f7f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.cs-empty-icon i {
    font-size: 24px;
    color: #ccc;
}
.cs-empty p {
    font-size: 14px;
    color: #999;
    margin-bottom: 14px;
}
.cs-empty-btn {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* ---- 分页 ---- */
.cs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 15px;
}
.cs-page-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    background: #fff;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    transition: all 0.2s;
}
.cs-page-btn:active {
    background: #f96c9f;
    color: #fff;
}
.cs-page-info {
    font-size: 12px;
    color: #bbb;
}

/* ==================== 咨询师入驻申请页 ==================== */

.ca-benefits,
.ca-conditions,
.ca-form-section {
    margin: 0 15px 14px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-top: 15px;
}
.ca-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ca-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #f96c9f, #ffa309);
    border-radius: 2px;
}

/* 入驻优势 */
.ca-benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ca-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #fafafa;
    border-radius: 12px;
}
.ca-benefit-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
}
.ca-benefit-text {
    display: flex;
    flex-direction: column;
}
.ca-benefit-text strong {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}
.ca-benefit-text span {
    font-size: 11px;
    color: #999;
}

/* 入驻条件 */
.ca-condition-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ca-condition-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fafafa;
    border-radius: 10px;
}
.ca-condition-item i {
    color: #34d399;
    font-size: 15px;
    flex-shrink: 0;
}
.ca-condition-item span {
    font-size: 13px;
    color: #555;
}

/* 申请表单 */
.ca-form .ca-field {
    margin-bottom: 15px;
}
.ca-form label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}
.ca-form label i { color: #f96c9f; }
.ca-form label em {
    color: #ff4d4f;
    font-style: normal;
    margin-left: 2px;
}
.ca-form input[type="text"],
.ca-form input[type="tel"],
.ca-form select,
.ca-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: all 0.25s;
    box-sizing: border-box;
}
.ca-form input:focus,
.ca-form select:focus,
.ca-form textarea:focus {
    border-color: #f96c9f;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249,108,159,0.08);
}
.ca-form textarea {
    min-height: 90px;
    resize: vertical;
    line-height: 1.6;
}
.ca-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 36px;
}

/* 自定义checkbox */
.ca-agree { margin-bottom: 18px; }
.ca-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}
.ca-checkbox input { display: none; }
.ca-checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #ddd;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s;
}
.ca-checkbox input:checked + .ca-checkmark {
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    border-color: transparent;
}
.ca-checkbox input:checked + .ca-checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #fff;
}

/* 提交按钮 */
.ca-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f96c9f, #ffa309);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(249,108,159,0.25);
    transition: all 0.25s;
}
.ca-submit-btn:active {
    opacity: 0.9;
    transform: scale(0.98);
}
.ca-submit-btn[disabled] {
    opacity: 0.7;
    pointer-events: none;
}

/* ========== 文章详情页样式 (v2026052707) ========== */

/* 文章头部 */
.article-header {
    padding: 20px 16px;
    background: #fff;
}

/* 分类标签 */
.article-category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #f96c9f, #ff6b8a);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    margin-bottom: 10px;
}

/* 文章标题 */
.article-title {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
    margin: 0 0 12px 0;
}

/* 元信息 */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #999;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item i {
    color: #f96c9f;
}

/* 徽章（置顶/推荐）*/
.meta-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
}

.meta-badge.top {
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    color: #fff;
}

.meta-badge.recommend {
    background: linear-gradient(135deg, #fa8c16, #ffc53d);
    color: #fff;
}

/* 文章封面 */
.article-cover {
    width: 100%;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

/* 文章正文 */
.article-body {
    padding: 20px 16px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.article-body img {
    max-width: 100% !important;
    height: auto !important;
}

/* 操作按钮区 */
.article-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 24px 16px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: 20px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.action-btn i {
    font-size: 24px;
    color: #ccc;
    transition: all 0.3s;
}

.action-btn:hover,
.action-btn.liked {
    color: #f96c9f;
}

.action-btn:hover i,
.action-btn.liked i {
    color: #f96c9f;
}

/* 作者卡片 */
.author-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    margin-top: 24px;
    background: linear-gradient(135deg, #ffe8f0, #fff5e8);
    border-radius: 14px;
}

.author-card img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(249,108,159,0.2);
}

.author-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #333;
}

.author-info p {
    margin: 0;
    font-size: 13px;
    color: #999;
}

/* 上下篇导航 */
.article-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 16px;
    border-bottom: 8px solid #f5f5f5;
}

.nav-prev,
.nav-next {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #f96c9f;
    font-size: 14px;
    max-width: 45%;
    line-height: 1.5;
}

.nav-prev.disabled,
.nav-next.disabled {
    color: #ccc;
    pointer-events: none;
}

/* 相关文章 */
.wap-related-articles {
    padding: 20px 16px;
}

.wap-related-articles h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 16px;
    position: relative;
    padding-left: 14px;
}

.wap-related-articles h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, #f96c9f, #ff6b8a);
    border-radius: 2px;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.related-item:active {
    transform: scale(0.98);
}

.related-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-info h4 {
    font-size: 15px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.related-info span {
    font-size: 12px;
    color: #999;
}

/* ==================== 法律页面 ==================== */
.legal-page { padding: 16px; padding-bottom: 30px; }
.legal-section { margin-bottom: 24px; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.legal-section h3 { font-size: 15px; color: #333; font-weight: 700; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid rgba(249,108,159,0.2); }
.legal-section p { font-size: 13px; color: #555; line-height: 1.8; margin: 0 0 10px; }
.legal-section ul { margin: 8px 0 0; padding-left: 20px; }
.legal-section ul li { font-size: 13px; color: #555; line-height: 1.8; margin-bottom: 4px; }
.legal-date { text-align: right; color: #aaa !important; font-size: 12px !important; margin-top: 12px !important; }

/* ==================== 网站地图页 ==================== */
.sitemap-page { padding: 16px; padding-bottom: 30px; }
.sitemap-section { margin-bottom: 16px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.sitemap-section h3 { font-size: 14px; color: #333; font-weight: 700; padding: 14px 16px; background: linear-gradient(135deg, rgba(249,108,159,0.1), rgba(255,163,9,0.06)); display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(249,108,159,0.12); }
.sitemap-section h3 i { color: #f96c9f; font-size: 16px; }
.sitemap-link { display: block; padding: 12px 16px; font-size: 13px; color: #555; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,0.05); transition: background 0.2s, color 0.2s; }
.sitemap-link:last-child { border-bottom: none; }
.sitemap-link:active { background: rgba(249,108,159,0.08); color: #f96c9f; }

/* ==================== 协议弹窗 ==================== */
.legal-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 9999; display: flex; align-items: flex-end; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.legal-modal-overlay.show { opacity: 1; visibility: visible; }
.legal-modal { background: #fff; width: 100%; max-width: 600px; border-radius: 20px 20px 0 0; max-height: 88vh; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .35s cubic-bezier(0.4,0,0.2,1); }
.legal-modal-overlay.show .legal-modal { transform: translateY(0); }
.legal-modal-header { padding: 18px 20px 14px; border-bottom: 1px solid rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.legal-modal-header h3 { margin: 0; font-size: 16px; font-weight: 700; color: #333; }
.legal-modal-close { width: 32px; height: 32px; border-radius: 50%; background: #f5f5f5; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #999; font-size: 16px; transition: background .2s; }
.legal-modal-close:active { background: #e0e0e0; }
.legal-modal-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 20px; }
.legal-modal-scroll::-webkit-scrollbar { width: 3px; }
.legal-modal-scroll::-webkit-scrollbar-thumb { background: rgba(249,108,159,0.4); border-radius: 2px; }
.legal-modal-footer { padding: 14px 20px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(0,0,0,0.08); flex-shrink: 0; }
.legal-modal-close-btn { width: 100%; padding: 13px; border-radius: 25px; background: linear-gradient(135deg,#ddd,#ccc); color: #fff; font-size: 15px; font-weight: 700; border: none; cursor: not-allowed; transition: all .25s; text-align: center; display: block; }
.legal-modal-close-btn.ready { background: linear-gradient(135deg,#f96c9f,#ffa309); cursor: pointer; box-shadow: 0 4px 14px rgba(249,108,159,.3); }
.legal-modal-close-btn.ready:active { opacity: .85; transform: scale(.98); }

/* 自定义复选框样式 */
.cb-custom { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.cb-custom input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.cb-custom .cb-box { width: 18px; height: 18px; border: 2px solid #ddd; border-radius: 4px; background: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .2s; margin-top: 1px; }
.cb-custom input[type="checkbox"]:checked + .cb-box { background: #f96c9f; border-color: #f96c9f; }
.cb-custom .cb-box::after { content: ''; width: 5px; height: 9px; border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg) translateY(-1px); display: none; }
.cb-custom input[type="checkbox"]:checked + .cb-box::after { display: block; }

/* ==================== 套餐服务页面 ==================== */
/* 套餐优势 - 一排胶囊 */
.package-advantages {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.package-advantages::-webkit-scrollbar { display: none; }

.advantage-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(249,108,159,0.1), rgba(255,163,9,0.06));
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    border: 1px solid rgba(249,108,159,0.2);
    white-space: nowrap;
}

.advantage-item i {
    color: #f96c9f;
    font-size: 14px;
}

/* 套餐导航 - 4个一排 */
.package-nav {
    padding: 16px;
    background: #fff;
    margin-bottom: 12px;
}

.package-nav-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.package-nav-title i {
    color: #f96c9f;
}

.package-nav-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.package-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(206,206,206,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.package-nav-item:active {
    transform: scale(0.96);
}

.package-nav-item.hot {
    background: linear-gradient(135deg, rgba(249,108,159,0.18), rgba(255,163,9,0.10));
    border-color: rgba(249,108,159,0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.package-nav-item.vip {
    background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,184,0,0.08));
    border-color: rgba(255,215,0,0.4);
}

.package-nav-item.special {
    background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(167,139,250,0.06));
    border-color: rgba(139,92,246,0.3);
}

.nav-item-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f96c9f, #ff6b8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    margin-bottom: 6px;
}

.package-nav-item.vip .nav-item-icon {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #8b6914;
}

.package-nav-item.special .nav-item-icon {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.nav-item-info {
    text-align: center;
}

.nav-item-info h4 {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    margin: 0 0 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.hot-tag {
    font-size: 8px;
    padding: 1px 4px;
    background: linear-gradient(135deg, #f96c9f, #ff6b8a);
    color: #fff;
    border-radius: 6px;
}

.nav-item-info p {
    font-size: 10px;
    color: #f96c9f;
    font-weight: 600;
    margin: 0;
}

.package-nav-item.vip .nav-item-info p {
    color: #d4a000;
}

.package-nav-item.special .nav-item-info p {
    color: #8b5cf6;
}

.nav-tip {
    font-size: 8px;
    color: #999;
    font-weight: 400;
    display: block;
    margin-top: 1px;
}

/* 套餐选择页提示 */
.package-tip {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255,87,34,0.35);
    animation: tipPulse 2s ease-in-out infinite;
}

@keyframes tipPulse {
    0%, 100% { box-shadow: 0 2px 6px rgba(255,87,34,0.35); }
    50% { box-shadow: 0 2px 12px rgba(255,87,34,0.6); }
}

/* 套餐列表 */
.wap-package-list {
    padding: 16px;
    padding-bottom: 100px;
}

.package-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.package-card:active {
    transform: scale(0.98);
}

/* 推荐套餐 */
.package-card.recommended {
    border: 2px solid #f96c9f;
    box-shadow: 0 6px 20px rgba(249,108,159,0.15);
}

/* VIP套餐 */
.package-card.vip {
    background: linear-gradient(135deg, #fffbf5, #fff);
    border: 2px solid #ffd700;
}

.package-header {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.package-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #f96c9f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.package-badge.hot {
    background: linear-gradient(135deg, #f96c9f, #ff6b8a);
    color: #fff;
}

.package-badge.vip {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #8b6914;
}

.package-content {
    padding: 16px;
}

.package-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.package-title h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.package-sessions {
    padding: 4px 10px;
    background: rgba(249,108,159,0.1);
    border-radius: 12px;
    font-size: 12px;
    color: #f96c9f;
    font-weight: 600;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.package-price .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.package-price .price {
    font-size: 28px;
    font-weight: 700;
    color: #f96c9f;
}

.package-price .unit {
    font-size: 13px;
    color: #999;
}

.package-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 14px;
}

.package-features {
    background: #fafafa;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 14px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #555;
}

.feature-item i {
    color: #f96c9f;
    font-size: 12px;
}

.feature-item.highlight i {
    color: #ffd700;
}

.package-savings {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(249,108,159,0.1), rgba(255,163,9,0.08));
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #f96c9f;
}

.package-savings.vip {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,184,0,0.1));
    color: #d4a000;
}

/* 套餐底部：立省 + 购买按钮 一排 */
.package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.package-footer .btn {
    padding: 10px 24px;
    font-size: 14px;
    flex-shrink: 0;
}

.package-footer .btn.btn-vip {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #8b6914;
}

.package-footer .btn.btn-vip:active {
    opacity: 0.9;
}

.package-savings.vip {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,184,0,0.1));
    color: #d4a000;
}

.package-actions {
    margin-top: 4px;
}

.package-actions .btn {
    padding: 14px;
    font-size: 15px;
}

/* VIP套餐特殊按钮 */
.package-card.vip .package-actions .btn {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #8b6914;
}

.package-card.vip .package-actions .btn:active {
    opacity: 0.9;
}

/* 套餐说明 */
.package-notes {
    padding: 20px 16px;
    padding-bottom: 100px;
    /* background: #fafafa; */
}

.package-notes h3 {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-notes h3 i {
    color: #f96c9f;
}

.package-notes ul {
    margin: 0;
    padding-left: 20px;
}

.package-notes ul li {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 6px;
}
