/**
 * 芯研算 服务管理系统 - 简约科技风
 * 设计：留白、细线、青蓝点缀、少装饰
 */
:root {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --primary: #1d4f91;
    --primary-light: #e7eff9;
    --primary-dark: #123463;
    --accent: #2b7bb9;
    --accent-soft: #e5f1fb;
    --text: #0f172a;
    --text-muted: #64748b;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --footer-bg: #0f172a;
    --footer-text: #94a3b8;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 2px 8px rgba(0,0,0,.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.08);
    --gradient-header: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(165deg, #0f172a 0%, #1e3a5f 50%, #0e7490 100%);
    --gradient-btn: linear-gradient(180deg, #06b6d4 0%, #0891b2 100%);
    --nav-hover: var(--primary);
    --primary-color: var(--primary);
    --secondary-color: var(--accent);
    --accent-color: var(--accent);
}

/* 基础：全局排版 & 防横向溢出 */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ========== 固定布局 · 等比例缩放（大屏） ========== */
.scale-viewport {
    /* 默认不改变页面滚动/布局（小屏会关闭缩放） */
    width: 100%;
    min-height: 100vh;
    overflow: visible;
    position: relative;
}
.scale-viewport.is-scaling {
    width: 100vw;
    height: 100vh;
    overflow: auto;
}
.scale-sizer {
    position: relative;
}
.scale-app {
    transform-origin: top left;
}
body.site-body.page-scale-on {
    /* 只保留 scale-viewport 的滚动条，避免双滚动 */
    overflow: hidden;
}

/* 防止首屏先渲染“未缩放版本”导致闪一下：等首次计算缩放后再显示 */
body.has-scale:not(.page-scale-ready) .scale-app {
    opacity: 0;
}
body.has-scale .scale-app {
    opacity: 1;
    transition: opacity 160ms ease;
}

/* 缩放模式：保持内容铺满（不加外框留边） */
body.site-body.page-scale-on .scale-viewport.is-scaling { background: var(--bg-page); }
body.site-body.page-scale-on .scale-sizer { padding: 0; }
body.site-body.page-scale-on .scale-app {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

body, button, input, textarea, select {
    font-family: var(--font-sans);
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.16s ease, opacity 0.16s ease;
}

a:hover {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted) !important;
}
.site-header .container-fluid,
.site-main .container-fluid:not(.service-list-wrap),
.site-footer .container-fluid { padding-left: 1rem; padding-right: 1rem; width: 100% !important; max-width: 100% !important; }
.hero-section { width: 100%; margin-left: 0; margin-right: 0; }
/* 搜索框：紧凑尺寸，与按钮同高，图标与文字协调 */
.search-form .input-group-text { border-radius: 0.25rem 0 0 0.25rem; }
.search-form .form-control { border-radius: 0 0.25rem 0.25rem 0; }
.site-header .search-input-wrap {
    width: 130px;
}
.site-header .search-input-wrap .input-group-text,
.site-header .search-input-wrap .form-control {
    min-height: 30px;
    height: 30px;
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
    border-color: #dee2e6;
}
.site-header .search-input-wrap .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-header .search-input-wrap .form-control {
    padding-left: 0.35rem;
}
.site-header .top-bar .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ========== 手机端布局 ========== */
@media (max-width: 991px) {
    .site-header .container-fluid,
    .site-main .container-fluid,
    .site-footer .container-fluid { padding-left: 0.75rem; padding-right: 0.75rem; }
    .site-header .nav-link { padding: 0.5rem 0.75rem; }
    .top-bar-inner {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }
    .top-bar-inner .navbar-brand {
        flex: 1 1 auto;
        min-width: 0;
    }
    .nav-main {
        order: 2;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.25rem;
    }
    .top-bar-right {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.5rem;
        min-height: 44px;
        align-items: center;
    }
    .site-header .nav-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .search-form {
        max-width: 140px;
    }
}
@media (max-width: 768px) {
    body.site-body { padding-bottom: env(safe-area-inset-bottom, 1rem); }
    .site-main.pt-nav { padding-top: 88px; }
    .form-control, .form-select { min-height: 44px; font-size: 16px; }
    .btn { min-height: 44px; padding: 0.5rem 1rem; }
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    /* Banner：宽度铺满，高度自适应 */
    .hero-section .hero-banner-img { height: auto !important; object-fit: contain; }
    .section-title { font-size: 22px; margin-bottom: 1rem; padding-bottom: 0; }
    .section-hot-services,
    .section-service-clients { padding: 2rem 1rem !important; }
    .site-main .service-list-wrap { padding-left: 0.75rem; padding-right: 0.75rem; }
    .container-fluid { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
    .site-footer { padding-top: 2rem; padding-bottom: 1.5rem; margin-top: 2.5rem; }
    .footer-copy { padding-top: 0.75rem !important; }

    /* 热门服务二级分类：手机端放大可点区域 */
    .hot-services-visual-inner { padding: 1rem; }
    .hot-tag-item { margin-bottom: 0.5rem; }
    .hot-tag-card { border-radius: 14px; }
    .hot-tag-thumb { padding-top: 62.5%; }
    /* 遮罩弱化，避免整体发黑 */
    .hot-tag-thumb::before { opacity: 0.35; }
    .hot-tag-name {
        font-size: 1rem;
        padding: 0.85rem 0.9rem;
    }
}

body.site-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    background: var(--bg-page);
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(15,23,42,.08);
    z-index: 1030;
}

.site-header .top-bar {
    background: #fff;
    padding: 0.5rem 0;
}

.site-header .navbar-brand {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    transition: opacity 0.2s;
}
.site-header .navbar-brand .brand-logo {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}
.site-header .navbar-brand .brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    color: #0f172a;
    white-space: nowrap;
    max-width: 22vw;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header .navbar-brand:hover {
    color: #0f172a;
    opacity: 0.9;
}

.site-header .nav-link {
    color: #0f172a;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 0.6rem 1rem;
    transition: color 0.2s, background 0.2s;
    border-radius: var(--radius-sm);
}

.site-header .nav-link:hover {
    color: var(--primary);
    background: rgba(14,165,233,.10);
}

.site-header .nav-row {
    background: #fff;
    border-top: 1px solid rgba(226,232,240,.9);
}
.site-header .nav-row .nav-main {
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.35rem 0;
    width: 100%;
}
.site-header .nav-row .nav-main .nav-link {
    font-size: 1.2rem;
    padding: 0.42rem 0.42rem;
}

.site-header .search-input-wrap {
    width: min(280px, 26vw);
}
.site-header .search-input-wrap .input-group-text,
.site-header .search-input-wrap .form-control,
.site-header .search-input-wrap .btn-search {
    min-height: 34px;
    height: 34px;
    padding: 0.35rem 0.6rem;
    font-size: 0.9rem;
    border-color: #dee2e6;
}
.site-header .search-input-wrap .btn-search {
    background: var(--primary);
    color: #fff;
    border-left: 0;
}
.site-header .search-input-wrap .btn-search:hover { background: var(--primary-dark); color: #fff; }
.site-header .search-input-wrap .form-control { border-left: 0; border-right: 0; }
.site-header .search-input-wrap .input-group-text { border-right: 0; }

/* H5（移动端）顶部导航：两行铺满对齐（上：品牌+右对齐搜索；下：左右各两个按钮） */
@media (max-width: 768px) {
    .site-header .top-bar-inner {
        flex-wrap: nowrap;
        align-items: center !important;
    }

    /* 顶栏：品牌（左） + 搜索（右），同一行铺满（用 grid 防止左边被挤没） */
    .site-header .top-bar-cluster {
        display: grid;
        /* 上行：左(品牌) + 右(搜索)；下行：按钮跨两列铺满 */
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        width: 100%;
        column-gap: 10px;
    }

    .site-header .navbar-brand {
        order: 1;
        align-items: center;
        min-width: 0;
        width: 100%;
    }

    .site-header .navbar-brand .brand-logo {
        height: 34px;
    }

    .site-header .navbar-brand .brand-name {
        white-space: nowrap;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
        display: block;
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-header .search-form {
        order: 2;
        margin-left: auto; /* 右对齐 */
        flex: 0 0 auto;
        width: auto;
        justify-self: end;
    }

    .site-header .search-input-wrap {
        width: clamp(220px, 44vw, 420px);
    }

    /* 第二行：按钮铺满一整行，左两右两 */
    .site-header .top-bar-right {
        order: 3;
        grid-column: 1 / -1;
        flex: 0 0 100%;
        width: 100%;
        justify-content: flex-start;
        gap: 14px !important;
        margin-top: 4px;
        flex-wrap: nowrap;
    }

    /* 手机端按钮别变竖排：字号小一点，且不换行 */
    .site-header .top-bar-right .nav-link,
    .site-header .top-bar-right .btn {
        font-size: 0.98rem;
        white-space: nowrap;
    }

    /* 让“登录/个人中心”（第三个）把自己和后面的按钮推到右侧 => 左两右两 */
    .site-header .top-bar-right.d-flex > :nth-child(3) {
        margin-left: auto;
    }

    /* 首页有单独的移动端覆盖（把 search-form 变 100% 且 order=3），这里把它压回“贴右同一行” */
    body.home-page .site-header .search-form {
        width: auto;
        order: 2;
        margin-left: auto;
    }
}

/* H5 窄屏（含 373px）：公司名一行显示全，搜索自动让位 */
@media (max-width: 420px) {
    .site-header .navbar-brand .brand-name {
        /* 不要省略号：宁可让搜索窄一点 */
        overflow: visible;
        text-overflow: clip;
        font-size: 0.92rem;
        letter-spacing: -0.01em;
    }

    .site-header .search-input-wrap {
        width: clamp(140px, 34vw, 220px);
    }
}

/* 极窄屏再压一档（如 360-390） */
@media (max-width: 390px) {
    .site-header .navbar-brand .brand-logo {
        height: 26px;
    }

    .site-header .navbar-brand {
        gap: 6px !important;
    }

    .site-header .navbar-brand .brand-name {
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.1;
        font-size: 0.86rem;
        letter-spacing: -0.01em;
    }

    .site-header .search-input-wrap {
        width: clamp(150px, 36vw, 210px);
    }
}

.site-header .btn-nav-login {
    color: #fff;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.85rem;
}

.site-header .btn-nav-login:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
    border-color: #fff;
}

.site-main {
    flex: 1;
}

/* 固定顶栏时主体留白 */
.pt-nav {
    /* 两行头部高度更高，避免遮挡内容 */
    padding-top: 112px;
}
@media (max-width: 991px) {
    .pt-nav { padding-top: 112px; }
}
@media (max-width: 768px) {
    .pt-nav { padding-top: 120px; }
}

.top-bar .nav-link, .top-bar .nav-extra {
    color: #0f172a;
    font-weight: 600;
    font-size: 1.125rem;
}
.top-bar .nav-extra {
    text-decoration: none;
}
.top-bar .nav-extra:hover { color: var(--primary); }
.search-form .form-control {
    font-size: 0.9rem;
    border-color: #dee2e6;
    background: #ffffff;
}
.search-form .input-group-text {
    background: #ffffff;
    border-color: #dee2e6;
}

/* 搜索联想下拉 */
.search-suggest-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 2px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15,23,42,.22);
    border: 1px solid rgba(226,232,240,.9);
    z-index: 2000;
    overflow: hidden;
    font-size: 0.85rem;
}
.search-suggest-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}
.search-suggest-item {
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #0f172a;
}
.search-suggest-item .suggest-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-suggest-item:hover,
.search-suggest-item.is-active {
    background: #eff6ff;
}
.search-suggest-empty {
    padding: 8px 10px;
    color: #6b7280;
}

/* 公告区 */
.notice-calendar {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background: var(--bg-card);
}

.notice-calendar .card-header {
    background: var(--gradient-header);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border: none;
}

.notice-calendar .card-header a {
    color: rgba(255,255,255,.95);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.notice-calendar .card-header a:hover {
    color: #fff;
    opacity: 1;
}

.notice-calendar .list-group-item {
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    transition: background 0.2s;
}

.notice-calendar .list-group-item:hover {
    background: var(--bg-page);
}

.notice-calendar .list-group-item:last-child {
    border-bottom: none;
}

.notice-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    margin-right: 1rem;
    flex-shrink: 0;
}

.notice-calendar .list-group-item a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.notice-calendar .list-group-item a:hover {
    color: var(--primary);
}

/* 通用内容卡片 */
.content-block {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    height: 100%;
    background: var(--bg-card);
    overflow: hidden;
}

.content-block .card-body {
    padding: 2rem 1.75rem;
}

.content-block .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-block .card-title::before {
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 999px;
    flex-shrink: 0;
    display: inline-block;
    background: #e5e7eb;
}

.content-block .card-text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.content-block .btn-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.content-block .btn-link:hover {
    color: var(--accent);
}

/* 首页核心服务卡片：现代化设计 */
.section-core-services {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f0f4f9 100%);
    position: relative;
    overflow: hidden;
}

.section-core-services::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,.08) 0%, transparent 70%);
    pointer-events: none;
}

.section-core-services::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,.06) 0%, transparent 70%);
    pointer-events: none;
}

.core-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    border: 1px solid rgba(226,232,240,.6);
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
}

.core-card .card-body {
    padding: 2rem 2rem 2.2rem;
}

.core-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1d4f91 0%, #2b7bb9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
}

.core-card .card-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #06b6d4 0%, #0891b2 100%);
    border-radius: 2px;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.core-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15,23,42,.15);
    border-color: rgba(14,165,233,.4);
}

.core-card .card-text {
    margin-bottom: 1.5rem;
    color: #475569;
    line-height: 1.8;
    font-size: 0.95rem;
}

.core-card .btn-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: #06b6d4;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.core-card .btn-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.core-card:hover .btn-link {
    color: #0891b2;
}

.core-card:hover .btn-link::after {
    transform: translateX(4px);
}
}
.card-meta { font-size: 0.85rem; }
.category-tags .btn { margin-right: 0.25rem; margin-bottom: 0.25rem; }

/* Hero 主视觉区 */
.hero-section {
    /* 收紧首屏：减少 banner 下方空隙 */
    margin-bottom: 0.9rem;
    border-radius: 0;      /* 取消圆角，避免上下露出白边 */
    overflow: hidden;
    box-shadow: none;      /* 去掉阴影，让 Banner 与页面齐平 */
}

/* 无轮播时占位块拉高、内容居中，减少上下留空感 */
.hero-section.hero-no-banner {
    min-height: 320px;
    display: flex;
    align-items: stretch;
}

.hero-section.hero-no-banner .hero-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 3rem 2rem;
}

.hero-section .hero-banner-img {
    width: 100%;
    height: auto;
    /* 首屏高度控制：让下面的热门服务能露出来 */
    max-height: 420px;
    background: var(--primary-dark);
    object-fit: contain; /* 完整显示，不裁切 */
}

@media (max-width: 1200px) {
    .hero-section .hero-banner-img { max-height: 360px; }
}

@media (max-width: 768px) {
    .hero-section .hero-banner-img { max-height: 300px; }
}

.hero-section .carousel-caption {
    background: linear-gradient(to top, rgba(15,23,42,.75), transparent);
    padding: 2.5rem;
    border-radius: 0;
}

.hero-section .carousel-caption h5 {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.hero-placeholder {
    background: var(--gradient-hero);
    text-align: center;
    color: #fff;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(14,165,233,.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-placeholder h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
}

.hero-placeholder p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
    position: relative;
}

.hero-placeholder .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--primary);
    border: none;
    box-shadow: var(--shadow-md);
    transition: all 0.2s;
    position: relative;
}

.hero-placeholder .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #fff;
    color: var(--primary-dark);
}

/* 区块标题 */
.section-title {
    font-family: "PingFang SC", "PingFang SC", var(--font-sans);
    font-weight: 500;
    font-size: 28px;
    color: #111;
    letter-spacing: 0;
    position: relative;
    padding-bottom: 0;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* 服务流程 - 现代化设计 */
.section-flow {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 40%, #f0f4f9 100%);
    position: relative;
    overflow: hidden;
}

.section-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14,165,233,.3), transparent);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 1.75rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.flow-item {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(248,250,252,.9) 100%);
    border-radius: 18px;
    padding: 2rem 1.75rem 2.2rem;
    box-shadow: 0 12px 32px rgba(15,23,42,.08);
    border: 1px solid rgba(226,232,240,.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(circle at 0 0, rgba(14,165,233,.05) 0%, transparent 60%);
    pointer-events: none;
}

.flow-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15,23,42,.15);
    border-color: rgba(14,165,233,.4);
}

.flow-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(6,182,212,.3);
}

.flow-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2933;
    position: relative;
    z-index: 1;
}

.flow-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.flow-step-no {
    position: absolute;
    right: 1.5rem;
    bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(148, 163, 184, .4);
    z-index: 0;
}

@media (max-width: 768px) {
    /* 手机端：角标做成“背景水印”，不占文字区域 */
    .flow-item {
        padding-bottom: 2.6rem;
    }
    .flow-step-no {
        right: 0.85rem;
        bottom: 0.65rem;
        font-size: 1.15rem;
        opacity: 0.35;
        pointer-events: none;
    }
}

.flow-arrow {
    display: none;
}

/* 桌面端：卡片之间的箭头连接（不打乱网格结构） */
@media (min-width: 992px) {
    .section-flow .flow-item::after {
        position: absolute;
        color: #c0d0ef;
        font-size: 1.6rem;
        font-weight: 600;
    }
    /* 4 步：第 1-3 个向右箭头 */
    .section-flow .flow-item:nth-child(1)::after,
    .section-flow .flow-item:nth-child(2)::after,
    .section-flow .flow-item:nth-child(3)::after {
        content: '›';
        top: 50%;
        right: -20px;
        transform: translateY(-50%);
    }
    /* 第 4 个不显示箭头 */
    .section-flow .flow-item:nth-child(4)::after { content: none; }
}

@media (max-width: 991px) {
    .flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .flow-grid {
        grid-template-columns: 1fr;
    }
    .flow-item {
        padding: 1.2rem 1.25rem 1.5rem;
    }
}

/* 平台优势 - 现代化翻转卡片 */
.section-advantages {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f0f4f9 100%);
    position: relative;
    overflow: hidden;
}

/* 平台优势：让三张卡片彼此更贴近居中排布 */
.section-advantages .row {
    justify-content: center;
    flex-wrap: nowrap; /* PC 端固定在一行展示 */
    /* 覆盖 Bootstrap g-* 的默认 gutter，让卡片更贴近 */
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
    /* 自适应宽度 */
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

@media (max-width: 991px) {
    /* 小屏仍然允许自动换行，避免挤在一起 */
    .section-advantages .row {
        flex-wrap: wrap;
    }
}

.section-advantages::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,.06) 0%, transparent 70%);
    pointer-events: none;
}

.advantage-card {
    /* 模仿”平台优势卡片”参考样式 .adv-card */
    position: relative;
    width: 100%;
    height: 310px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 2px 35px 0;
    overflow: hidden;
    box-shadow: 0 0 10px #0000000d;
    padding: 2rem 2rem 2.2rem;
    cursor: pointer;
    border: 1px solid rgba(226,232,240,.6);
    transition: all 0.3s ease;
}

.advantage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0 0, rgba(14,165,233,.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(59,130,246,.06) 0%, transparent 50%);
    opacity: 1;
    pointer-events: none;
}

/* 平台优势卡片背景图（后台可配置 3 张） */
.advantage-card.has-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--adv-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.16;
    filter: saturate(1.05) contrast(1.05);
    transform: scale(1.02);
    pointer-events: none;
}

.advantage-card.has-bg:hover::after {
    opacity: 0.22;
}

.advantage-front,
.advantage-back {
    position: relative;
    z-index: 1;
}

.advantage-back {
    position: absolute;
    inset: 0;
    padding: 2rem 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #1d4f91 0%, #2b7bb9 60%, #06b6d4 100%);
    color: #fff;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(15,23,42,.16);
    border-color: rgba(14,165,233,.35);
}

/* 右下角 01 / 02 / 03 SVG 角标（避免与 has-bg::after 冲突） */
.adv-number {
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.95;
    pointer-events: none;
    z-index: 6; /* 压在翻转层之上 */
    filter: drop-shadow(0 10px 18px rgba(15,23,42,.18));
}

/* 注意：卡片外层有 col-md-4 包裹，序号按列来算 */
.section-advantages .row > :nth-child(1) .adv-number {
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%2306b6d4'/%3E%3Cstop offset='100%25' stop-color='%230891b2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='28' cy='28' r='26' fill='url(%23g1)'/%3E%3Ccircle cx='28' cy='28' r='25.2' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='1.6'/%3E%3Ctext x='50%25' y='52%25' text-anchor='middle' dominant-baseline='middle' font-family='system-ui, -apple-system, BlinkMacSystemFont, %22Segoe UI%22' font-size='18' font-weight='800' fill='white'%3E01%3C/text%3E%3C/svg%3E");
}
.section-advantages .row > :nth-child(2) .adv-number {
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g2' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%2338bdf8'/%3E%3Cstop offset='100%25' stop-color='%23256ce5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='28' cy='28' r='26' fill='url(%23g2)'/%3E%3Ccircle cx='28' cy='28' r='25.2' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='1.6'/%3E%3Ctext x='50%25' y='52%25' text-anchor='middle' dominant-baseline='middle' font-family='system-ui, -apple-system, BlinkMacSystemFont, %22Segoe UI%22' font-size='18' font-weight='800' fill='white'%3E02%3C/text%3E%3C/svg%3E");
}
.section-advantages .row > :nth-child(3) .adv-number {
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g3' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23f97316'/%3E%3Cstop offset='100%25' stop-color='%23ea580c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='28' cy='28' r='26' fill='url(%23g3)'/%3E%3Ccircle cx='28' cy='28' r='25.2' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='1.6'/%3E%3Ctext x='50%25' y='52%25' text-anchor='middle' dominant-baseline='middle' font-family='system-ui, -apple-system, BlinkMacSystemFont, %22Segoe UI%22' font-size='18' font-weight='800' fill='white'%3E03%3C/text%3E%3C/svg%3E");
}

.advantage-card:hover .advantage-back {
    opacity: 1;
    transform: scale(1);
}

.advantage-card:hover .advantage-front {
    opacity: 0;
}

/* 桌面端：确保 hover 翻转效果不被移动端覆盖影响 */
@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
    body.home-page .advantage-card {
        cursor: pointer;
    }
    body.home-page .advantage-card:hover .advantage-back {
        display: flex;
        opacity: 1;
        transform: scale(1);
    }
    body.home-page .advantage-card:hover .advantage-front {
        opacity: 0;
    }
}

/* 移动端/触屏：用点击切换翻转（模拟 hover） */
@media (hover: none), (pointer: coarse) {
    .advantage-card.is-flipped .advantage-back {
        display: flex;
        opacity: 1;
        transform: scale(1);
    }
    .advantage-card.is-flipped .advantage-front {
        opacity: 0;
    }
}

.advantage-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 20px rgba(14,165,233,.15);
    position: relative;
    overflow: hidden;
    --adv-icon-color: #0891b2;
}

.advantage-icon::after {
    content: '';
    position: absolute;
    inset: 14px;
    background: var(--adv-icon-color);
    -webkit-mask: var(--adv-icon-mask) center / contain no-repeat;
    mask: var(--adv-icon-mask) center / contain no-repeat;
    opacity: 0.95;
}

.advantage-icon-1 { /* 专业指导：headset */
    --adv-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a8 8 0 0 0-8 8v5a3 3 0 0 0 3 3h1a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H6v-1a6 6 0 1 1 12 0v1h-2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h2a2 2 0 0 1-2 2h-2a1 1 0 0 0 0 2h2a4 4 0 0 0 4-4V11a8 8 0 0 0-8-8Z'/%3E%3C/svg%3E");
}

.advantage-icon-2 { /* 可追溯：clipboard-check */
    --adv-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2a2 2 0 0 0-2 2H6a2 2 0 0 0-2 2v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V6a2 2 0 0 0-2-2h-1a2 2 0 0 0-2-2H9Zm0 2h6v2H9V4Zm8 4H7v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8Zm-1.3 4.6a1 1 0 0 1 0 1.4l-3.6 3.6a1 1 0 0 1-1.4 0l-1.9-1.9a1 1 0 1 1 1.4-1.4l1.2 1.2 2.9-2.9a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E");
}

.advantage-icon-3 { /* 整体方案：layers */
    --adv-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.5a1 1 0 0 1 .5.13l9 5a1 1 0 0 1 0 1.74l-9 5a1 1 0 0 1-1 0l-9-5a1 1 0 0 1 0-1.74l9-5A1 1 0 0 1 12 2.5Zm0 2.15-6.95 3.86L12 12.37l6.95-3.86L12 4.65Zm-8.95 8.2a1 1 0 0 1 1.36-.38L12 16.23l7.59-3.76a1 1 0 1 1 .98 1.74l-8.12 4.02a1 1 0 0 1-.9 0l-8.12-4.02a1 1 0 0 1-.38-1.36Zm0 4a1 1 0 0 1 1.36-.38L12 20.23l7.59-3.76a1 1 0 1 1 .98 1.74l-8.12 4.02a1 1 0 0 1-.9 0l-8.12-4.02a1 1 0 0 1-.38-1.36Z'/%3E%3C/svg%3E");
}

.advantage-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f2933;
    margin: 0;
    letter-spacing: -0.01em;
}

.advantage-back .advantage-icon {
    margin-bottom: 1.2rem;
    background: rgba(255,255,255,.15);
    --adv-icon-color: rgba(255,255,255,.95);
}

.advantage-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.advantage-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.advantage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #06b6d4;
}

@media (max-width: 768px) {
    .advantage-card,
    .advantage-back {
        padding: 1.4rem 1.4rem 1.6rem;
    }
}

/* 不需要下划线装饰 */
.section-title::after { content: none !important; }

/* 服务列表页也统一板块标题样式（不再弱化） */

/* 热门服务区块 - 现代化设计 */
.section-hot-services {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    /* 再收紧一圈高度：标题和内容都更贴合 */
    padding: 1.2rem 1.25rem !important;
    margin: 0 auto 2.2rem;
    border: 1px solid rgba(226,232,240,.5);
    box-shadow: 0 16px 40px rgba(15,23,42,.08);
    position: relative;
    overflow: hidden;
}

.section-hot-services .hot-services-scale {
    /* 不整体缩放，只在内部单独控制左右区域比例 */
    width: 100%;
}

@media (max-width: 1200px) {
    .section-hot-services .hot-services-scale { width: 100%; }
}

@media (max-width: 768px) {
    .section-hot-services .hot-services-scale { width: 100%; }
}

.section-hot-services::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,.06) 0%, transparent 70%);
    pointer-events: none;
}

.section-hot-services::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(6,182,212,.10) 0%, transparent 40%),
        radial-gradient(circle at 10% 85%, rgba(29,79,145,.08) 0%, transparent 45%);
    pointer-events: none;
}

.hot-services-layout {
    display: flex;
    gap: 1.8rem;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

/* 左侧导航宽度变量（与 .hot-services-nav 实际宽度一致） */
.section-hot-services {
    /* 与参考 .table li 同宽：17.5rem */
    --hot-nav-w: 17.5rem;
    --hot-layout-gap: 1.8rem;
    /* 参考里未选中为 #fff 左边线；浅底上用轨道灰替代，选中条用主题色 */
    --hot-nav-track: var(--border);
}
/* 标题与首页其他板块（如「平台优势」）一致：整段居中 */
.section-hot-services .section-title {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
}

.hot-panel {
    position: relative;
    width: 100%;
    display: none;
}

.hot-panel.is-active {
    display: block;
    height: 100%;
}

@keyframes hotCardEnter {
    from { opacity: 0; transform: translateY(14px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hot-panel.is-active.is-anim .hot-tag-item {
    opacity: 1;
    animation: none;
}

/* 错峰入场：最多支持 12 个卡片（不够也没关系） */
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(1) { animation-delay: 40ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(2) { animation-delay: 80ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(3) { animation-delay: 120ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(4) { animation-delay: 160ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(5) { animation-delay: 200ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(6) { animation-delay: 240ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(7) { animation-delay: 280ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(8) { animation-delay: 320ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(9) { animation-delay: 360ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(10) { animation-delay: 400ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(11) { animation-delay: 440ms; }
.hot-panel.is-active.is-anim .hot-tag-item:nth-child(12) { animation-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
    .hot-panel,
    .hot-panel.is-active {
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
    .hot-panel.is-active.is-anim .hot-tag-item {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* 热门服务左侧导航：对齐参考 #app-content .technical .box .table li / .activeTab（尺寸与规则 1:1，颜色用本站主题） */
.hot-services-nav {
    flex: 0 0 17.5rem;
    width: 17.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: sticky;
    top: 92px;
    box-sizing: border-box;
}

.hot-services-nav::before {
    display: none;
}

/* 参考：li 固定宽高 + 左侧竖线（未选中为“轨道色”，选中见 :has） */
.hot-services-nav > li {
    list-style: none;
    margin: 0;
    padding: 0 2rem 0 0;
    width: 17.5rem;
    height: 4.625rem;
    border-left: 0.1875rem solid var(--hot-nav-track);
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: stretch;
    transition: background 0.2s ease, border-left-color 0.2s ease;
}

/* 参考 .activeTab：半透明白底 + 左侧主题色条 + font-weight 500 */
.hot-services-nav > li:has(.hot-nav-item.is-active) {
    background: rgba(255, 255, 255, 0.4);
    border-left-color: var(--primary);
}

.hot-services-nav > li:hover:not(:has(.hot-nav-item.is-active)) {
    background: rgba(255, 255, 255, 0.18);
}

.hot-nav-label {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 参考 .flex-sbc：space-between + 垂直居中 */
.hot-nav-item {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0 0 0 0.75rem;
    text-align: left;
    width: 100%;
    min-height: 100%;
    font-size: 1.125rem;
    font-weight: 400;
    font-family: var(--font-sans);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 0;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
    overflow: visible;
    letter-spacing: 0;
    box-sizing: border-box;
    box-shadow: none;
}

.hot-nav-item:hover:not(.is-active) {
    color: var(--primary);
}

.hot-nav-item.is-active {
    background: transparent;
    color: var(--text);
    font-weight: 500;
}

/* 右侧箭头：加大、加粗、主题色，保证一眼可见 */
.hot-nav-chevron {
    flex-shrink: 0;
    margin-left: 0.35rem;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary);
    opacity: 0.72;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hot-nav-item:hover .hot-nav-chevron {
    opacity: 0.95;
    color: var(--primary-dark);
    transform: translateX(3px);
}

.hot-nav-item.is-active .hot-nav-chevron {
    opacity: 1;
    color: var(--primary-dark);
    font-size: 1.6rem;
}

.hot-nav-item.is-active:hover .hot-nav-chevron {
    color: var(--primary);
    transform: translateX(4px);
}

/* 论文导航：与上同结构 */
a.hot-nav-link,
button.hot-nav-link {
    text-decoration: none;
    color: var(--text);
}

a.hot-nav-link:hover:not(.is-active),
button.hot-nav-link:hover:not(.is-active) {
    color: var(--primary);
}

.hot-services-visual {
    /* 右侧大 box：64% 宽度，左移以对齐标题中线 */
    flex: 0 0 64%;
    width: 64%;
    max-width: 64%;
    margin-left: auto;
    margin-right: auto;
    /* 左移使 box 中线与标题中线（全段居中）对齐，补偿左侧导航占位 */
    transform: translateX(calc(-1 * (var(--hot-nav-w) + var(--hot-layout-gap)) / 2));
    position: relative;
    min-height: 620px;
    height: 620px;
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    /* 外边统一画框：让整体卡片区一眼看齐 */
    border: 1px solid rgba(42,158,213,.35);
    padding: 0.85rem;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(15,23,42,.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: block;
}

.hot-tag-grid {
    /* 覆盖 bootstrap 的 row gutter：控制卡片之间的间隔 */
    --bs-gutter-x: 1.1rem;
    --bs-gutter-y: 1.0rem;
}

.hot-tag-grid {
    align-items: stretch;
}

.hot-tag-item {
    /* 由 row gutter 控制间距，避免额外 margin 导致上下空隙不对称 */
    margin-bottom: 0;
}

.hot-tag-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15,23,42,.12);
    text-decoration: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* 首页热门服务：不要再用 transform 缩放（否则会破坏你要的精确比例/间距） */
.section-hot-services .hot-tag-card {
    transform: none;
    margin: 0;
}

.section-hot-services .hot-tag-card:hover {
    transform: translateY(-6px) rotateX(1.2deg) rotateY(-1.2deg);
}

/* 仅首页热门服务区域：卡片稍微变窄一些，左右留出更多空隙 */
.section-hot-services .hot-tag-item {
    /* 默认 2 列（模拟计算/论文） */
    flex: 0 0 calc(50% - 0.7rem);
    max-width: calc(50% - 0.7rem);
    margin-bottom: 0 !important;
}

/* 实验检测板块：一行 3 个、两行共 6 个 */
.section-hot-services .hot-panel--experiment .hot-tag-item {
    flex: 0 0 calc(33.333% - 0.8rem);
    max-width: calc(33.333% - 0.8rem);
    margin-bottom: 0 !important;
}
/* 实验检测：外边距/起始位置与模拟计算一致（不再整体居中） */
.section-hot-services .hot-panel--experiment .hot-tag-grid {
    justify-content: flex-start !important;
}
/* 实验检测：恢复正常文档流，避免上下大留白 */
.section-hot-services .hot-panel--experiment.is-active {
    display: block;
}

.hot-tag-card::after {
    content: '';
    position: absolute;
    inset: -60% -80%;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 62%);
    transform: translateX(-18%);
    opacity: 0;
    pointer-events: none;
}

.hot-tag-card:hover {
    transform: translateY(-6px) rotateX(1.2deg) rotateY(-1.2deg);
    box-shadow: 0 22px 54px rgba(15,23,42,.18);
}

.hot-tag-card:hover::after {
    opacity: 1;
    animation: hotCardShine 1050ms ease-out both;
}

@keyframes hotCardShine {
    from { transform: translateX(-26%); opacity: 0; }
    15% { opacity: 1; }
    to { transform: translateX(26%); opacity: 0; }
}

.hot-tag-thumb {
    position: relative;
    /* 统一卡片比例，避免上下大块留灰 */
    padding-top: 56%;
    overflow: hidden;
    background: #f0f4f9;
}

/* 首页热门服务：按板块固定纵横比（避免视觉不一致/被压扁） */
.section-hot-services .hot-panel--simulation .hot-tag-thumb {
    padding-top: 56%;
}
.section-hot-services .hot-panel--experiment .hot-tag-thumb {
    padding-top: 52%;
}
.section-hot-services .hot-panel--paper .hot-tag-thumb {
    padding-top: 56%;
}

/* 论文服务：白底小卡片（圆图标 + 标题 + 灰色简介），参考学术风 2×2 宫格 */
.section-hot-services .hot-panel--paper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.section-hot-services .hot-panel--paper::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
    background:
        repeating-linear-gradient(-11deg, transparent 0 44px, rgba(29, 79, 145, 0.035) 44px 45px),
        linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, rgba(241, 245, 249, 0.75) 100%);
}
.section-hot-services .hot-panel--paper .paper-mini-grid {
    position: relative;
    z-index: 1;
}
.section-hot-services .hot-panel--paper .paper-mini-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
    min-height: 0;
    padding: 1.85rem 1.5rem 1.75rem;
    background: #ffffff;
    color: var(--text);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.95);
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.22s ease, border-color 0.2s ease;
    overflow: hidden;
}
.section-hot-services .hot-panel--paper .paper-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
    border-color: rgba(29, 79, 145, 0.18);
    color: var(--text);
}
.section-hot-services .hot-panel--paper .paper-mini-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
    color: #fff;
}
.section-hot-services .hot-panel--paper .paper-mini-card__icon--1 {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 55%, #2563eb 100%);
}
.section-hot-services .hot-panel--paper .paper-mini-card__icon--2 {
    background: linear-gradient(145deg, #047857 0%, #10b981 55%, #34d399 100%);
}
.section-hot-services .hot-panel--paper .paper-mini-card__icon--3 {
    background: linear-gradient(145deg, #c2410c 0%, #ea580c 55%, #fb923c 100%);
}
.section-hot-services .hot-panel--paper .paper-mini-card__icon--4 {
    background: linear-gradient(145deg, #4d7c0f 0%, #84cc16 55%, #a3e635 100%);
}
.section-hot-services .hot-panel--paper .paper-mini-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.6rem;
    line-height: 1.35;
}
.section-hot-services .hot-panel--paper .paper-mini-card__desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #606266;
    flex: 1 1 auto;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
    .section-hot-services .hot-panel--paper .paper-mini-card {
        padding: 1.35rem 1rem 1.2rem;
    }
    .section-hot-services .hot-panel--paper .paper-mini-card__title {
        font-size: 1rem;
    }
    .section-hot-services .hot-panel--paper .paper-mini-card__icon {
        width: 46px;
        height: 46px;
    }
}

.hot-tag-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.10) 100%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}

.hot-tag-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 与商品展示一致：图片等比例缩放且完整显示 */
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .section-hot-services .hot-tag-thumb::before { opacity: 0.35; }
}

.hot-tag-card:hover .hot-tag-thumb img {
    transform: scale(1.08);
}

.hot-tag-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.6rem 0.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3), transparent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    z-index: 2;
}

/* 移动端：左侧分类改为横向滚动胶囊 */
@media (max-width: 991px) {
    .hot-services-layout {
        flex-direction: column;
        gap: 1rem;
    }
    .hot-services-nav {
        position: relative;
        top: auto;
        flex: 0 0 auto;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.5rem;
        padding: 0.4rem 0;
        scroll-snap-type: x mandatory;
    }
    .hot-services-nav::-webkit-scrollbar { height: 6px; }
    .hot-services-nav::-webkit-scrollbar-thumb { background: rgba(29, 79, 145, 0.25); border-radius: 999px; }
    .hot-services-nav > li {
        flex: 0 0 auto;
        scroll-snap-align: start;
        width: auto;
        height: auto;
        min-height: 0;
        border-left: none;
        padding-right: 0;
    }
    .hot-services-nav > li:hover:not(:has(.hot-nav-item.is-active)) {
        background: transparent;
    }
    .hot-nav-item {
        margin: 0;
        border-radius: 999px;
        padding: 0.55rem 1rem;
        border-bottom: none;
        background: var(--primary-light);
        color: var(--text-muted);
        font-size: 0.9rem;
        /* 横向胶囊：去掉桌面端左侧内嵌条 */
        box-shadow: none;
    }
    .hot-nav-item.is-active {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: #fff;
        box-shadow: none;
    }
    .hot-nav-chevron {
        font-size: 1.25rem;
        font-weight: 700;
        opacity: 0.9;
        color: var(--primary);
    }
    .hot-nav-item.is-active .hot-nav-chevron {
        color: #fff;
        opacity: 1;
        font-size: 1.35rem;
        text-shadow: none;
    }
    .hot-services-visual {
        flex: 1 1 auto;
        max-width: 100%;
        transform: none;
    }
}

/* PC 端商品展示：两边留白，内容区收窄居中 */
@media (min-width: 992px) {
    .section-hot-services {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.75rem !important;
        padding-right: 1.75rem !important;
        padding-top: 2.2rem !important;
        padding-bottom: 2.2rem !important;
    }
}

@media (min-width: 992px) {
    .section-hot-services .section-subtitle {
        font-size: 1rem;
    }
}

/* 服务列表页：默认强制收窄居中（避免断点/覆盖导致不生效） */
.site-main .service-list-wrap {
    /* 收窄居中：提升左右留白观感 */
    max-width: min(1440px, 92vw) !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

/* 小屏放开到全宽 */
@media (max-width: 991px) {
    .site-main .service-list-wrap {
        max-width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.btn-more-services {
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
}

/* ========== 服务客户板块（向左滑动） ========== */
.section-service-clients {
    padding: 4rem 0 4.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f0f4f9 100%);
    overflow: hidden;
    position: relative;
}

.section-service-clients::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-service-clients-inner {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.section-service-clients .section-title {
    margin-bottom: 2rem;
}

.clients-rows {
    display: grid;
    gap: 14px;
    align-items: stretch;
}

/* 可见区域只显示约 2 个卡片，避免重复列表时一眼看到 4 个 */
.clients-scroll-wrap {
    margin: 0 auto;
    overflow: hidden;
    max-width: 420px;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.clients-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    padding: 0.75rem 1.25rem;
    animation: clientsScrollLeft 50s linear infinite;
}
.clients-track.clients-track--reverse {
    animation-name: clientsScrollRight;
    animation-duration: 62s;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes clientsScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes clientsScrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.client-card {
    flex-shrink: 0;
    width: 120px;
}

.client-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* 长方形 logo 盒：现代化设计 */
.client-card-inner {
    background: linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.92) 100%);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
    border: 1px solid rgba(226,232,240,.6);
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card:hover .client-card-inner,
.client-card-link:focus .client-card-inner {
    box-shadow: 0 12px 32px rgba(15,23,42,.15);
    transform: translateY(-3px);
    border-color: rgba(14,165,233,.3);
}

.client-logo {
    width: 100px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (min-width: 992px) {
    .section-service-clients-inner {
        max-width: min(1440px, 96vw);
        margin-left: auto;
        margin-right: auto;
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .clients-rows { gap: 18px; }
    .clients-scroll-wrap { max-width: 1120px; }
    .client-card { width: 148px; }
    .client-card-inner {
        width: 148px;
        height: 70px;
        padding: 10px 12px;
    }
    .client-logo { width: 132px; height: 52px; }
}

/* 列表页空状态 */
.empty-state {
    padding: 4rem 1rem;
    text-align: center;
}
.empty-state-card {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 2.5rem 2rem 2.25rem;
}
.empty-state-icon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
}
.empty-state-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
}
.empty-state-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.empty-state .btn {
    border-radius: 999px;
    padding: 0.5rem 1.75rem;
}

/* 服务卡片 - 现代版 */
.service-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg-card);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* 服务列表页：横向滚动展示（5个/行，左右留白居中） */
/* 服务列表页：纵向滚动网格（PC 一行 5 个，居中留白） */
.service-list-wrap .service-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.service-list-wrap .service-card-cell {
    min-width: 0;
}

@media (max-width: 1200px) {
    .service-list-wrap .service-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .service-list-wrap .service-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        align-items: start;
    }
    .service-list-wrap .service-card {
        height: auto !important;
    }
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.service-thumb-link {
    text-decoration: none;
}

.service-thumb {
    width: 100%;
    background: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 1px solid var(--border);
}

.service-thumb-inner {
    position: relative;
    width: 100%;
    padding-top: 66.666%; /* 固定 3:2 比例 */
    overflow: hidden;
}

.service-thumb-inner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.service-card:hover .service-thumb-inner img {
    transform: scale(1.03);
}

.service-card-body {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 3.25rem; /* 为底部悬浮操作区预留空间 */
}

.service-name-row {
    border-bottom: 1px solid var(--border);
    padding: 0.55rem 1rem;
    background: #fff;
}

.service-name-text {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-name-text:hover {
    color: var(--primary);
}

.service-meta-row {
    border-top: 1px solid rgba(42,158,213,.74);
    padding: 0.9rem 1rem 0.5rem;
    font-size: 0.85rem;
    color: #acacac;
    line-height: 1.5;
    text-align: center;
    transition: opacity 0.25s ease;
}
.service-meta-line { line-height: 20px; }
.service-meta-em { color: #2a9ed5; }

.service-price-row {
    border-bottom: none;
    padding: 0.4rem 1rem 0.6rem;
    font-size: 0.9rem;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    justify-content: center;
    transition: opacity 0.25s ease;
}

.service-price-label {
    color: var(--text-muted);
}

.service-price-amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ff0000;
}

.service-price-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.service-actions-row {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    /* 按钮在信息板块中间偏上的位置居中显示 */
    bottom: 1.4rem;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.service-actions-row .btn {
    border-radius: 0;
    border-top: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.84rem;
    padding: 0.5rem 0.9rem;
    white-space: nowrap;
}

.service-actions-row .btn:first-child {
    border-right: 1px solid var(--border);
}

/* 悬停时才展示操作按钮（立即预约 / 加入购物车），覆盖原文案区域 */
.service-card:hover .service-actions-row {
    opacity: 1;
    pointer-events: auto;
}
.service-card:hover .service-meta-row,
.service-card:hover .service-price-row {
    opacity: 0;
}

/* 更“商业化”的按钮观感 */
/* 保持简单按钮样式，避免过于“电商化” */

/* 列表页左侧筛选 */
.filter-card {
    border-radius: 8px;
    border: 1px solid #eee;
}

.filter-card .list-group-item.active {
    background: #f8f9fa;
    border-left: 3px solid var(--nav-hover);
}

.filter-card .list-group-item a {
    color: inherit;
}

/* 分页 */
.pagination-wrap .pagination .page-link {
    border-radius: 4px;
    margin: 0 2px;
}

/* 详情页 */
.detail-cover {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.detail-desc {
    line-height: 1.8;
    color: #495057;
}

/* 登录卡片 */
.login-card {
    border-radius: 8px;
    border: 1px solid #eee;
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, #f5f9ff 0%, #f1f6ff 55%, #eef4ff 100%);
    color: #334155;
    margin-top: 4rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(148,163,184,.25);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 30%, rgba(56,189,248,.18) 0%, transparent 48%),
        radial-gradient(circle at 82% 22%, rgba(99,102,241,.10) 0%, transparent 52%),
        radial-gradient(900px 260px at 60% 10%, rgba(15,23,42,.05) 0%, transparent 60%);
    pointer-events: none;
}

.site-footer .container-fluid {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 10px 0 18px;
    align-items: start;
}

/* 每列：内容块居中，内部文本左对齐 */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-col--brand {
    align-items: center;
    padding-right: 1.25rem;
}

/* 分栏竖线：中间列、右侧列左侧 */
.footer-col--links {
    border-left: 1px solid rgba(148, 163, 184, 0.35);
    padding-left: 1.5rem;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
/* 热门服务：整块在列中居中，标题与列表互相对齐 */
.footer-links-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: fit-content;
    max-width: 100%;
}
.footer-col--links .footer-title {
    text-align: left;
    width: 100%;
    margin-bottom: 10px;
}

.footer-col--qrs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: auto;
    border-left: 1px solid rgba(148, 163, 184, 0.35);
    padding-left: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

/* 页脚 Logo：无底、无边框，仅展示图片（若 PNG 自带白底需换透明底图） */
.footer-brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    overflow: visible;
    display: grid;
    place-items: center;
    padding: 0;
}
.footer-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand-name {
    font-weight: 900;
    font-size: 1.05rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.footer-brand-sub {
    margin-top: 2px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
}

.footer-contact {
    display: grid;
    gap: 8px;
    font-size: 0.9rem;
    color: #334155;
}
.footer-contact-item .v {
    color: #0f172a;
    font-weight: 700;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact-ico {
    width: 20px;
    height: 20px;
    border-radius: 8px;
    background: rgba(14,165,233,.10);
    color: #1d4f91;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.footer-title {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: left;
}

.footer-links {
    display: grid;
    gap: 8px;
    justify-items: start;
    text-align: left;
}

.site-footer a.footer-link {
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}
.site-footer a.footer-link:hover {
    color: #1d4f91;
    transform: translateX(2px);
}
.site-footer .footer-link {
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

.footer-qr-row {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.footer-qr {
    text-align: center;
}
.footer-qr img {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: 0 12px 30px rgba(15,23,42,.10);
    object-fit: cover;
}
.footer-qr-label {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 900;
    color: #475569;
}
.footer-qr-sub {
    margin-top: 8px;
    font-size: 0.84rem;
    color: #64748b;
    font-weight: 700;
    line-height: 1.4;
}
.footer-qr-sub--center {
    text-align: center;
}

.footer-copy {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(148,163,184,.25);
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}
.footer-copy-inner {
    text-align: center;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-col--brand {
        padding-right: 0;
    }
    .footer-col--links {
        border-left: none;
        border-top: 1px solid rgba(148,163,184,.22);
        padding: 14px 0 0;
        margin-top: 8px;
    }
    .footer-col--qrs {
        border-left: none;
        border-top: 1px solid rgba(148,163,184,.22);
        padding: 14px 0 0;
        padding-left: 0;
        margin-top: 8px;
    }
    .footer-qr-row {
        justify-content: flex-start;
    }
    .footer-qr-tip {
        text-align: left;
    }
}

/* ========== 全局增强 ========== */

/* 主色按钮 - 简约科技风 */
.btn-primary {
    background: var(--gradient-btn);
    border: none;
    box-shadow: 0 1px 3px rgba(6,182,212,.25);
    transition: box-shadow 0.2s, transform 0.2s;
}

.btn-primary:hover {
    box-shadow: 0 2px 8px rgba(6,182,212,.35);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-width: 2px;
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-inline: 0.9rem;
    transition: all 0.2s;
}

.btn-outline-primary:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

/* 顶栏“预存有礼”专用：默认就很醒目的实心胶囊按钮 */
.btn-prestore {
    border-width: 0;
    background: var(--gradient-btn);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(8,145,178,.35);
}

.btn-prestore:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    box-shadow: 0 4px 14px rgba(8,145,178,.45);
    transform: translateY(-1px);
}

/* 表单 */
.form-control, .form-select {
    border-radius: 8px;
    border-color: #dee2e6;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(8,145,178,.15);
}

.form-label {
    font-weight: 500;
    color: #495057;
}

/* 提示框 */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success { background: #d4edda; color: #155724; }
.alert-danger { background: #f8d7da; color: #721c24; }
.alert-info { background: #cce5ff; color: #004085; }
.alert-warning { background: #fff3cd; color: #856404; }

/* 通用卡片 - 简约科技风 */
.site-main .card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.site-main .card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.site-main .card-header {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--text);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ========== 登录 / 注册 ========== */
.login-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.login-card .card-body {
    padding: 2rem;
}

.login-card h2 {
    color: #1a2332;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.login-card .btn-primary {
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.login-card .form-control {
    padding: 0.6rem 1rem;
}

.login-card a {
    color: var(--primary-color);
    transition: color 0.2s;
}

.login-card a:hover {
    color: var(--secondary-color);
}

/* ========== 个人中心侧栏 ========== */
.site-main .col-lg-3 .card {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-sm);
}

.site-main .col-lg-3 .list-group-item {
    border-color: #f0f0f0;
    padding: 0.75rem 1.25rem;
    transition: background 0.2s, padding-left 0.2s;
}

.site-main .col-lg-3 .list-group-item.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    font-weight: 600;
    color: #1a2332;
    font-size: 0.9rem;
}

.site-main .col-lg-3 .list-group-item-action:hover {
    background: var(--primary-light);
    padding-left: 1.5rem;
}

.site-main .col-lg-3 .list-group-item-action.active {
    background: var(--primary-light);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.site-main .col-lg-3 .list-group-item.text-danger:hover {
    background: #fff5f5;
}

/* 个人中心主内容 */
.site-main .col-lg-9 h2,
.site-main .page-inner h2.section-title {
    color: #1a2332;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-inner .section-title {
    text-align: left;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.page-inner .section-title::after {
    left: 0;
    transform: none;
}

.site-main h2.h5 {
    color: #1a2332;
    font-weight: 700;
    margin-bottom: 1rem;
}

.site-main .col-lg-9 .card {
    margin-bottom: 1.5rem;
}

.site-main .col-lg-9 .card-body .rounded-circle {
    border: 3px solid var(--primary-light);
}

/* ========== 服务列表页 ========== */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tags .btn {
    border-radius: var(--radius-md);
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.category-tags .btn-primary {
    background: var(--gradient-btn);
    border: none;
    box-shadow: 0 2px 8px rgba(8,145,178,.25);
}

.category-tags .btn-outline-secondary {
    border-color: var(--border);
    color: var(--text-muted);
}

.category-tags .btn-outline-secondary:hover {
    border-color: var(--accent);
    color: var(--primary);
    background: var(--accent-soft);
}

.category-tags .badge {
    background: rgba(255,255,255,.9) !important;
    color: var(--text-muted) !important;
    font-size: 0.75rem;
}

/* 服务列表页：分类按钮一行/两行直接展示，不左右滑 */
.service-list-wrap .category-tags {
    flex-wrap: wrap;
    overflow-x: visible;
}

.service-list-wrap .category-tags .btn {
    /* 字体稍微小一点，让长名字更容易放得下 */
    font-size: 0.85rem;
    line-height: 1.3;
    white-space: normal;
}

/* 模拟计算列表页（PC）：三大方法说明，置于标题与标签/商品网格之间 */
.simulation-method-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}
.simulation-method-intro-card {
    border: 1px solid rgba(226, 232, 240, 0.98);
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    height: 100%;
}
.simulation-method-intro-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 0.65rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.simulation-method-intro-lead,
.simulation-method-intro-more {
    font-size: 0.88rem;
    line-height: 1.72;
    color: #475569;
    margin-bottom: 0.65rem;
}
.simulation-method-intro-label {
    display: inline;
    font-weight: 800;
    color: #0f172a;
    margin-right: 0.35rem;
}
.simulation-method-intro-label::after {
    content: '：';
}

.simulation-method-intro-single {
    border: 1px solid rgba(226, 232, 240, 0.98);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}
.simulation-method-intro-single-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}
.simulation-method-intro-single-lead {
    font-size: 0.88rem;
    line-height: 1.72;
    color: #475569;
    font-weight: 700;
}
.simulation-method-intro-single-more {
    font-size: 0.88rem;
    line-height: 1.72;
    color: #475569;
}

@media (max-width: 991px) {
    .simulation-method-intro-single {
        padding: 0.9rem 0.85rem;
        border-radius: 14px;
    }
    .simulation-method-intro-single-title {
        font-size: 1rem;
    }
}

/* ========== 论文服务：固定四套餐 ==========
   仅 services/list.php?cat=paper 时使用 */
.paper-plans-section {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(226,232,240,.95);
    background: linear-gradient(180deg, rgba(10,53,96,.98) 0%, rgba(15,76,129,.98) 55%, rgba(12,74,110,.98) 100%);
    padding: 1.25rem 1.25rem 1.5rem;
}

.paper-plans-head {
    text-align: center;
    padding: 0.75rem 0.5rem 1.1rem;
}

.paper-plans-title {
    color: rgba(255,255,255,.95);
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.paper-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.paper-plan-card {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: 0 12px 30px rgba(2,6,23,.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 560px;
}

.paper-plan-card.is-featured {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(2,6,23,.25);
    border-color: rgba(14,165,233,.55);
}

.paper-plan-top {
    padding: 1rem 1rem 0.9rem;
}

.paper-plan-title {
    font-weight: 900;
    color: #0f172a;
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.paper-plan-desc {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.65;
    min-height: 4.6em;
    margin-bottom: 0.65rem;
}

.paper-plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.8rem;
}

.paper-plan-price-amount {
    font-weight: 900;
    color: #0f172a;
    font-size: 1.15rem;
}

.paper-plan-price-unit {
    color: #64748b;
    font-weight: 700;
    font-size: 0.85rem;
}

.paper-plan-cta {
    display: block;
    text-align: center;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: var(--gradient-btn);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(8,145,178,.28);
}

.paper-plan-cta:hover {
    color: #fff;
    filter: brightness(1.02);
    transform: translateY(-1px);
}

.paper-plan-features {
    padding: 0.9rem 1rem 1rem;
    border-top: 1px solid rgba(226,232,240,.95);
    background: #fff;
    flex: 1;
}

.paper-plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.paper-plan-features li {
    position: relative;
    padding-left: 1.25rem;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.55;
}

.paper-plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 900;
}

@media (max-width: 1200px) {
    .paper-plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .paper-plan-card { min-height: unset; }
}

@media (max-width: 768px) {
    .paper-plans-section { padding: 1rem 0.9rem 1.25rem; }
    .paper-plans-grid { grid-template-columns: 1fr; }
}

/* ========== 服务详情页 ========== */
.detail-cover {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    overflow: hidden;
}

/* 详情页（按模板） */
.detail-page .detail-shell {
    max-width: 1240px;
    margin: 0 auto;
}

.detail-card {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
    overflow: hidden;
}

.detail-media {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.detail-cover .carousel-inner img {
    max-height: 420px;
    object-fit: contain;
    background: #fff;
}

.detail-cover-img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
    background: #fff;
}

.detail-info {
    padding: 1rem 1.25rem 1.25rem;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.detail-info-cell {
    padding: 0.75rem 0.9rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    min-height: 68px;
}
.detail-info-cell:nth-child(2n) { border-right: none; }
.detail-info-cell:nth-last-child(-n+2) { border-bottom: none; }

.detail-info-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.detail-info-value {
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
    word-break: break-word;
}

.detail-info-cell--price .detail-info-value {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.detail-price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.detail-price-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

.detail-btn-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.detail-btn-row .btn {
    border-radius: 12px;
    font-weight: 800;
    padding: 0.65rem 0.75rem;
    white-space: nowrap;
}

.detail-card-header {
    padding: 0.85rem 1.25rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--border);
    font-weight: 900;
    color: var(--text);
}

.detail-card-body {
    padding: 1rem 1.25rem 1.15rem;
    color: #4b5563;
    line-height: 1.85;
}

.detail-note ul {
    padding-left: 1.15rem;
}

.detail-note-list {
    padding-left: 1.15rem;
    display: grid;
    gap: 0.85rem;
}

.detail-note-list > li {
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.detail-note-title {
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.detail-note-text {
    color: #4b5563;
    line-height: 1.85;
}

.detail-side-card {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
    overflow: hidden;
}

.detail-side-head {
    padding: 0.85rem 1.1rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--border);
    font-weight: 900;
}

.detail-side-body {
    padding: 1rem 1.1rem 1.15rem;
}

.detail-qr-box {
    border: 1px dashed var(--border);
    border-radius: 12px;
    background: #fff;
    /* 纵向排列：二维码居中 + 说明文字在下方（勿用默认 row 导致左右并排错位） */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    min-height: 0;
    height: auto;
    color: var(--text-muted);
    font-weight: 800;
}

.detail-qr-box img {
    display: block;
    max-width: min(200px, 72vw);
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.detail-hotline-label {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
}
.detail-hotline-value {
    font-weight: 900;
    color: var(--primary);
    font-size: 1.05rem;
}

.recommend-list {
    display: grid;
    gap: 0.75rem;
}

.recommend-item {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    padding: 0.55rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

.recommend-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.recommend-thumb {
    width: 68px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommend-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.recommend-name {
    font-weight: 800;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.recommend-price {
    margin-top: 0.2rem;
    font-weight: 900;
    color: var(--accent);
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .detail-btn-row { grid-template-columns: 1fr; }
    .detail-qr-box {
        padding: 0.85rem;
    }
    .detail-qr-box img {
        max-width: min(180px, 68vw);
    }
}

.detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.detail-desc {
    line-height: 1.8;
    color: #495057;
}

.detail-actions .btn {
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.detail-actions .btn-link {
    color: var(--primary-color);
    text-decoration: none;
}

.detail-actions .btn-link:hover {
    color: var(--secondary-color);
}

/* 详情页右侧信息盒子，参考首页服务卡片结构 */
.service-detail-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    background: #fff;
}

.service-detail-card .detail-row {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.service-detail-card .detail-row.title-row {
    background: #f9fafb;
    font-size: 1.1rem;
    font-weight: 700;
}

.service-detail-card .detail-row.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-detail-card .detail-row.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.service-detail-card .detail-row.price-row .label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-detail-card .detail-row.price-row .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.service-detail-card .detail-row.price-row .unit {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-detail-card .detail-row.desc-row {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.8;
}

.service-detail-card .detail-row.actions-row {
    background: #f9fafb;
}

.service-detail-card .detail-row.actions-row .detail-actions {
    margin: 0;
}

.site-main a.text-decoration-none {
    color: var(--primary-color);
    transition: color 0.2s;
}

.site-main a.text-decoration-none:hover {
    color: var(--secondary-color);
}

/* ========== 预约页 ========== */
#accordionNotice .accordion-item {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

#accordionNotice .accordion-button {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a2332;
    border-radius: 12px;
}

#accordionNotice .accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary-color);
    box-shadow: none;
}

#accordionNotice .accordion-body {
    background: #fff;
    border-top: 1px solid #eee;
}

.book-form .card {
    border-radius: 12px;
    overflow: hidden;
}

.book-form .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.book-form .card-body strong.fs-4 {
    color: var(--accent-color);
}

/* ========== 购物车 ========== */
.site-main .table {
    border-radius: 12px;
    overflow: hidden;
}

.site-main .table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: #1a2332;
    border: none;
    padding: 1rem;
}

.site-main .table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

.site-main .table tbody tr:hover {
    background: #f8f9fa;
}

/* ========== 我的订单 ========== */
.site-main .table-responsive {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.site-main .table-bordered {
    border: none;
}

.site-main .table-bordered thead th {
    background: var(--primary-light);
    color: #1a2332;
}

.site-main .table-bordered tbody tr {
    transition: background 0.2s;
}

.site-main .d-flex.gap-2 .form-select,
.site-main .d-flex.gap-2 .form-control {
    border-radius: 8px;
}

/* ========== 我的资产 / 我的预存 / 钱包 ========== */
.page-assets .assets-hero {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #eef9ff 0%, #ffffff 40%, #fef6ff 100%);
    margin-bottom: 1.5rem;
}

.assets-hero-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
}

.assets-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(56,189,248,.35);
}

.assets-user-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
}

.assets-user-phone {
    font-size: 0.9rem;
    color: #6b7280;
}

.assets-user-tag {
    display: inline-flex;
    align-items: center;
    margin-top: 0.35rem;
    padding: 0.1rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 999px;
    background: rgba(59,130,246,.08);
    color: #2563eb;
}

.assets-summary .assets-card {
    border-radius: 14px;
    background: #fff;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.assets-card-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.3rem;
}

.assets-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.assets-card-extra {
    margin-top: 0.35rem;
}

.assets-card-link a {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
}

.assets-card-link a:hover {
    text-decoration: underline;
}

.assets-banner {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-sm);
    background: linear-gradient(135deg, #ffe7ba 0%, #fffbeb 40%, #fff7ed 100%);
}

.assets-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
}

.assets-banner-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #7c2d12;
    margin-bottom: 0.25rem;
}

.assets-banner-sub {
    font-size: 0.9rem;
    color: #92400e;
    margin-bottom: 0.75rem;
}

.assets-banner-btn {
    padding-inline: 1.5rem;
}

.assets-banner-illus {
    width: 120px;
    height: 80px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #f97316 0, transparent 60%), radial-gradient(circle at 70% 80%, #fb923c 0, transparent 55%);
    opacity: 0.8;
}

.assets-orders {
    margin-top: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
}

.assets-orders-header {
    border-bottom: 1px solid var(--border);
}

.assets-tabs {
    display: flex;
    gap: 1.5rem;
}

.assets-tab {
    border: none;
    background: none;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}

.assets-tab.is-active {
    color: #2563eb;
    border-color: #2563eb;
    font-weight: 600;
}

.assets-tab-panel {
    display: none;
}

.assets-tab-panel.is-active {
    display: block;
}

.page-assets .card .card-header:first-child {
    font-size: 1rem;
}

.page-assets .table-hover tbody tr:hover {
    background: #f8f9fa;
}

/* ========== 关于我们 / 联系我们 ========== */
.about-content,
.contact-content {
    max-width: 720px;
    line-height: 1.9;
    color: #495057;
}

.about-content p,
.contact-content p {
    margin-bottom: 1rem;
}

.contact-content strong {
    color: #1a2332;
    min-width: 4em;
    display: inline-block;
}

/* ========== 公告列表 ========== */
.page-notices .list-group-item {
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: background 0.2s;
}

.page-notices .list-group-item:hover {
    background: #f8f9fa;
}

/* ========== 分页 ========== */
.pagination-wrap .pagination {
    gap: 0.25rem;
}

.pagination .page-link {
    border-radius: var(--radius-md);
    padding: 0.5rem 0.9rem;
    color: var(--primary);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.pagination .page-link:hover {
    background: var(--primary-light);
    border-color: var(--accent);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-btn);
    border-color: transparent;
    color: #fff;
}

/* ========== 筛选卡片（列表侧栏） ========== */
.filter-card {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.filter-card .list-group-item.active {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    font-weight: 500;
}

.filter-card .list-group-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.filter-card .list-group-item a:hover {
    color: var(--primary-color);
}

/* ========== 订单详情 / 订单进度 ========== */
.list-group-item {
    transition: background 0.2s;
}

.card .list-group-flush .list-group-item {
    padding: 1rem 1.25rem;
}

/* ========== 响应式 ========== */
/* 顶栏：电脑端一行；手机端同结构单行 + 整条横向滚动，与电脑端效果一致 */
.site-header .top-bar .top-bar-inner {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    justify-content: center;
}
.site-header .top-bar .top-bar-right {
    flex-wrap: nowrap;
    align-items: center;
}
.site-header .top-bar .top-bar-right .nav-link {
    padding: 0.25rem 0.5rem;
    font-size: 1.2rem;
}
.site-header .top-bar .top-bar-right .cart-link {
    /* 购物车只显示图标：避免和文字按钮一样撑开 */
    padding: 0.25rem 0.35rem;
}
.site-header .top-bar .top-bar-right .cart-link svg {
    width: 20px;
    height: 20px;
    display: block;
}
.site-header .top-bar .nav-main {
    flex-wrap: wrap;
    gap: 0.25rem 0;
}

/* 第一行三块（品牌+搜索+操作）成组，用于测量「肉眼宽度」 */
.top-bar-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    width: 100%;
}

/* PC：两行包在 .header-pc-align 内，单列 Grid 列宽 = max(第一行内容宽, 第二行内容宽)，两行同宽，不依赖 JS，任意浏览器缩放一致 */
@media (min-width: 992px) {
    .site-header .site-header-inner {
        /* 与服务列表页 .service-list-wrap 对齐：max-width: min(1440px, 92vw) + 左右 3rem 留白 */
        max-width: min(1440px, 92vw) !important;
        margin-left: auto;
        margin-right: auto;
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .header-pc-align {
        display: grid;
        /* 两行导航需要等长并随外层宽度外扩 */
        grid-template-columns: 1fr;
        justify-content: stretch;
        width: 100%;
        max-width: 100%;
    }
    .header-pc-align > .top-bar,
    .header-pc-align > .nav-row {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }
    .top-bar-cluster {
        flex-wrap: nowrap;
        /* 第一行要和第二行等长：允许占满父宽，只是内部内容保持居中 */
        width: 100%;
        max-width: 100%;
        /* 左侧品牌贴左、搜索居中、右侧操作贴右 */
        justify-content: space-between;
        gap: 0.75rem 1rem;
    }
    .site-header .top-bar .search-form {
        flex: 1 1 auto;
        justify-content: center;
    }
    .site-header .top-bar .top-bar-inner {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .site-header .top-bar .navbar-brand {
        margin-right: 0 !important;
    }
    .site-header .top-bar .top-bar-right {
        margin-left: 0 !important;
    }
    .site-header .top-bar .btn-sm {
        font-size: 1.05rem;
    }
    .site-header .nav-row .nav-main {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        gap: 0.35rem;
        box-sizing: border-box;
        flex-shrink: 0;
    }
    .site-header .nav-row .nav-main .nav-link {
        padding: 0.4rem 0.48rem;
    }
}
/* 搜索框与图标垂直对齐 */
.site-header .search-form .input-group {
    align-items: center;
}
.site-header .search-form .input-group-text,
.site-header .search-form .form-control {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    /* 平板/手机：两行布局 - 首行品牌+操作，次行导航横滑条 */
    .site-header .site-header-inner {
        overflow: visible;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .header-pc-align {
        display: block;
        width: 100%;
    }
    .site-header .top-bar .top-bar-inner {
        flex-wrap: wrap !important;
        gap: 0.5rem 0.5rem;
        align-items: center;
    }
    .top-bar-cluster {
        width: 100%;
    }
    /* 不要在这里截断整行品牌：会与后面 H5 grid 布局冲突，且被 !important 搜索宽度锁死 */
    .site-header .top-bar .navbar-brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        font-size: 0.95rem;
        margin-right: 0;
        overflow: visible;
        text-overflow: clip;
    }
    .site-header .top-bar .top-bar-right {
        flex: 0 0 auto !important;
        margin-left: auto !important;
        gap: 0.4rem !important;
        flex-wrap: nowrap !important;
        flex-shrink: 0;
    }
    /* 第二行：导航横滑条，禁止换行（导航在 .nav-row 内） */
    .site-header .nav-row .nav-main {
        order: 99 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding: 0.4rem 0.75rem;
        margin: 0.35rem 0 0;
        background: var(--bg-page);
        border-radius: var(--radius-md);
        scrollbar-width: none;
    }
    .site-header .nav-row .nav-main::-webkit-scrollbar {
        display: none;
    }
    .site-header .nav-row .nav-main .nav-link {
        white-space: nowrap !important;
        padding: 0.45rem 0.65rem;
        font-size: 0.875rem;
        flex-shrink: 0 !important;
        border-radius: 6px;
    }
    /* 手机端第二行导航是浅色底：文字需要深色，避免看不清 */
    .site-header .nav-row .nav-main .nav-link,
    .site-header .nav-row .nav-main .nav-extra {
        color: var(--text) !important;
        text-shadow: none !important;
        font-weight: 600;
    }
    .site-header .nav-row .nav-main .nav-link:hover {
        background: var(--primary-light);
        color: var(--primary) !important;
    }
    /* 搜索框宽度交给文件前部 H5 专用 @media（768/420/390），避免本段覆盖窄屏 clamp */
    .site-header .top-bar .btn-sm {
        padding: 0.2rem 0.45rem;
        font-size: 0.85rem;
    }
    .site-main.pt-nav {
        padding-top: 110px;
    }
}

@media (max-width: 768px) {
    /* 旧版：这里用 !important 锁死搜索宽度，会覆盖前面 H5 顶栏全部修复，已移除 */
    .site-main.pt-nav { padding-top: 100px; }
}

/* 后台导航：小窗口换行 */
.navbar-nav {
    flex-wrap: wrap;
}
.navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

/* 表格：小窗口横向滚动 */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive table {
    min-width: 600px;
}
@media (max-width: 768px) {
    .table-responsive table { min-width: 500px; }
    .table td, .table th { white-space: nowrap; padding: 0.5rem; font-size: 0.875rem; }
}

/* 订单操作列：小窗口换行 */
.table td:last-child {
    white-space: normal;
}
.table td:last-child a,
.table td:last-child .btn {
    white-space: nowrap;
}
@media (max-width: 768px) {
    .table td:last-child a { display: inline-block; margin: 2px 0; }
}

/* 个人中心：侧栏 + 主内容 */
@media (max-width: 991px) {
    .site-main .row:has(.col-lg-3) { flex-direction: column; }
    .site-main .col-lg-3 { order: -1; margin-bottom: 1rem; max-width: 100%; }
    .site-main .col-lg-9 { max-width: 100%; }
}
.site-main .col-lg-3 .card { margin-bottom: 1rem; }

/* 表单行：小窗口堆叠 */
@media (max-width: 768px) {
    .d-flex.gap-2.flex-wrap { flex-direction: column; align-items: stretch !important; }
    .d-flex.gap-2.flex-wrap .form-select,
    .d-flex.gap-2.flex-wrap .form-control,
    .d-flex.gap-2.flex-wrap .input-group { width: 100% !important; max-width: 100% !important; }
    .btn-group.flex-wrap .btn,
    .btn-group.flex-wrap form { margin-bottom: 0.25rem; }
}

@media (max-width: 768px) {
    .hero-section .hero-banner-img { height: auto !important; object-fit: contain; }
    .pt-nav {
        padding-top: 130px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .login-card .card-body {
        padding: 1.5rem;
    }
    .category-tags .btn {
        font-size: 0.875rem;
    }
    .service-card .card-body {
        padding: 1rem;
    }
    .detail-actions .btn,
    .btn-group .btn,
    .btn-group form {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .btn-group.flex-wrap { display: block; }
}

@media (max-width: 991px) {
    .pt-nav {
        padding-top: 120px;
    }
    .site-main .col-lg-3 {
        margin-bottom: 1.5rem;
    }
}

/* 客户之声 */
.testimonials-section {
    background: #f5f6f8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23e8eaee' fill-opacity='0.4' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
}
.testimonials-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}
.testimonials-subtitle {
    font-size: 0.95rem;
}
.testimonial-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: box-shadow .2s;
}
.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0,102,204,.12);
}
.testimonial-avatar-wrap {
    line-height: 0;
}
.testimonial-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
}
.testimonial-avatar-placeholder {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2c5282 0%, #2b6cb0 100%);
    color: #fff;
    font-size: 1.5rem;
}
.testimonial-avatar-placeholder .icon-user::before {
    content: "👤";
    font-style: normal;
}
.testimonial-name {
    font-weight: 600;
    color: #1a1a1a;
}
.testimonial-content {
    text-align: left;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}
.testimonial-quote {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}
.testimonial-quote-open {
    position: absolute;
    left: 0;
    top: -0.25rem;
}
.testimonial-quote-close {
    display: inline-block;
    margin-left: 0.25rem;
}

/* 客户之声 */
.testimonials-box-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f0f4f9 100%);
    position: relative;
    overflow: hidden;
}

/* 客户之声 - 参考高级样式（上 3 张 + 下 3 张） */
.section-feedback {
    width: 100%;
    min-height: 560px;
    text-align: center;
    padding: 26px 16px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #f0f4f9 100%);
}

.section-feedback::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* 顶部浅色“波纹” */
        radial-gradient(1200px 320px at 50% 12%, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0) 60%),
        radial-gradient(900px 240px at 50% 24%, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0) 62%),
        radial-gradient(700px 180px at 50% 36%, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0) 65%),
        /* 两侧淡淡的蓝绿氛围光 */
        radial-gradient(circle at 14% 22%, rgba(6,182,212,.12) 0%, transparent 48%),
        radial-gradient(circle at 86% 26%, rgba(29,79,145,.10) 0%, transparent 52%);
    pointer-events: none;
}

.section-feedback .headline {
    font-family: "PingFang SC", "PingFang SC", var(--font-sans);
    font-weight: 500;
    font-size: 24px;
    color: #111;
    letter-spacing: 0;
    margin: 0.25rem 0 2px;
    position: relative;
    z-index: 1;
}

.section-feedback .sub-headline {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 2px;
    position: relative;
    z-index: 1;
}

.feedback-wrapper {
    position: relative;
    width: min(1180px, 96vw);
    height: 520px;
    margin: -24px auto 0;
    z-index: 1;
}

.feedback-top-row {
    position: relative;
    height: 330px;
}

.feedback-bottom-row {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    gap: 22px;
    padding: 0 6%;
}

.feedback-card {
    position: absolute;
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: 0 14px 30px rgba(15,23,42,.10);
    overflow: visible;
    text-align: left;
    transition: transform 260ms cubic-bezier(0.2, 0, 0, 1), box-shadow 260ms cubic-bezier(0.2, 0, 0, 1);
    --feedback-avatar-size: 52px;
}

/* 客户之声（桌面端）：改为“轻叠”网格，避免绝对定位乱叠 */
@media (min-width: 992px) {
}

.feedback-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0 0, rgba(6,182,212,.10) 0%, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(29,79,145,.08) 0%, transparent 55%);
    pointer-events: none;
}

.feedback-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 64px rgba(15,23,42,.16);
    z-index: 20;
}

.feedback-card .avatar {
    width: var(--feedback-avatar-size);
    height: var(--feedback-avatar-size);
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    display: block;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,1);
    box-shadow: 0 12px 26px rgba(15,23,42,.14);
    position: absolute;
    left: 50%;
    top: calc(var(--feedback-avatar-size) / -2);
    transform: translateX(-50%);
    z-index: 2;
    background: #fff;
}

.feedback-card .card-content {
    padding: 30px 24px 22px;
    position: relative;
    z-index: 1;
}

.feedback-card .customerName {
    font-weight: 700;
    color: #111827;
    font-size: 1rem;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 12px;
}

.feedback-card .text {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    /* 左侧为前引号预留空间：引号落在第一个字左上角 */
    padding: 6px 16px 10px 30px;
    display: block;
    overflow: visible;
}

/* 文字全显：不做行数截断 */

.feedback-card .yinhao-start,
.feedback-card .yinhao-end {
    position: absolute;
    font-size: 22px;
    font-weight: 700;
    color: rgba(148,163,184,.7);
    line-height: 1;
    pointer-events: none;
}
.feedback-card .yinhao-start {
    left: 10px;
    top: 8px;
}
.feedback-card .yinhao-end {
    right: 18px;
    bottom: 16px;
}

/* 上排三张 */
.feedback-card.left-card {
    left: 0;
    top: 104px;
    width: 33%;
    /* 高度由内容自适应即可，不强行固定 */
    height: auto;
    opacity: 1;
}
.feedback-card.center-card {
    left: 50%;
    top: 76px;
    width: 40%;
    /* 高度由内容自适应 */
    height: auto;
    transform: translateX(-50%);
    z-index: 5;
}
.feedback-card.right-card {
    right: 0;
    top: 104px;
    width: 33%;
    /* 高度由内容自适应 */
    height: auto;
    opacity: 1;
}

.feedback-card.small-card {
    position: relative;
    width: auto;
    flex: 1 1 0;
    /* 底部三张：高度由内容决定，同时整体往上“顶”一点，形成上下叠放效果 */
    height: auto;
    min-height: 156px;
    margin-top: -26px;
    z-index: 0;
    --feedback-avatar-size: 44px;
}

/* （已恢复最初版本）桌面端保留负 margin 叠放 */
.feedback-card.small-card .avatar {
    top: calc(var(--feedback-avatar-size) / -2);
}
.feedback-card.small-card .customerName {
    font-size: 0.95rem;
    margin-top: 6px;
    margin-bottom: 6px;
}
.feedback-card.small-card .card-content {
    /* 头像半露出后，预留顶部空间避免挡住名字 */
    padding: 22px 18px 16px;
}
.feedback-card.small-card .text { font-size: 0.86rem; line-height: 1.65; }

@media (max-width: 991px) {
    .feedback-wrapper {
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 4px 10px;
    }
    .feedback-card {
        position: relative;
        width: 100% !important;
        height: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .feedback-top-row { height: auto; }
    .feedback-bottom-row { position: relative; bottom: auto; padding: 0; flex-direction: column; }
    .feedback-card .text { -webkit-line-clamp: unset; display: block; overflow: visible; }
}

.testimonials-box-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,.06) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-box {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15,23,42,.12);
    border: 1px solid rgba(226,232,240,.5);
    background: linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.92) 100%);
    position: relative;
    z-index: 1;
}

.testimonials-box-header {
    background: linear-gradient(135deg, #1d4f91 0%, #2b7bb9 60%, #06b6d4 100%);
    color: #fff;
    padding: 1.5rem 2rem;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.testimonials-box-body {
    padding: 2.5rem 3rem 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(248,250,252,.95) 100%);
}

.testimonials-box-body .testimonial-card {
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
    border: 1px solid rgba(226,232,240,.6);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.92) 100%);
}

.testimonials-box-body .carousel-inner {
    min-height: 180px;
}

.testimonials-carousel-prev,
.testimonials-carousel-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.92) 100%);
    border: 1px solid rgba(226,232,240,.6);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(15,23,42,.1);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-carousel-prev { left: -12px; }
.testimonials-carousel-next { right: -12px; }

.testimonials-carousel-prev:hover,
.testimonials-carousel-next:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border-color: #06b6d4;
    box-shadow: 0 12px 32px rgba(6,182,212,.3);
    transform: translateY(-50%) scale(1.1);
}

.testimonials-carousel-prev:hover::after,
.testimonials-carousel-next:hover::after {
    color: #fff;
}

.testimonials-indicators {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.testimonials-indicators button {
    width: 18px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition:
        width 220ms cubic-bezier(0.2, 0, 0, 1),
        background-color 220ms cubic-bezier(0.2, 0, 0, 1),
        border-color 220ms cubic-bezier(0.2, 0, 0, 1),
        transform 220ms cubic-bezier(0.2, 0, 0, 1),
        box-shadow 220ms cubic-bezier(0.2, 0, 0, 1);
    cursor: pointer;
    opacity: 1;
}

.testimonials-indicators button:hover {
    background: rgba(14, 165, 233, 0.28);
    border-color: rgba(14, 165, 233, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.testimonials-indicators button.active {
    width: 34px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 0 14px 30px rgba(6, 182, 212, 0.22);
    transform: translateY(-1px);
}

/* 客户之声 - 自动轮播进度条（更高级） */
.testimonials-progress {
    position: relative;
    height: 3px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.8);
    overflow: hidden;
    margin: 0.75rem auto 0;
    width: min(260px, 70%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.testimonials-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #06b6d4 0%, #0891b2 55%, #1d4f91 100%);
    box-shadow: 0 10px 22px rgba(6,182,212,.25);
}

/* 当轮播运行/切换时，JS 会加上 is-running 来驱动动画 */
.testimonials-progress.is-running .testimonials-progress-bar {
    animation: testimonialsProgress var(--t-interval, 5200ms) linear forwards;
}

@keyframes testimonialsProgress {
    from { width: 0%; }
    to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-indicators button {
        transition: none !important;
        transform: none !important;
    }
    .testimonials-progress.is-running .testimonials-progress-bar {
        animation: none !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .testimonials-box-body {
        padding: 2rem 1.5rem 2.5rem;
    }
    .testimonials-carousel-prev { left: 8px; }
    .testimonials-carousel-next { right: 8px; }
}

/* ========== 登录 / 注册页（仿图居中卡片） ========== */
.auth-page .site-header { display: none !important; }
.auth-page .site-footer { display: none !important; }
.auth-page .site-main.pt-nav { padding-top: 0 !important; }

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    position: relative;
}

.auth-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(14,165,233,.18) 0%, transparent 45%),
        radial-gradient(circle at 82% 28%, rgba(8,145,178,.14) 0%, transparent 45%),
        radial-gradient(circle at 65% 82%, rgba(245,158,11,.10) 0%, transparent 50%);
    pointer-events: none;
}

.auth-card {
    position: relative;
    z-index: 1;
}

.auth-card {
    width: min(980px, 100%);
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 18px;
    box-shadow: 0 18px 70px rgba(2, 6, 23, 0.12);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: linear-gradient(180deg, rgba(14,165,233,.12) 0%, rgba(8,145,178,.08) 40%, rgba(255,255,255,.0) 100%);
    border-right: 1px solid rgba(226,232,240,.9);
    position: relative;
}

.auth-left-tabs {
    display: flex;
    gap: 0;
    background: rgba(15, 76, 129, .08);
}

.auth-left-tab {
    flex: 1;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(15, 76, 129, .8);
    text-align: center;
    border-bottom: 1px solid rgba(226,232,240,.9);
}

.auth-left-tab.is-active {
    background: rgba(255,255,255,.9);
    color: var(--primary);
}

.auth-left-body {
    padding: 28px 28px 22px;
}

.auth-left-kicker {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 8px;
}

.auth-left-sub {
    color: var(--text);
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 18px;
}

.auth-left-note {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-left-illus {
    position: relative;
    height: 240px;
    border-radius: 14px;
    background: radial-gradient(circle at 20% 30%, rgba(14,165,233,.28) 0%, transparent 55%),
                radial-gradient(circle at 75% 60%, rgba(245,158,11,.18) 0%, transparent 55%);
    overflow: hidden;
}

.auth-left-blob {
    position: absolute;
    inset: -60px -40px auto auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(8,145,178,.4) 0%, rgba(14,165,233,.12) 55%, transparent 70%);
    filter: blur(0px);
    transform: rotate(10deg);
}

.auth-left-ticket {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: 220px;
    height: 120px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.75) 100%);
    border: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 10px 30px rgba(2,6,23,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.auth-left-ticket-amt {
    font-weight: 900;
    font-size: 2.2rem;
    color: #f59e0b;
    letter-spacing: -0.03em;
}

.auth-left-ticket-text {
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary);
    opacity: 0.9;
}

.auth-right {
    padding: 18px 22px 22px;
}

.auth-right-top {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.auth-right-top--single {
    justify-content: space-between;
}

.auth-switch {
    appearance: none;
    border: 1px solid rgba(226,232,240,.95);
    background: rgba(248,250,252,.9);
    color: rgba(30,41,59,.85);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 999px;
    padding: 8px 12px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}

.auth-switch:hover {
    border-color: rgba(8,145,178,.45);
}

.auth-switch.is-active {
    background: rgba(8,145,178,.12);
    border-color: rgba(8,145,178,.35);
    color: var(--primary);
}

.auth-title {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 6px 0 6px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.auth-view { display: none; }
.auth-view.is-active { display: block; }

.auth-links {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.auth-links a { color: var(--primary); text-decoration: none; font-weight: 700; }
.auth-links a:hover { color: var(--accent); }

.auth-qr {
    margin-top: 18px;
    text-align: center;
}

.auth-qr-box {
    width: 260px;
    height: 260px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid rgba(226,232,240,.95);
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.auth-qr-fake {
    width: 190px;
    height: 190px;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(2,6,23,.12) 1px, transparent 1px) 0 0 / 14px 14px,
        linear-gradient(rgba(2,6,23,.12) 1px, transparent 1px) 0 0 / 14px 14px;
}

.auth-qr-text {
    margin-top: 12px;
    font-weight: 800;
    color: var(--text);
}

.auth-qr-muted {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-agree {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.auth-agree a { color: var(--primary); text-decoration: none; font-weight: 700; }
.auth-agree a:hover { color: var(--accent); }

@media (max-width: 900px) {
    .auth-card { grid-template-columns: 1fr; }
    .auth-left { border-right: none; border-bottom: 1px solid rgba(226,232,240,.9); }
    .auth-right { padding: 16px 18px 18px; }
    .auth-left-body { padding: 22px 18px 18px; }
    .auth-left-illus { height: 200px; }
    .auth-qr-box { width: 220px; height: 220px; }
    .auth-qr-fake { width: 160px; height: 160px; }
}

/* 登录/注册：手机端 H5 优化（更像原生表单页） */
@media (max-width: 768px) {
    .auth-shell {
        padding: 16px 12px 28px;
        align-items: stretch;
    }
    .auth-card {
        width: 100%;
        border-radius: 16px;
        box-shadow: 0 16px 44px rgba(2, 6, 23, 0.12);
    }
    .auth-left-tabs {
        border-radius: 0;
    }
    .auth-left-body {
        padding: 16px 16px 14px;
    }
    .auth-left-kicker {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }
    .auth-left-sub {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    .auth-left-illus {
        height: 140px;
    }
    .auth-right {
        padding: 14px 16px 16px;
    }
    .auth-right-top {
        gap: 10px;
        margin-bottom: 10px;
    }
    .auth-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    .auth-subtitle {
        font-size: 0.9rem;
    }
    .auth-right .form-label {
        font-size: 0.88rem;
        margin-bottom: 6px;
        color: #334155;
        font-weight: 600;
    }
    .auth-right .form-control,
    .auth-right .btn {
        min-height: 44px;
        border-radius: 12px;
    }
    .auth-right .input-group .btn {
        min-height: 44px;
        padding-left: 12px;
        padding-right: 12px;
        white-space: nowrap;
    }
    .auth-right .alert {
        border-radius: 12px;
        font-size: 0.92rem;
    }
    .auth-links .small {
        font-size: 0.82rem;
        line-height: 1.5;
    }
}

/* ========== 个人资料（四 Tab 模板） ========== */
.page-profile .profile-tabs { border-bottom: 2px solid var(--border); }
.page-profile .profile-tabs .nav-link { border: none; color: var(--text-muted); font-weight: 500; padding: 0.6rem 1rem; }
.page-profile .profile-tabs .nav-link:hover { color: var(--primary); }
.page-profile .profile-tabs .nav-link.active { color: var(--primary); border-bottom: 2px solid var(--primary); margin-bottom: -2px; background: transparent; }
.page-profile .profile-avatar { width: 64px; height: 64px; object-fit: cover; }
.page-profile .profile-add-card { text-decoration: none; transition: background .2s, border-color .2s; }
.page-profile .profile-add-card:hover { background: var(--primary-light); border-color: var(--primary) !important; color: var(--primary) !important; }
.page-profile .profile-security-banner { background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%); border: none; }
.page-profile .profile-security-icon { font-size: 2rem; }

/* ========== 右侧浮动条 & 发布需求弹窗 ========== */
.float-bar {
    /* 侧边悬浮：滚到哪里都固定在侧边 */
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.float-robot {
    width: 64px;
    height: 76px;
    padding: 6px 4px 10px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 20% 0%, rgba(255,255,255,.8) 0%, transparent 55%),
        linear-gradient(145deg, #38bdf8 0%, #2563eb 45%, #1d4ed8 100%);
    box-shadow: 0 10px 30px rgba(15,23,42,.38);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    text-align: center;
    position: relative;
}
.float-robot span {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15,23,42,.36);
    font-weight: 700;
    letter-spacing: 0.08em;
}
.float-btns {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 38px rgba(15,23,42,.22);
    /* 弹层（二维码/电话）需要伸出容器，不能裁切 */
    overflow: visible;
    border: 1px solid rgba(226,232,240,.9);
}
.float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 10px;
    color: #0f172a;
    text-decoration: none;
    font-size: 12px;
    border-bottom: 1px solid rgba(226,232,240,.9);
    background: #ffffff;
    transition: background .15s ease, color .15s ease, transform .12s ease;
}

/* 公众号二维码弹层 */
.float-wechat {
    position: relative;
    user-select: none;
}
.float-wechat-pop {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    width: 188px;
    padding: 12px 12px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: 0 18px 50px rgba(15,23,42,.18);
    display: none;
    z-index: 1200;
    text-align: center;
}
.float-wechat-pop img {
    width: 164px;
    height: 164px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.9);
}
.float-wechat-tip {
    margin-top: 8px;
    font-weight: 800;
    font-size: 12px;
    color: #0f172a;
}
/* 小箭头 */
.float-wechat-pop::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,.98);
    border-right: 1px solid rgba(226,232,240,.95);
    border-top: 1px solid rgba(226,232,240,.95);
    transform: translateY(-50%) rotate(45deg);
}
/* hover / focus 出现（不依赖设备 media 判断） */
.float-wechat:hover .float-wechat-pop,
.float-wechat:focus-within .float-wechat-pop { display: block; }
/* 触屏：点击切换 */
.float-wechat.is-open .float-wechat-pop { display: block; }

/* 联系方式弹层 */
.float-contact {
    position: relative;
    user-select: none;
}
.float-contact-pop {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    padding: 12px 12px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: 0 18px 50px rgba(15,23,42,.18);
    display: none;
    z-index: 1200;
    text-align: center;
}
.float-contact-pop::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,.98);
    border-right: 1px solid rgba(226,232,240,.95);
    border-top: 1px solid rgba(226,232,240,.95);
    transform: translateY(-50%) rotate(45deg);
}
.float-contact-kf {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.float-contact-kf-title {
    font-weight: 800;
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px;
}
.float-contact-qr {
    display: block;
    width: 120px;
    height: auto;
    max-width: 100%;
    margin: 0 auto 6px;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #fff;
    object-fit: contain;
}
.float-contact-kf-tip {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    line-height: 1.35;
}
.float-contact-title {
    font-weight: 900;
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px;
}
.float-contact-phone {
    display: inline-block;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: #0f172a;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(14,165,233,.10);
    border: 1px solid rgba(14,165,233,.25);
}
.float-contact-phone:hover {
    background: rgba(14,165,233,.16);
    border-color: rgba(14,165,233,.35);
    color: #0f172a;
}
.float-contact-sub {
    margin-top: 8px;
    font-weight: 800;
    font-size: 12px;
    color: #64748b;
}
.float-contact:hover .float-contact-pop,
.float-contact:focus-within .float-contact-pop { display: block; }
.float-contact.is-open .float-contact-pop { display: block; }
.float-btn:last-child {
    border-bottom: none;
}
.float-btn svg {
    margin-bottom: 4px;
}
.float-btn:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1d4ed8;
    transform: translateY(-1px);
}
.float-btn-primary {
    font-weight: 600;
}
/* 手机端：右侧一列竖向（预存有礼 + 发布需求/联系方式/回到顶部） */
@media (max-width: 768px) {
    .float-bar {
        right: 10px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .float-robot {
        width: 64px;
        height: 64px;
        padding: 6px;
        font-size: 10px;
        border-radius: 14px;
    }
    .float-btns {
        /* 手机端收窄，避免遮挡内容 */
        width: 52px;
        border-radius: 14px;
    }
    .float-btn {
        padding: 10px 6px;
        font-size: 11px;
        /* 只保留图标按钮的点击区域 */
        flex-direction: column;
        justify-content: center;
    }
    .float-btn svg {
        width: 18px;
        height: 18px;
        margin-bottom: 0;
    }
    /* 手机端默认隐藏文字，只显示图标，避免整块变宽 */
    .float-btn span { display: none; }
    .float-wechat-pop {
        right: calc(100% + 10px);
        width: 172px;
        padding: 10px 10px 8px;
    }
    .float-wechat-pop img {
        width: 148px;
        height: 148px;
    }
    .float-contact-pop {
        right: calc(100% + 10px);
        width: 172px;
        padding: 10px 10px 8px;
    }
}

/* ========== 整页缩放模式：强制使用 PC 排版（仅缩放，不重排） ========== */
/* 说明：启用 page-scale-on 时，通常希望“布局保持桌面版一致”，避免触发移动端断点导致结构变化 */
body.page-scale-on .top-bar-inner {
    flex-wrap: nowrap !important;
}
body.page-scale-on .top-bar-right {
    order: 0 !important;
    width: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
}
body.page-scale-on .search-form { max-width: none !important; }
body.page-scale-on .site-main.pt-nav { padding-top: 112px !important; }
body.page-scale-on .container-fluid { padding-left: 1rem !important; padding-right: 1rem !important; }

/* 热门服务：始终保持桌面两栏布局 */
body.page-scale-on .hot-services-layout {
    flex-direction: row !important;
    /* 缩放后保持紧凑，避免空散 */
    gap: 1.75rem !important;
    justify-content: flex-start !important;
}
body.page-scale-on .section-hot-services {
    --hot-nav-w: 17.5rem;
    --hot-layout-gap: 1.75rem;
}
body.page-scale-on .section-hot-services {
    padding: 3.5rem 2.5rem !important;
    max-width: min(1440px, 96vw) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.page-scale-on .hot-services-nav {
    position: sticky !important;
    top: 92px !important;
    flex-direction: column !important;
    overflow: visible !important;
    width: 17.5rem !important;
    flex: 0 0 17.5rem !important;
}
body.page-scale-on .hot-services-visual {
    flex: 0 0 64% !important;
    width: 64% !important;
    max-width: 64% !important;
    min-width: 0 !important;
    min-height: 620px !important;
    height: 620px !important;
    transform: translateX(calc(-1 * (var(--hot-nav-w) + var(--hot-layout-gap)) / 2)) !important;
}
body.page-scale-on .hot-services-visual-inner { padding: 1.5rem !important; }
/* 缩放模式下也保持与正常模式一致的高度比例 */
/* 缩放模式下的热门服务卡片：确保不同板块的纵横比不被覆盖 */
/* 计算板块：四宫格，图片略高一点更饱满 */
.section-hot-services .hot-panel--simulation .hot-tag-thumb {
    padding-top: 48% !important;
}

/* 实验板块：一行 3 个，两行 6 个，需要稍扁一点保证整体不太高 */
.section-hot-services .hot-panel--experiment .hot-tag-thumb {
    padding-top: 100% !important;
}

/* 论文板块：与模拟计算保持同样纵横比（12:18） */
.section-hot-services .hot-panel--paper .hot-tag-thumb {
    padding-top: 48% !important;
}

/* 客户确认版：同一个固定大 box，4 卡/6 卡仅切换内容 */
.section-hot-services .hot-panel.is-active {
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    height: 100% !important;
}
.section-hot-services .hot-panel .hot-tag-grid {
    display: grid !important;
    width: 100%;
    height: 100%;
    margin: 0;
    gap: 14px;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}
.section-hot-services .hot-panel .hot-tag-item {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.section-hot-services .hot-panel--simulation .hot-tag-grid,
.section-hot-services .hot-panel--paper .hot-tag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}
.section-hot-services .hot-panel--experiment .hot-tag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

/* 统一填满网格单元：同一大 box 下 4 卡与 6 卡都能铺满 */
.section-hot-services .hot-panel.is-active .hot-tag-card,
.section-hot-services .hot-panel--paper.is-active .paper-mini-card {
    height: 100%;
}
.section-hot-services .hot-panel.is-active .hot-tag-thumb {
    height: 100% !important;
    padding-top: 0 !important;
}
.section-hot-services .hot-panel.is-active .hot-tag-thumb img {
    object-fit: cover;
    object-position: center;
}

/* 模拟计算中补位用的空框：保持外观一致，但无内容/交互 */
.section-hot-services .hot-tag-card--empty {
    box-shadow: 0 8px 20px rgba(15,23,42,.08);
}
.section-hot-services .hot-tag-card--empty .hot-tag-thumb {
    background: linear-gradient(180deg, #f3f6fb 0%, #e9eef5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-hot-services .hot-tag-empty-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #47607f;
    border: 1px dashed rgba(71,96,127,.35);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    background: rgba(255,255,255,.85);
}
body.page-scale-on .hot-tag-name { font-size: 0.95rem !important; padding: 0.8rem 1rem !important; }
body.page-scale-on .hot-nav-item {
    border-radius: 0 !important;
    padding: 0 0 0 0.75rem !important;
}

/* 手机端按钮可点击区恢复桌面展示（避免缩放后按钮文案消失） */
body.page-scale-on .float-btn span { display: inline !important; }
body.page-scale-on .float-btns { width: auto !important; }

#msgModal .modal-content {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(15,23,42,.3);
}
#msgModal .modal-header {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    border-bottom: none;
}
#msgModal .modal-title {
    font-weight: 800;
    letter-spacing: 0.04em;
}
#msgModal .modal-body {
    background: radial-gradient(circle at 0 0, rgba(248,250,252,.8) 0%, transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(254,242,242,.9) 0%, transparent 55%),
                #ffffff;
}
.msg-modal-dialog {
    max-width: 520px;
}
.msg-modal-services {
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(248,250,252,.9);
    border: 1px dashed rgba(248,113,113,.5);
}
.msg-modal-top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
}
.msg-modal-qr {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 10px 10px 8px;
    border-radius: 12px;
    background: rgba(248,250,252,.9);
    border: 1px dashed rgba(59,130,246,.45);
}
.msg-modal-qr img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.95);
}
.msg-modal-qr-title {
    font-weight: 900;
    font-size: 0.95rem;
    color: #0f172a;
    line-height: 1.2;
}
.msg-modal-qr-sub {
    font-weight: 700;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .msg-modal-top-row {
        grid-template-columns: 1fr 180px;
        gap: 12px;
    }
    .msg-modal-qr img {
        width: 150px;
        height: 150px;
    }
}
.msg-modal-services li {
    margin-bottom: 2px;
}
.msg-modal-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.msg-list-box {
    min-height: 140px;
    max-height: 220px;
    overflow-y: auto;
    background: #f9fafb;
    border-radius: 12px;
    padding: 8px 10px;
}
.msg-list-box .msg-item-me {
    text-align: right;
}
.msg-list-box .msg-item-me div:last-child {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #dbeafe;
}
.msg-list-box .msg-item-staff div:last-child {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fee2e2;
}

/* 首页 H5 首版（仅首页生效） */
@media (max-width: 768px) {
    /* 全站 H5 基础：更舒服的移动端排版 */
    body.site-body {
        background: #f4f7fb;
    }
    body.site-body .container,
    body.site-body .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    body.site-body .site-header {
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    }
    body.site-body .site-main.pt-nav {
        /* fixed header 下，避免标题/锚点被遮挡 */
        padding-top: 160px !important;
    }
    body.site-body {
        scroll-padding-top: 168px;
    }
    body.site-body h1,
    body.site-body h2,
    body.site-body h3,
    body.site-body [id] {
        scroll-margin-top: 168px;
    }
    body.site-body .card,
    body.site-body .alert,
    body.site-body .modal-content {
        border-radius: 14px;
    }
    body.site-body .btn {
        border-radius: 12px;
    }
    body.site-body .form-control,
    body.site-body .form-select,
    body.site-body .input-group-text {
        border-radius: 12px;
    }
    body.site-body .form-control,
    body.site-body .form-select {
        min-height: 42px;
        font-size: 0.95rem;
    }
    body.site-body .btn {
        min-height: 42px;
        font-size: 0.95rem;
        padding: 0.55rem 0.9rem;
    }

    /* 表格：手机端横向滚动，避免挤爆 */
    body.site-body table {
        max-width: 100%;
    }
    body.site-body .table-responsive,
    body.site-body .table {
        -webkit-overflow-scrolling: touch;
    }

    /* 顶部导航：胶囊化，易点 */
    body.site-body .site-header .nav-row {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.site-body .site-header .nav-row .nav-main {
        flex-wrap: nowrap;
        white-space: nowrap;
        min-width: max-content;
        gap: 4px;
        padding-bottom: 2px;
    }
    body.site-body .site-header .nav-row .nav-main .nav-link {
        border-radius: 999px;
        padding: 0.38rem 0.78rem;
        font-size: 0.86rem;
        background: #f3f6fb;
    }

    /* 右侧工具条：手机端弱化体积（配合脚本右下角定位） */
    #floatBar {
        z-index: 1035;
    }
    #floatBar .float-btns {
        width: 46px;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(15,23,42,.16);
    }
    #floatBar .float-btn {
        padding: 8px 4px;
    }
    #floatBar .float-btn svg {
        width: 17px;
        height: 17px;
    }
    #floatBar .float-robot {
        display: none;
    }

    /* 服务列表页：标签横滑 + 卡片两列（H5 卡片压低：更扁图 + 减留白 + 去掉为 PC hover 预留的底部空档） */
    .service-list-wrap .section-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem !important;
    }
    .service-list-wrap .category-tags {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }
    .service-list-wrap .category-tags .btn {
        flex: 0 0 auto;
        border-radius: 999px;
        padding: 0.42rem 0.85rem;
        min-height: 38px;
        font-size: 0.88rem;
    }
    .service-list-wrap .service-cards-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        /* 关键：不要按行强制等高，避免矮内容卡片被同行最高卡「撑成长条空白」 */
        align-items: start;
    }
    .service-list-wrap .service-card {
        border: 1px solid rgba(226, 232, 240, 0.95);
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.055);
        overflow: hidden;
        border-radius: 14px;
        height: auto !important;
        min-height: 0;
        background: #fff;
    }
    .service-list-wrap .service-thumb {
        border-bottom: 1px solid rgba(241, 245, 249, 0.95);
    }
    .service-list-wrap .service-thumb-inner {
        padding-top: 44%;
    }
    .service-list-wrap .service-card .card-body {
        padding: 0 !important;
    }
    .service-list-wrap .service-card-body {
        padding-bottom: 0.2rem;
    }
    .service-list-wrap .service-name-row {
        padding: 0.32rem 0.42rem 0.28rem;
        border-bottom: 1px solid rgba(241, 245, 249, 0.98);
        background: #fff;
    }
    .service-list-wrap .service-name-text {
        font-size: 0.78rem;
        font-weight: 800;
        line-height: 1.25;
    }
    .service-list-wrap .service-meta-row {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-items: center;
        column-gap: 0.32rem;
        row-gap: 0.06rem;
        padding: 0.22rem 0.38rem 0.2rem;
        font-size: 0.62rem;
        color: #94a3b8;
        border-top: 1px solid rgba(14, 165, 233, 0.2);
        background: linear-gradient(180deg, rgba(248, 250, 252, 0.65) 0%, #fff 100%);
    }
    .service-list-wrap .service-meta-line {
        line-height: 1.22;
        flex: 0 1 auto;
        max-width: 100%;
        text-align: center;
    }
    .service-list-wrap .service-meta-em {
        color: #0ea5e9;
        font-weight: 800;
    }
    .service-list-wrap .service-price-row {
        padding: 0.12rem 0.42rem 0.28rem;
    }
    .service-list-wrap .service-price-amount {
        font-size: 0.88rem;
    }
    .service-list-wrap .service-price-unit {
        font-size: 0.64rem;
    }
    .service-list-wrap .service-actions-row {
        bottom: 0.35rem;
        gap: 0.35rem;
    }
    .service-list-wrap .service-actions-row .btn {
        width: 100%;
        font-size: 0.72rem;
        padding: 0.35rem 0.4rem;
        min-height: 0;
    }

    /* 个人中心侧栏：手机端变成“宫格入口”风格（不改结构，纯样式） */
    .page-inner .section-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    aside.col-lg-3 .card {
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    aside.col-lg-3 .list-group {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        background: transparent;
        padding: 0;
    }
    aside.col-lg-3 .list-group-item.bg-light {
        grid-column: 1 / -1;
        border: 0;
        background: transparent !important;
        padding: 6px 2px;
        color: #64748b;
    }
    aside.col-lg-3 .list-group-item-action {
        border: 1px solid rgba(226,232,240,.95);
        border-radius: 12px;
        background: #fff;
        text-align: center;
        padding: 10px 6px;
        font-size: 0.86rem;
        line-height: 1.2;
    }
    aside.col-lg-3 .list-group-item-action.text-danger {
        border-color: rgba(244,63,94,.25);
        background: rgba(255,241,242,.85);
    }

    body.home-page {
        background: #f4f7fb;
    }
    body.home-page .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    body.home-page .site-main.pt-nav {
        /* 首页头部两行内容较高，避免 banner 被 fixed header 遮挡 */
        padding-top: 160px !important;
    }
    body.home-page .site-header {
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    }
    body.home-page .site-header .top-bar-inner {
        gap: 8px;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    body.home-page .site-header .brand-name {
        font-size: 0.92rem;
    }
    /* 与全站 H5 顶栏 grid 一致：搜索与品牌同一行、贴右 */
    body.home-page .site-header .search-form {
        width: auto;
        order: 2;
        margin-left: auto;
    }
    body.home-page .site-header .top-bar-right {
        gap: 8px !important;
    }
    body.home-page .site-header .nav-row {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.home-page .site-header .nav-row .nav-main {
        flex-wrap: nowrap;
        white-space: nowrap;
        min-width: max-content;
        padding-bottom: 2px;
        gap: 4px;
    }
    body.home-page .site-header .nav-row .nav-main .nav-link {
        border-radius: 999px;
        padding: 0.38rem 0.78rem;
        font-size: 0.86rem;
        background: #f3f6fb;
    }
    body.home-page .site-header .nav-row .nav-main .nav-link:hover {
        background: #e8eef8;
    }

    body.home-page .hero-section {
        border-radius: 14px;
        overflow: hidden;
        margin: 8px 0 10px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    }
    body.home-page .hero-section .hero-banner-img {
        height: 180px !important;
        object-fit: cover !important;
    }
    body.home-page .carousel-indicators {
        margin-bottom: 0.45rem;
    }

    body.home-page .container-fluid.py-4,
    body.home-page .section-hot-services,
    body.home-page .section-advantages,
    body.home-page .section-service-clients,
    body.home-page .section-feedback,
    body.home-page .section-flow {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        border-radius: 14px;
        background: #ffffff;
        margin-bottom: 10px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    }

    body.home-page .section-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem !important;
    }
    body.home-page .section-subtitle {
        font-size: 0.86rem;
        margin-bottom: 0.95rem !important;
    }

    body.home-page .notice-calendar {
        border-radius: 14px;
        margin: 0 2px;
    }
    body.home-page .notice-calendar .list-group-item {
        padding: 0.65rem 0.8rem;
    }
    body.home-page .notice-calendar .notice-date {
        min-width: 46px;
        font-size: 0.8rem;
    }

    body.home-page .hot-services-layout {
        display: block;
    }
    body.home-page .hot-services-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 12px;
    }
    body.home-page .hot-services-nav li {
        min-width: 0;
    }
    body.home-page .hot-nav-item,
    body.home-page .hot-nav-link {
        width: 100%;
        border-radius: 10px;
        min-height: 40px;
        font-size: 0.86rem;
        padding: 0 8px;
        border: 1px solid #d7e3f4;
        background: #f4f7fc;
        color: #3b4e68;
    }
    body.home-page .hot-nav-item.is-active {
        border-color: #194f91;
        background: linear-gradient(135deg, #1d4f90 0%, #2563a8 100%);
        color: #fff;
        box-shadow: 0 8px 16px rgba(29, 79, 145, 0.28);
    }
    body.home-page .hot-nav-chevron {
        display: none;
    }
    body.home-page .hot-services-visual {
        width: 100%;
        min-height: auto;
        height: auto;
        transform: none !important;
        padding: 10px;
    }

    /* 覆盖桌面“固定大 box”规则：手机端改为正常流式，否则会出现空白区域 */
    body.home-page .section-hot-services .hot-panel.is-active {
        display: block !important;
        height: auto !important;
    }
    body.home-page .section-hot-services .hot-panel .hot-tag-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        height: auto !important;
        gap: 10px !important;
    }
    body.home-page .section-hot-services .hot-panel .hot-tag-item {
        padding: 0 !important;
    }
    body.home-page .section-hot-services .hot-panel--simulation .hot-tag-item,
    body.home-page .section-hot-services .hot-panel--paper .hot-tag-item {
        width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
    }
    body.home-page .section-hot-services .hot-panel--experiment .hot-tag-item {
        width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
    }
    body.home-page .section-hot-services .hot-panel.is-active .hot-tag-card,
    body.home-page .section-hot-services .hot-panel.is-active .hot-tag-thumb {
        height: auto !important;
    }
    /* 关键修复：覆盖桌面端 is-active 的 padding-top:0 规则，恢复卡片可见高度 */
    body.home-page .section-hot-services .hot-panel.is-active .hot-tag-thumb,
    body.home-page .section-hot-services .hot-tag-thumb {
        padding-top: 58% !important;
    }
    body.home-page .section-hot-services .hot-panel.is-active .hot-tag-thumb img,
    body.home-page .section-hot-services .hot-tag-thumb img {
        object-fit: cover !important;
        object-position: center;
    }
    body.home-page .hot-tag-grid {
        row-gap: 10px !important;
    }
    body.home-page .section-hot-services .hot-tag-card {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    }
    body.home-page .hot-tag-name {
        font-size: 0.82rem;
        padding: 0.5rem 0.6rem;
        line-height: 1.35;
    }

    body.home-page .section-flow .flow-grid {
        /* 不要全竖着：手机端两列更紧凑 */
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    body.home-page .section-flow .flow-item {
        padding: 12px 10px;
        border-radius: 12px;
    }
    body.home-page .section-flow .flow-title {
        font-size: 0.98rem;
        margin-bottom: 6px;
    }
    body.home-page .section-flow .flow-desc {
        font-size: 0.86rem;
        line-height: 1.55;
        margin-bottom: 0;
    }

    /* 服务客户：手机端保留自动滚动展示（跑马灯） */
    body.home-page .section-service-clients .clients-scroll-wrap {
        overflow: hidden;
    }
    body.home-page .section-service-clients .client-card {
        min-width: 78px;
    }

    /* 平台优势：手机端重做为 2×2 小卡（干净、紧凑、不翻转） */
    body.home-page .section-advantages .row {
        flex-wrap: wrap !important;
        overflow: visible !important;
        padding: 0 !important;
        --bs-gutter-x: 10px;
        --bs-gutter-y: 10px;
    }
    body.home-page .section-advantages .row > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    body.home-page .section-advantages .advantage-card {
        height: auto !important;
        min-height: 132px !important;
        padding: 14px 12px 14px !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        box-shadow: 0 10px 22px rgba(15,23,42,.07) !important;
        border: 1px solid rgba(226,232,240,.92) !important;
        cursor: default;
        transform: none !important;
    }
    body.home-page .section-advantages .advantage-card::after {
        /* 手机端保留背景图，但更克制：低透明度 + 轻微模糊 */
        opacity: 0.12 !important;
        filter: saturate(1.02) contrast(1.02) blur(0.5px);
    }
    body.home-page .section-advantages .advantage-card::before {
        /* 叠一层浅色遮罩，保证标题清晰 */
        opacity: 1 !important;
        background:
            linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 55%, rgba(255,255,255,.92) 100%),
            radial-gradient(circle at 0 0, rgba(14,165,233,.08) 0%, transparent 55%),
            radial-gradient(circle at 100% 100%, rgba(29,79,145,.06) 0%, transparent 55%) !important;
    }
    /* 触屏 hover：用 is-flipped 展示背面层 */
    body.home-page .section-advantages .advantage-back {
        display: flex !important;
        position: absolute;
        inset: 0;
        padding: 14px 12px 14px !important;
        border-radius: 14px !important;
        opacity: 0;
        transform: scale(0.98);
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }
    body.home-page .section-advantages .advantage-card.is-flipped .advantage-back {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }
    body.home-page .section-advantages .advantage-card.is-flipped .advantage-front {
        opacity: 0 !important;
    }
    body.home-page .section-advantages .advantage-back .advantage-list {
        margin: 0;
    }
    body.home-page .section-advantages .advantage-back .advantage-list li {
        margin-bottom: 0.4rem;
        font-size: 0.84rem;
        line-height: 1.45;
    }
    body.home-page .section-advantages .advantage-back .advantage-list li:last-child {
        margin-bottom: 0;
    }
    body.home-page .section-advantages .advantage-back {
        justify-content: flex-start;
        align-items: flex-start;
    }

    /* 背面内容：手机端不要被“卡片小高度”截断 */
    body.home-page .section-advantages .advantage-card.is-flipped {
        min-height: 220px !important;
    }
    body.home-page .section-advantages .advantage-back {
        justify-content: flex-start;
        overflow: hidden;
    }
    body.home-page .section-advantages .advantage-back .advantage-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    body.home-page .section-advantages .advantage-back .advantage-title {
        font-size: 0.96rem;
        margin-bottom: 10px;
    }
    body.home-page .section-advantages .advantage-back .advantage-list {
        font-size: 0.84rem;
        line-height: 1.5;
        margin: 0;
        padding-right: 4px;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        max-height: 136px;
    }
    body.home-page .section-advantages .advantage-back .advantage-list li {
        margin-bottom: 0.45rem;
    }
    body.home-page .section-advantages .advantage-front {
        opacity: 1 !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
    }
    body.home-page .section-advantages .advantage-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 0;
        box-shadow: 0 8px 16px rgba(14,165,233,.14);
    }
    body.home-page .section-advantages .advantage-title {
        font-size: 0.98rem;
        font-weight: 900;
        margin: 0;
        line-height: 1.15;
        color: #0f172a;
    }
    body.home-page .section-advantages .adv-number {
        display: none !important;
    }

    /* 客户之声：手机端改为标准“评价卡列表”（去绝对定位） */
    body.home-page .section-feedback {
        min-height: 0 !important;
    }
    body.home-page .section-feedback .feedback-wrapper {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
    body.home-page .section-feedback .feedback-top-row,
    body.home-page .section-feedback .feedback-bottom-row {
        position: static !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 !important;
    }
    body.home-page .section-feedback .feedback-card,
    body.home-page .section-feedback .feedback-card.small-card,
    body.home-page .section-feedback .feedback-card.left-card,
    body.home-page .section-feedback .feedback-card.center-card,
    body.home-page .section-feedback .feedback-card.right-card {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: none !important;
        transform: none !important;
        margin: 0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08) !important;
    }
    body.home-page .section-feedback .feedback-card .avatar {
        position: absolute !important;
        left: 14px !important;
        top: 14px !important;
        transform: none !important;
        width: 40px !important;
        height: 40px !important;
        border-width: 3px !important;
    }
    body.home-page .section-feedback .feedback-card .card-content {
        padding: 14px 14px 14px 62px !important;
    }
    body.home-page .section-feedback .feedback-card .customerName {
        text-align: left !important;
        margin: 0 0 6px !important;
        font-size: 0.98rem !important;
        font-weight: 900;
    }
    body.home-page .section-feedback .feedback-card .text {
        padding: 0 !important;
        color: #475569;
        font-size: 0.92rem;
        line-height: 1.65;
        word-break: break-word;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }
    body.home-page .section-feedback .feedback-card .yinhao-start,
    body.home-page .section-feedback .feedback-card .yinhao-end {
        display: none !important;
    }

    /* 服务流程：再微调成更“紧凑H5卡片” */
    body.home-page .section-flow .flow-item {
        padding: 12px 10px;
        border-radius: 12px;
    }
    body.home-page .section-flow .flow-title {
        font-size: 0.98rem;
        margin-bottom: 6px;
    }
    body.home-page .section-flow .flow-desc {
        font-size: 0.86rem;
        line-height: 1.55;
        margin-bottom: 0;
    }
    body.home-page .section-flow .flow-icon {
        width: 34px;
        height: 34px;
        font-size: 0.92rem;
        border-radius: 10px;
    }

    /* 首页手机端保留工具条，但缩小并弱化占位 */
    body.home-page #floatBar {
        z-index: 1035;
    }
    body.home-page #floatBar .float-btns {
        width: 46px;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(15,23,42,.16);
    }
    body.home-page #floatBar .float-btn {
        padding: 8px 4px;
    }
    body.home-page #floatBar .float-btn svg {
        width: 17px;
        height: 17px;
    }
    body.home-page #floatBar .float-robot {
        display: none;
    }
}
