/* ===== 页面顶部导航（与 common.css .top-bar 一致） ===== */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 8px;
    height: 48px;
    background: #0350A3;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.top-bar-left .nav-back-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: #fff;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    top: 1px;
}

.top-bar-left .nav-back-icon:active {
    opacity: 0.7;
}

.top-bar-left .nav-back-icon-icon {
    width: 24px;
    height: 24px;
}

.top-bar .logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.top-bar .nav-links a {
    margin-left: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.top-bar .nav-links a:active {
    opacity: 0.7;
}

/* ===== hero 区域 ===== */
.hero {
    background: linear-gradient(160deg, #0350A3 0%, #0350A3 40%, #0350A3 100%);
    color: #fff;
    padding: 32px 20px 28px;
}

.hero h1 {
    font-size: 22px;
    margin-bottom: 6px;
}

.hero p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.6;
}

/* ===== 分类标签 ===== */
.filter-tabs {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 48px;
    z-index: 99;
}

.tabs-inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 12px;
}

.tabs-inner::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    flex-shrink: 0;
    padding: 14px 16px;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.filter-tab.active {
    color: #0350A3;
    font-weight: 700;
    border-bottom-color: #0350A3;
}

/* ===== 服务列表 ===== */
.service-list {
    padding: 16px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
    padding: 0;
    overflow: hidden;
}

.service-card:last-child {
    margin-bottom: 0;
}

.service-card.hidden {
    display: none;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.service-header:active {
    background: #fafafa;
}

.service-icon-wrap {
    width: 72px;
    height: 72px;
    background: #f5f8fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 32px;
}

.service-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title-row {
    gap: 10px;
    margin-bottom: 8px;
    /*background-color: pink;*/
}

.service-title {
    min-width: 0;
    /*background-color: #27ae60;*/
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.service-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.service-price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    /*margin-top: 2px;*/
}

.service-price {
    font-weight: 700;
    font-size: 18px;
    color: #e85d04;
    white-space: nowrap;
}

.arrow-icon {
    font-size: 14px;
    color: #999;
    transition: transform 0.3s ease;
}

.service-desc {
    display: block;
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    text-align: left;
}

.arrow-icon.rotated {
    transform: rotate(180deg);
}

.service-tag {
    width: fit-content;
    display: inline-block;
    padding: 3px 8px;
    background: #e8f1f8;
    color: #0350A3;
    font-size: 11px;
    border-radius: 4px;
}

.service-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.service-detail.open {
    max-height: 600px;
    opacity: 1;
}

.detail-content {
    padding: 16px;
    padding-top: 0;
    background: #fafbfc;
    border-top: 1px solid #f0f0f0;
}

.detail-desc {
    display: block;
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    padding-top: 16px;
    margin-bottom: 14px;
    text-align: left;
}

.detail-section {
    margin-bottom: 14px;
    text-align: left;
}

.detail-section .section-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.scene-item {
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    padding-left: 8px;
    margin-bottom: 4px;
}

.notice-title {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.notice-icon {
    font-size: 14px;
}

.notice-text {
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    padding-left: 20px;
}

.review-card {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    margin: 14px 0;
    border-left: 4px solid #0350A3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    text-align: left;
}

.review-avatar {
    text-align: left;
    font-size: 20px;
}

.reviewer-name {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    flex: 1;
}

.review-date {
    font-size: 11px;
    color: #999;
}

.review-stars {
    font-size: 12px;
    color: #FFB300;
    margin-bottom: 6px;
}

.review-content {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.call-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0350A3, #0350A3);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
}

.call-btn:active {
    opacity: 0.9;
}

/* ===== 服务流程 ===== */
.process-section {
    background: #fff;
    padding: 24px 16px;
    margin-bottom: 12px;
}

.process-section .section-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #0350A3;
    margin-bottom: 20px;
}

.process-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.process-scroll::-webkit-scrollbar {
    display: none;
}

.process-flow {
    display: flex;
    align-items: flex-start;
    padding-bottom: 4px;
}

.process-item {
    display: flex;
    align-items: flex-start;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

.step-icon-wrap {
    width: 48px;
    height: 48px;
    background: #e8f1f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 22px;
}

.step-name {
    font-size: 12px;
    font-weight: 700;
    color: #222;
    margin-bottom: 3px;
}

.step-desc {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}

.process-arrow {
    font-size: 20px;
    color: #0350A3;
    font-weight: bold;
    margin: 12px 8px 0;
}

/* ===== 常见问题 ===== */
.faq-section {
    background: #fff;
    padding: 24px 16px;
    margin-bottom: 12px;
}

.faq-section .section-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #0350A3;
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:active {
    background: #fafafa;
}

.faq-q {
    font-size: 13px;
    font-weight: 700;
    color: #0350A3;
    flex-shrink: 0;
}

.faq-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}

.faq-arrow {
    font-size: 13px;
    color: #999;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-arrow.rotated {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
}

.faq-answer.open {
    max-height: 300px;
    opacity: 1;
}

.faq-answer-content {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
    background: #f8fafc;
}

.faq-a {
    font-size: 13px;
    font-weight: 700;
    color: #0350A3;
    flex-shrink: 0;
}

.faq-answer-text {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

/* ===== 底部 Tab 导航 ===== */
.bottom-tabbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 60px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 200;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: content-box;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #999;
    font-size: 11px;
    text-decoration: none;
    flex: 1;
    height: 60px;
}

.tab-item.active {
    color: #0350A3;
}

.tab-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.tab-item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.tab-text {
    font-size: 11px;
}

.page-bottom-space {
    height: 76px;
}