/* ============================================================
   手机站 m.shxsxbx.com 独立移动端设计系统
   移动优先；桌面直接打开时会居中成“手机画布”，方便预览。
   主站：品牌蓝 + 行动橙；城市站由 cq/cq-m.css 覆盖变量。
   ============================================================ */
:root {
  --brand: #0090e6;
  --brand-strong: #0078c8;
  --brand-soft: #e8f6ff;
  --accent: #fe6100;
  --accent-soft: #fff0e6;
  --ink: #1b2b3a;
  --ink-2: #55626f;
  --ink-3: #8a959f;
  --line: #e6ebf0;
  --bg: #f4f7fa;
  --card: #ffffff;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 8px 30px rgba(27,43,58,.10);
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: #e8edf2; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: 0; cursor: pointer; }

/* 手机画布（桌面预览友好，真机自动 100% 宽） */
.shell { width: 100%; max-width: 520px; margin: 0 auto; background: var(--bg); min-height: 100vh; position: relative; overflow-x: hidden; }

/* 顶部 */
.m-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.m-header-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.m-logo img { height: 32px; }
.m-city { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--ink); margin-left: auto; position: relative; padding-right: 14px; }
.m-city::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); }
.m-menu { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; font-size: 18px; }
.m-searchbar { display: flex; align-items: center; gap: 6px; margin: 0 14px 12px; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 6px 6px 6px 14px; box-shadow: 0 2px 10px rgba(27,43,58,.05); }
.m-searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); }
.m-searchbar button { background: var(--brand); color: #fff; border-radius: 100px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.m-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 14px 10px; }
.m-tabs::-webkit-scrollbar { display: none; }
.m-tabs a { flex: none; padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.m-tabs a.active, .m-tabs a:active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 其余区块间距 */
.m-wrap { padding: 0 14px; }
.m-section { padding: 18px 0 6px; }
.m-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.m-title h2 { margin: 0; font-size: 19px; }
.m-title .more { color: var(--ink-3); font-size: 12px; display: inline-flex; align-items: center; gap: 3px; }
.m-title .eyebrow { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .04em; display: block; margin-bottom: 1px; }

/* 首页 hero */
.m-hero { margin: 0 14px; border-radius: 20px; padding: 18px; color: #fff; background: linear-gradient(135deg, #0b5fa8, #0090e6 58%, #3bb4ff); position: relative; overflow: hidden; }
.m-hero .orb { position: absolute; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.10); top: -60px; right: -40px; }
.m-hero h1 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; position: relative; }
.m-hero h1 em { font-style: normal; color: #ffd9c2; }
.m-hero p { margin: 0 0 14px; font-size: 13px; color: rgba(255,255,255,.86); position: relative; }
.m-hero .call { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 10px 12px; position: relative; }
.m-hero .call small { display: block; font-size: 11px; color: rgba(255,255,255,.75); }
.m-hero .call strong { font-size: 20px; letter-spacing: .02em; color: #fff; }
.m-hero .call a { margin-left: auto; background: var(--accent); color: #fff; border-radius: 999px; padding: 9px 14px; font-weight: 800; font-size: 13px; box-shadow: 0 8px 16px rgba(254,97,0,.25); }
.m-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; position: relative; }
.m-hero-tags span { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 4px 9px; font-size: 11px; color: #eaf6ff; }

/* 服务分类 */
.m-cat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.m-cat a { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 6px; text-align: center; box-shadow: 0 3px 12px rgba(27,43,58,.05); }
.m-cat img { width: 40px; height: 40px; margin: 0 auto 7px; object-fit: contain; }
.m-cat b { display: block; font-size: 13px; }
.m-cat span { color: var(--ink-3); font-size: 11px; }

/* 快速量卡 */
.m-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.m-metric { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 11px 4px; text-align: center; }
.m-metric b { display: block; font-size: 17px; color: var(--brand); }
.m-metric span { font-size: 11px; color: var(--ink-2); }

/* 服务卡 */
.m-service { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-service-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 3px 12px rgba(27,43,58,.05); }
.m-service-card .pic { height: 108px; background: var(--brand-soft); }
.m-service-card img { width: 100%; height: 100%; object-fit: cover; }
.m-service-card .body { padding: 10px 11px 11px; }
.m-service-card h3 { margin: 0 0 3px; font-size: 14px; }
.m-service-card .price { color: var(--accent); font-weight: 800; font-size: 15px; }
.m-service-card .price small { color: var(--ink-3); font-weight: 500; font-size: 10px; }
.m-service-card .meta { color: var(--ink-3); font-size: 10px; margin-top: 5px; display: flex; justify-content: space-between; }

/* 流程 */
.m-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; text-align: center; }
.m-step i { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 6px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-weight: 800; font-style: normal; }
.m-step b { display: block; font-size: 13px; }
.m-step span { color: var(--ink-3); font-size: 10px; }

/* 案例列表 */
.m-article { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: flex; gap: 10px; box-shadow: 0 3px 12px rgba(27,43,58,.05); }
.m-article + .m-article { margin-top: 10px; }
.m-article .pic { width: 104px; height: 74px; flex: none; border-radius: 12px; overflow: hidden; background: var(--brand-soft); }
.m-article img { width: 100%; height: 100%; object-fit: cover; }
.m-article h3 { margin: 0 0 4px; font-size: 14px; line-height: 1.35; }
.m-article p { margin: 0; color: var(--ink-2); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-article .tag { color: var(--ink-3); font-size: 10px; margin-top: 6px; }

/* 答疑 */
.m-qa { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; box-shadow: 0 3px 12px rgba(27,43,58,.05); }
.m-qa + .m-qa { margin-top: 10px; }
.m-qa h3 { margin: 0 0 4px; font-size: 14px; }
.m-qa p { margin: 0; color: var(--ink-2); font-size: 12px; }

/* 页脚 */
.m-footer { background: #0b2438; color: #b6c5d2; margin-top: 22px; padding: 22px 16px calc(76px + env(safe-area-inset-bottom)); }
.m-footer .brand { color: #fff; font-weight: 800; }
.m-footer p { margin: 8px 0; font-size: 12px; }
.m-footer .row { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.m-footer a { color: #b6c5d2; font-size: 12px; }
.m-footer .icp { margin-top: 12px; font-size: 11px; color: #6f879b; }
.m-footer .tel-link { color: #ffd9c2; }

/* 底部转化 dock */
.m-dock { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px; z-index: 60; display: grid; grid-template-columns: 118px 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(27,43,58,.08); }
.m-dock .tel { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--accent); color: var(--accent); border-radius: 100px; font-weight: 800; font-size: 14px; }
.m-dock .order { background: linear-gradient(135deg, var(--accent), #ff8a3d); color: #fff; border-radius: 100px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; box-shadow: 0 8px 18px rgba(254,97,0,.22); }

/* 内页语义标题（保留在头部的全局 h1） */
.m-page-title { margin: 0 14px 10px; font-size: 20px; line-height: 1.35; color: var(--ink); }

.m-footer-cities { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 12px; margin:10px 0; }
.m-footer-cities a { color:#7d94a8; font-size:12px; }
