/* 制造业专业站配色（2026-09-29 制造业定位改版）
   工业深蓝 #0F2B46 打底 + 机械橙 #E8641A 强调：深蓝传递工程与可靠，
   橙色只用于关键行动点与强调，制造行业最常见也最稳。 */
:root {
    /* 主色阶（工业深蓝） */
    --primary: #0F2B46;          /* 主行动、链接、选中态 */
    --primary-dark: #0A1F33;     /* 主色 hover / 深压 */
    --primary-600: #1E4A73;      /* 按钮渐变起点、图标主色 */
    --primary-500: #2A5A8C;      /* 按钮渐变终点 */
    --primary-light: #EEF3F8;    /* 浅蓝底、图标底 */
    --primary-100: #E1EAF2;      /* 次浅蓝、标签底 */

    /* 品牌深色（首页 Hero 专用） */
    --hero-deep: #0A1B2C;
    --hero-mid: #123652;
    --hero-base: #1E4A73;
    --hero-wash: #DCE8F2;
    --ink-dark: #0A1622;         /* header-top / footer / 后台侧栏底 */

    /* 中性 */
    --text: #222222;
    --muted: #666666;
    --muted-soft: #999999;
    --bg: #F8F9FA;
    --border: #E0E0E0;
    --border-soft: #EEEEEE;

    /* 机械橙：仅用于关键行动点、强调数字与制造板块图标，克制使用 */
    --accent: #E8641A;
    --accent-dark: #C2520F;
    --accent-light: #FDF0E7;
    --purple: #2A5A8C;

    /* 语义色 */
    --success: #0F9D58;
    --warning: #E8A317;
    --error: #D93025;

    --radius: 10px;
    --maxw: 1200px;

    /* 阴影：静止卡片不带阴影，阴影只用于「浮起」交互 */
    --shadow: 0 8px 28px rgba(34, 34, 34, .12);
    --shadow-sm: 0 2px 8px rgba(34, 34, 34, .08);
    --shadow-lg: 0 16px 48px rgba(10, 27, 44, .18);
    --shadow-brand-sm: 0 4px 12px rgba(15, 43, 70, .28);
    --shadow-brand-lg: 0 8px 25px rgba(15, 43, 70, .40);

    /* 层级 */
    --z-base: 1; --z-sticky: 100; --z-header: 200; --z-dropdown: 300; --z-modal: 1000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.75;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.4em; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-gray { background: var(--bg); }
.section-title { text-align: center; font-size: 30px; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 44px; font-size: 15px; }
.section-title::after {
    content: ""; display: block; width: 56px; height: 3px; margin: 16px auto 0;
    background: linear-gradient(90deg, var(--primary), var(--purple)); border-radius: 2px;
}
.text-primary { color: var(--primary); }
.muted { color: var(--muted); }
/* 按钮高度两档固定：默认 48px，大号 56px（.btn-lg / hero 区）。
   用固定 height 而非 padding 撑高，避免不同字号/行高导致高度漂移。 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 48px; padding: 0 26px; line-height: 1; border-radius: 8px;
    font-size: 15px; font-weight: 600; white-space: nowrap;
    border: 1px solid transparent; cursor: pointer; transition: all .2s;
}
.btn-lg { height: 56px; padding: 0 32px; font-size: 16px; border-radius: 10px; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; border-radius: 8px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37, 99, 235, .3); }
/* 类名保留（视图里已引用），但橙色已废止：现在渲染成辅助蓝色按钮 */
.btn-accent { background: var(--primary-600); color: #fff; }
.btn-accent:hover { background: var(--primary-500); box-shadow: var(--shadow-brand-sm); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--border); }
.header-top { background: #0f172a; color: #cbd5e1; font-size: 12.5px; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.header-top a { color: #cbd5e1; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.logo small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: .5px; }
.logo-mark {
    width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500)); color: #fff; font-weight: 800; font-size: 17px;
}
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
/* 统一高度：flex 直接子项与下拉容器内的链接必须完全一致，否则会出现 46/40 像素错位 */
.nav-link {
    display: inline-flex; align-items: center; justify-content: center;
    height: 40px; padding: 0 14px; line-height: 1;
    font-size: 15px; color: var(--text); border-radius: 8px; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-dropdown { position: relative; display: flex; align-items: center; height: 40px; }
.nav-toggle {
    display: none; width: 42px; height: 42px; margin-left: auto; padding: 0;
    border: 1px solid var(--border); border-radius: 10px; background: #fff;
    cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: all .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile { display: none; }
.mega {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 720px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 18px; display: none; grid-template-columns: repeat(3, 1fr); gap: 10px; z-index: 950;
}
.nav-dropdown:hover .mega { display: grid; }
.mega-item { padding: 12px; border-radius: 8px; transition: background .2s; }
.mega-item:hover { background: var(--bg); }
.mega-item h4 { font-size: 14.5px; margin: 0 0 3px; }
.mega-item p { margin: 0; font-size: 12.5px; color: var(--muted); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { font-size: 17px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.header-phone small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: var(--text); overflow: hidden;
    /* 主图：AI 生成的浅蓝 3D 数据平台场景（非官网原图，规避版权）；
       right center 锚定右侧主体，左侧留白给文案 */
    background: #EAF3FE url("/images/hero-banner.jpg") no-repeat right center / cover;
    padding: 88px 0 76px;
}
/* 左侧白色渐变帘：保证深色文字压在浅底插图上的可读性（原来是为深底设计的光斑） */
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .60) 34%, rgba(255, 255, 255, 0) 62%);
}
.hero .container { position: relative; }
.hero h1 { font-size: 42px; margin-bottom: 16px; letter-spacing: 1px; color: var(--text); }
.hero-tag { display: inline-block; background: rgba(26, 108, 232, .10); color: var(--primary-600); font-weight: 600; padding: 5px 16px; border-radius: 999px; font-size: 13.5px; margin-bottom: 18px; }
.hero-sub { font-size: 18px; color: var(--text); opacity: .88; margin-bottom: 10px; }
.hero-desc { font-size: 15px; color: var(--muted); opacity: 1; margin-bottom: 32px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 780px; margin-bottom: 34px; }
.stat-num { font-size: 34px; font-weight: 800; color: var(--primary); }
.stat-num span { font-size: 20px; }
.stat-label { font-size: 13.5px; color: var(--muted); opacity: 1; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn { height: 56px; padding: 0 32px; font-size: 16px; border-radius: 10px; }
/* 白底按钮压在浅色插图上需要描边才不糊 */
.hero-cta .btn-light { border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

/* ---------- 痛点 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: all .25s; }
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.pain-icon { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-light); font-size: 26px; }
.pain-title { font-size: 17px; margin-bottom: 6px; }
.pain-desc { font-size: 13.5px; color: var(--muted); margin: 0; white-space: pre-line; }

/* ---------- 生态 / 金字塔 ---------- */
.eco-section { position: relative; color: #fff; background: linear-gradient(160deg, var(--hero-deep) 0%, var(--ink-dark) 55%, #16224A 100%); padding: 76px 0; }
.eco-section .section-title { color: #fff; }
.eco-wrap { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 24px; align-items: center; }
.pyramid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pyr-layer {
    color: #fff; font-weight: 700; font-size: 14.5px; display: grid; place-items: center; cursor: pointer;
    transition: transform .2s; text-align: center; padding: 0 10px;
    white-space: nowrap;   /* 「管家婆云辉煌智造Q5」10 字在 150px 梯形里会折成两行顶到斜边，窄一级宽度+缩字号解决 */
}
.pyr-layer:hover { transform: scale(1.04); }
/* 金字塔三层用同一蓝色的三个深度（浅→深），不再混紫。
   宽度递进 190/220/250：原 150/200/250 时最窄那层放不下「智造Q5」全称。 */
.pyr-q5 { width: 190px; height: 56px; background: linear-gradient(90deg, var(--primary-600), #7FA4F2); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.pyr-erp { width: 220px; height: 58px; background: linear-gradient(90deg, var(--primary-500), var(--primary-600)); clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%); }
.pyr-yhh { width: 250px; height: 60px; background: linear-gradient(90deg, var(--primary), var(--primary-600)); clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); }
.eco-col { display: grid; gap: 12px; }
.eco-item {
    display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; padding: 12px 14px; transition: all .2s;
}
.eco-item:hover { background: rgba(255, 255, 255, .14); transform: translateX(3px); }
.eco-item h4 { margin: 0; font-size: 14.5px; }
.eco-item p { margin: 0; font-size: 12px; opacity: .72; }
.eco-badge { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-size: 17px; }
/* 坑（2026-09-27）：/images/icons/eco-*.svg 的 fill 全是 #666666/000000，是为浅底设计的。
   生态区改深蓝后图标整片隐形，看起来就是一个个空灰方块。用 brightness(0) 压成纯黑
   再 invert(1) 翻成纯白，比给每个 svg 改色省事，也不会污染图标源文件。 */
.eco-badge img { width: 26px; height: 26px; filter: brightness(0) invert(1); opacity: .94; }
/* 同理：.muted 是 #666666，深底上等于隐形 */
.eco-section .muted { color: rgba(255, 255, 255, .68); }

/* ---------- 产品对比 ---------- */
/* 坑（2026-09-27）：原写死 repeat(4, 1fr)，生鲜 ERP 下架后主产品只剩 3 个，
   右侧空出一整格、整行左偏。并且 align-items: start 让三张卡各自为高，
   底边参差、"了解详细"按钮不在同一水平线。
   改为按最小列宽自动排列（1160 容器下正好 3 列），卡片等高、按钮吸底。 */
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: stretch; }
.compare-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.compare-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.compare-card.featured { border: 2px solid var(--primary); }
.compare-head { padding: 20px; text-align: center; border-bottom: 1px solid var(--border); background: var(--bg); position: relative; }
.compare-badge { display: inline-block; background: var(--primary); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; margin-bottom: 8px; }
/* 「新」徽章改用更亮的辅助蓝，与默认主色徽章区分靠明度而非色相——橙色已全面撤除 */
.compare-badge.new { background: var(--primary-600); }
.compare-head h3 { font-size: 18px; margin: 0 0 4px; }
.compare-tagline { font-size: 13px; color: var(--primary-600); font-weight: 600; }
.compare-body { flex: 1 1 auto; padding: 4px 20px 20px; }
.spec-row { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.spec-row:last-child { border-bottom: none; }
.spec-label { flex: 0 0 76px; color: var(--muted); }
.spec-value { flex: 1; }
.compare-cta { margin-top: auto; padding: 0 20px 20px; }

/* ---------- 行业 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ind-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 16px; text-align: center; transition: all .25s; }
.ind-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
/* 行业卡图标：IconService 已从 emoji 改为单字，这里配成与产品卡同一套方块底，
   否则 30px 的裸字在卡片里会显得没有重量、撑不住版面。 */
.ind-card .ind-emoji {
    width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 10px;
    display: grid; place-items: center; overflow: hidden;
    background: var(--primary-light); color: var(--primary);
    font-size: 18px; font-weight: 700; line-height: 1;
}
.ind-card .ind-emoji img { width: 26px; height: 26px; object-fit: contain; }
.ind-card h3 { font-size: 16px; margin: 0 0 4px; }
.ind-card p { margin: 0; font-size: 11.5px; color: var(--muted); letter-spacing: .3px; }

/* ---------- 卡片通用 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-body { padding: 20px; flex: 1; }
.card-title { font-size: 16.5px; margin-bottom: 8px; line-height: 1.5; }
.card-title a:hover { color: var(--primary); }
.card-summary { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.card-meta { font-size: 12px; color: #94a3b8; display: flex; gap: 14px; flex-wrap: wrap; }
.tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 12px; padding: 2px 10px; border-radius: 4px; }
.tag-gray { background: #f1f5f9; color: var(--muted); }

/* ---------- 证言 ---------- */
.testi-wrap { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.testi-item { display: none; padding: 34px 40px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.testi-item.active { display: block; animation: fade .4s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.testi-text { font-size: 17px; line-height: 1.9; margin-bottom: 16px; }
.testi-author { color: var(--primary); font-weight: 700; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; border: none; cursor: pointer; padding: 0; }
.testi-dot.active { background: var(--primary); width: 26px; border-radius: 5px; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--hero-deep), var(--primary) 60%, var(--primary-600) 100%); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { font-size: 28px; margin-bottom: 8px; }
.cta-band p { opacity: .9; margin-bottom: 24px; }
.cta-band .btn-light { color: var(--primary); }
.cta-band .btn-outline { border-color: #fff; color: #fff; background: transparent; }
.cta-band .btn-outline:hover { background: #fff; color: var(--primary); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-dark); color: #CBD5E1; padding: 54px 0 0; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 36px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: #fff; }
.footer li { margin-bottom: 8px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.branch-item { margin-bottom: 14px; }
.branch-item strong { color: #fff; display: block; margin-bottom: 2px; }
.branch-item span { color: var(--accent); font-weight: 700; letter-spacing: .3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #94a3b8; }

/* ---------- 侧边悬浮 ---------- */
.sidebar { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 800; display: grid; gap: 8px; }
.sidebar a {
    width: 52px; height: 52px; border-radius: 10px; background: #fff; border: 1px solid var(--border);
    display: grid; place-items: center; box-shadow: var(--shadow); font-size: 11px; color: var(--muted); line-height: 1.2; text-align: center;
}
.sidebar a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.sidebar .sb-icon { font-size: 17px; display: block; }

/* ---------- 面包屑 / 内页 ---------- */
.breadcrumb { background: var(--bg); padding: 14px 0; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); }
.breadcrumb a:hover { color: var(--primary); }
.page-head { padding: 46px 0 26px; text-align: center; }
.page-head h1 { font-size: 30px; margin-bottom: 8px; }
.page-head p { color: var(--muted); }
.content { font-size: 15.5px; line-height: 1.95; word-break: break-word; overflow-wrap: anywhere; }
.content h2 { font-size: 22px; margin-top: 34px; padding-left: 12px; border-left: 4px solid var(--primary); }
.content h3 { font-size: 18px; margin-top: 24px; }
/* 知识库里的截图来自 Confluence，原始宽度常到 1100px，必须先压回容器宽度 */
.content img { border-radius: 8px; margin: 12px 0; max-width: 100%; height: auto; }
/* SQL / 命令一类的长串不换行会撑破容器 */
.content pre, .content code { white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
.content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.content ul li, .content ol li { margin-bottom: 6px; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.side-card h4 { font-size: 15px; margin-bottom: 12px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.side-list li:last-child { border-bottom: none; }
.side-list a:hover { color: var(--primary); }
/* 列宽必须写成 minmax(0, 1fr)：用裸 1fr 时网格轨道的自动最小尺寸是 min-content，
   知识库列表页那个不换行的分类筛选条（11 个 pill，约 1100px）会把轨道顶宽，
   于是整页出现横向滚动、overflow-x:auto 也失效。 */
.layout-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.layout-main > * { min-width: 0; }

/* ---------- 列表页 ---------- */
.list-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.list-item:last-child { border-bottom: none; }
.list-item h3 { font-size: 17px; margin-bottom: 6px; }
.list-item p { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.list-thumb { flex: 0 0 180px; height: 116px; border-radius: 8px; background: linear-gradient(135deg, var(--primary-light), #eef2ff); display: grid; place-items: center; font-size: 30px; overflow: hidden; }
/* 知识库有 1600+ 篇、每页 12 条 → 80 多个页码。不加 wrap 时单行宽度约 4000px，
   会把整个 .layout-main 的网格轨道顶宽，页面出现横向滚动（桌面端实测 scrollWidth 4452）。 */
/* 分页器（全站统一，见 Views/Shared/_Pager.cshtml）。
   单行不换行：页码已在视图里折叠成最多 5 个，再多也不会把 .layout-main 的网格轨道顶宽。 */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 38px; }
.pager .pager-btn, .pager .pager-num {
    display: inline-flex; align-items: center; justify-content: center;
    height: 38px; padding: 0 14px; border-radius: 8px; font-size: 14px;
    border: 1px solid var(--border); background: #fff; color: var(--text);
}
.pager .pager-num { min-width: 38px; padding: 0 10px; font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .pager-num.is-current { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pager .pager-gap { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 38px; color: var(--muted); }

/* 「跳至末页」是整排里最常点的跳转入口，用实心主色 + 加粗形成唯一视觉重心；
   「首页」保持轻描边，两者并置时首末直达的语义才立得住。 */
.pager .pager-btn.is-last {
    background: var(--primary); border-color: var(--primary); color: #fff;
    font-weight: 700; letter-spacing: .5px; padding: 0 18px;
    box-shadow: 0 3px 10px rgba(37, 99, 235, .18);
}
.pager .pager-btn.is-last:hover { background: var(--primary-dark, var(--primary)); color: #fff; filter: brightness(1.06); }

.pager .pager-btn.is-disabled { color: #b6c0cc; background: #f6f8fa; border-color: var(--border); cursor: not-allowed; }
.pager .pager-btn.is-disabled:hover { border-color: var(--border); color: #b6c0cc; }

/* 末页时「跳至末页」置灰但保留占位。
   is-last 给了主色底 + 700 字重 + 蓝色投影，只靠 .is-disabled 覆盖不掉投影和字重，
   结果是一颗"发着蓝光的灰按钮"，看起来仍像可点（2026-09-28 实测：投影还在）。
   这里用 4 个类的选择器压过 is-last 的 3 个类；内边距与 letter-spacing 保持不动，
   所以置灰前后按钮宽度一致（实测 96px），整行不会重排。 */
.pager .pager-btn.is-last.is-disabled {
    background: #f6f8fa; border-color: var(--border); color: #b6c0cc;
    font-weight: 400; box-shadow: none; cursor: not-allowed;
}

.pager-sum { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
.pager-sum a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.pager-sum .pager-sep { margin: 0 8px; color: var(--border); }
.pager-sum.is-plain { margin-top: 20px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.filter-bar a { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 13.5px; }
.filter-bar a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
/* 知识库导入 Confluence 一级目录后分类多达十余个，中间加一条分组提示 */
.filter-group { font-style: normal; font-size: 12.5px; color: #94a3b8; margin-left: 6px; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { padding: 16px 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q:hover { color: var(--primary); }
.faq-a { padding: 0 20px 18px; font-size: 14.5px; color: #475569; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-toggle { flex: 0 0 20px; color: var(--primary); font-weight: 700; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-item { display: flex; flex-direction: column; gap: 6px; }
.form-item label { font-size: 13.5px; font-weight: 600; }
.form-item input, .form-item select, .form-item textarea {
    padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-full { grid-column: 1 / -1; }
.form-hint { font-size: 12.5px; color: var(--muted); }
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert-info { background: var(--primary-light); color: var(--primary-dark); }
.alert-warn { background: #FDF6E3; color: #7A5A08; }

/* ---------- 联系网点 ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.branch-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.branch-card h3 { font-size: 18px; margin-bottom: 4px; }
.branch-card .bc-phone { color: var(--primary); font-size: 20px; font-weight: 800; margin: 8px 0; }
.branch-card p { margin: 4px 0; font-size: 14px; color: #475569; }

/* ---------- 后台 ---------- */
.admin-shell { display: grid; grid-template-columns: 210px 1fr; min-height: 100vh; background: #f1f5f9; }
.admin-side { background: #0f172a; color: #cbd5e1; padding: 18px 0; }
.admin-side .adm-brand { padding: 0 20px 18px; font-size: 16px; font-weight: 800; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-nav { padding: 12px 0; }
.admin-nav a { display: block; padding: 10px 20px; font-size: 14px; color: #cbd5e1; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.08); color: #fff; border-left: 3px solid var(--primary); }
.admin-nav .nav-group { padding: 14px 20px 6px; font-size: 11.5px; color: #64748b; letter-spacing: 1px; }
.admin-main { padding: 22px 26px; overflow-x: auto; }
/* 出厂默认密码告警条：后台检测到还在用 Admin:DefaultPassword 时置顶显示 */
.pwd-alert {
    background: #fff4f0; border: 1px solid #f3b9a6; border-left: 4px solid #e2603a;
    color: #8a3418; padding: 11px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; line-height: 1.7;
}
.pwd-alert a { color: #c0392b; font-weight: 600; text-decoration: underline; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.admin-top h2 { margin: 0; font-size: 20px; }
.admin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.admin-card h3 { font-size: 16px; margin-bottom: 14px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.stat-card .n { font-size: 26px; font-weight: 800; color: var(--primary); }
.stat-card .l { font-size: 13px; color: var(--muted); }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.admin-table th { background: #f8fafc; font-weight: 700; }
.admin-table tr:hover td { background: #f8fafc; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-actions a, .admin-actions button { font-size: 12.5px; padding: 4px 10px; border-radius: 5px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.admin-actions a:hover { border-color: var(--primary); color: var(--primary); }
.admin-actions .danger:hover { border-color: #dc2626; color: #dc2626; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, var(--hero-deep), var(--primary)); }
.login-box { width: 380px; background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.login-box h2 { text-align: center; margin-bottom: 22px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .ind-grid { grid-template-columns: repeat(3, 1fr); }
    .layout-main { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* 导航折叠阈值取 1100px：实测「logo(168) + 5 个主导航(583) + 客服电话 + 试用按钮(246)」
   加上容器内边距与两处 28px 间距，最少需要约 1093px。原先阈值是 900px，
   于是 901–1090px 这一段（含常见的 1024px 平板横屏）header 会撑破视口——
   1024px 实测 scrollWidth 1073。折叠阈值必须 ≥ 所需宽度。 */
@media (max-width: 1100px) {
    .nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-mobile {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-top: 1px solid var(--border);
        box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
        max-height: calc(100vh - 120px); overflow-y: auto; z-index: 930;
    }
    .nav-mobile.open { display: block; }
    .nav-mobile a {
        display: flex; align-items: center; justify-content: space-between;
        height: 52px; padding: 0 18px; font-size: 15.5px; color: var(--text);
        border-bottom: 1px solid var(--border);
    }
    .nav-mobile a.active { color: var(--primary); background: var(--primary-light); }
    .nav-mobile a::after { content: "›"; color: var(--muted); font-size: 18px; }
    .nav-mobile .mobile-foot { padding: 16px 18px 22px; display: grid; gap: 10px; }
    .nav-mobile .mobile-foot .btn { width: 100%; }
    .nav-mobile .mobile-foot a::after { content: none; }
    .nav-mobile .mobile-foot a { height: 48px; border-bottom: 0; padding: 0 16px; justify-content: center; }
}
@media (max-width: 900px) {
    /* 头部：窄屏隐藏营销文案与按钮，只留电话，避免横向溢出 */
    .header-top .container > span:first-child { display: none; }
    .header-top .container { justify-content: center; }
    .header-inner { gap: 12px; }
    .header-cta .btn { display: none; }
    .hero h1 { font-size: 30px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .pain-grid, .grid-3, .grid-2, .branch-grid { grid-template-columns: 1fr 1fr; }
    .eco-wrap { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-side { display: none; }
}
@media (max-width: 640px) {
    .section { padding: 48px 0; }
    .section-title { font-size: 23px; }
    .pain-grid, .grid-3, .grid-2, .branch-grid, .ind-grid, .stat-cards { grid-template-columns: 1fr; }
    /* .compare-grid 不并进这条 1fr：它用 auto-fit，860px 容器正好落 2 列，
       直接从 3 列砸到 1 列太跳。1 列交给 768px 断点。 */
    .form-grid { grid-template-columns: 1fr; }
    .list-item { flex-direction: column; }
    .list-thumb { flex: none; width: 100%; }
    .sidebar { display: none; }
    .hero { padding: 56px 0 48px; }
}

/* ---------- 图片素材（管家婆官方授权素材） ---------- */
.pain-icon { overflow: hidden; }
.pain-icon img { width: 34px; height: 34px; object-fit: contain; display: block; }
.eco-badge { overflow: hidden; }
.eco-badge img { width: 26px; height: 26px; object-fit: contain; display: block; }
.ind-card { padding: 14px 14px 18px; }
.ind-card .ind-img { width: 100%; height: 104px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; display: block; background: var(--bg); }
.prod-icon { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 12px; background: var(--primary-light); display: grid; place-items: center; overflow: hidden; }
.prod-icon img { width: 34px; height: 34px; object-fit: contain; display: block; }
.prod-icon-lg { width: 78px; height: 78px; flex: 0 0 78px; border-radius: 16px; }
.prod-icon-lg img { width: 46px; height: 46px; }
.logo-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.logo-wall .logo-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; height: 70px; display: grid; place-items: center; padding: 12px; }
.logo-wall .logo-item img { max-width: 100%; max-height: 38px; object-fit: contain; display: block; filter: grayscale(100%); opacity: .7; transition: all .25s; }
.logo-wall .logo-item:hover img { filter: none; opacity: 1; }
.media-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.industry-media { width: 100%; height: 190px; object-fit: cover; border-radius: 12px; display: block; }
@media (max-width: 1100px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) {
    .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .logo-wall .logo-item { height: 58px; padding: 8px; }
    .industry-media { height: 160px; }
}

/* ---------- 表单与后台操作按钮尺寸统一 ---------- */
/* 原来靠 padding 撑高，导致 41/43 混用；改为固定 height，前后台表单完全一致 */
.form-item input:not([type=checkbox]):not([type=radio]),
.form-item select,
.admin-card input:not([type=checkbox]):not([type=radio]):not([type=file]),
.admin-card select {
    height: 42px; padding: 0 12px; box-sizing: border-box; width: 100%;
}
.form-item textarea, .admin-card textarea { min-height: 96px; padding: 10px 12px; box-sizing: border-box; width: 100%; }
.form-item input[type=checkbox], .form-item input[type=radio] { width: 16px; height: 16px; }
.admin-actions a, .admin-actions button {
    height: 26px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 12.5px; line-height: 1; border-radius: 6px;
}
.admin-table td .tag, .admin-table td .badge { line-height: 20px; }
.search-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.search-bar input, .search-bar select { height: 42px; padding: 0 12px; box-sizing: border-box; }

/* 表单控件继承站点字体。
   浏览器默认给 button/input 用 Arial 13.33px，会让后台小按钮字体和高度都跟别处不一样。 */
button, input, select, textarea { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; }
button { cursor: pointer; }
.admin-table button, .admin-card button { font-size: 13px; }

/* =========================================================================
   语义工具类（替代视图里的 inline style，桌面取值与原 inline 保持一致）
   移动端在下方媒体查询里统一缩放，避免 inline style 无法响应式
   ========================================================================= */
.title-detail { font-size: 28px; line-height: 1.35; margin: 6px 0 2px; }      /* 产品/试用/方案详情 h1 */
.title-detail-flush { font-size: 28px; line-height: 1.35; margin: 0; }         /* 方案详情 h1（无下方间距） */
.title-article { font-size: 27px; line-height: 1.4; margin-bottom: 10px; }     /* 文章/案例详情 h1 */
.title-minor { font-size: 24px; line-height: 1.4; margin-bottom: 16px; }       /* 搜索/错误页 h1 */
.pg-h2 { font-size: 21px; margin-bottom: 18px; }                               /* 列表页区块标题 */
.pg-h2-spaced { font-size: 21px; margin: 44px 0 18px; }
.pg-h2-lg { font-size: 20px; margin-top: 34px; }
.pg-h2-flush { font-size: 20px; }
.pg-h3 { font-size: 18px; margin-bottom: 14px; }
.pg-h3-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 18px; margin-bottom: 14px; }
.pg-more { font-size: 13px; font-weight: 400; white-space: nowrap; }
.content-h2 { font-size: 19px; }
.u-meta { font-size: 13px; }
.u-meta-md { font-size: 13.5px; }
.u-meta-xs { font-size: 12px; }
.u-lead { font-size: 17px; font-weight: 700; color: var(--primary); }
.stat-big { font-size: 32px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.err-code { font-size: 76px; font-weight: 800; color: var(--primary-light); line-height: 1.1; }
.icon-md { font-size: 30px; margin-bottom: 8px; }
.icon-lg { font-size: 34px; margin-bottom: 8px; }
.icon-xl { font-size: 44px; }
.icon-xxl { font-size: 42px; }
.hotline-note { margin: 14px 0 0; font-size: 13px; }
/* 父级 .compare-head 是 text-align:center，但对 flex 子项无效，
   标题行必须显式居中，否则「图标 + 产品名」整组靠左，看着像没对齐。 */
.compare-title { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 6px; }
.compare-name { margin: 0; }
.card-foot { padding: 0 20px 18px; }
.side-card-flush { padding: 6px 20px; }
.pyr-note { font-size: 12px; opacity: .7; margin-top: 8px; }
.more-wrap { text-align: center; margin-top: 34px; }
.more-wrap-sm { text-align: center; margin-top: 30px; }
.case-info { font-size: 13.5px; margin: 4px 0; }
.date-inline { margin-left: 8px; }
.tel-block { color: var(--primary); font-size: 20px; font-weight: 800; margin: 8px 0; }
.figure-xl { color: var(--primary); font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.inline-form { display: flex; gap: 8px; }
.inline-input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 移动端专属部件：桌面端默认隐藏（必须写在媒体查询之前，否则会覆盖查询内的显示规则） */
.header-tel { display: none; }
.admin-bar { display: none; }
.admin-backdrop { display: none; }

/* =========================================================================
   移动端统一排版体系 v2
   断点：992 / 900 / 768 / 576 / 390（原有 1100 / 900 / 640 继续保留并兼容）
   原则：所有改动都写在 max-width 媒体查询里，桌面端（>992）样式零改动
   尺度：栅格 8 倍数、触控 44×44、正文字号 ≥14px、图片锁定比例、表格横滚
   ========================================================================= */

/* ---------- 刻度变量（仅移动端生效） ---------- */
@media (max-width: 768px) {
    :root {
        --fs-body: 16px;         /* 正文 */
        --fs-lead: 14.5px;       /* 副文案 */
        --fs-meta: 13.5px;       /* 次要信息 */
        --fs-h1-hero: 28px;      /* 首屏大标题 */
        --fs-h1-page: 24px;      /* 内页标题 */
        --fs-h2-sec: 21px;       /* 区块标题 */
        --fs-h3: 17px;           /* 卡片标题 */
        --sp-section: 48px;      /* 区块上下间距 */
        --gutter: 16px;          /* 页面左右留白 */
        --tap: 44px;             /* 最小触控尺寸 */
    }
}
@media (max-width: 390px) {
    :root {
        --fs-body: 15.5px;
        --fs-h1-hero: 25px;
        --fs-h1-page: 22px;
        --fs-h2-sec: 20px;
        --sp-section: 40px;
        --gutter: 14px;
    }
}

/* ---------- 基础排版与页面节奏 ---------- */
@media (max-width: 768px) {
    body { font-size: var(--fs-body); line-height: 1.75; }
    h1, h2, h3, h4 { line-height: 1.4; margin-bottom: .5em; }
    p { margin: 0 0 .9em; }
    .container { padding: 0 var(--gutter); }
    .section { padding: var(--sp-section) 0; }
    .eco-section { padding: var(--sp-section) 0; }
    .cta-band { padding: 40px 0; }
    .page-head { padding: 32px 0 20px; }
    .section-title { font-size: var(--fs-h2-sec); margin-bottom: 12px; }
    .section-title::after { width: 44px; height: 3px; margin: 12px auto 0; }
    .section-sub { font-size: var(--fs-lead); line-height: 1.7; margin-bottom: 28px; }
    h3 { font-size: var(--fs-h3); }
    /* 知识库的层级路径很长（知识库 › 零售POS › POS常见问题 › 标题），移动端必须允许折行 */
    .breadcrumb { padding: 12px 0; font-size: 14px; white-space: normal; line-height: 1.7; word-break: break-word; overflow-wrap: anywhere; }
    .content { font-size: 16px; line-height: 1.85; }
    .content h2 { font-size: 19px; margin-top: 28px; padding-left: 10px; }
    .content h3 { font-size: 17px; margin-top: 22px; }
    .content img { border-radius: 10px; margin: 14px 0; }
    /* 工具类：跟随移动字号阶梯 */
    .title-detail, .title-detail-flush { font-size: var(--fs-h1-page); }
    .title-article { font-size: calc(var(--fs-h1-page) + 1px); }
    .title-minor { font-size: var(--fs-h1-page); }
    .pg-h2, .pg-h2-spaced { font-size: 19px; }
    .pg-h2-spaced { margin: 32px 0 14px; }
    .pg-h2-lg { font-size: 19px; margin-top: 28px; }
    .pg-h2-flush { font-size: 19px; }
    .pg-h3, .pg-h3-row { font-size: 16.5px; }
    .pg-more { font-size: 14px; }
    .content-h2 { font-size: 18px; }
    .u-meta, .u-meta-md { font-size: 14px; }
    .u-meta-xs { font-size: 13px; }
    .u-lead { font-size: 16px; line-height: 1.7; }
    .stat-big { font-size: 26px; }
    .err-code { font-size: 56px; }
    .icon-md { font-size: 26px; }
    .icon-lg { font-size: 30px; }
    .icon-xl { font-size: 38px; }
    .icon-xxl { font-size: 36px; }
    .hotline-note { font-size: 14px; margin-top: 12px; }
    .figure-xl { font-size: 20px; }
    .more-wrap { margin-top: 26px; }
    .more-wrap-sm { margin-top: 22px; }
    .pyr-note { font-size: 13px; margin-top: 6px; }
    .media-note { font-size: 13px; margin-top: 14px; }
}

/* ---------- 按钮 ---------- */
@media (max-width: 768px) {
    .btn { height: 48px; padding: 0 20px; font-size: 15.5px; border-radius: 10px; white-space: normal; }
    .btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
    .btn-sm { height: 44px; padding: 0 16px; font-size: 14.5px; }
    .cta-actions { display: grid; grid-template-columns: 1fr; gap: 12px; justify-content: stretch; }
    .cta-actions .btn { width: 100%; }
    .cta-band > .container > .btn:only-child,
    .cta-band > .container > a.btn:only-of-type { min-width: 220px; max-width: 100%; }
}
@media (min-width: 577px) and (max-width: 768px) {
    .cta-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-actions > .btn:nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- Header / 抽屉 ---------- */
@media (max-width: 1100px) {
    .header-inner { height: 56px; gap: 10px; }
    .logo { flex: 0 1 auto; min-width: 0; font-size: 17px; gap: 8px; }
    .logo-mark { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; font-size: 15px; }
    .nav-toggle { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; }
    .header-cta { flex: 0 0 auto; margin-left: auto; }
    .header-phone { font-size: 15px; }
    .header-phone small { display: none; }
    /* 抽屉：限高 + 圆角卡面 + 遮罩 */
    .nav-mobile {
        max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px);
        border-radius: 0 0 14px 14px; box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
    }
    .nav-mobile a { height: 52px; min-height: 52px; padding: 0 18px; font-size: 16px; }
    .nav-mobile .mobile-foot { padding: 14px 16px 18px; gap: 10px; }
    .nav-mobile .mobile-foot .btn { height: 50px; font-size: 16px; }
    .nav-backdrop {
        display: none; position: fixed; left: 0; right: 0; bottom: 0; top: 0;
        background: rgba(15, 23, 42, .45); z-index: 920;
    }
    .nav-backdrop.open { display: block; }
    body.nav-open { overflow: hidden; }
    .sidebar { display: none; }
}
@media (max-width: 768px) {
    .header-top { display: none; }
    .header-inner { height: 54px; }
    .logo small { display: none; }
    .header-phone, .header-cta .btn { display: none; }
    .header-tel {
        display: inline-flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px;
        background: var(--primary-light); color: var(--primary); font-size: 20px;
    }
}
/* 注意：上面这个 @media (max-width: 768px) 原先漏了结尾的 }，
   导致从这一行到文件末尾的所有断点块都被嵌套进它里面。
   受影响的是一直想按 ≤900px 生效的后台表格/触控规则（769–900px 区间没吃到）。
   补上闭合后，768/576/400 及 577–768 这几档的条件不变，仅 ≤900 三段恢复正常。 */

/* ---------- Hero ---------- */
@media (max-width: 768px) {
    .hero { padding: 40px 0 36px; }
    .hero-tag { font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
    .hero h1 { font-size: var(--fs-h1-hero); letter-spacing: .5px; line-height: 1.35; margin-bottom: 14px; }
    .hero-sub { font-size: 16px; margin-bottom: 8px; line-height: 1.6; }
    .hero-desc { font-size: var(--fs-lead); line-height: 1.7; opacity: .85; margin-bottom: 24px; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
    .hero-stats > div {
        background: rgba(255, 255, 255, .78); border: 1px solid var(--border-soft);
        border-radius: 12px; padding: 12px 10px; text-align: center;
    }
    .stat-num { font-size: 24px; line-height: 1.25; }
    .stat-num span { font-size: 15px; }
    .stat-label { font-size: 13.5px; line-height: 1.5; opacity: .85; }
    .hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
    .hero-cta .btn { width: 100%; height: 52px; padding: 0 12px; font-size: 15.5px; }
}
@media (max-width: 400px) {
    .hero-cta { grid-template-columns: 1fr; }
    .hero-cta .btn { width: 100%; }
}

/* ---------- 痛点卡 / 理由卡 ---------- */
@media (max-width: 768px) {
    .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pain-card { padding: 16px 14px; border-radius: 14px; }
    .pain-icon { width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 10px; }
    .pain-icon img { width: 26px; height: 26px; }
    .pain-title { font-size: 15.5px; margin-bottom: 4px; }
    .pain-desc { font-size: 14px; line-height: 1.65; }
}
@media (max-width: 576px) {
    .pain-grid { grid-template-columns: 1fr; gap: 10px; }
    .pain-card { display: flex; align-items: flex-start; gap: 12px; text-align: left; padding: 14px 16px; }
    .pain-icon { margin: 0; flex: 0 0 44px; }
}

/* ---------- 生态 / 金字塔 ---------- */
@media (max-width: 768px) {
    .eco-wrap { grid-template-columns: 1fr; gap: 20px; }
    .eco-col { gap: 10px; }
    .eco-item { padding: 12px; border-radius: 12px; min-height: 64px; gap: 12px; }
    .eco-item h4 { font-size: 15px; }
    .eco-item p { font-size: 13px; line-height: 1.5; }
    .eco-badge { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; font-size: 16px; }
    .eco-badge img { width: 24px; height: 24px; }
    .pyramid { gap: 8px; }
    .pyr-layer { font-size: 14.5px; padding: 0 10px; }
    .pyr-q5 { width: 100%; max-width: 200px; height: 52px; }
    .pyr-erp { width: 100%; max-width: 240px; height: 54px; }
    .pyr-yhh { width: 100%; max-width: 280px; height: 56px; }
}

/* ---------- 产品对比卡 ---------- */
@media (max-width: 576px) {
    .compare-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 768px) {
    .compare-head { padding: 16px 16px 14px; }
    .compare-head h3 { font-size: 18px; }
    .compare-body { padding: 4px 16px 8px; }
    .compare-cta { padding: 8px 16px 16px; }
    .compare-cta .btn { height: 48px; }
    .spec-row { font-size: 14px; line-height: 1.6; padding: 12px 0; gap: 12px; }
    .spec-label { flex: 0 0 88px; font-size: 13.5px; }
    .compare-tagline { font-size: 14px; }
    .compare-badge { font-size: 13px; padding: 4px 12px; }
}

/* ---------- 行业 / logo 墙 ---------- */
@media (max-width: 768px) {
    .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .ind-card { padding: 12px 10px 14px; border-radius: 12px; }
    .ind-card .ind-img { aspect-ratio: 4 / 3; height: auto; margin-bottom: 10px; border-radius: 10px; }
    .ind-emoji { font-size: 26px; margin-bottom: 6px; }
    .ind-card h3 { font-size: 15px; margin-bottom: 2px; }
    .ind-card p { font-size: 13px; letter-spacing: 0; }
    .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .logo-wall .logo-item { height: 64px; padding: 10px; border-radius: 12px; }
    .logo-wall .logo-item img { max-height: 34px; }
}
@media (max-width: 576px) {
    .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ind-card { padding: 12px 12px 16px; }
    .ind-card .ind-img { aspect-ratio: 16 / 10; }
    .ind-card h3 { font-size: 15.5px; }
}

/* ---------- 卡片栅格 ---------- */
@media (max-width: 576px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 14px; }
    .card-body { padding: 16px; }
    .card-title { font-size: 17px; line-height: 1.5; }
    .card-summary { font-size: 14.5px; line-height: 1.7; margin-bottom: 10px; }
    .card-meta { font-size: 13.5px; gap: 12px; }
    .card-foot { padding: 0 16px 14px; }
    .card-foot a { display: inline-flex; align-items: center; min-height: 44px; }
    .tag { font-size: 13px; padding: 3px 10px; }
    .side-card { padding: 16px; margin-bottom: 14px; }
    .side-card h4 { font-size: 15.5px; }
    .side-card-flush { padding: 6px 16px; }
    .side-list li { padding: 0; }
    .side-list li a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: 14.5px; }
    .prod-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; }
    .prod-icon img { width: 30px; height: 30px; }
}
@media (min-width: 577px) and (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .card-summary { font-size: 14.5px; }
}

/* ---------- 证言 / FAQ / 分页 / 筛选 ---------- */
@media (max-width: 768px) {
    .testi-item { padding: 24px 20px; border-radius: 14px; }
    .testi-text { font-size: 16px; line-height: 1.9; margin-bottom: 14px; }
    .testi-dots { margin-top: 18px; gap: 10px; }
    /* 轮播指示点：按钮本体撑到 44×44，视觉圆点由 ::before 绘制。
       注意不能用 ::after 向外扩命中区——dot 间距只有 20px，扩出的区域会互相覆盖，
       导致点 A 的中心被点 B 的扩展区盖住，命中区实际错乱。 */
    .testi-dots { gap: 0; justify-content: center; }
    .testi-dot {
        position: relative; width: 44px; height: 44px; padding: 0; border: 0;
        background: transparent; display: inline-flex; align-items: center; justify-content: center;
    }
    .testi-dot::before {
        content: ""; display: block; width: 10px; height: 10px; border-radius: 999px;
        background: rgba(255, 255, 255, .45); transition: width .2s, background .2s;
    }
    /* 桌面端 .testi-dot.active{width:26px} 特异性更高，需在此显式覆盖回 44px */
    .testi-dot.active { width: 44px; }
    .testi-dot.active::before { width: 26px; background: #fff; }
    .faq-q { padding: 14px 16px; min-height: 56px; font-size: 15.5px; line-height: 1.6; gap: 10px; }
    .faq-a { padding: 0 16px 16px; font-size: 14.5px; line-height: 1.8; }
    /* 分页器：触控目标不小于 44px */
    .pager { gap: 6px; margin-top: 28px; }
    .pager .pager-btn, .pager .pager-num { height: 44px; min-width: 44px; padding: 0 12px; font-size: 14.5px; }
    .pager .pager-btn.is-last { padding: 0 16px; letter-spacing: 0; }
    .pager .pager-gap { min-width: 24px; height: 44px; }
    /* 窄屏只留 1 / 当前页 / 末页，中间页码在 _Pager.cshtml 里已打 is-collapsed */
    .pager .pager-num.is-collapsed { display: none; }
    /* 分类多的时候让筛选栏横向滚动，避免堆成五六行 44px 高 pill */
    .filter-bar {
        gap: 8px; margin-bottom: 18px;
        flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch; padding-bottom: 2px; scrollbar-width: none;
    }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-bar > * { flex: 0 0 auto; }
    .filter-bar a {
        min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; font-size: 14.5px;
    }
    .filter-group { margin-left: 2px; }
    .alert { font-size: 14.5px; padding: 12px 14px; line-height: 1.7; }
}

/* ---------- 列表（文章/知识库） ---------- */
@media (max-width: 768px) {
    .list-item { gap: 12px; padding: 16px 0; align-items: flex-start; }
    .list-item h3 { font-size: 16.5px; line-height: 1.5; }
    .list-item p { font-size: 14px; line-height: 1.7; }
    .list-thumb { flex: 0 0 76px; height: 76px; border-radius: 10px; font-size: 24px; }
    .layout-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .inline-form { gap: 8px; }
    .inline-form .btn { height: 48px; padding: 0 18px; }
}

/* ---------- 表单 ---------- */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; gap: 14px; }
    .form-item { gap: 8px; }
    .form-item label { font-size: 14px; }
    .form-hint { font-size: 13px; }
    /* iOS 聚焦自动缩放阈值是 16px，输入控件统一 16px + 48px 高 */
    .form-item input:not([type=checkbox]):not([type=radio]),
    .form-item select,
    .form-item textarea,
    .search-bar input,
    .search-bar select,
    .inline-input,
    .admin-card input:not([type=checkbox]):not([type=radio]):not([type=file]),
    .admin-card select {
        height: 48px; padding: 0 14px; font-size: 16px; width: 100%; border-radius: 10px;
    }
    .form-item textarea, .admin-card textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.7; }
    .form-item input[type=checkbox], .form-item input[type=radio] { width: 20px; height: 20px; }
    .form-item .btn, .form-item > button { width: 100%; height: 50px; font-size: 16px; }
    .search-bar { gap: 10px; }
    .search-bar input, .search-bar select { flex: 1 1 auto; min-width: 0; }
    .search-bar .btn { height: 48px; }
}

/* ---------- 联系网点 / 页脚 ---------- */
@media (max-width: 768px) {
    .branch-grid { grid-template-columns: 1fr; gap: 14px; }
    .branch-card { padding: 18px 16px; border-radius: 14px; }
    .branch-card h3 { font-size: 17px; }
    .branch-card .bc-phone, .tel-block { font-size: 19px; margin: 6px 0 10px; }
    .branch-card p { font-size: 14.5px; line-height: 1.7; }
    .branch-card .btn { width: 100%; margin-top: 4px; }
    .footer { font-size: 14px; padding: 40px 0 0; }
    .footer h4 { font-size: 15.5px; margin-bottom: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 28px; }
    .footer li { margin-bottom: 2px; }
    .footer li a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; }
    .branch-item { margin-bottom: 12px; font-size: 14px; }
    .footer-bottom { padding: 16px 0; font-size: 13px; gap: 6px; }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid > div > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
}

/* ---------- 表格：窄屏横向滚动，不挤压 ---------- */
@media (max-width: 900px) {
    table.admin-table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 14px; }
    table.admin-table th, table.admin-table td { white-space: nowrap; padding: 12px 14px; }
    table.admin-table.spec-table { display: table; overflow: visible; }
    table.admin-table.spec-table th, table.admin-table.spec-table td { white-space: normal; padding: 12px 10px; }
    .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table-scroll table.admin-table { display: table; overflow: visible; font-size: 14px; }
}

/* ---------- 后台移动端：抽屉 + 触控 ---------- */
@media (max-width: 900px) {
    .admin-bar {
        display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 1000;
        height: 52px; padding: 0 14px; background: #0f172a; color: #fff;
    }
    .adm-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; flex: 0 0 44px; border: 0; border-radius: 10px;
        background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px;
    }
    .admin-bar-title { font-size: 15.5px; font-weight: 700; }
    .admin-shell { grid-template-columns: 1fr; min-height: 0; }
    .admin-side {
        display: block; position: fixed; top: 0; left: 0; bottom: 0; width: 254px; max-width: 82vw;
        z-index: 1100; padding-top: 12px; overflow-y: auto;
        transform: translateX(-100%); transition: transform .25s ease;
        box-shadow: 8px 0 30px rgba(15, 23, 42, .35);
    }
    .admin-side.open { transform: none; }
    .admin-backdrop { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 1050; }
    .admin-backdrop.open { display: block; }
    body.adm-open { overflow: hidden; }
    .admin-nav a { padding: 0 18px; min-height: 48px; display: flex; align-items: center; font-size: 15px; }
    .admin-nav .nav-group { padding: 14px 18px 6px; font-size: 12px; }
    .admin-main { padding: 14px 14px 28px; }
    .admin-top { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 14px; }
    .admin-top h2 { font-size: 19px; }
    .admin-card { padding: 16px; margin-bottom: 14px; }
    .admin-actions { gap: 8px; }
    .admin-actions a, .admin-actions button { height: 44px; min-height: 44px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
    .admin-card button.btn, .admin-card a.btn { min-height: 48px; }
    .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .stat-card { padding: 14px; }
    .stat-card .n { font-size: 22px; }
    .stat-card .l { font-size: 13.5px; }
    .login-wrap { padding: 20px; }
    .login-box { width: 100%; max-width: 380px; padding: 24px 20px; }
    .editor-toolbar button, .editor-toolbar select { min-height: 44px; padding: 0 12px; }
}

/* =========================================================
   第 3 轮整改：触控目标 ≥44px、正文字号 ≥14px
   约定：只扩命中区 / 抬字号，不改视觉比例与配色
   ========================================================= */

/* ---------- 后台：表格内链接与操作按钮命中区（≤900px，与 admin-table 断点一致） ---------- */
@media (max-width: 900px) {
    /* td 内链接原为 inline 19px 高，撑到 44px 命中区，视觉只增加行高 */
    table.admin-table td a,
    table.admin-table td button {
        display: inline-flex; align-items: center; min-height: 44px;
        padding: 0 2px; font-size: 14px;
    }
    .admin-actions a, .admin-actions button { font-size: 14px; }
    table.admin-table td { font-size: 14px; }
    /* 表格内筛选下拉：td 宽度由内容决定，width:100% 会塌成 28px 截断文字 */
    table.admin-table select, .admin-table select { min-width: 130px; }
    /* 「前台首页」等 admin-top 内的文字链接（原 19px 高） */
    .admin-top .u-meta > a { display: inline-flex; align-items: center; min-height: 44px; }
    /* 行内操作按钮高度已到 44，宽度不足（编辑 34px）——补足最小宽度并居中 */
    table.admin-table td a,
    table.admin-table td button,
    .admin-actions a, .admin-actions button {
        min-width: 44px; justify-content: center; padding: 0 12px;
    }
    /* 抽屉分组标题与表格辅助文案：统一抬到 14px 正文基线 */
    .admin-nav .nav-group { font-size: 14px; }
    .admin-table .u-meta-xs, table.admin-table .u-meta-xs { font-size: 14px; }
    .stat-card .l, .admin-card .l { font-size: 14px; }
    .admin-card button.btn, .admin-card a.btn, button.btn { font-size: 14px; }
    .form-hint { font-size: 14px; }
}

/* ---------- 前台：logo / 面包屑 / 卡片标题 / 卡片页脚 / 次要文案 ---------- */
@media (max-width: 768px) {
    /* logo 原 34px 高，补 5px 上下内边距达 44px，不撑开 header */
    .logo { padding: 5px 0; }

    /* 面包屑「首页」原 19px 高，用伪元素向外扩命中区，条高与字号不变 */
    .breadcrumb a { position: relative; }
    .breadcrumb a::after {
        content: ""; position: absolute; left: -10px; right: -10px; top: -14px; bottom: -14px;
    }

    /* 卡片标题链接：inline 24px → 补 10px 上下内边距达 44px */
    .card-title a { display: inline-block; padding: 10px 0; }

    /* 卡片页脚「了解详细 →」与「更多 →」 */
    .card-foot a, .pg-more { display: inline-flex; align-items: center; padding: 12px 0; font-size: 14px; }

    /* 抬字号至正文 ≥14px 基线（原 12~13.5px） */
    .hero-tag, .stat-label, .spec-label,
    .pyr-note, .media-note, .u-meta-xs,
    .tag, .compare-badge { font-size: 14px; }
    .tag { padding: 3px 11px; }
    .compare-badge { padding: 4px 12px; }
    /* 网点电话是移动端主触控目标（原 25px 高） */
    .bc-phone a { display: inline-flex; align-items: center; min-height: 44px; }
    /* 知识库 / 文章列表标题链接（原 21px 高） */
    .list-item h3 a { display: inline-block; padding: 12px 0; }
    /* 生态与行业卡片的辅助文案（原 11.5~13px） */
    .eco-item p, .ind-card p { font-size: 14px; }
    /* 侧栏「快速联系」中的网点名与电话 */
    .side-list li strong, .side-list li span { font-size: 14px; }
    .side-list li { font-size: 14px; }

    /* 侧栏列表链接：原先的规则错放在 max-width:576px 块内，576~768 区间不生效，
       导致平板宽度下侧栏条目只有 18px 高，在此补齐 ≤768 覆盖 */
    .side-list li a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; }
    /* 产品对比卡标题链接（原 24px 高） */
    .compare-name a { display: inline-block; padding: 10px 0; }
    /* 侧栏「联系/预约」区可点的电话号码（原 20px 高，直接拨号是移动端高频操作） */
    .side-card p a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* =========================================================================
   产品中心 / 产品落地页 —— 对齐管家婆官网 yx.hhyunerp.com 版式
   规范：项目根目录 DESIGN.md 第 4 节
   结构：page-hero → quick-nav → products → functions → value → reviews → cta
   注：本段只处理本页新组件与桌面取值；移动端沿用上方既有媒体查询体系。
   ========================================================================= */

/* ---------- 内页标题条 ---------- */
/* 首页 Hero 是「左文右图 + 浅蓝底 #EAF3FE」，内页头部沿用同一套，点进去不割裂。
   6 个入口页（产品中心/行业方案/客户案例/知识库/关于我们/联系我们）共用这一个组件，
   只换插画。
   高度是硬约束：这一条必须和改造前的纯文字 .page-banner 一样高（约 185px）。
   算账：padding 24+24 + 内容 136 = 184（+1px 下边框）。
   所以插画用 height:136px / width:auto 钉死高度、宽度自适应 —— 换成任何比例的图
   都不会把这条撑高。原先用 width:100%/height:auto，图一进来就把条顶到 337px，
   六个栏目页全部比改造前高了一大截，这就是用户说「不是现在这样改变高度了」的原因。 */
.page-hero { background: var(--primary-light); border-bottom: 1px solid var(--border-soft); overflow: hidden; }
.page-hero-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 44px; align-items: center; padding: 24px 0;
}
.page-hero-art { margin: 0; min-width: 0; justify-self: end; }
.page-hero-art img { display: block; height: 136px; width: auto; max-width: 100%; border-radius: 12px; box-shadow: var(--shadow-sm); }
.page-hero h1 { font-size: 34px; line-height: 1.3; font-weight: 700; color: var(--text); margin: 0 0 10px; }
.page-hero-sub { font-size: 16px; color: var(--muted); margin: 0; max-width: 560px; }

/* ---------- 正文区块图文条 ---------- */
/* 左文右图的第二条：白底、小一号字，放在正文最前面。
   高度同样钉死：padding 18 + 图 120 + 18 = 156。图用 height 定高、width auto，
   换任何比例的素材都不会把这条撑高。 */
.block-art-row { background: #FFF; border-bottom: 1px solid var(--border-soft); }
.block-art-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px; align-items: center; padding: 18px 0;
}
.block-art-copy h2 { font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.block-art-copy p { font-size: 14px; color: var(--muted); margin: 0; max-width: 720px; }
.block-art { margin: 0; justify-self: end; }
.block-art img { display: block; height: 120px; width: auto; max-width: 100%; }

/* ---------- 一体化链条（「把……串成一条线」） ---------- */
/* 居中对称：标题/副标题居中，下面一排等大方块，方块之间用短线+节点串起来。
   为什么居中而不是左文右图：这条紧跟在页头（左文右图）后面，再来一条左文右图
   会读成"重复/排错了"；改成居中对称后它自成一段，节奏不打架。
   高度：padding 16 + 标题 28 + 6 + 副标题 21 + 14 + 方块 72 + 8 + 标签 18 + 16 ≈ 199。
   连线用 align-self + margin-top 定位（块高/2 - 线高/2 = 72/2 - 1 = 35），换块高只改这一处，
   不用去数整行的高度，也就不会出现连线和方块对不上。 */
.value-chain { background: #FFF; border-bottom: 1px solid var(--border-soft); padding: 16px 0; text-align: center; }
.value-chain-title { font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--text); margin: 0; }
.value-chain-sub { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 6px 0 0; }
.chain {
    display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center;
    margin: 14px 0 0; padding: 0; list-style: none;
}
.chain-item { display: flex; flex-direction: column; align-items: center; width: 96px; }
.chain-glyph {
    display: flex; align-items: center; justify-content: center;
    width: 72px; height: 72px; border-radius: 16px;
    background: var(--primary-light); color: var(--primary);
    font-size: 26px; font-weight: 700; line-height: 1;
}
.chain-label { margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.chain-link { position: relative; align-self: flex-start; width: 36px; height: 2px; margin-top: 35px; background: var(--hero-wash); border-radius: 2px; }
.chain-link::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 6px; height: 6px; margin: -3px 0 0 -3px;
    border-radius: 50%; background: var(--primary); opacity: .5;
}

/* ---------- 锚点快捷导航 ---------- */
.quick-nav { background: #FFF; border-bottom: 1px solid var(--border-soft); }
.quick-nav .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 14px 20px; }
.quick-nav a {
    display: inline-flex; align-items: center; justify-content: center; min-height: 36px;
    padding: 0 20px; border-radius: 20px; font-size: 14px; color: var(--muted);
    background: var(--bg); transition: all .25s ease; white-space: nowrap;
}
.quick-nav a:hover, .quick-nav a.is-current { background: var(--primary-light); color: var(--primary); }

/* ---------- 通用区块 ---------- */
.pt-section { padding: 72px 0; }
.pt-section-gray { background: var(--bg); }
.pt-section-title { font-size: 32px; font-weight: 700; color: var(--text); }
/* 官网双行标题范式：英文 24px 常规做轻，中文副名做主视觉 */
.pt-section-title .sub { display: block; font-size: 24px; font-weight: 400; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.pt-section-desc { text-align: center; font-size: 16px; color: var(--muted); margin: 12px 0 44px; }

/* ---------- 产品版本卡（官网 .product-card 规格） ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card {
    display: flex; flex-direction: column; align-items: center;
    background: #FFF; border: 1px solid var(--border); border-radius: 10px;
    padding: 36px 28px; text-align: center; transition: all .3s ease;
}
.product-card:hover { border-color: var(--primary-600); box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card .icon {
    width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 12px;
    display: grid; place-items: center; overflow: hidden;
    background: var(--primary-light); color: var(--primary); font-size: 22px; font-weight: 700;
}
.product-card .icon img { width: 34px; height: 34px; object-fit: contain; display: block; }
.product-card h3 { font-size: 18px; font-weight: 600; color: var(--text); margin: 0 0 6px; line-height: 1.5; }
.product-card h3 a:hover { color: var(--primary); }
.product-card .target { display: inline-block; font-size: 13px; color: var(--primary-600); margin-bottom: 16px; }
.product-card ul.features { list-style: none; padding: 0; margin: 0; text-align: left; width: 100%; }
.product-card ul.features li {
    position: relative; padding-left: 18px; font-size: 14px; color: var(--muted); line-height: 1.7;
}
.product-card ul.features li::before {
    content: ""; position: absolute; left: 0; top: 10px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--primary-600);
}
.product-card .card-foot { margin-top: auto; padding-top: 18px; }
.product-card .card-foot .btn { border-radius: 25px; }
/* 生态应用卡的描述：沿用产品卡的栅格宽度，左对齐（产品卡是居中、描述窄） */
.product-card .eco-desc {
    text-align: left; margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75;
}

/* ---------- 功能亮点（官网单字方块） ---------- */
.functions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.function-item {
    background: #FFF; border: 1px solid var(--border); border-radius: 10px;
    padding: 24px 20px; text-align: center; transition: all .3s ease;
}
.function-item:hover { border-color: var(--primary-600); transform: translateY(-4px); box-shadow: var(--shadow); }
.function-item .icon {
    width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 12px;
    display: grid; place-items: center; background: var(--primary-light);
    color: var(--primary); font-size: 22px; font-weight: 700;
}
.function-item h4 { font-size: 16px; font-weight: 600; color: var(--text); margin: 0 0 6px; }
.function-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.7; }

/* ---------- 应用价值（数字化指标） ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value-card {
    background: #FFF; border: 1px solid var(--border); border-radius: 10px;
    padding: 28px 20px; text-align: center; transition: all .3s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-600); }
.value-card .number { font-size: 28px; font-weight: 700; color: var(--primary); line-height: 1.3; }
.value-card .label { font-size: 14px; color: var(--muted); margin-top: 4px; }
.value-card p { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; line-height: 1.7; }

/* ---------- 用户评价 ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-card {
    background: #FFF; border: 1px solid var(--border); border-radius: 10px;
    padding: 26px 24px; transition: all .3s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-600); }
.review-card .quote { font-size: 15px; color: var(--muted); line-height: 1.85; margin: 0 0 18px; }
.review-card .author { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
    width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
    display: grid; place-items: center; background: var(--primary-light);
    color: var(--primary); font-size: 16px; font-weight: 700;
}
.review-card .info .name { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; }
.review-card .info .role { font-size: 12.5px; color: var(--muted-soft); line-height: 1.4; }

/* ---------- CTA 区（官网 .cta 规格） ---------- */
.pt-cta { padding: 64px 0; text-align: center; background: linear-gradient(120deg, var(--hero-deep) 0%, var(--primary) 60%, var(--primary-600) 100%); color: #FFF; }
.pt-cta h2 { font-size: 32px; font-weight: 700; margin-bottom: 10px; color: #FFF; }
.pt-cta p { font-size: 16px; opacity: .9; margin: 0 0 28px; }
.pt-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.pt-cta-actions .btn { border-radius: 25px; }
.pt-cta-actions .btn-outline { border-color: rgba(255,255,255,.6); color: #FFF; background: transparent; }
.pt-cta-actions .btn-outline:hover { background: #FFF; color: var(--primary); border-color: #FFF; }

/* ---------- 落地页：详情页头部（与主色同源，不放紫） ---------- */
.detail-hero {
    position: relative; color: #FFF; overflow: hidden;
    background: linear-gradient(135deg, var(--hero-deep) 0%, var(--hero-mid) 45%, var(--primary) 100%);
    padding: 72px 0 64px;
}
.detail-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 16%, rgba(88,129,235,.40), transparent 55%),
                radial-gradient(circle at 10% 84%, rgba(26,108,232,.30), transparent 50%);
}
.detail-hero .container { position: relative; }
.detail-hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.detail-hero .lead { font-size: 16px; opacity: .9; margin: 0 0 26px; max-width: 720px; }
.detail-hero .dh-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-hero .btn { border-radius: 25px; }
.detail-hero .btn-outline { border-color: rgba(255,255,255,.6); color: #FFF; background: transparent; }
.detail-hero .btn-outline:hover { background: #FFF; color: var(--primary); border-color: #FFF; }

/* ---------- 落地页：两栏（主内容 + 侧栏） ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; padding: 56px 0 72px; }
.detail-layout > * { min-width: 0; }
.detail-block { margin-bottom: 34px; }
.detail-block:last-child { margin-bottom: 0; }
.detail-block h2 { font-size: 22px; font-weight: 700; color: var(--text); margin: 0 0 6px; padding-left: 12px; border-left: 4px solid var(--primary); }
.detail-block .dh-note { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; padding-left: 16px; }
/* 逐条功能：用左侧蓝色竖线 + 序号做层级，不用卡片阴影 */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-list li {
    position: relative; padding: 14px 18px 14px 46px;
    background: #FFF; border: 1px solid var(--border); border-radius: 10px;
    font-size: 14.5px; color: var(--muted); line-height: 1.75; transition: all .25s ease;
}
.feature-list li:hover { border-color: var(--primary-600); transform: translateX(3px); }
.feature-list li b {
    position: absolute; left: 16px; top: 15px;
    width: 18px; height: 18px; border-radius: 50%;
    display: grid; place-items: center; background: var(--primary-light);
    color: var(--primary); font-size: 11px; font-weight: 700;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { background: var(--bg); color: var(--text); font-weight: 600; width: 130px; white-space: nowrap; }
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: none; }
.rel-card { background: #FFF; border: 1px solid var(--border); border-radius: 10px; padding: 18px 16px; transition: all .25s ease; margin-bottom: 12px; }
.rel-card:hover { border-color: var(--primary-600); box-shadow: var(--shadow-sm); }
.rel-card h4 { font-size: 15px; font-weight: 600; margin: 0 0 4px; line-height: 1.5; }
.rel-card h4 a:hover { color: var(--primary); }
.rel-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- 产品中心 / 落地页 响应式 ---------- */
@media (max-width: 1024px) {
    .functions-grid, .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
    .products-grid, .reviews-grid { grid-template-columns: 1fr; }
    .pt-section { padding: 56px 0; }
    /* 高度仍按 24+136+24 走，与桌面一致；只收间距、不收插画高度 */
    .page-hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 26px; padding: 24px 0; }
    .page-hero h1 { font-size: 28px; }
    .pt-cta h2 { font-size: 24px; }
    /* 链条同样收一档，块高 60 → 连线中线 30，margin-top 同步改 29 */
    .chain-item { width: 82px; }
    .chain-glyph { width: 60px; height: 60px; border-radius: 14px; font-size: 24px; }
    .chain-link { width: 22px; margin-top: 29px; }
}
@media (max-width: 640px) {
    /* 窄屏改为文字在上、插画在下并居中：并排会把标题挤成三行 */
    /* ≤640：屏幕没有「右边」可放，堆叠会把这条从原来的 144px 顶到 250px 以上。
       插画是纯装饰（aria-hidden），这里直接隐藏，高度与改造前一致。
       要在手机上保留图，把 display:none 换成 height:88px 即可。 */
    .page-hero-inner { grid-template-columns: 1fr; gap: 0; padding: 40px 0 32px; }
    .page-hero-art { display: none; }
    /* 同理：手机上没有右边，图文条只留文字 */
    .block-art { display: none; }
    .block-art-inner { padding: 14px 0; }
    /* 链条窄屏：隐藏连线、自动换行 —— 块宽刻意留大到「一行只放得下 3 个」，
       这样 6 个正好落成 3+3 两行，左右对称；若按 76px 排会出现 4+2，
       末行只剩两个、看着就"歪"，正是这一版要修掉的那种"错乱"。 */
    .value-chain { padding: 14px 0; }
    .value-chain-title { font-size: 18px; }
    .chain { gap: 12px 6px; margin-top: 12px; }
    .chain-item { width: 100px; }
    .chain-link { display: none; }
    .functions-grid, .value-grid { grid-template-columns: 1fr; }
    .quick-nav .container { padding: 12px 16px; }
    .quick-nav a { width: 100%; }
    .product-card, .function-item, .value-card, .review-card { padding: 22px 18px; }
    .detail-hero h1 { font-size: 25px; }
    .detail-hero { padding: 48px 0 40px; }
    .detail-block h2 { font-size: 19px; }
    .spec-table th { width: 96px; white-space: normal; }
}

/* ---------- 落地页：详情页头部排版补档 ---------- */
.dh-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.dh-head .icon {
    width: 78px; height: 78px; flex: 0 0 78px; border-radius: 16px; overflow: hidden;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24);
    color: #FFF; font-size: 32px; font-weight: 700;
}
.dh-head .icon img { width: 46px; height: 46px; object-fit: contain; display: block; }
.dh-text { min-width: 0; }
.dh-text .badge { background: rgba(255, 255, 255, .18); color: #FFF; font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.dh-text h1 { font-size: 36px; font-weight: 700; color: #FFF; margin: 8px 0 6px; line-height: 1.35; }
.dh-text .lead { font-size: 16px; color: #FFF; opacity: .9; margin: 0; }
.side-card .rel-card { display: block; }
/* 客服总机：白底用主色，深色顶栏换成更亮的辅助蓝——#0F2B46 压在 #0A1622 上对比不足，
   12.5px 的顶栏文字读不清；#5A87AD 级别的亮蓝灰才够。 */
.hotline { color: var(--primary); }
.header-top .hotline { color: #7FA5C5; }
@media (max-width: 640px) {
    .dh-head { flex-direction: column; gap: 14px; }
    .dh-head .icon { width: 60px; height: 60px; flex: 0 0 60px; font-size: 26px; }
    .dh-text h1 { font-size: 25px; }
}

/* =========================================================================
   首页动效 —— 数字感 / 科技感（2026-09-27）
   范围：hero 首屏入场 + 「企业困扰」痛点卡 + 「不止于进销存」生态区
   原则：入场类统一 .anim-rise（JS 加类触发）；禁 JS / 减弱动效时内容完全可见
   ========================================================================= */

/* ---------- hero 首屏：加载即播的逐行上浮 ---------- */
@keyframes hero-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
.hero .container > * { animation: hero-rise .7s cubic-bezier(.22, .61, .36, 1) both; }
.hero .container > :nth-child(2) { animation-delay: .10s; }
.hero .container > :nth-child(3) { animation-delay: .18s; }
.hero .container > :nth-child(4) { animation-delay: .26s; }
.hero .container > :nth-child(5) { animation-delay: .34s; }
.hero .container > :nth-child(6) { animation-delay: .42s; }

/* ---------- 滚动入场（site.js 给目标加 .anim-rise，进入视口加 .in） ---------- */
.anim-rise {
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
}
.anim-rise.in { opacity: 1; transform: none; }

/* ---------- 生态区：缓慢漂移的数据网格底纹 ---------- */
.eco-section::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(88, 129, 235, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(88, 129, 235, .12) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000 28%, transparent 74%);
    mask-image: radial-gradient(ellipse at 50% 42%, #000 28%, transparent 74%);
    animation: grid-drift 28s linear infinite;
}
@keyframes grid-drift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 44px 88px, 88px 44px; }
}
.eco-section .container { position: relative; z-index: 1; }

/* ---------- 金字塔：整体轻微悬浮（不放在层上，避免吃掉 hover 的 scale） ---------- */
@keyframes soft-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}
.pyramid { animation: soft-float 6s ease-in-out infinite; }

/* ---------- 减弱动效 / 禁 JS 兜底 ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero .container > *, .pyramid, .eco-section::before { animation: none !important; }
    .anim-rise { transition: none !important; }
}
/* JS 不可用时 site.js 不会添加 .anim-rise，内容天然可见，无需额外规则 */

/* ==========================================================================
   首页板块（2026-09-29 按 cmgrasp.com 的信息架构重排）
   主视觉轮播 / 四宫格信任状 / 企业规模页签 / 行业页签 / 产品卡 / 新闻三栏
   配色沿用本站令牌，不引入橙色与紫色；静止卡片不带阴影。
   ========================================================================== */

/* ---------- 1. 主视觉轮播 ---------- */
.cm-banner {
    position: relative;
    /* 制造业实景打底：AI 生成工厂图 + 深蓝叠层保证白字可读（2026-09-29 制造业定位改版） */
    background:
        linear-gradient(115deg, rgba(10, 27, 44, .94) 0%, rgba(18, 54, 82, .88) 52%, rgba(30, 74, 115, .78) 100%),
        url('/images/theme/home-hero.jpg') center / cover no-repeat;
    color: #fff;
    overflow: hidden;
}
.cm-slide { display: none; padding: 96px 0 104px; text-align: center; }
.cm-slide.active { display: block; animation: cm-fade .5s ease; }
@keyframes cm-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
.cm-slide-tag {
    display: inline-block; margin-bottom: 18px; padding: 5px 16px; border-radius: 25px;
    background: rgba(255, 255, 255, .16); font-size: 13px; letter-spacing: .5px;
}
.cm-slide-title { font-size: 40px; line-height: 1.3; margin-bottom: 14px; }
.cm-slide-desc { font-size: 17px; color: rgba(255, 255, 255, .85); margin-bottom: 30px; }
.cm-slide-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cm-banner-dots {
    position: absolute; left: 0; right: 0; bottom: 34px;
    display: flex; gap: 6px; justify-content: center;
}
/* 指示点用伪元素画：按钮本身撑到 32×24 保证可点，视觉仍是 32×5 的小条 */
.cm-dot { position: relative; width: 32px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.cm-dot::before {
    content: ""; position: absolute; left: 0; top: 9px; width: 32px; height: 5px;
    border-radius: 3px; background: rgba(255, 255, 255, .4); transition: background .2s;
}
.cm-dot.active::before { background: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--primary); }

/* ---------- 2. 四宫格信任状 ---------- */
.cm-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cm-trust-item {
    display: flex; align-items: center; gap: 14px; padding: 22px 20px;
    background: var(--primary-light); border: 1px solid #DCE8FB; border-radius: var(--radius);
}
.cm-trust-icon {
    flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--primary);
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
}
.cm-trust-body h3 { font-size: 17px; margin: 0 0 2px; }
.cm-trust-body p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- 3. 页签（企业规模 / 行业） ---------- */
.cm-tab-nav { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; }
.cm-tab-nav-wrap { flex-wrap: wrap; }
.cm-tab {
    height: 40px; padding: 0 22px; border-radius: 25px; border: 1px solid var(--border);
    background: #fff; color: var(--text); font-size: 14px; font-weight: 600;
    font-family: inherit; cursor: pointer; transition: all .2s;
}
.cm-tab:hover { border-color: var(--primary); color: var(--primary); }
.cm-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.cm-tab-panel { display: none; }
.cm-tab-panel.active { display: block; }

/* ---------- 4. 产品卡 ---------- */
.cm-prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.cm-prod-card {
    display: flex; flex-direction: column; padding: 24px; background: #fff;
    border: 1px solid var(--border-soft); border-radius: var(--radius);
}
.cm-prod-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.cm-prod-icon {
    flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--primary-100);
    color: var(--primary); display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
}
.cm-prod-name { font-size: 18px; margin: 0 0 2px; }
.cm-prod-name a:hover { color: var(--primary); }
.cm-prod-slogan { margin: 0; font-size: 13px; color: var(--muted); }
.cm-prod-points { list-style: none; margin: 0 0 20px; padding: 0; }
.cm-prod-points li {
    position: relative; padding-left: 18px; margin-bottom: 7px;
    font-size: 14px; color: var(--text); line-height: 1.65;
}
.cm-prod-points li::before {
    content: ""; position: absolute; left: 4px; top: 10px; width: 5px; height: 5px;
    border-radius: 50%; background: var(--primary);
}
.cm-prod-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }

/* ---------- 5. 行业方案面板 ---------- */
.cm-ind-panel {
    display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px;
    background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 32px;
}
.cm-ind-main h3 { font-size: 22px; margin-bottom: 12px; }
.cm-ind-pain { color: var(--muted); font-size: 14px; margin-bottom: 22px; line-height: 1.85; }
.cm-ind-side { background: var(--primary-light); border-radius: var(--radius); padding: 22px; }
.cm-ind-side h4 { font-size: 16px; margin-bottom: 12px; }
.cm-ind-side ul { margin: 0; padding-left: 1.2em; font-size: 14px; color: var(--muted); }
.cm-ind-side li { margin-bottom: 8px; }

/* ---------- 6. 新闻三栏 ---------- */
.cm-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cm-news-col { background: var(--bg); border-radius: var(--radius); padding: 22px; }
.cm-news-head {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-100);
}
.cm-news-list { list-style: none; margin: 0; padding: 0; }
.cm-news-list li {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 9px 0; border-bottom: 1px dashed var(--border-soft); font-size: 14px;
}
.cm-news-list li:last-child { border-bottom: 0; }
.cm-news-list a {
    flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cm-news-list a:hover { color: var(--primary); }
.cm-news-date { flex: none; color: var(--muted-soft); font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .cm-trust { grid-template-columns: repeat(2, 1fr); }
    /* 必须用 minmax(0,1fr)：裸 1fr 的最小尺寸是 min-content，
       新闻标题 nowrap + 省略号会把列撑破视口（横向溢出实测踩过） */
    .cm-news { grid-template-columns: minmax(0, 1fr); }
    .cm-ind-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 576px) {
    .cm-slide { padding: 60px 0 78px; }
    .cm-slide-title { font-size: 25px; }
    .cm-slide-desc { font-size: 15px; }
    .cm-trust { grid-template-columns: 1fr; }
    .cm-prod-actions .btn { flex: 1 1 100%; }
    .cm-ind-panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .cm-slide.active { animation: none; }
}

/* ============================================================
   智能制造专区（首页 #mes 与 /mes 专栏页共用）
   ============================================================ */
.mes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mes-card {
    background: #FFF; border: 1px solid var(--border-soft); border-radius: var(--radius);
    padding: 26px 24px 20px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mes-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-100); }
.mes-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px; font-size: 20px; font-weight: 700;
    background: var(--accent-light); color: var(--accent-dark); margin-bottom: 12px;
}
.mes-card h3 { font-size: 17px; margin-bottom: 6px; }
.mes-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.7; }

.mes-cta {
    margin-top: 26px; border-radius: 14px; padding: 30px 34px;
    background: linear-gradient(120deg, var(--hero-deep), var(--hero-mid));
    color: #FFF; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.mes-cta-text h3 { color: #FFF; font-size: 20px; margin-bottom: 6px; }
.mes-cta-text p { color: rgba(255, 255, 255, .82); font-size: 14px; margin: 0; max-width: 640px; }
.mes-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* /mes 专栏页 Hero */
.mes-hero {
    /* 车间看板实景打底，深蓝叠层压暗保证白字可读 */
    background:
        linear-gradient(115deg, rgba(10, 27, 44, .95) 0%, rgba(18, 54, 82, .9) 55%, rgba(30, 74, 115, .8) 100%),
        url('/images/theme/mes-hero.jpg') center / cover no-repeat;
    color: #FFF; padding: 74px 0 70px;
}
.mes-hero-text { max-width: 720px; }
.mes-hero .cm-slide-tag { display: inline-block; background: rgba(232, 100, 26, .18); color: #FFB37E; font-size: 13px; padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.mes-hero h1 { font-size: 34px; line-height: 1.35; color: #FFF; margin: 0 0 14px; }
.mes-hero .lead { font-size: 15.5px; color: rgba(255, 255, 255, .85); margin-bottom: 24px; }
.mes-hero .cm-slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 三步落地 */
.mes-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mes-step { background: #FFF; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 24px; display: flex; gap: 14px; }
.mes-step-num { font-size: 26px; font-weight: 800; color: var(--accent); line-height: 1; }
.mes-step-body { min-width: 0; }
.mes-step-body h3 { font-size: 16px; margin-bottom: 6px; }
.mes-step-weeks { font-size: 12px; font-weight: 500; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 10px; margin-left: 6px; vertical-align: 2px; }
.mes-step-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.mes-step-points { margin: 0; padding-left: 1.2em; font-size: 13px; color: var(--text); }
.mes-step-points li { margin-bottom: 3px; }

@media (max-width: 1100px) {
    .mes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mes-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .mes-grid { grid-template-columns: minmax(0, 1fr); }
    .mes-cta { flex-direction: column; align-items: flex-start; }
    .mes-hero h1 { font-size: 25px; }
}

/* ---------- 行业页签：自动轮播 + 安徽地图卡（2026-09-29 用户反馈：要滚动/配色不显眼/配地图） ---------- */
.ind-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: stretch; }
.ind-map-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.ind-map-card img, .ind-map-card .ind-map-svg { width: 100%; height: auto; display: block; border-radius: 8px; }
.ind-map-card .ind-map-svg svg { width: 100%; height: auto; display: block; border-radius: 8px; }
.ind-map-copy h4 { font-size: 15.5px; margin: 0 0 4px; }
.ind-map-copy p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
/* 页脚总机电话：原 .figure-xl 深蓝压深色页脚看不清，改机械橙提亮 */
.footer .figure-xl { color: var(--accent); font-size: 24px; letter-spacing: .5px; }
@media (max-width: 1024px) {
    .ind-layout { grid-template-columns: minmax(0, 1fr); }
    .ind-map-card { flex-direction: row; align-items: center; gap: 16px; }
    .ind-map-card img, .ind-map-card .ind-map-svg { width: 150px; flex: none; }
}
@media (max-width: 576px) {
    .ind-map-card { flex-direction: column; align-items: stretch; }
    .ind-map-card img, .ind-map-card .ind-map-svg { width: 100%; }
}
