/* ==========================================================================
   慈溪翻译网 · www.cixifany.com — 站点样式
   梦非凡想翻译公司（慈溪本地站）
   单一文件、无外部依赖、移动优先
   设计取向：青瓷绿主色 + 杨梅红点缀（慈溪地方文化），衬线标题提升质感
   ========================================================================== */

:root {
  /* 墨色层级 */
  --ink: #16211f;
  --ink-2: #3c4a47;
  --ink-3: #6d7b78;
  --line: #dde4e2;
  --line-2: #edf1f0;
  --bg: #ffffff;
  --bg-2: #f7f9f8;
  --bg-3: #eef3f1;

  /* 主色：越窑青瓷绿（深） */
  --brand: #0e6a5d;
  --brand-d: #0a5047;
  --brand-l: #e7f2ef;
  --brand-ll: #f3f8f7;

  /* 点缀色：慈溪杨梅红 */
  --accent: #a8324a;
  --accent-d: #8a2739;
  --accent-l: #fbeef0;

  /* 深底体系（首屏 / 横幅）——深青墨 */
  --deep-900: #0b1a20;
  --deep-800: #11272c;
  --deep-700: #1d3a40;
  --deep-300: #a9bcbd;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .80);
  --on-dark-3: rgba(255, 255, 255, .58);
  --line-on-dark: rgba(255, 255, 255, .12);
  --brand-on-dark: #4fd0b3;
  --brand-on-dark-l: #8ee3cd;

  --radius: 8px;
  --radius-lg: 14px;
  --radius-sm: 5px;
  --shadow: 0 1px 2px rgba(22, 33, 31, .05), 0 8px 24px -10px rgba(22, 33, 31, .12);
  --shadow-h: 0 2px 6px rgba(22, 33, 31, .07), 0 18px 40px -16px rgba(22, 33, 31, .20);
  --wrap: 1200px;

  /* 字体：全部为系统字体或开源字体，不加载任何网络字体（无 @font-face），
     因此不存在商业字体授权问题。
     无衬线栈中的 Source Han Sans / Noto Sans CJK 为 SIL OFL 开源字体；
     衬线栈中的 Source Han Serif / Noto Serif CJK 同为 OFL。
     其余（PingFang SC / 微软雅黑 / 宋体 / Georgia 等）都是访客系统自带字体。 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", "Noto Serif SC",
    Georgia, "Times New Roman", "SimSun", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.32; color: var(--ink); margin: 0 0 .55em; font-weight: 700; }
h1, h2 { font-family: var(--serif); letter-spacing: .005em; }
h1 { font-size: clamp(1.72rem, 1.2rem + 1.9vw, 2.6rem); letter-spacing: -.005em; }
h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.72rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
code { font-family: var(--mono); font-size: .9em; background: var(--bg-2); padding: .1em .35em; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 6px; box-shadow: var(--shadow); }

/* ---------- 公告条 ---------- */
.notice { background: var(--deep-900); color: var(--on-dark-2); font-size: .93rem; }
.notice-inner { display: flex; align-items: center; gap: 12px; padding: 9px 20px; flex-wrap: wrap; }
.notice-tag { background: rgba(79, 208, 179, .16); color: var(--brand-on-dark); border-radius: 3px; padding: 1px 8px; font-size: .8rem; letter-spacing: .04em; }
.notice a { color: #fff; }
.notice a:hover { text-decoration: underline; }
.notice-date { margin-left: auto; opacity: .6; font-size: .85rem; font-family: var(--mono); }

/* ---------- 页头 ---------- */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(150deg, var(--brand) 0%, var(--deep-800) 100%); color: #fff; display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; flex: 0 0 auto; font-family: var(--serif); }
.brand-text { display: flex; flex-direction: column; line-height: 1.24; }
.brand-text strong { font-size: 1.06rem; color: var(--ink); letter-spacing: .01em; }
.brand-text em { font-style: normal; font-size: .73rem; color: var(--ink-3); letter-spacing: .02em; }

.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer; padding: 11px 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink-2); border-radius: 2px; margin-bottom: 4px; }
.nav-toggle span:last-child { margin-bottom: 0; }

.site-nav { margin-left: auto; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1px; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a { display: flex; align-items: center; gap: 3px; padding: 9px 10px; border-radius: 8px; color: var(--ink-2); font-size: .93rem; font-weight: 500; white-space: nowrap; }
.site-nav > ul > li > a:hover { background: var(--bg-2); color: var(--brand-d); text-decoration: none; }
.site-nav > ul > li > a[aria-current="page"] { color: var(--brand); background: var(--brand-l); }
.caret { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; opacity: .6; }

/* 下拉菜单：参考 www.iadre.com 的纯 CSS 淡入淡出。
   要点是「不用 display 切换、不用 JS 维持展开」——
   用 opacity/visibility/transform 过渡，鼠标移到别的菜单时，上一个立即开始淡出，
   不会出现两个菜单同时停留的混乱感。visibility 的过渡延迟到淡出结束再真正隐藏，
   这样既保留渐变消失，又保证隐藏后不挡点击。 */
.site-nav .sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-h); padding: 8px;
  display: grid; grid-template-columns: 1fr; gap: 1px; z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.site-nav .sub-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 420px; }
/* 触发器与下拉之间有 6px 间隙，用透明伪元素补成可命中区域，指针斜向移动时不会掉出去 */
.site-nav .sub::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.site-nav li:hover > .sub,
.site-nav li:focus-within > .sub {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
.site-nav .sub a { display: block; padding: 6px 10px; border-radius: 7px; font-size: .9rem; color: var(--ink-2); }
.site-nav .sub a:hover { background: var(--bg-3); color: var(--brand-d); text-decoration: none; }
/* 双列下拉里的「全部/更多」入口，横跨两列 */
.site-nav .sub .sub-all { grid-column: 1 / -1; margin-top: 4px; border-top: 1px solid var(--line-2); padding-top: 8px; color: var(--brand-d); font-weight: 600; }

.head-cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.head-tel { font-size: .78rem; color: var(--ink-3); line-height: 1.2; text-align: right; }
.head-tel b { display: block; font-size: .95rem; color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: var(--radius); background: var(--brand); color: #fff; font-size: .94rem; font-weight: 600; border: 1px solid var(--brand); cursor: pointer; transition: .18s; }
.btn:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 7px 14px; font-size: .87rem; }
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-outline:hover { background: var(--brand-l); color: var(--brand-d); border-color: var(--brand-l); }
.btn-light { background: #fff; color: var(--brand-d); border-color: #fff; }
.btn-light:hover { background: #eef7f5; color: var(--brand-d); border-color: #eef7f5; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-block { display: flex; width: 100%; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark);
  background: linear-gradient(158deg, var(--deep-900) 0%, var(--deep-800) 50%, var(--deep-700) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 76% 64% at 30% 36%, #000 32%, transparent 78%);
  mask-image: radial-gradient(ellipse 76% 64% at 30% 36%, #000 32%, transparent 78%); }
.hero::after { content: ""; position: absolute; top: -20%; right: -6%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(79, 208, 179, .18) 0%, transparent 66%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding: clamp(48px, 7vw, 96px) 0 clamp(34px, 4vw, 56px); }
.hero-home .hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-on-dark); font-weight: 600; margin: 0 0 14px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); color: var(--on-dark-2); max-width: 46ch; }
.hero-points { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.hero-points li { position: relative; padding-left: 26px; color: var(--on-dark-2); font-size: .96rem; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--brand-on-dark); border-bottom: 2px solid var(--brand-on-dark); transform: rotate(-45deg); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 16px; }
.hero-note { font-size: .9rem; color: var(--on-dark-3); margin: 0; }
.hero-note a { color: var(--brand-on-dark-l); }

.hero-card { position: relative; z-index: 2; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-on-dark); border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px); }
.hero-card h2 { color: #fff; font-size: 1.12rem; margin-bottom: 16px; font-family: var(--font); }
.hero-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-card-list li { display: flex; gap: 12px; align-items: flex-start; }
.hero-card-list .hc-num { font-family: var(--mono); font-size: .82rem; color: var(--brand-on-dark); border: 1px solid rgba(79,208,179,.4); border-radius: 5px; padding: 2px 7px; flex: 0 0 auto; margin-top: 2px; }
.hero-card-list .hc-t { color: #fff; font-weight: 600; font-size: .96rem; }
.hero-card-list .hc-d { color: var(--on-dark-3); font-size: .86rem; margin: 2px 0 0; line-height: 1.6; }
.hero-card-foot { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line-on-dark); font-size: .88rem; color: var(--on-dark-2); }

.stat-bar { position: relative; z-index: 2; border-top: 1px solid var(--line-on-dark); background: rgba(0, 0, 0, .14); }
.stat-bar ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-bar li { display: flex; flex-direction: column; gap: 3px; }
.stat-bar strong { color: var(--brand-on-dark); font-size: 1.28rem; font-family: var(--serif); }
.stat-bar span { color: var(--on-dark-3); font-size: .85rem; line-height: 1.5; }

/* ---------- 区块通用 ---------- */
.section { padding: clamp(46px, 6vw, 76px) 0; }
.band { background: var(--bg-2); padding: clamp(46px, 6vw, 76px) 0; }
.band-soft { background: var(--brand-ll); }
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .45em; }
.section-head p { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 0; }
.section-head .eyebrow { color: var(--accent); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.section-foot { margin-top: 28px; }
.subs-head { font-size: 1.02rem; margin: 30px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.subs-head:first-of-type { margin-top: 0; }
.kouyi-notes { margin-top: 26px; }
.section-figure { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.section-figure img { width: 100%; }
.section-figure figcaption { background: #fff; padding: 12px 18px; font-size: .87rem; color: var(--ink-3); border-top: 1px solid var(--line); }

/* ---------- 卡片栅格 ---------- */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: .18s; }
.card:hover { border-color: var(--brand); box-shadow: var(--shadow-h); transform: translateY(-3px); }
.card-link { display: block; padding: 22px 22px 20px; color: inherit; height: 100%; }
.card-link:hover { text-decoration: none; }
.card-link h3 { margin-bottom: .4em; }
.card-link p { color: var(--ink-2); font-size: .92rem; margin-bottom: 0; line-height: 1.7; }
.card-link .more { display: inline-block; margin-top: 14px; color: var(--brand); font-size: .88rem; font-weight: 600; }
.card-link:hover .more { color: var(--brand-d); }
.card-tag { display: inline-block; font-size: .74rem; letter-spacing: .06em; color: var(--accent); background: var(--accent-l); border-radius: 4px; padding: 2px 8px; margin-bottom: 10px; }
.cad-card .card-link { border-top: 3px solid var(--brand); border-radius: var(--radius-lg); }

/* ---------- 链接栅格 / 芯片 ---------- */
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.link-grid-3 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.link-grid-4 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.link-grid a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; color: var(--ink); }
.link-grid a::after { content: "→"; color: var(--brand); opacity: .5; font-size: .9rem; }
.link-grid a:hover { border-color: var(--brand); background: var(--brand-ll); color: var(--brand-d); text-decoration: none; }
.link-grid span { display: block; font-size: .78rem; color: var(--ink-3); }

.chip-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-links a { display: inline-block; padding: 5px 12px; background: var(--bg-3); border-radius: 999px; font-size: .84rem; color: var(--ink-2); }
.chip-links a:hover { background: var(--brand-l); color: var(--brand-d); text-decoration: none; }

/* ---------- 客户类型 ---------- */
.cust-types { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.cust-type { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-lg); padding: 24px; }
.ct-name { margin-bottom: .35em; }
.ct-need { color: var(--ink-2); font-size: .93rem; }
.ct-how { font-size: .9rem; color: var(--ink-2); background: var(--bg-2); border-radius: var(--radius); padding: 10px 14px; }
.ct-tag { display: inline-block; font-size: .74rem; color: var(--brand); font-weight: 700; margin-right: 6px; }
.ct-block { margin-top: 14px; }
.ct-label { font-size: .8rem; color: var(--ink-3); margin: 0 0 8px; letter-spacing: .04em; }

/* ---------- 分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-figure img { width: 100%; }
.split-figure figcaption { background: #fff; padding: 11px 16px; font-size: .84rem; color: var(--ink-3); border-top: 1px solid var(--line); }
.split-figure-plain { box-shadow: none; }

/* ---------- 步骤 ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px 20px; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: .82rem; color: var(--brand); background: var(--brand-l); border-radius: 5px; padding: 3px 9px; display: inline-block; margin-bottom: 12px; }
.steps h3 { font-size: 1.02rem; margin-bottom: .35em; }
.steps p { font-size: .9rem; color: var(--ink-2); margin: 0; }

/* ---------- 信任条 ---------- */
.trust-strip { background: linear-gradient(150deg, var(--deep-800) 0%, var(--deep-900) 100%); border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; color: var(--on-dark); align-items: center; }
.trust-strip .eyebrow { color: var(--brand-on-dark); }
.trust-strip h2 { color: #fff; }
.trust-strip p { color: var(--on-dark-2); margin-bottom: 0; }
.trust-strip-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trust-strip-links a { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; background: rgba(255,255,255,.06); border: 1px solid var(--line-on-dark); border-radius: var(--radius); color: #fff; font-size: .93rem; }
.trust-strip-links a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.trust-strip-links svg { width: 12px; height: 12px; fill: none; stroke: var(--brand-on-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 数字统计（关于页） ---------- */
.stat-cards { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.stat-cards li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; text-align: center; }
.stat-cards strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--brand); }
.stat-cards span { font-size: .87rem; color: var(--ink-3); }

/* ---------- 正文排版（markdown 输出） ---------- */
.prose { font-size: 1.01rem; color: var(--ink-2); }
.prose h2 { margin-top: 1.7em; padding-bottom: .3em; border-bottom: 1px solid var(--line); color: var(--ink); }
.prose h3 { margin-top: 1.4em; color: var(--ink); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); }
.prose a { border-bottom: 1px solid var(--brand-l); }
.prose a:hover { border-bottom-color: var(--brand); text-decoration: none; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; background: var(--brand-ll); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose-figs { margin: 24px 0; display: grid; gap: 16px; }
.prose-figs-pair { grid-template-columns: 1fr 1fr; }
.prose-figs figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prose-figs figcaption { padding: 9px 14px; font-size: .84rem; color: var(--ink-3); background: var(--bg-2); }

.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.prose th, .prose td { padding: 11px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--bg-3); color: var(--ink); font-weight: 600; white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover { background: var(--bg-2); }

/* ---------- FAQ ---------- */
.faq-section { margin-top: 40px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: var(--brand); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 15px 20px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 400; font-size: 1.3rem; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq-body { padding: 0 20px 18px; }
.faq-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- 文档页布局（内容 + 侧栏） ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 44px; padding-top: 44px; padding-bottom: 56px; align-items: start; }
.side-col { position: sticky; top: 88px; display: grid; gap: 18px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.side-box h2 { font-size: .98rem; font-family: var(--font); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-list a { display: block; padding: 7px 10px; border-radius: 7px; font-size: .9rem; color: var(--ink-2); }
.side-list a:hover { background: var(--brand-ll); color: var(--brand-d); text-decoration: none; }
.side-contact { background: linear-gradient(160deg, var(--deep-800), var(--deep-900)); color: var(--on-dark); }
.side-contact h2 { color: #fff; border-color: var(--line-on-dark); }
.side-contact p { color: var(--on-dark-2); font-size: .92rem; }
.side-tel { font-family: var(--serif); font-size: 1.4rem; margin: 12px 0 4px; }
.side-tel a { color: var(--brand-on-dark); }
.side-mail { font-size: .88rem; margin-bottom: 16px; }
.side-mail a { color: var(--on-dark-2); }
.grid-section { margin-top: 44px; }
.grid-section h2 { margin-bottom: 24px; }

/* ---------- 面包屑 ---------- */
.crumbs { font-size: .86rem; color: var(--ink-3); padding: 14px 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li::after { content: "/"; color: var(--line); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current="page"] { color: var(--ink-2); }

/* ---------- 页面横幅 ---------- */
.page-banner { background: linear-gradient(150deg, var(--deep-900) 0%, var(--deep-800) 100%); color: var(--on-dark); padding: clamp(38px, 5vw, 62px) 0; position: relative; overflow: hidden; }
.page-banner::after { content: ""; position: absolute; top: -30%; right: 6%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(79,208,179,.14) 0%, transparent 66%); }
.pb-inner { position: relative; z-index: 2; max-width: 820px; }
.page-banner .eyebrow { margin-bottom: 12px; }
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner p { color: var(--on-dark-2); font-size: 1.04rem; margin: 0; max-width: 62ch; }
.page-banner .pb-facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.page-banner .pb-facts li { background: rgba(255,255,255,.08); border: 1px solid var(--line-on-dark); border-radius: 999px; padding: 5px 14px; font-size: .86rem; color: var(--on-dark-2); }

/* ---------- 地域网格 ---------- */
.region-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.region-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: .18s; }
.region-card:hover { border-color: var(--brand); box-shadow: var(--shadow-h); transform: translateY(-2px); }
.region-card a { display: block; padding: 20px; color: inherit; }
.region-card a:hover { text-decoration: none; }
.region-card h3 { margin-bottom: .3em; font-size: 1.06rem; }
.region-card .rc-meta { font-size: .82rem; color: var(--ink-3); margin-bottom: .5em; }
.region-card p { font-size: .88rem; color: var(--ink-2); margin: 0; }
.region-group { margin-bottom: 34px; }
.region-group > h3 { font-size: 1.05rem; color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.region-group > h3 span { font-size: .82rem; color: var(--ink-3); font-weight: 400; margin-left: 8px; }

/* ---------- 文件类型网格 ---------- */
.doc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; transition: .18s; display: flex; flex-direction: column; }
.doc-card:hover { border-color: var(--brand); box-shadow: var(--shadow-h); transform: translateY(-2px); }
.doc-card .dc-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-l); color: var(--brand-d); display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 12px; }
.doc-card h3 { font-size: 1.02rem; margin-bottom: .35em; }
.doc-card p { font-size: .87rem; color: var(--ink-2); margin: 0 0 12px; flex: 1; }
.doc-card .more { font-size: .85rem; color: var(--brand); font-weight: 600; }

/* ---------- 交叉页信息块 ---------- */
.info-grid { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.info-grid li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.info-grid h3 { font-size: .95rem; margin-bottom: .3em; }
.info-grid p { font-size: .88rem; color: var(--ink-2); margin: 0; }

/* ---------- 报价表 ---------- */
.price-note { background: var(--accent-l); border: 1px solid #f0d4da; border-radius: var(--radius-lg); padding: 18px 22px; font-size: .92rem; color: var(--ink-2); }
.price-note strong { color: var(--accent-d); }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(150deg, var(--brand) 0%, var(--brand-d) 100%); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 46px 20px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { color: rgba(255,255,255,.86); margin: 0; max-width: 60ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-foot { background: var(--deep-900); color: var(--on-dark-2); padding: 56px 0 26px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--line-on-dark); }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand .brand-mark { background: rgba(255,255,255,.1); }
.foot-brand strong { color: #fff; font-size: 1.08rem; }
.foot-about p { color: var(--on-dark-3); font-size: .88rem; line-height: 1.7; }
.foot-contact { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 16px 0 0; font-size: .87rem; }
.foot-contact dt { color: var(--on-dark-3); }
.foot-contact dd { margin: 0; }
.foot-contact a { color: var(--on-dark-2); }
.foot-contact a:hover { color: #fff; }
.foot-qr { margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.foot-qr img { width: 108px; height: 108px; border-radius: 8px; background: #fff; padding: 5px; }
.foot-qr p { font-size: .82rem; color: var(--on-dark-3); margin: 0; }
.foot-qr strong { color: var(--on-dark-2); }
.foot-col h2 { color: #fff; font-size: .96rem; font-family: var(--font); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-col a { color: var(--on-dark-3); font-size: .88rem; }
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-legal { font-size: .82rem; color: var(--on-dark-3); margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a { color: var(--on-dark-3); }
/* 备案号需清晰可读（合规要求「显著标注」），比其余法务链接亮一档 */
.foot-legal a[href*="beian.miit.gov.cn"],
.foot-legal a[href*="beian.mps.gov.cn"] { color: var(--on-dark-2); text-underline-offset: 3px; }
.foot-legal a[href*="beian.miit.gov.cn"]:hover,
.foot-legal a[href*="beian.mps.gov.cn"]:hover { color: #fff; text-decoration: underline; }
.foot-ext { font-size: .82rem; color: var(--on-dark-3); margin: 0; }
.foot-ext a { color: var(--brand-on-dark); }

/* ---------- 微信弹窗 ---------- */
.wechat-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.wm-mask { position: absolute; inset: 0; background: rgba(11, 26, 32, .62); }
.wm-panel { position: relative; z-index: 2; background: #fff; border-radius: var(--radius-lg); padding: 34px; width: min(400px, 100%); text-align: center; box-shadow: var(--shadow-h); }
.wm-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; background: var(--bg-2); border-radius: 8px; font-size: 1.4rem; line-height: 1; color: var(--ink-3); cursor: pointer; }
.wm-close:hover { background: var(--line); }
.wm-panel h3 { margin-bottom: .2em; }
.wm-sub { color: var(--ink-3); font-size: .9rem; margin-bottom: 18px; }
.wm-qr img { width: 220px; height: 220px; margin: 0 auto; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.wm-id { margin: 16px 0 6px; font-size: .95rem; }
.wm-id strong { color: var(--brand-d); font-family: var(--mono); }
.wm-note { font-size: .84rem; color: var(--ink-3); }
.wm-tel { margin-top: 16px; }
body.wm-locked { overflow: hidden; }

/* ---------- 悬浮快捷栏 ---------- */
.float-bar { position: fixed; right: 16px; bottom: 90px; z-index: 90; display: grid; gap: 8px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s; }
.float-bar.show { opacity: 1; visibility: visible; transform: translateY(0); }
.fb-item { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 62px; padding: 10px 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink-2); font-size: .72rem; cursor: pointer; text-align: center; }
.fb-item:hover { border-color: var(--brand); color: var(--brand-d); text-decoration: none; }
.fb-ico { font-size: 1.1rem; color: var(--brand); line-height: 1; }
.float-bar.at-top .fb-top { display: none; }

/* ---------- 响应式 ---------- */
/* 顶部导航 8 个栏目 + 品牌 + 电话，1200px 上下最紧，提前一档收窄字号与内距 */
@media (max-width: 1260px) {
  .site-nav > ul > li > a { padding: 9px 8px; font-size: .89rem; }
  .brand-text em { display: none; }
}
@media (max-width: 1080px) {
  .site-nav > ul > li > a { padding: 9px 7px; font-size: .88rem; }
  .head-tel { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-home .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .trust-strip { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
  .layout { grid-template-columns: 1fr; gap: 32px; }
  .side-col { position: static; }
  .stat-bar ul { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 71px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-h); max-height: calc(100vh - 71px); overflow-y: auto; display: none; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px; }
  .site-nav > ul > li > a { padding: 13px 12px; font-size: 1rem; }
  .site-nav .sub, .site-nav .sub-wide {
    position: static; display: none; opacity: 1; visibility: visible; transform: none;
    pointer-events: auto; transition: none; box-shadow: none; border: 0;
    border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 12px;
    min-width: 0; grid-template-columns: 1fr;
  }
  .site-nav .sub::before { display: none; }
  .site-nav li:hover > .sub { display: none; }
  .site-nav li.is-open > .sub, .site-nav li:focus-within > .sub { display: grid; }
  .head-cta .btn { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .prose-figs-pair { grid-template-columns: 1fr; }
  .float-bar { bottom: 16px; right: 12px; }
  .fb-item { width: 54px; font-size: .68rem; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-bar ul { grid-template-columns: 1fr; }
  .float-bar { grid-template-columns: repeat(5, 1fr); display: flex; gap: 6px; left: 10px; right: 10px; bottom: 10px; }
  .fb-item { flex: 1; width: auto; }
}

/* ---------- 联系方式卡片 / 二维码 ---------- */
.contact-grid { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; transition: .18s; }
.contact-card:hover { border-color: var(--brand); box-shadow: var(--shadow-h); transform: translateY(-2px); }
.cc-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-l); color: var(--brand-d); font-size: 1.05rem; margin-bottom: 12px; }
.contact-card h3 { font-size: .96rem; color: var(--ink-3); font-weight: 600; margin-bottom: .35em; }
.cc-main { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 .25em; word-break: break-all; }
.cc-main a { color: var(--brand-d); }
.cc-sub { font-size: .84rem; color: var(--ink-3); margin: 0; }
.contact-qr { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.contact-qr img { width: 168px; height: 168px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.contact-qr h3 { margin-bottom: .4em; }
.contact-qr p { color: var(--ink-2); font-size: .93rem; }
.contact-qr-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }

/* ---------- markdown 二维码卡片（@qr 语法，联系页用） ---------- */
.qr-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin: 1.6em 0; }
.qr-card > img { width: 176px; height: 176px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.qr-card-t { font-weight: 700; color: var(--ink); margin: 0 0 .3em; font-size: 1.05rem; }
.qr-card-id { font-family: var(--mono); font-size: .92rem; color: var(--brand-d); margin: 0 0 .6em; }
.qr-card-note { font-size: .9rem; color: var(--ink-2); margin: 0; }

@media (max-width: 520px) {
  .contact-qr { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .contact-qr img { width: 150px; height: 150px; margin: 0 auto; }
  .qr-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .qr-card > img { width: 156px; height: 156px; margin: 0 auto; }
}

@media print {
  .site-head, .float-bar, .cta-band, .site-foot, .wechat-modal, .notice { display: none; }
  body { color: #000; }
}
