/* =========================================================================
   YYZ-1 v2 — 企业官网通用主题 · 设计系统
   双令牌（亮 / 暗）· 玻璃拟态 · 弥散光 · 大排版 · 微交互
   颜色 / 圆角 / 阴影 / 间距 / 字体 全部由 :root 变量驱动（见 include.php 输出）
   ========================================================================= */

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  /* 吸顶导航高 72px，锚点跳转时留出空间，避免标题被导航盖住 */
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
::selection { background: var(--brand-tint); color: var(--ink); }
a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap { width: 100%; max-width: var(--reading); margin: 0 auto; padding: 0 24px; }

.section { padding: var(--section) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line-soft); }
/* Hero 下面的第一个模块，上边距再收一点，避免首屏下面空一大块 */
.hero + .section { padding-top: calc(var(--section) * .6); }

/* 首页相邻模块交替浅底色：让区块有明确分界与节奏，避免整页糊成一片白。
   注意 hero 也是 <section>，参与 nth-of-type 计数，所以实际从 about（浅底）开始交替，
   恰好与 Hero 底部向 bg-soft 的渐隐衔接；后台关闭某模块只会整体翻转相位，不影响交替本身。 */
main .module:nth-of-type(even) { background: var(--bg-soft); border-top-color: transparent; }
/* 联系模块（含表单卡）与 CTA（品牌色块）不参与交替，保持自身底色 */
main .module-contact, main .module-cta { background: transparent; border-top-color: var(--line-soft); }

.section-head { max-width: 760px; margin: 0 auto clamp(22px, 2.8vw, 34px); text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 .35em; }
/* 标题下的品牌色短条：给章节一个视觉锚点 */
.section-head .section-title::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); margin: 16px auto 0;
}
.section-head.left .section-title::after { margin-left: 0; }
.section-sub { color: var(--ink-3); font-size: clamp(15px, 1.6vw, 17px); margin: 0; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .eyebrow { margin-left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; line-height: 1.4;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  white-space: nowrap; font-family: inherit; text-decoration: none;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 1px 2px rgba(15,23,42,.08), 0 12px 26px -10px var(--brand-ring);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -10px var(--brand-ring); filter: saturate(1.05); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg); box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn-light { color: var(--brand-ink); background: #fff; box-shadow: var(--sh-2); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-3); color: var(--brand); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 顶部进度条 ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-2)); z-index: 200; transition: width .1s linear; }

/* ---------- 头部 / 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .4s var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-nav); border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; flex-shrink: 0; font-family: var(--font-display); }
.brand:hover { color: var(--ink); }
.brand img { height: 34px; width: auto; border-radius: var(--r-sm); }
.brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 9px 14px; border-radius: var(--r-pill); color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-link:hover, .nav-item.open > .nav-link { color: var(--brand); background: var(--brand-soft); }
.nav-link.active { color: var(--brand); font-weight: 600; background: var(--brand-soft); }
.nav-item.current > .nav-link { color: var(--brand); font-weight: 600; }
.nav-link .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); }
.nav-item.open > .nav-link .caret { transform: rotate(-135deg) translateY(-2px); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--ease);
}
.nav-item:hover > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 14px; }
.dropdown a:hover { background: var(--brand-soft); color: var(--brand); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-toggle { width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; transition: all .2s var(--ease); }
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.theme-toggle svg { width: 20px; height: 20px; }
.nav-search { display: flex; align-items: center; }
.nav-search input { width: 150px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg-soft); color: var(--ink); font-size: 14px; font-family: inherit; transition: width .25s var(--ease), border-color .2s var(--ease); }
.nav-search input:focus { outline: none; border-color: var(--brand); width: 190px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; place-items: center; font-size: 22px; line-height: 1; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 11vw, 150px) 0 clamp(60px, 9vw, 120px); }
.hero-bg { position: absolute; inset: 0; background: var(--ambient); z-index: 0; pointer-events: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 50% 120%, var(--bg-soft), transparent 70%); }
/* Hero 细网格纹理（中心可见、边缘渐隐），给首屏增加质感与分量 */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 38%, #000 25%, transparent 76%);
  mask-image: radial-gradient(ellipse 78% 62% at 50% 38%, #000 25%, transparent 76%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: var(--r-pill); background: var(--brand-soft); color: var(--brand-ink); font-size: 13px; font-weight: 700; letter-spacing: .04em; margin-bottom: 22px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.hero-title { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.05; margin: 0 0 .3em; }
.hero-title .accent { background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-3); max-width: 36em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
/* 主视觉上的玻璃光泽（有图无图都有，增加质感） */
.hero-visual::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(420px 260px at 78% 16%, rgba(255,255,255,.22), transparent 62%), radial-gradient(320px 220px at 10% 92%, rgba(255,255,255,.13), transparent 60%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .hero-visual-fallback { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: rgba(255,255,255,.9); text-align: center; padding: 24px; }
.hero-visual .hvf-mark {
  width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-display); font-size: 40px; font-weight: 800; color: #fff;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.45);
}
.hero-visual .hvf-name { font-size: 22px; font-weight: 800; color: #fff; }
.hero-visual .hvf-tip { font-size: 12px; font-weight: 400; line-height: 1.7; color: rgba(255,255,255,.72); max-width: 24em; }
.hero-visual .float-card { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: var(--r); padding: 14px 18px; box-shadow: var(--sh-2); }
.hero-visual .float-card b { display: block; font-size: 22px; color: var(--ink); font-family: var(--font-display); }
.hero-visual .float-card span { font-size: 13px; color: var(--ink-3); }

/* ---------- 网格 / 卡片 ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--brand-tint); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 22px; margin-bottom: 16px; box-shadow: 0 8px 18px -8px var(--brand-ring); }
.card h3 { font-size: 19px; margin: 0 0 .4em; }
.card p { color: var(--ink-3); margin: 0; font-size: 15px; }

/* 核心业务卡：不画汉字图标，名称直接做视觉主体，顶部一条品牌色细条做点缀 */
.svc-card { position: relative; padding-top: clamp(24px, 2.6vw, 32px); overflow: hidden; }
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .35s var(--ease); }
.svc-card:hover::before { width: 100%; }
.svc-card h3 { font-size: clamp(19px, 2vw, 22px); }

/* ---------- 品牌简介 ---------- */
.about-wrap { max-width: var(--reading); margin: 0 auto; }
.about-text { font-size: clamp(16px, 1.8vw, 18px); color: var(--ink-2); }
.about-text p { margin: 0 0 1em; }
.about-text h4 { font-size: 19px; margin: 1.7em 0 .6em; }
.about-text ul { list-style: none; padding-left: 0; margin: 0 0 1em; }
.about-text li { position: relative; padding-left: 18px; margin-bottom: .55em; }
.about-text li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ---------- 数据战绩 ---------- */
.stats-grid { text-align: center; }
.stat { padding: clamp(20px, 2.6vw, 32px) 12px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.stat:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.stat-num { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -.02em; background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 10px; color: var(--ink-3); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item.open { border-color: var(--brand-tint); box-shadow: var(--sh-2); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--ink); font-size: 16px; }
.faq-q .pm { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform .25s var(--ease); }
.faq-q .pm::before { top: 10px; left: 2px; width: 18px; height: 2px; }
.faq-q .pm::after { top: 2px; left: 10px; width: 2px; height: 18px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 22px 20px; color: var(--ink-3); font-size: 15px; }

/* ---------- 团队 ---------- */
.team-card { text-align: center; }
.team-avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-size: 30px; font-weight: 700; font-family: var(--font-display); overflow: hidden; box-shadow: var(--sh-2); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 18px; margin: 0 0 4px; }
.team-role { color: var(--brand-ink); font-size: 14px; font-weight: 600; margin: 0; }

/* ---------- 新闻 ---------- */
.news-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.news-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--brand-soft), var(--brand-tint)); display: grid; place-items: center; color: var(--brand-ink); font-size: 14px; font-weight: 600; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { font-size: 13px; color: var(--ink-3); display: flex; gap: 10px; flex-wrap: wrap; }
.news-meta .tag { color: var(--brand); font-weight: 600; }
.news-title { font-size: 18px; margin: 0; line-height: 1.35; }
.news-title a { color: var(--ink); }
.news-title a:hover { color: var(--brand); }
.news-excerpt { color: var(--ink-3); font-size: 14px; margin: 0; flex: 1; }
.news-more { font-weight: 600; font-size: 14px; color: var(--brand); }

/* ---------- 合作伙伴（Logo 墙） ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.logo-item { display: grid; place-items: center; padding: 26px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); transition: all .25s var(--ease); min-height: 96px; }
.logo-item:hover { border-color: var(--brand-tint); transform: translateY(-3px); box-shadow: var(--sh-2); }
.logo-item img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .7; transition: all .25s var(--ease); }
.logo-item:hover img { filter: grayscale(0); opacity: 1; }
.logo-item .logo-text { font-weight: 700; color: var(--ink-2); font-size: 16px; font-family: var(--font-display); }

/* ---------- 发展历程 ---------- */
.timeline { max-width: 880px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), var(--brand-2)); border-radius: 2px; }
.tl-item { position: relative; padding: 0 0 30px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.tl-year { font-family: var(--font-display); font-weight: 800; color: var(--brand); font-size: 18px; }
.tl-event { color: var(--ink-2); margin: 2px 0 0; }

/* ---------- 联系方式 ---------- */
/* ---------- 联系方式（行式列表卡） ---------- */
.contact-info .ci-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.ci-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); color: inherit; text-decoration: none; transition: background-color .18s var(--ease); }
.ci-row:last-child { border-bottom: 0; }
a.ci-row:hover { background: var(--bg-soft); }
.ci-row-top { align-items: flex-start; }
.ci-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.ci-ico .ico-svg { width: 19px; height: 19px; display: block; }
.ci-row-top .ci-ico { margin-top: 2px; }
.ci-body { min-width: 0; }
.ci-body strong { display: block; color: var(--ink-3); font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.ci-body em { font-style: normal; color: var(--ink); font-size: 15px; font-weight: 600; word-break: break-word; }
.ci-body .qr { width: 96px; height: 96px; border-radius: var(--r-sm); border: 1px solid var(--line); margin-top: 4px; }
.contact-empty { color: var(--ink-3); text-align: center; padding: 30px; }

/* ---------- CTA 横幅 ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; text-align: center; box-shadow: var(--sh-3); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--ambient); opacity: .5; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); margin: 0 0 .3em; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0 0 26px; font-size: 17px; }
.cta-band .btn-light { background: #fff; color: var(--brand-ink); }

/* ---------- 表单（联系/咨询）—— 控件规则见文末「联系 / 咨询表单」，此处只放补充 ---------- */
.field b, .field .req { color: #e11d48; font-weight: 700; }
.form-note { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.form-ok { padding: 16px 20px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }

/* =========================================================================
   YYZ-2 新增模块：服务方案 / 方案对比 / 客户评价  +  GEO 2.0 可引用片段  +  玻璃预设
   ========================================================================= */

/* ---------- 服务方案（定价卡）---------- */
.pricing-card { display: flex; flex-direction: column; text-align: center; }
.pricing-name { font-size: 20px; margin: 0 0 10px; }
.pricing-price { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1; letter-spacing: -.02em; background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pricing-period { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-left: 5px; -webkit-text-fill-color: var(--ink-3); }
.pricing-desc { color: var(--ink-3); font-size: 15px; margin: 12px 0 0; }
.pricing-feats { list-style: none; padding: 0; margin: 20px 0 24px; text-align: left; display: grid; gap: 11px; flex: 1; }
.pricing-feats li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 14.5px; }
.pricing-feats li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); }
.pricing-feats li::after { content: ""; position: absolute; left: 6px; top: .8em; width: 6px; height: 3px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.pricing-card .btn { margin-top: auto; }

/* ---------- 方案对比表 ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-1); -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 540px; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; }
.compare-table thead th:first-child { border-top-left-radius: calc(var(--r-lg) - 1px); }
.compare-table thead th:last-child { border-top-right-radius: calc(var(--r-lg) - 1px); }
.compare-table tbody th[scope="row"] { text-align: left; color: var(--ink); font-weight: 600; background: var(--bg-soft); white-space: nowrap; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:nth-child(even) td { background: var(--bg-soft); }

/* ---------- 客户评价 ---------- */
.testimonial-card { display: flex; flex-direction: column; gap: 16px; }
.testimonial-quote { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--brand-soft); box-shadow: var(--sh-1); flex-shrink: 0; }
.t-meta { display: flex; flex-direction: column; line-height: 1.35; }
.t-meta b { color: var(--ink); font-size: 15px; }
.t-meta i { color: var(--brand-ink); font-style: normal; font-size: 13px; font-weight: 600; }

/* ---------- GEO 2.0：可引用片段标记 ---------- */
/* 视觉上做低调高亮，重点是给 AI 一个明确的 data-quotable 信号，方便精准摘录核心句 */
mark.quotable {
  background: var(--brand-soft);
  color: inherit;
  padding: .06em .28em;
  border-radius: 4px;
  border-bottom: 2px solid var(--brand);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- 玻璃预设（glass）：暗色优先的毛玻璃质感 ---------- */
/* 给页面铺一层氛围渐变，卡片毛玻璃才有内容可虚化；同时给导航做玻璃条 */
html.preset-glass[data-theme="dark"] body {
  background:
    radial-gradient(1100px 560px at 8% -12%, rgba(14,165,233,.22), transparent 60%),
    radial-gradient(860px 500px at 94% 0%, rgba(34,211,238,.18), transparent 58%),
    var(--bg);
  background-attachment: fixed;
}
html.preset-glass[data-theme="dark"] .site-header {
  background: rgba(7,13,28,.55);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
html.preset-glass[data-theme="dark"] .card,
html.preset-glass[data-theme="dark"] .stat,
html.preset-glass[data-theme="dark"] .logo-item,
html.preset-glass[data-theme="dark"] .faq-item,
html.preset-glass[data-theme="dark"] .ci-card,
html.preset-glass[data-theme="dark"] .post-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-color: rgba(255,255,255,.12);
}

/* ---------- 页脚 ---------- */
/* 深色页脚：整站的视觉重量收在这里，页面才"压得住"（亮/暗模式下均为深色） */
.site-footer { background: var(--bg-deep); border-top: 0; padding: clamp(36px, 4.5vw, 52px) 0 0; color: rgba(255,255,255,.62); }
/* 页脚内容整体缩进：左右内边距比全局 container 更大，不顶格 */
.site-footer .container { padding-left: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: clamp(24px, 4vw, 48px); }
/* 结构样式（不随明暗变化） */
.foot-brand { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin: 0 0 12px; }
.foot-about { font-size: 14px; line-height: 1.7; }
.foot-col h4 { font-size: 15px; margin: 0 0 14px; letter-spacing: .02em; }
.foot-col a { display: block; font-size: 14px; padding: 5px 0; }
.foot-col .foot-addr { display: block; font-size: 14px; padding: 5px 0; line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-copy { margin-top: clamp(22px, 3vw, 32px); padding: 22px 0; font-size: 13px; text-align: center; }
/* 深色底上的文字色 */
.site-footer .foot-brand { color: #fff; }
.site-footer .foot-about { color: rgba(255,255,255,.58); }
.site-footer .foot-col h4 { color: #fff; }
.site-footer .foot-col a { color: rgba(255,255,255,.62); }
.site-footer .foot-col a:hover { color: #fff; }
.site-footer .foot-col .foot-addr { color: rgba(255,255,255,.55); }
.site-footer .foot-copy { border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); }
.site-footer .foot-copy a { color: rgba(255,255,255,.55); }
.site-footer .foot-copy a:hover { color: #fff; }

/* ---------- 返回顶部 ---------- */
.back-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: var(--sh-3); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s var(--ease); z-index: 90; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- 文章/内页基础 ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); padding: 22px 0 0; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--line); }
.post, .page-body, .list-body, .search-body { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.post-title, .list-title, .page-title { font-size: clamp(26px, 3.6vw, 42px); margin: 10px 0 14px; }
.post-meta { color: var(--ink-3); font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.post-meta a { color: var(--brand); }
.post-summary { background: var(--brand-soft); border-left: 3px solid var(--brand); border-radius: var(--r-sm); padding: 14px 18px; color: var(--ink-2); font-size: 15px; margin-bottom: 24px; }
/* 文章页/单页整体居中：面包屑 / 标题+正文 / 上下篇 / 相关推荐 / 评论区 / 单页表单与引导条
   统一限宽（--reading）并水平居中。原来只有正文限宽却靠左，右边空一大片，标题又是全宽，整体显得偏 */
.single .breadcrumb,
.single .post,
.single .post-nav,
.single .related,
.single .comments,
.page .breadcrumb,
.page .post { max-width: var(--reading); margin-left: auto; margin-right: auto; }
/* 正文左侧留 18px「装订线」，标题竖条画在这条线里，保证标题文字与正文左边缘严格对齐 */
.post-body, .page-content { font-size: 17px; line-height: 1.8; color: var(--ink-2); max-width: var(--reading); padding-left: 18px; }
.post-body p, .page-content p { margin: 0 0 1.15em; }
.post-body img, .page-content img { border-radius: var(--r); margin: 1.2em 0; background: var(--bg-soft); box-shadow: var(--sh-1); }

/* ---------- 正文排版系统（标题 / 列表 / 引用 / 表格 / 代码）---------- */
.post-body h2, .page-content h2 {
  font-size: clamp(21px, 2.4vw, 26px); margin: 1.7em 0 .6em; color: var(--ink);
  margin-left: -18px; padding-left: 14px; border-left: 4px solid var(--brand); line-height: 1.35;
}
.post-body h3, .page-content h3 {
  font-size: clamp(18px, 2vw, 21px); margin: 1.5em 0 .5em; color: var(--ink);
  padding-left: 12px; border-left: 3px solid var(--brand-tint); line-height: 1.4;
}
.post-body h4, .page-content h4 { font-size: 17px; margin: 1.3em 0 .45em; color: var(--ink); padding-left: 12px; border-left: 3px solid var(--line); }
.post-body ul, .page-content ul, .post-body ol, .page-content ol {
  margin: 0 0 1.2em; padding-left: 1.4em;
}
.post-body li, .page-content li { margin: 0 0 .5em; line-height: 1.75; }
.post-body li:last-child, .page-content li:last-child { margin-bottom: 0; }
.post-body ul > li, .page-content ul > li { list-style: none; position: relative; padding-left: 4px; }
.post-body ul > li::before, .page-content ul > li::before {
  content: ""; position: absolute; left: -1.05em; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.post-body ol, .page-content ol { counter-reset: yyol; }
.post-body ol > li, .page-content ol > li { list-style: none; position: relative; counter-increment: yyol; padding-left: 4px; }
.post-body ol > li::before, .page-content ol > li::before {
  content: counter(yyol); position: absolute; left: -1.6em; top: .1em;
  width: 1.35em; height: 1.35em; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.post-body strong, .page-content strong { color: var(--ink); font-weight: 700; }
.post-body a, .page-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-body a:hover, .page-content a:hover { color: var(--brand-ink); }
.post-body blockquote, .page-content blockquote {
  margin: 1.4em 0; padding: 16px 20px; border-left: 3px solid var(--brand);
  background: var(--brand-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink-2); font-size: 16px;
}
.post-body blockquote p, .page-content blockquote p { margin: 0; }
.post-body hr, .page-content hr { margin: 2em 0; }
.post-body table, .page-content table {
  width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px;
  display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.post-body th, .page-content th, .post-body td, .page-content td {
  border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top;
}
.post-body th, .page-content th { background: var(--bg-soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
.post-body tr:nth-child(even) td, .page-content tr:nth-child(even) td { background: var(--bg-soft); }
.post-body code, .page-content code {
  padding: 2px 6px; border-radius: 5px; background: var(--bg-soft);
  border: 1px solid var(--line); font-size: .9em; font-family: ui-monospace, Menlo, Consolas, monospace;
}
.post-body pre, .page-content pre {
  padding: 16px 18px; border-radius: var(--r-sm); background: var(--bg-soft);
  border: 1px solid var(--line); overflow-x: auto; margin: 1.3em 0;
}
.post-body pre code, .page-content pre code { padding: 0; border: 0; background: none; }
.post-body figure, .page-content figure { margin: 1.4em 0; }
.post-body figcaption, .page-content figcaption { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 8px; }

/* ---------- 品牌简介正文（与正文排版共用）---------- */
.about-text h2, .about-text h3 { font-size: 19px; margin: 1.2em 0 .5em; }
/* 简介里的要点列表升级为三列卡片（JS 会把「前缀符号 + 冒号前短标题」拆成 标题+描述） */
.about-text h3 { text-align: center; font-size: 20px; margin: 1.7em 0 .9em; letter-spacing: .02em; }
.about-text ul { list-style: none; padding-left: 0; margin: 1.5em 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-text ul > li {
  list-style: none; position: relative; margin: 0; padding: 20px 22px 20px 26px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1);
  font-size: 15px; line-height: 1.75; color: var(--ink-3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.about-text ul > li::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px;
  border-radius: 0 4px 4px 0; background: linear-gradient(var(--brand), var(--brand-2));
}
.about-text ul > li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-tint); }
.about-text ul > li b { display: block; color: var(--ink); font-size: 16px; font-weight: 700; margin-bottom: 6px; }

/* ---------- 文章列表 ---------- */
.post-list { display: grid; gap: 18px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; background: var(--bg); box-shadow: var(--sh-1); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
/* 首页模块卡片（案例/产品/新闻）：标题居中、无日期无分类标签、整卡内容居中 */
.post-card.card-center { text-align: center; }
.post-card.card-center .pc-body { display: flex; flex-direction: column; align-items: center; }
.post-card.card-center .post-title { margin-bottom: 10px; }
.post-card.card-center .readmore { align-self: center; margin-top: 16px; }
/* 核心业务卡：标题与描述居中，与其它首页模块版式统一 */
.svc-card { text-align: center; }
.svc-card h3 { margin-bottom: .5em; }
.post-card .pc-body { flex: 1; }
.post-card .readmore { align-self: flex-start; margin-top: 14px; }
.post-card .post-title { font-size: 20px; margin: 0 0 8px; }
.post-card .post-title a { color: var(--ink); }
.post-card .post-title a:hover { color: var(--brand); }
.post-card .post-intro { color: var(--ink-3); font-size: 14px; margin: 8px 0 12px; }
.readmore { font-weight: 600; font-size: 14px; color: var(--brand); }

/* ---------- 列表页头部与分类导航 ---------- */
.list-head { margin: 18px 0 22px; }
.list-head .list-title { margin-bottom: 10px; font-size: clamp(24px, 3vw, 34px); }
/* 列表页标题下的短装饰条，与首页章节标题呼应 */
.list-head .list-title::after {
  content: ""; display: block; width: 48px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); margin-top: 14px;
}
.cate-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.cate-chips .chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); font-size: 14px; font-weight: 500; transition: all .2s var(--ease); }
.cate-chips .chip:hover { border-color: var(--brand); color: var(--brand); }
.cate-chips .chip em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.cate-chips .chip-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.cate-chips .chip-on em { color: rgba(255,255,255,.8); }

/* ---------- 单页底部引导 ---------- */
.post-cta { margin-top: 44px; padding: 26px 30px; border: 1px solid var(--brand-tint); border-left: 4px solid var(--brand); border-radius: var(--r-lg); background: var(--brand-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.post-cta p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- 分页 ---------- */
.pagebar { display: flex; justify-content: center; gap: 8px; margin: 36px 0 0; flex-wrap: wrap; }
.pagebar a, .pagebar span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); font-size: 14px; }
.pagebar a:hover { border-color: var(--brand); color: var(--brand); }
.pagebar .now { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.notfound h1 { font-size: clamp(72px, 16vw, 160px); background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.notfound p { color: var(--ink-3); font-size: 18px; margin: 10px 0 28px; }
.notfound-search { display: flex; gap: 10px; max-width: 460px; margin: 0 auto 24px; }
.notfound-search input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg); color: var(--ink); font-size: 15px; font-family: inherit; }
.notfound-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.notfound-search button { padding: 12px 24px; border: 0; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; }
.notfound-search button:hover { filter: brightness(1.06); }
.search-again { margin: 0 0 28px; max-width: 520px; }
.notfound-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.notfound-cats { margin-top: 28px; color: var(--ink-3); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; }
.notfound-cats a { color: var(--brand); }

/* ---------- 工具类 ---------- */
.glass { background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gradient-text { background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-center { text-align: center; }
.mt-sm { margin-top: 14px; } .mt-md { margin-top: 28px; } .mt-lg { margin-top: 44px; }
.lead { font-size: clamp(16px, 1.8vw, 19px); color: var(--ink-3); }

/* ---------- 滚动揭示动画 ---------- */
/* 只在 .js（脚本已运行）时隐藏，否则 JS 出错/被禁用会让整页内容永久不可见 */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
.js [data-reveal-delay="4"] { transition-delay: .32s; }

/* ---------- 跳转链接（可访问性） ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r) 0; z-index: 300; }
.skip-link:focus { left: 0; }

/* ---------- 焦点可见 ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .nav-link:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; border-radius: 6px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-text ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-search { display: none; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 16px 20px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease);
    border-left: 1px solid var(--line); z-index: 95;
  }
  .site-nav.open { transform: translateX(0); box-shadow: var(--sh-3); }
  body.nav-open { overflow: hidden; }
  .nav-link.active { background: var(--brand-soft); }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 16px; border-radius: var(--r-sm); }
  .nav-link:hover, .nav-item.open > .nav-link { background: var(--brand-soft); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 12px; padding: 0 0 6px; display: none; }
  .nav-item.open > .dropdown { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .about-text ul { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  body { font-size: 15px; }
  .post-body, .page-content { font-size: 16px; }
}
@media (max-width: 420px) {
  .container, .wrap { padding: 0 18px; }
  .hero-actions .btn { flex: 1; }
}

/* =========================================================================
   内页容器 / 评论区 / 表单 / 文章增强（v2 补全）
   ========================================================================= */

/* ---------- 内页容器留白（模板实际用 .single/.page/.list/.search）---------- */
.single, .page, .list, .search { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }

/* ---------- 面包屑增强 ---------- */
.breadcrumb { margin-bottom: 18px; font-size: 14px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 6px; opacity: .6; }

/* ---------- 文章元信息标签 ---------- */
.post-cate {
  display: inline-block; padding: 2px 10px; border-radius: var(--r-pill);
  background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 600;
}
.post-cate a { color: inherit; }
.author { color: var(--ink-3); }

/* ---------- 评论区 ---------- */
.comments { margin-top: clamp(36px, 5vw, 64px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.comments-title { font-size: 20px; margin: 0 0 20px; color: var(--ink); }
.comments-title::before {
  content: ''; display: inline-block; width: 4px; height: 16px; border-radius: 2px;
  background: var(--brand); margin-right: 10px; vertical-align: -2px;
}
.comment { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); margin-bottom: 12px; }
.c-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 8px; }
.c-meta strong { color: var(--ink); font-size: 14px; }
.c-meta time { color: var(--ink-3); }
.c-content { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.c-content p { margin: 0 0 8px; }
.comment-form { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); }
.comment-form p { margin: 0 0 12px; }
.comment-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.comment-form .form-grid p { margin: 0; }
@media (max-width: 640px) { .comment-form .form-grid { grid-template-columns: 1fr; } }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink); font-size: 15px; font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.comment-form textarea { resize: vertical; min-height: 96px; }
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring);
}
.comment-form button {
  padding: 11px 26px; border: 0; border-radius: var(--r-sm); background: var(--brand); color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity .2s var(--ease);
}
.comment-form button:hover { opacity: .9; }

/* ---------- 联系 / 咨询表单 ---------- */
.yyz-form { margin-top: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label b { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink); font-size: 15px; font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring);
}
.yyz-form .btn { margin-top: 6px; }
.form-tip { margin: 12px 0 0; font-size: 14px; min-height: 20px; }
.form-tip.ok { color: #12855a; }
.form-tip.err { color: #d0342c; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
/* 反垃圾蜜罐字段：真人不可见，屏幕阅读器也会跳过 */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 上一篇 / 下一篇 ---------- */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 36px 0 0; }
.post-nav a {
  display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg-soft); color: var(--ink-2); font-size: 14px; text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.post-nav a:hover { border-color: var(--brand); transform: translateY(-2px); }
.post-nav .pn-label { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.post-nav .pn-title { font-weight: 600; color: var(--ink); }
.post-nav .pn-next { text-align: right; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav .pn-next { text-align: left; } }

/* ---------- 文章标签 ---------- */
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 0; }
.post-tags .pt-label { font-size: 13px; color: var(--ink-3); }
.post-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); font-size: 13px; }
.post-tag:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 分享 ---------- */
.post-share { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; flex-wrap: wrap; }
.post-share .ps-label { font-size: 13px; color: var(--ink-3); }
.post-share a {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); font-size: 13px;
  text-decoration: none; transition: border-color .2s var(--ease), color .2s var(--ease);
}
.post-share a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 相关推荐 ---------- */
.related { margin: clamp(36px, 5vw, 60px) 0 0; }
.related-title { font-size: 20px; margin: 0 0 18px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  padding: 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg-soft); transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.related-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.related-card h4 { margin: 0 0 8px; font-size: 15px; line-height: 1.45; }
.related-card h4 a { color: var(--ink); }
.related-card h4 a:hover { color: var(--brand); }
.related-card time { font-size: 12px; color: var(--ink-3); }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- 联系模块：信息 + 表单两栏 ---------- */
.contact-wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-form-wrap {
  padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-soft); box-shadow: var(--sh-1);
}
.cf-title { margin: 0 0 6px; font-size: 19px; }
.cf-desc { margin: 0 0 4px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
/* 联系页独立表单：居中、限宽，和正文同一条视觉中线 */
.form-alone { max-width: 760px; margin: 0 auto; }
.form-alone .contact-form-wrap { background: var(--bg); }
@media (max-width: 640px) { .form-alone { max-width: 100%; } }

/* ---------- 网格子项防溢出 ---------- */
.hero-copy, .contact-info, .contact-form-wrap, .post-nav a { min-width: 0; }
.hero-copy > * { min-width: 0; }
.post-nav a span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 降低动效（无障碍） ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   v2.1.1 修正区（兼容 / 性能 — 全部不可见，不改变设计意图）
   ========================================================================== */

/* 1) aspect-ratio 兼容回退：iOS < 15 / 老旧浏览器不支持该属性，
   比例图（首屏主视觉 4:3、新闻缩略图 16:10）会塌成 0 高。
   用 padding-top 撑出比例，内部图片绝对铺满。 */
@supports not (aspect-ratio: 1 / 1) {
  .hero-visual { height: 0; padding-top: 75%; position: relative; }
  .news-thumb { height: 0; padding-top: 62.5%; position: relative; }
  .hero-visual img,
  .news-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}

/* 2) 触摸设备降级固定背景：玻璃预设暗色 body 用 background-attachment:fixed
   营造氛围光，但 iOS 滚动会触发整层重绘、明显掉帧。
   触摸设备（无 hover 指针，即手机/平板）改回 scroll，桌面观感不变。 */
@media (hover: none) {
  html.preset-glass[data-theme="dark"] body { background-attachment: scroll; }
}
