/* ==========================================================
   wh-style.css — 华康中正亲子鉴定中心（www.wuhandna.com）
   原创样式 · 2026-08-30 · 深蓝信任色系 + 橙色转化色
   ========================================================== */

/* ---------- 重置与变量 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1a5da8;          /* 主色：信任深蓝 */
  --blue-deep: #123c6e;
  --blue-dark: #0f2f52;     /* 页脚底色 */
  --blue-bg: #eef4fb;
  --teal: #18a3a3;          /* 辅助：医疗青 */
  --orange: #ff7d3d;        /* 转化橙 */
  --orange-d: #f06a28;
  --ink: #2c3540;           /* 正文 */
  --ink-2: #5c6672;
  --ink-3: #98a1ab;
  --line: #e4e9ef;
  --bg: #f6f8fb;
  --white: #fff;
  --wrap: 1200px;
  --r: 8px;
  --shadow: 0 8px 26px rgba(18, 60, 110, .08);
  --shadow-h: 0 14px 34px rgba(26, 93, 168, .16);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--white);
  overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
table { border-collapse: collapse; width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { line-height: 1.4; }

.wrap { width: 100%; max-width: var(--wrap); margin-left: auto; margin-right: auto; padding: 0 20px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 34px; border-radius: 999px;
  font-size: 15px; letter-spacing: 1px; transition: all .25s; white-space: nowrap;
}
.btn-o { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 125, 61, .35); }
.btn-o:hover { background: var(--orange-d); color: #fff; transform: translateY(-2px); }
.btn-b { background: var(--blue); color: #fff; }
.btn-b:hover { background: var(--blue-deep); color: #fff; transform: translateY(-2px); }
.btn-w { border: 1px solid rgba(255,255,255,.85); color: #fff; }
.btn-w:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- 顶部条 ---------- */
.wh-topbar { background: var(--blue-dark); color: rgba(255,255,255,.82); font-size: 13px; }
.wh-topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.wh-topbar a { color: #ffd9bf; }
.wh-topbar a:hover { color: #fff; }
.wh-topbar .tb-r span { margin-left: 18px; }

/* ---------- 页头 ---------- */
.wh-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 90; box-shadow: 0 2px 12px rgba(18,60,110,.05); }
.wh-header .wrap { display: flex; align-items: center; gap: 26px; min-height: 84px; }
.wh-logo { flex: none; display: flex; align-items: center; }
.wh-logo img { height: 56px; width: auto; }

.wh-nav { flex: 1; }
.wh-nav > ul { display: flex; justify-content: center; }
.wh-nav > ul > li { position: relative; }
.wh-nav > ul > li > a {
  display: block; padding: 30px 17px; font-size: 15.5px; color: var(--ink); position: relative;
}
.wh-nav > ul > li > a::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 18px; height: 3px;
  background: var(--orange); border-radius: 2px; transform: scaleX(0); transition: transform .25s;
}
.wh-nav > ul > li:hover > a, .wh-nav > ul > li.cur > a { color: var(--blue); font-weight: 600; }
.wh-nav > ul > li:hover > a::after, .wh-nav > ul > li.cur > a::after { transform: scaleX(1); }

.wh-drop {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 190px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-h);
  padding: 8px 0; opacity: 0; visibility: hidden; transition: all .25s; z-index: 95;
}
.wh-nav > ul > li:hover .wh-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.wh-drop a { display: block; padding: 9px 22px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.wh-drop a:hover { background: var(--blue-bg); color: var(--blue); }

.wh-tel { flex: none; text-align: right; }
.wh-tel .t-num { display: block; font-size: 24px; font-weight: 800; color: var(--orange); letter-spacing: .5px; line-height: 1.2; }
.wh-tel .t-lab { font-size: 12px; color: var(--ink-3); }

.wh-burger { display: none; flex: none; width: 44px; height: 44px; position: relative; }
.wh-burger span, .wh-burger span::before, .wh-burger span::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--blue-deep); border-radius: 2px; transition: all .3s;
}
.wh-burger span { top: 21px; }
.wh-burger span::before { top: -7px; }
.wh-burger span::after { top: 7px; }

/* 移动端抽屉 */
.wh-mnav {
  position: fixed; top: 0; right: 0; bottom: 0; width: 78%; max-width: 340px; z-index: 200;
  background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.18); padding: 20px 0 90px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateX(105%); visibility: hidden; transition: transform .3s, visibility .3s;
}
.wh-mnav.open { transform: translateX(0); visibility: visible; }
.wh-mnav .mn-close { display: block; margin-left: auto; padding: 6px 20px 12px; font-size: 26px; color: var(--ink-2); }
.wh-mnav a.mn-item { display: block; padding: 13px 24px; font-size: 16px; color: var(--ink); flex: 1; }
.wh-mnav a.mn-item.cur { color: var(--blue); font-weight: 600; }
.wh-mnav .mn-group { border-bottom: 1px solid var(--line); }
.wh-mnav .mn-row { display: flex; align-items: center; }
.wh-mnav .mn-tg { flex: none; width: 54px; padding: 12px 0; text-align: center; font-size: 20px; color: var(--ink-2); transition: all .25s; }
.wh-mnav .mn-tg.open { color: var(--orange); transform: rotate(45deg); }
.wh-mnav .mn-sub { display: none; background: var(--bg); }
.wh-mnav .mn-sub.open { display: block; }
.wh-mnav .mn-sub a { display: block; padding: 9px 24px 9px 44px; font-size: 14px; color: var(--ink-2); border-top: 1px dashed var(--line); }
.wh-mnav .mn-sub a:hover { color: var(--blue); background: var(--blue-bg); }
.wh-mnav .mn-tel { margin: 18px 24px 0; }
.wh-mask { position: fixed; inset: 0; background: rgba(15,47,82,.5); z-index: 190; opacity: 0; visibility: hidden; transition: all .3s; }
.wh-mask.open { opacity: 1; visibility: visible; }

/* ---------- 首页 Hero 轮播 ---------- */
.wh-hero { position: relative; overflow: hidden; background: var(--blue-dark); }
.wh-hero-track { display: flex; transition: transform .6s ease; }
.wh-hero-item {
  flex: none; width: 100%; min-height: 480px; position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: center/cover no-repeat; padding: 70px 20px;
}
.wh-hero-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,47,82,.55) 0%, rgba(15,47,82,.35) 50%, rgba(15,47,82,.6) 100%);
}
.wh-hero-bd { position: relative; color: #fff; max-width: 860px; }
.wh-hero-bd .k { font-size: 14px; letter-spacing: 4px; text-transform: uppercase; opacity: .8; margin-bottom: 14px; }
.wh-hero-bd h1, .wh-hero-bd .h { font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; letter-spacing: 2px; text-shadow: 0 3px 16px rgba(0,0,0,.3); }
.wh-hero-bd .s { margin-top: 14px; font-size: clamp(14px, 1.6vw, 17px); opacity: .92; letter-spacing: 1px; }
.wh-hero-bd .tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wh-hero-bd .tags span { padding: 6px 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; font-size: 13.5px; background: rgba(255,255,255,.08); }
.wh-hero-bd .acts { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.wh-hero-dots { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.wh-hero-dots button { width: 26px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.45); transition: all .3s; }
.wh-hero-dots button.on { background: var(--orange); width: 40px; }

/* ---------- 内页横幅 ---------- */
.wh-banner { position: relative; background: center/cover no-repeat; color: #fff; }
.wh-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,47,82,.78) 0%, rgba(18,60,110,.6) 55%, rgba(26,93,168,.45) 100%); }
.wh-banner .wrap { position: relative; padding-top: 56px; padding-bottom: 56px; text-align: center; }
.wh-banner h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: 2px; }
.wh-banner .en { display: block; margin-top: 6px; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; opacity: .72; }
.wh-banner .sub { margin-top: 10px; font-size: 14.5px; opacity: .9; }

/* ---------- 面包屑 ---------- */
.wh-crumb { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.wh-crumb .wrap { padding-top: 11px; padding-bottom: 11px; }
.wh-crumb a { color: var(--ink-2); }
.wh-crumb a:hover { color: var(--blue); }
.wh-crumb .sp { margin: 0 7px; color: var(--ink-3); }

/* ---------- 板块 ---------- */
.sec { padding: 64px 0; }
.sec.alt { background: var(--bg); }
.sec-hd { text-align: center; margin-bottom: 44px; }
.sec-hd h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; color: var(--ink); letter-spacing: 1px; }
.sec-hd .en { display: block; margin-top: 4px; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-3); }
.sec-hd .bar { display: block; width: 46px; height: 4px; border-radius: 2px; background: var(--orange); margin: 14px auto 0; }
.sec-hd .tip { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; max-width: 780px; margin-left: auto; margin-right: auto; }

/* ---------- 项目卡 ---------- */
.pj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pj-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; display: flex; flex-direction: column; border: 1px solid var(--line); }
.pj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); border-color: var(--blue); }
.pj-card .pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-bg); }
.pj-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pj-card:hover .pic img { transform: scale(1.05); }
.pj-card .bd { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.pj-card h3 { font-size: 17.5px; }
.pj-card h3 a { color: var(--ink); }
.pj-card h3 a:hover { color: var(--blue); }
.pj-card .tag { display: inline-block; margin: 8px 0 6px; font-size: 12.5px; color: var(--teal); background: rgba(24,163,163,.09); border: 1px solid rgba(24,163,163,.25); padding: 2px 10px; border-radius: 999px; align-self: flex-start; }
.pj-card .ds { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.pj-card .pr { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); }
.pj-card .pr b { color: var(--orange); font-size: 16px; }
.pj-card .mk { margin-top: 10px; font-size: 13.5px; color: var(--blue); }

/* ---------- 关于我们 ---------- */
.ab-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.ab-pic { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.ab-pic img { width: 100%; display: block; }
.ab-txt h2 { font-size: 26px; margin-bottom: 6px; }
.ab-txt .en { font-size: 13px; letter-spacing: 3px; color: var(--ink-3); text-transform: uppercase; }
.ab-txt p { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.ab-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.ab-nums li { background: var(--blue-bg); border-radius: var(--r); text-align: center; padding: 16px 8px; }
.ab-nums b { display: block; font-size: 22px; color: var(--blue); }
.ab-nums span { font-size: 12.5px; color: var(--ink-2); }
.ab-feats { margin-top: 18px; }
.ab-feats li { position: relative; padding-left: 24px; margin-top: 9px; font-size: 14.5px; color: var(--ink-2); }
.ab-feats li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 3px; background: var(--teal); opacity: .85; }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(7, 1fr); }
.flow-it { position: relative; text-align: center; padding: 0 6px; }
.flow-it .ic {
  width: 72px; height: 72px; margin: 0 auto; border-radius: 50%;
  background: var(--blue-bg); border: 2px solid var(--blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; position: relative; z-index: 2; transition: all .25s;
}
.flow-it::before {
  content: ""; position: absolute; top: 36px; left: -50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, #b9c8d8 0 8px, transparent 8px 14px); z-index: 1;
}
.flow-it:first-child::before { display: none; }
.flow-it h3 { margin-top: 14px; font-size: 15.5px; }
.flow-it p { margin-top: 4px; font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.flow-it:hover .ic {
  background: var(--orange); border-color: var(--orange); color: #fff;
  transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 125, 61, .3);
}

/* 纵向时间轴：详情页 .flow-v 强制；.flow 在 ≤991px 自动切换（同一设计语言的纵向形态） */
.flow-v { display: block; }
.flow-v .flow-it {
  display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto;
  column-gap: 20px; text-align: left; padding: 0 0 30px;
}
.flow-v .flow-it:last-child { padding-bottom: 0; }
.flow-v .flow-it .ic { grid-column: 1; grid-row: 1 / 3; align-self: start; width: 56px; height: 56px; margin: 0; font-size: 20px; }
.flow-v .flow-it h3 { grid-column: 2; grid-row: 1; margin-top: 3px; font-size: 16.5px; }
.flow-v .flow-it p { grid-column: 2; grid-row: 2; margin-top: 5px; font-size: 14px; }
.flow-v .flow-it::before {
  top: 62px; bottom: 2px; left: 27px; right: auto; width: 2px; height: auto;
  background: repeating-linear-gradient(180deg, #b9c8d8 0 8px, transparent 8px 14px);
}
.flow-v .flow-it:first-child::before { display: block; }
.flow-v .flow-it:last-child::before { display: none; }

.flow-note { margin-top: 34px; text-align: center; font-size: 14px; color: var(--ink-2); background: var(--blue-bg); border-radius: var(--r); padding: 14px 20px; }
.flow-note a { color: var(--blue); font-weight: 600; }

/* ---------- 采样 ---------- */
.sp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.sp-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  text-align: center; padding: 24px 12px 18px; transition: all .28s; display: block;
}
.sp-card:hover { border-color: var(--blue); box-shadow: var(--shadow-h); transform: translateY(-4px); }
.sp-card .ic {
  width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; background: var(--blue-bg);
  display: flex; align-items: center; justify-content: center;
}
.sp-card .ic img { width: 46px; height: 46px; object-fit: contain; }
.sp-card h3 { margin-top: 12px; font-size: 15px; color: var(--ink); }
.sp-card p { margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.sp-card:hover h3 { color: var(--blue); }

/* ---------- 价格表 ---------- */
.fee-box { max-width: 980px; margin: 0 auto; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.fee-tbl th, .fee-tbl td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.fee-tbl thead th { background: var(--blue); color: #fff; font-size: 15px; letter-spacing: 1px; }
.fee-tbl tbody tr:nth-child(even) { background: var(--bg); }
.fee-tbl tbody tr:hover { background: var(--blue-bg); }
.fee-tbl td b { color: var(--orange); font-size: 16px; }
.fee-note { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.fee-note a { color: var(--blue); font-weight: 600; }

/* ---------- 新闻 ---------- */
.nw-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nw-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.nw-col .hd { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.nw-col .hd h2 { font-size: 16.5px; }
.nw-col .hd a { font-size: 12.5px; color: rgba(255,255,255,.85); }
.nw-col .hd a:hover { color: #fff; }
.nw-col ul { padding: 8px 20px 16px; }
.nw-col li { border-bottom: 1px dashed var(--line); }
.nw-col li:last-child { border-bottom: 0; }
.nw-col li a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14px; color: var(--ink-2); }
.nw-col li a .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nw-col li a time { flex: none; font-size: 12.5px; color: var(--ink-3); }
.nw-col li a:hover { color: var(--blue); }
.nw-col li a:hover .t { text-decoration: underline; }

/* 新闻列表页 */
.nw-list { display: flex; flex-direction: column; gap: 16px; }
.nw-item { display: flex; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; transition: all .25s; }
.nw-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.nw-item .bd { flex: 1; min-width: 0; }
.nw-item h2 { font-size: 17px; }
.nw-item h2 a { color: var(--ink); }
.nw-item h2 a:hover { color: var(--blue); }
.nw-item .sum { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-item .meta { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.nw-item .go { flex: none; align-self: center; font-size: 13px; color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: 6px 16px; }
.nw-item .go:hover { background: var(--blue); color: #fff; }

/* ---------- 问答 ---------- */
.qa-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.qa-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); transition: all .25s; display: flex; flex-direction: column; }
.qa-col:hover { border-color: var(--blue); box-shadow: var(--shadow-h); }
.qa-col .hd { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.qa-col .hd .dot { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-bg); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.qa-col .hd h3 { font-size: 16.5px; }
.qa-col .hd h3 a { color: var(--ink); }
.qa-col .hd h3 a:hover { color: var(--blue); }
.qa-col .sub { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.qa-col ul { margin-top: 10px; flex: 1; }
.qa-col li { border-bottom: 1px dashed var(--line); }
.qa-col li:last-child { border-bottom: 0; }
.qa-col li a { display: block; padding: 9.5px 0 9.5px 18px; font-size: 13.5px; color: var(--ink-2); position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qa-col li a::before { content: "Q"; position: absolute; left: 0; top: 10px; color: var(--orange); font-weight: 800; font-size: 12px; }
.qa-col li a:hover { color: var(--blue); }
.qa-col .more { margin-top: 12px; font-size: 13px; color: var(--blue); }

/* 问答条（列表页） */
.qa-rows { display: flex; flex-direction: column; gap: 16px; }
.qa-row { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; transition: all .25s; }
.qa-row:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.qa-row .q { display: flex; gap: 12px; align-items: flex-start; }
.qa-row .q .badge { flex: none; background: var(--orange); color: #fff; font-weight: 800; font-size: 13px; border-radius: 6px; padding: 1px 8px; margin-top: 3px; }
.qa-row h2 { font-size: 16.5px; flex: 1; }
.qa-row h2 a { color: var(--ink); }
.qa-row h2 a:hover { color: var(--blue); }
.qa-row .sum { margin: 8px 0 0 34px; font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qa-row .meta { margin: 10px 0 0 34px; font-size: 12.5px; color: var(--ink-3); }

/* 问答详情 */
.qd-q { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--r); padding: 26px 30px; box-shadow: var(--shadow); }
.qd-q h1 { font-size: 21px; }
.qd-q .meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--ink-3); }
.qd-q .desc { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: 15px; }
.qd-a { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 30px; }
.qd-a.best { border-left: 4px solid var(--teal); }
.qd-a .hd { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.qd-a .hd .tt { font-size: 16.5px; font-weight: 700; color: var(--teal); }
.qd-a .hd .tt .bk { font-size: 12px; background: rgba(24,163,163,.12); color: var(--teal); border-radius: 4px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.qd-a .who { display: flex; align-items: center; gap: 10px; }
.qd-a .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.qd-a .who .nm { font-size: 14.5px; font-weight: 600; }
.qd-a .who .rl { font-size: 12px; color: var(--ink-3); }
.qd-a .ct { padding-top: 16px; }
.qd-a .ct p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.qd-a .ct p:first-child { margin-top: 0; }

/* ---------- 城市网点 ---------- */
.ct-hero { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 30px; display: flex; gap: 30px; align-items: center; box-shadow: var(--shadow); flex-wrap: wrap; }
.ct-hero .flag { flex: none; width: 86px; height: 86px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ct-hero .flag b { font-size: 20px; }
.ct-hero .flag span { font-size: 11px; opacity: .85; }
.ct-hero .inf { flex: 1; min-width: 260px; }
.ct-hero .inf h2 { font-size: 20px; }
.ct-hero .inf p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.ct-hero .tel { flex: none; text-align: center; }
.ct-hero .tel b { display: block; font-size: 24px; color: var(--orange); }
.ct-hero .tel span { font-size: 12px; color: var(--ink-3); }

.ct-group { margin-top: 40px; }
.ct-group .gh { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ct-group .gh h2 { font-size: 19px; }
.ct-group .gh .ln { flex: 1; height: 1px; background: var(--line); }
.ct-group .gh .cnt { font-size: 13px; color: var(--ink-3); }
.ct-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ct-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 14px; text-align: center; transition: all .25s; }
.ct-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.ct-card .nm { font-size: 16px; font-weight: 700; color: var(--ink); }
.ct-card:hover .nm { color: var(--blue); }
.ct-card .ds { margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.ct-card .bd-tag { display: inline-block; margin-bottom: 8px; font-size: 11px; padding: 1px 10px; border-radius: 999px; }
.bd-tag.hb { background: var(--blue-bg); color: var(--blue); }
.bd-tag.zb { background: rgba(24,163,163,.1); color: var(--teal); }
.bd-tag.wh { background: rgba(255,125,61,.12); color: var(--orange); }

/* ---------- 联系 ---------- */
.ct-panels { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; }
.ct-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); }
.ct-panel h2 { font-size: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--blue-bg); margin-bottom: 18px; position: relative; }
.ct-panel h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--orange); }
.ct-panel ul li { display: flex; gap: 14px; padding: 9px 0; font-size: 14.5px; }
.ct-panel ul li .k { flex: none; width: 76px; color: var(--ink-3); }
.ct-panel ul li .v { flex: 1; color: var(--ink-2); }
.ct-panel ul li .v b, .ct-panel ul li .v a.big { color: var(--orange); font-size: 19px; font-weight: 800; }
.ct-panel .note { margin-top: 16px; font-size: 13px; color: var(--ink-3); background: var(--bg); border-radius: 6px; padding: 10px 14px; }
.act-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.act-row .btn { flex: 1 1 auto; text-align: center; min-width: 140px; }

/* ---------- 两栏布局（详情页） ---------- */
.lay { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.lay-side { position: sticky; top: 100px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px; }
.side-box .sb-hd { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; padding: 16px 22px; font-size: 17px; font-weight: 700; }
.side-box a.sb-it { display: flex; justify-content: space-between; align-items: center; padding: 12.5px 22px; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.side-box a.sb-it::after { content: "›"; color: var(--ink-3); font-size: 17px; }
.side-box a.sb-it:hover, .side-box a.sb-it.on { background: var(--blue-bg); color: var(--blue); font-weight: 600; }
.side-box a.sb-it:last-child { border-bottom: 0; }
.side-tel { background: var(--blue-dark); color: #fff; border-radius: var(--r); padding: 24px 22px; text-align: center; }
.side-tel .num { display: block; font-size: 23px; font-weight: 800; color: #ffd9bf; letter-spacing: .5px; }
.side-tel p { margin-top: 8px; font-size: 12.5px; opacity: .85; line-height: 1.7; }
.side-tel .btn { margin-top: 14px; padding: 9px 26px; font-size: 13.5px; }

/* 正文 */
.art { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 34px 38px; box-shadow: var(--shadow); min-width: 0; }
.art .a-tt { font-size: 23px; font-weight: 800; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.art .a-meta { padding: 12px 0; font-size: 13px; color: var(--ink-3); border-bottom: 1px dashed var(--line); margin-bottom: 20px; }
.art p { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.art h2 { margin-top: 30px; font-size: 18.5px; padding-left: 12px; border-left: 4px solid var(--blue); }
.art h2 + p, .art h2 + ul, .art h2 + ol { margin-top: 12px; }
.art ul, .art ol { margin-top: 14px; padding-left: 4px; }
.art ul li, .art ol li { position: relative; padding-left: 22px; margin-top: 9px; font-size: 15px; color: var(--ink-2); }
.art ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); }
.art ol { counter-reset: olc; }
.art ol li { counter-increment: olc; }
.art ol li::before { content: counter(olc); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-bg); color: var(--blue); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.art img { border-radius: 6px; }
.art .a-foot { margin-top: 30px; padding: 16px 20px; background: var(--blue-bg); border-radius: var(--r); font-size: 14px; color: var(--ink-2); }
.art .a-foot a { color: var(--blue); font-weight: 700; }
.art .rel { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 20px; }
.art .rel h3 { font-size: 16.5px; margin-bottom: 10px; }
.art .rel li { margin-top: 8px; font-size: 14px; }
.art .rel li a { color: var(--ink-2); }
.art .rel li a:hover { color: var(--blue); }
.art .rel li a::before { content: "·"; color: var(--orange); font-weight: 800; margin-right: 8px; }

/* FAQ 折叠样式（静态展开） */
.faq-it { border: 1px solid var(--line); border-radius: var(--r); margin-top: 14px; overflow: hidden; }
.faq-it .fq { background: var(--bg); padding: 13px 18px; font-size: 15px; font-weight: 600; color: var(--ink); position: relative; padding-left: 44px; }
.faq-it .fq::before { content: "问"; position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.faq-it .fa { padding: 13px 18px 13px 44px; font-size: 14px; color: var(--ink-2); position: relative; }
.faq-it .fa::before { content: "答"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* ---------- 页脚 ---------- */
.wh-footer { margin-top: 60px; background: var(--blue-dark); color: rgba(255,255,255,.75); font-size: 13.5px; }
.ft-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding: 54px 0 40px; }
.ft-brand img { height: 52px; background: #fff; padding: 6px 10px; border-radius: 6px; }
.ft-brand p { margin-top: 16px; line-height: 1.8; font-size: 13px; }
.ft-col .ft-tit { color: #fff; font-size: 15.5px; margin-bottom: 16px; position: relative; padding-bottom: 10px; font-weight: 700; }
.ft-col .ft-tit::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--orange); }
.ft-col li { margin-top: 9px; }
.ft-col a { color: rgba(255,255,255,.72); }
.ft-col a:hover { color: #ffd9bf; text-decoration: underline; }
.ft-call { margin-top: 18px; padding: 10px 30px; font-size: 14px; }
.ft-c li { display: flex; gap: 10px; margin-top: 10px; line-height: 1.6; align-items: baseline; }
.ft-c .k { flex: none; width: 3.4em; color: rgba(255,255,255,.45); }
.ft-c .tel { color: #ffd9bf; font-size: 17px; font-weight: 800; }
.ft-c .tel a { color: #ffd9bf; }
.ft-c .tel a:hover { color: #fff; }
.ft-btm { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.55); }
.ft-btm a { color: rgba(255,255,255,.65); }
.ft-btm a:hover { color: #fff; }

/* ---------- 悬浮条 ---------- */
.wh-fbar { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 120; display: flex; flex-direction: column; gap: 10px; }
.wh-fbar a, .wh-fbar button {
  width: 54px; height: 54px; border-radius: 10px; background: var(--blue); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 11px; box-shadow: var(--shadow); transition: all .25s;
}
.wh-fbar a:hover, .wh-fbar button:hover { background: var(--orange); color: #fff; transform: translateX(-3px); }
.wh-fbar svg { width: 20px; height: 20px; fill: currentColor; }
.wh-mbar { display: none; }

/* ---------- 404 ---------- */
.err { text-align: center; padding: 90px 20px; }
.err h1 { font-size: 90px; color: var(--blue); letter-spacing: 6px; line-height: 1; }
.err p { margin-top: 16px; color: var(--ink-2); }
.err .acts { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.err .links { margin-top: 26px; font-size: 14px; color: var(--ink-3); }
.err .links a { color: var(--blue); margin: 0 6px; }

/* ---------- 网站地图 ---------- */
.sm-group { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; margin-bottom: 20px; }
.sm-group h2 { font-size: 17px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.sm-group ul { display: flex; flex-wrap: wrap; gap: 0; }
.sm-group li { width: 25%; }
.sm-group li a { display: block; padding: 7px 10px; font-size: 13.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-group li a:hover { color: var(--blue); background: var(--blue-bg); border-radius: 4px; }

/* ---------- 提示复制 toast ---------- */
.wh-toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px);
  background: rgba(15,47,82,.92); color: #fff; padding: 10px 26px; border-radius: 999px;
  font-size: 14px; z-index: 300; opacity: 0; visibility: hidden; transition: all .3s; pointer-events: none;
}
.wh-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .pj-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-grid { grid-template-columns: repeat(4, 1fr); }
  .ct-grid { grid-template-columns: repeat(4, 1fr); }
  .wh-nav > ul > li > a { padding: 30px 12px; font-size: 14.5px; }
}
/* 992–1199 断层带：保持单行 7 列，压缩尺寸，流程不断裂 */
@media (max-width: 1199px) and (min-width: 992px) {
  .flow:not(.flow-v) .flow-it { padding: 0 2px; }
  .flow:not(.flow-v) .flow-it .ic { width: 60px; height: 60px; font-size: 20px; }
  .flow:not(.flow-v) .flow-it::before { top: 30px; }
  .flow:not(.flow-v) .flow-it h3 { font-size: 14px; }
  .flow:not(.flow-v) .flow-it p { font-size: 12.5px; }
}
@media (max-width: 991px) {
  .wh-nav, .wh-tel { display: none; }
  .wh-burger { display: block; margin-left: auto; }
  .wh-header .wrap { min-height: 66px; }
  .wh-logo img { height: 44px; }
  .lay { grid-template-columns: 1fr; }
  /* 手机端正文优先：内容在前，侧栏（栏目导航+咨询卡）移至末尾 */
  .lay > .lay-side { order: 99; }
  /* 流程切换为纵向时间轴（与详情页 .flow-v 同一形态） */
  .flow:not(.flow-v) { display: block; }
  .flow:not(.flow-v) .flow-it {
    display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto;
    column-gap: 20px; text-align: left; padding: 0 0 30px;
  }
  .flow:not(.flow-v) .flow-it:last-child { padding-bottom: 0; }
  .flow:not(.flow-v) .flow-it .ic { grid-column: 1; grid-row: 1 / 3; align-self: start; width: 56px; height: 56px; margin: 0; font-size: 20px; }
  .flow:not(.flow-v) .flow-it h3 { grid-column: 2; grid-row: 1; margin-top: 3px; font-size: 16.5px; }
  .flow:not(.flow-v) .flow-it p { grid-column: 2; grid-row: 2; margin-top: 5px; font-size: 14px; }
  .flow:not(.flow-v) .flow-it::before {
    top: 62px; bottom: 2px; left: 27px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, #b9c8d8 0 8px, transparent 8px 14px);
  }
  .flow:not(.flow-v) .flow-it:first-child::before { display: block; }
  .flow:not(.flow-v) .flow-it:last-child::before { display: none; }
  .lay-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .side-tel { display: flex; flex-direction: column; justify-content: center; }
  .ab-grid { grid-template-columns: 1fr; gap: 30px; }
  .nw-cols, .qa-cols { grid-template-columns: 1fr; }
  .ct-panels { grid-template-columns: 1fr; }
  /* 页脚移动端：单列分块，联系卡片置顶，链接两列网格，简介收尾 */
  .ft-main { grid-template-columns: 1fr; gap: 0; padding: 40px 0 28px; }
  .ft-main > .ft-c {
    order: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px; padding: 22px 24px; margin-bottom: 6px;
  }
  .ft-main > .ft-col:nth-child(2) { order: 2; }
  .ft-main > .ft-col:nth-child(3) { order: 3; }
  .ft-main > .ft-brand { order: 4; }
  .ft-main > .ft-col:not(.ft-c) { padding: 20px 0 16px; border-top: 1px solid rgba(255,255,255,.1); }
  .ft-main > .ft-brand { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
  .ft-col ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .ft-col .ft-tit { margin-bottom: 12px; }
  .ft-c ul { display: block; }
  .ft-c .tel { font-size: 22px; }
  .ft-call { margin-top: 16px; padding: 10px 30px; font-size: 14px; }
  .ft-brand p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .sec { padding: 46px 0; }
  .wh-hero-item { min-height: 400px; }
  .wh-fbar { display: none; }
  .wh-mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    box-shadow: 0 -4px 18px rgba(0,0,0,.12);
  }
  .wh-mbar a, .wh-mbar button {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 0; font-size: 15px; color: #fff; background: var(--blue);
  }
  .wh-mbar .mb-o { background: var(--orange); }
  .wh-mbar svg { width: 18px; height: 18px; fill: currentColor; }
  body { padding-bottom: 52px; }
}
@media (max-width: 767px) {
  .wh-topbar .tb-l { display: none; }
  .wh-topbar .wrap { height: auto; min-height: 36px; flex-wrap: wrap; justify-content: center; padding-top: 7px; padding-bottom: 7px; }
  .wh-topbar .tb-r { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
  .wh-topbar .tb-r span { margin-left: 0; white-space: nowrap; font-size: 12.5px; }
  .pj-grid { grid-template-columns: 1fr; }
  .sp-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .sp-card { padding: 16px 8px 14px; }
  .sp-card .ic { width: 58px; height: 58px; }
  .ct-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ab-nums { grid-template-columns: repeat(2, 1fr); }
  .lay-side { grid-template-columns: 1fr; }
  .art { padding: 24px 20px; }
  .nw-item { flex-direction: column; gap: 12px; }
  .nw-item .go { align-self: flex-start; }
  .fee-tbl thead { display: none; }
  .fee-tbl, .fee-tbl tbody, .fee-tbl tr, .fee-tbl td { display: block; width: 100%; }
  .fee-tbl tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .fee-tbl td { border: 0; padding: 6px 14px; display: flex; justify-content: space-between; gap: 16px; }
  .fee-tbl td::before { content: attr(data-label); color: var(--ink-3); flex: none; }
  .sm-group li { width: 50%; }
  .qd-q, .qd-a { padding: 20px; }
  .ct-hero { flex-direction: column; text-align: center; }
  .wh-hero-item { min-height: 360px; padding: 50px 16px; }
  .wh-banner .wrap { padding-top: 38px; padding-bottom: 38px; }
}
@media (max-width: 480px) {
  .sp-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-main { grid-template-columns: 1fr; }
  .sm-group li { width: 100%; }
}
