/* 兆伸教育 · 信源型企业官网 基础样式 */
/* utf8_fix: 生成器定制样式（电话按钮、数据展示区等，与标准包不同） */
/* 变量兜底：后台「主题配色」以 <head> 内联 :root 覆盖同名变量（内联在后，优先级更高）。
   这里必须给出 --bg 等全套默认值——配色方案里并未定义 --bg，缺失会让 var() 退化为
   transparent，导致页头与移动端菜单变成透明、被正文内容穿透。 */
:root {
  --bg: #ffffff;
  --surface: #f5f7fb;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #1a56db;
  --brand-dark: #123f9f;
  --brand-soft: #eef3ff;
  --accent: #0ea5e9;
  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(17, 24, 39, .08);
  --shadow-lg: 0 22px 48px rgba(17, 24, 39, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* 思源黑体 Noto Sans SC（SIL OFL 1.1，可免费商用含网页嵌入）——本地自托管，不依赖外部字体 CDN。
   font-display: swap 保证字体下载期间先用系统字体显示文字，不出现空白闪烁。 */
@font-face{font-family:'Noto Sans SC';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/noto-sans-sc-400.woff2') format('woff2')}
@font-face{font-family:'Noto Sans SC';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/noto-sans-sc-500.woff2') format('woff2')}
@font-face{font-family:'Noto Sans SC';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/noto-sans-sc-700.woff2') format('woff2')}

body {
  margin: 0;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  /* 长英文单词 / 网址在窄屏不换行会把页面撑出横向滚动条，全局允许按需断词 */
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 布局容器 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 {
  font-size: 32px; font-weight: 700; margin: 0 0 12px; color: var(--text);
  letter-spacing: .5px;
}
.section-head p { color: var(--muted); margin: 0; font-size: 15px; max-width: 680px; margin: 0 auto; }
.section-kicker {
  display: inline-block; color: var(--brand); font-size: 13px; font-weight: 700;
  letter-spacing: 3px; margin-bottom: 14px; text-transform: uppercase;
}
.section.is-soft { background: var(--surface); }

/* ---------- 页头 ---------- */
.site-header { position: relative; z-index: 50; background: var(--bg); border-bottom: 1px solid rgba(0,0,0,.06); box-shadow: 0 6px 24px rgba(16,24,40,.06); transform: translateZ(0); will-change: auto; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); }
.brand img { height: 40px; width: auto; max-width: 200px; }
.brand span { letter-spacing: .5px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--text);
  transition: color .2s, background .2s;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a.active { background: var(--brand); color: #fff; }
.nav-cta { background: var(--brand); color: #fff !important; font-weight: 600; margin-left: 8px; }
.nav-cta:hover { background: var(--brand-dark); color: #fff !important; }
/* Header 电话快捷入口：桌面端显示，移动端隐藏 */
.hdr-tel-quick { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px;
  background: var(--brand-soft); color: var(--brand); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .2s, transform .15s; margin-left: 8px; white-space: nowrap; }
.hdr-tel-quick:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.hdr-tel-quick svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.hdr-tel-num { display: inline; }
@media (max-width: 900px) { .hdr-tel-quick { display: none; } }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-dd { position: relative; }
.dd-toggle { display: inline-flex; align-items: center; gap: 4px; }
.dd-caret { font-size: 11px; opacity: .7; transition: transform .2s; }
.nav-dd:hover > .dd-toggle { background: var(--brand-soft); color: var(--brand); }
.nav-dd:hover > .dd-caret, .nav-dd:hover > .dd-toggle .dd-caret { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: 110%; left: 0; min-width: 180px; background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px; box-shadow: var(--shadow); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60;
}
.nav-dd:hover > .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-menu a { display: block; padding: 9px 12px; font-size: 14px; border-radius: 7px; color: var(--text) !important; }
.dd-menu a:hover { background: var(--brand-soft); color: var(--brand) !important; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 6px 11px; border: 1px solid rgba(0,0,0,.12);
  border-radius: 7px; font-size: 13px; color: var(--text); transition: all .2s; white-space: nowrap;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Hero（对称居中 · 文本自足也高级） ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center;
  background: linear-gradient(124deg, var(--brand-dark) 0%, var(--brand) 52%, var(--accent) 100%);
}
/* 全幅细网点 · 中央聚拢淡化，避免左右失衡 */
.hero-bg::before { content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.5px); background-size:28px 28px;
  -webkit-mask-image:radial-gradient(900px 620px at 50% 28%, #000, transparent 70%); mask-image:radial-gradient(900px 620px at 50% 28%, #000, transparent 70%);
}
/* 中央柔光晕染，中下部有纵深感、不空荡 */
.hero-bg::after { content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(820px 520px at 50% 16%, rgba(255,255,255,.14), transparent 62%);
}
/* 居中同心圆环：对称的深度视觉锚点，仅文字也不显空旷 */
.hero-inner { position: relative; min-height: 600px; display: flex; flex-direction: column; justify-content: center; padding: 108px 0; }
.hero-inner::after { content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:min(720px, 88vw); height:min(720px, 88vw); border-radius:50%; pointer-events:none;
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 0 0 110px rgba(255,255,255,.035), 0 0 0 280px rgba(255,255,255,.02);
}
.hero .container { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 0 20px; text-align: center; }
.hero h1 { color:#fff; font-size:50px; line-height:1.2; font-weight:800; margin:0 auto 22px; max-width:820px; letter-spacing:.5px; text-shadow:0 2px 20px rgba(0,0,0,.14); }
.hero-eyebrow { display:inline-flex; align-items:center; gap:8px; padding:7px 16px; color:rgba(255,255,255,.9);
  font-size:12.5px; font-weight:600; letter-spacing:2px; text-transform:uppercase; margin:0 auto 24px;
  border:1px solid rgba(255,255,255,.24); border-radius:999px; background:rgba(255,255,255,.09); backdrop-filter:blur(4px); }
@keyframes heroUp { from {opacity:0; transform:translateY(20px);} to {opacity:1; transform:none;} }
@media (prefers-reduced-motion: no-preference) {
  .hero .container > * { opacity:0; transform:translateY(20px); animation:heroUp .72s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero .container > :nth-child(1) { animation-delay:.05s; }
  .hero .container > :nth-child(2) { animation-delay:.13s; }
  .hero .container > :nth-child(3) { animation-delay:.21s; }
  .hero .container > :nth-child(4) { animation-delay:.29s; }
  .hero .container > :nth-child(5) { animation-delay:.37s; }
}
.hero p { color:rgba(255,255,255,.94); font-size:17.5px; margin:0 auto 38px; max-width:680px; line-height:1.85; }
.hero .stats-slim { padding: 54px 0 0; margin-top: 56px; border-top: 1px solid rgba(255,255,255,.16); }
.hero .stats-slim > .container { max-width: none; margin: 0; padding: 0; }
.hero .stats-slim .stats-grid { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 30px; margin-top: 28px; }
.hero .stats-slim .stat { text-align: center; }
.hero .stats-slim .stat b { font-size: 32px; color: #fff; letter-spacing: .5px; }
.hero .stats-slim .stat span { font-size: 13px; color: rgba(255,255,255,.84); }
@media (max-width: 640px){ .hero .stats-slim .stats-grid{ grid-template-columns:repeat(2,1fr); gap:20px; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 30px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.16); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(0,0,0,.22); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.16); }
.hero-stat { position: relative; z-index: 2; display: flex; gap: 40px; justify-content: center; margin-top: 48px; color: rgba(255,255,255,.85); }
.hero-stat b { display: block; font-size: 26px; color: #fff; }
.hero-stat span { font-size: 13px; }

/* ---------- 特点 / 优势 ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.card { background: var(--bg); border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-icon svg { width: 26px; height: 26px; stroke: var(--brand); }
.feature-icon .fi { font-size: 26px; line-height: 1; }
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.adv-card { position: relative; display: flex; gap: 18px; align-items: flex-start; background: var(--bg); border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.adv-badge { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(118deg, var(--brand-dark) 0%, var(--brand) 55%, var(--accent) 100%); color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.adv-main { flex: 1; min-width: 0; }
.adv-main h3 { font-size: 18px; margin: 0 0 10px; }
.adv-main p { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 0; white-space: normal; word-break: break-word; }
@media (max-width: 560px){ .adv-card { flex-direction: column; align-items: flex-start; } }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-body h2 { font-size: 28px; margin: 0 0 18px; }
.about-body p { color: var(--muted); margin: 0 0 14px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.about-points li { display: flex; gap: 8px; font-size: 14px; }
.about-points li svg { width: 18px; height: 18px; stroke: var(--brand); flex: none; margin-top: 3px; }

/* ---------- 服务 / 案例 卡片 ---------- */
.grid3, .grid4 { display: grid; gap: 22px; }
.grid3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.item-card { background: var(--bg); border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.item-media { height: 200px; overflow: hidden; background: var(--surface); }
.item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.item-card:hover .item-media img { transform: scale(1.05); }
.item-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.item-body h3 { font-size: 17px; margin: 0 0 8px; }
.item-body p { color: var(--muted); font-size: 14px; margin: 0 0 14px; flex: 1; }
.item-tag { align-self: flex-start; background: var(--brand-soft); color: var(--brand); font-size: 12px; padding: 3px 10px; border-radius: 20px; }

/* ---------- 新闻 ---------- */
.news-list { max-width: 780px; margin: 0 auto; }
.news-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.news-item:last-child { border-bottom: 0; }
.news-date { flex: none; width: 64px; text-align: center; padding-top: 4px; }
.news-date b { display: block; font-size: 22px; color: var(--brand); }
.news-date span { font-size: 12px; color: var(--muted); }
.news-info h3 { font-size: 17px; margin: 0 0 6px; }
.news-info p { color: var(--muted); font-size: 14px; margin: 0; }

/* 首页「企业动态」：卡片栅格（华为式卡片的原创融合，2 行 × 3 列 = 6 条） */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.news-head .nt { text-align: left; }
.news-head h2 { font-size: 30px; font-weight: 700; letter-spacing: .5px; color: var(--text); margin: 0; position: relative; padding-bottom: 14px; }
.news-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--accent, #f59e0b)); }
.news-head .more { font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap; padding-bottom: 12px; }
.news-head .more:hover { text-decoration: underline; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
/* 首页新闻卡片：设了封面就带 16:9 缩略图，没设的仍是纯文字排版 */
.news-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg); border: 1px solid rgba(16, 24, 40, .08); border-radius: var(--radius);
  text-decoration: none; color: inherit; padding: 24px 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.news-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 20px 40px rgba(16, 60, 130, .12); }

.nc-body { display: flex; flex-direction: column; gap: 12px; flex: 1; }

/* 封面卡：卡片自身内边距归零，改由文字区补回 28px；图用 -28px 负 margin 顶到卡片左右边，
   配合 .news-card 的 overflow:hidden 自然裁成圆角，不会和文字挤在同一层里。
   负 margin 的数值必须跟着文字区内边距走，两处一起改。 */
.news-card.has-cover { padding: 0; }
.news-card.has-cover .nc-body { padding: 0 28px 26px; }
/* width/height 显式写 auto、max-width 关掉：站点通用规则 img{max-width:100%} 是按「文字区内容宽」卡的，
   不关掉的话负 margin 只把图挪了位置、宽度还是窄 56px，出不了血。防位移交给 aspect-ratio。 */
.nc-cover { width: auto; height: auto; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  margin: 0 -28px; background: var(--bg, #f4f6fb); }

/* 元信息行：分类角标 + 置顶标签 */
.nc-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.nc-meta i { font-style: normal; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft);
  color: var(--brand); font-weight: 600; letter-spacing: .3px; }
.nc-pin { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; }

/* 日期标签：独立一行，大号数字 + 年月小字 */
.nc-date { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 0; }
.nc-date b { font-size: 28px; font-weight: 800; color: var(--brand); line-height: 1; }
.nc-date i { font-style: normal; font-size: 13px; letter-spacing: .5px; color: var(--muted); }

/* 标题：加粗、限两行 */
.news-card h3 {
  font-size: 18px; line-height: 1.6; margin: 0; font-weight: 700; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card:hover h3 { color: var(--brand); }

/* 摘要：限三行，字号稍小 */
.news-card .nc-body p {
  margin: 0; font-size: 14px; line-height: 1.75; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* "阅读全文"链接 */
.nc-more { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--brand); }
.nc-more svg { transition: transform .2s ease; }
.news-card:hover .nc-more svg { transform: translateX(5px); }

@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { 
  .news-grid { grid-template-columns: 1fr; } 
  .news-card { padding: 20px 22px 22px; }
  .news-card h3 { min-height: 0; }
  .nc-date b { font-size: 24px; }
  /* 封面卡的出血口径跟着小屏内边距走，否则负 margin 对不上会漏出一条白边 */
  .news-card.has-cover { padding: 0; }
  .news-card.has-cover .nc-body { padding: 0 22px 22px; }
  .nc-cover { margin-left: -22px; margin-right: -22px; }
}
:root[data-theme="dark"] .news-card { background: #152036; border-color: rgba(255, 255, 255, .1); }

/* ---------- CTA ---------- */
.cta { background: var(--brand); color: #fff; text-align: center; }
.cta h2 { font-size: 28px; margin: 0 0 12px; color: #fff; }
.cta p { color: rgba(255,255,255,.9); margin: 0 0 26px; }
.cta .btn-ghost { border-color: rgba(255,255,255,.5); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: 26px; margin: 0 0 16px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 15px; }
.contact-line svg { width: 20px; height: 20px; stroke: var(--brand); flex: none; margin-top: 3px; }
.contact-line p { margin: 0; color: var(--muted); }
.contact-line b { color: var(--text); }
.news-form { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.news-form h3 { margin: 0 0 16px; font-size: 18px; }
.form-row { margin-bottom: 14px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 8px;
  font-family: inherit; font-size: 14px; background: var(--bg); color: var(--text);
}
.form-row textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: -8px; }

/* ---------- 管理团队 ---------- */
/* 管理团队：默认方形(寸照)，shape-round 切圆形；按人数自动行列 */
.team-grid { display: grid; gap: 22px; }
.team-grid.cols-1 { grid-template-columns: 1fr; max-width: 560px; }
.team-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.team-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.team-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.team-single { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: center; max-width: 900px; margin: 0 auto; }
.team-single .team-card { text-align: left; border: 0; padding: 0; box-shadow: none; }
.team-single .team-card:hover { transform: none; box-shadow: none; }
.team-single .team-media { margin: 0; }
.team-single h3 { font-size: 22px; }
.team-single .team-role { margin-bottom: 10px; }
.team-card { background: var(--bg); border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding: 24px; text-align: center; transition: transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* 形象照：默认方形（寸照矩形 3:4 + 小圆角） */
.team-media { width: 100%; max-width: 150px; aspect-ratio: 3 / 4; margin: 0 auto 14px; border-radius: 8px; overflow: hidden; background: var(--brand-soft); }
.team-media img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 34px; color: var(--brand); font-weight: 700; }
.team-card h3 { margin: 0 0 4px; font-size: 17px; }
.team-role { display: inline-block; margin-bottom: 10px; font-size: 13px; color: var(--brand); font-weight: 600; }
.team-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
/* 圆形形象照（后台一键切换） */
.shape-round .team-media { aspect-ratio: 1 / 1; border-radius: 50%; }
@media (max-width: 900px){ .team-grid.cols-4 { grid-template-columns: repeat(3, 1fr); } .team-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .team-grid.cols-2, .team-grid.cols-3, .team-grid.cols-4 { grid-template-columns: 1fr; } .team-single { grid-template-columns: 1fr; text-align: center; } .team-single .team-media { margin: 0 auto 14px; } }

/* ---------- 页脚 ---------- */
.site-footer { background: #10151d; color: rgba(255,255,255,.72); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-grid-2 { grid-template-columns: 2fr 1fr; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-about { font-size: 14px; line-height: 1.9; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,.72); transition: color .2s; }
.footer-col a:hover { color: #fff; }
/* 页脚联系方式：黑底上用亮色文字，避免默认深色变量导致看不清 */
.site-footer .contact-line p { color: rgba(255,255,255,.85); }
.site-footer .contact-line b { color: #fff; }
.site-footer .contact-line svg { stroke: #7aa7ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.5); flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.6); }
/* 友情链接（后台可自主添加，空则不渲染） */
.footer-links { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.footer-links .fl-label { color: rgba(255,255,255,.55); font-weight: 600; margin-right: 4px; flex: none; }
.footer-links a { color: rgba(255,255,255,.72); transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ---------- 面包屑 + 页内标题 ---------- */
.page-hero { background: var(--brand-dark); color: #fff; padding: 64px 0; }
.page-hero h1 { font-size: 32px; margin: 0 0 8px; }
.page-hero p { color: rgba(255,255,255,.85); margin: 0; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { margin-top: 40px; }
.prose p { color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.prose th, .prose td { border: 1px solid rgba(0,0,0,.08); padding: 10px 12px; font-size: 14px; text-align: left; }
.prose th { background: var(--surface); }

/* ---------- 文章正文的标题层级与列表（文章页与服务页说明栏共用） ---------- */
/* 正文最大只到 H2（H1 是页面主标题，正文再出现会把搜索引擎读到的层级打乱）：大节 H2、大节里再细分 H3。
   ul 在站头被 reset 掉了圆点（导航、卡片列表靠这个 reset），正文里的分点必须就地恢复，
   否则 AI 与 Word 写出来的 <ul><li> 会变成一堆没有标记、齐肩挤在一起的短句。 */
.article-content h1, .article-content h2, .spec-body h1, .spec-body h2 {
  font-size: 20px; line-height: 1.5; font-weight: 700; color: var(--text);
  margin: 30px 0 12px; padding-left: 11px; border-left: 3px solid var(--brand);
}
.article-content h3, .spec-body h3 { font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--text); margin: 22px 0 8px; }
.article-content h4, .spec-body h4 { font-size: 15.5px; line-height: 1.6; font-weight: 700; color: var(--muted); margin: 16px 0 6px; }
.article-content p, .spec-body p { margin: 0 0 14px; }
.article-content ul, .spec-body ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.article-content ol, .spec-body ol { list-style: decimal; padding-left: 24px; margin: 10px 0; }
.article-content li, .spec-body li { margin: 5px 0; }
.article-content ul ul, .spec-body ul ul { list-style: circle; margin: 5px 0; }
.article-content blockquote, .spec-body blockquote {
  margin: 16px 0; padding: 12px 16px; background: var(--surface, #f6f8fc);
  border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; color: var(--muted);
}
.article-content blockquote p:last-child, .spec-body blockquote p:last-child { margin-bottom: 0; }
.article-content > :first-child, .spec-body > :first-child { margin-top: 0; }

/* ---------- 富文本里的表格（Word 导入 / 手工排版都会用到）：文章正文与服务页说明栏共用 ---------- */
.article-content .tbl-wrap, .spec-body .tbl-wrap { margin: 22px 0; }
.article-content table, .spec-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.article-content th, .article-content td, .spec-body th, .spec-body td { border: 1px solid #dbe1ec; padding: 10px 12px; text-align: left; vertical-align: top; word-break: break-word; min-width: 72px; }
.article-content th, .spec-body th { background: var(--surface, #f6f8fc); font-weight: 600; }
.article-content table p, .spec-body table p { margin: 0; }
.article-content table p + p, .spec-body table p + p { margin-top: 6px; }

/* ---------- 图集 ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.gallery img { width: 100%; height: 100%; display: block; aspect-ratio: var(--gal-ar, 4 / 3); object-fit: cover; }
.gi { margin: 0; position: relative; overflow: hidden; border-radius: 10px; background: var(--brand-soft); }
.gal-2, .gal-4 { grid-template-columns: repeat(2, 1fr); }
.gal-3, .gal-5, .gal-6, .gal-7, .gal-8 { grid-template-columns: repeat(3, 1fr); }
/* 2~8 张各有画幅：公司信息始终占正中间那一格（8 张＝标准九宫格），其余张数用跨列填满不留空洞 */
.gal-2 { grid-template-areas: "a b" "i i"; }
.gal-3 { grid-template-areas: "a b c" "i i i"; }
.gal-4 { grid-template-areas: "a b" "i i" "c d"; }
.gal-5 { grid-template-areas: "a b c" "d i e"; }
.gal-6 { grid-template-areas: "a b c" "i i i" "d e f"; }
.gal-7 { grid-template-areas: "a b c" "i i d" "e f g"; }
.gal-8 { grid-template-areas: "a b c" "d i e" "f g h"; }
.ga-a { grid-area: a; } .ga-b { grid-area: b; } .ga-c { grid-area: c; } .ga-d { grid-area: d; }
.ga-e { grid-area: e; } .ga-f { grid-area: f; } .ga-g { grid-area: g; } .ga-h { grid-area: h; }
.gal-auto { grid-template-columns: repeat(3, 1fr); }
.g-info { grid-area: i; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  border-radius: 10px; padding: 18px 20px; overflow: hidden;
  background: linear-gradient(150deg, var(--brand-soft), var(--bg)); border: 1px solid rgba(16, 24, 40, .07); }
.gal-auto .g-info { grid-area: auto; }
.g-info .gi-t { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.g-info .gi-b p { margin: 0 0 6px; font-size: 14px; line-height: 1.8; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.g-info .gi-b p:last-child { margin-bottom: 0; }
.gi-more { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--brand); }
.gi-more:hover { text-decoration: underline; }
.gi-solo { border-radius: 10px; aspect-ratio: var(--gal-ar, 4 / 3); object-fit: cover; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-template-areas: none; gap: 12px; }
  .gallery .gi { grid-area: auto; }
  .gallery .g-info { grid-area: auto; grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-info { grid-column: auto; }
}

/* ---------- 窄区块 ---------- */
.section-narrow { padding-top: 0; padding-bottom: 0; }
.is-tint { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; }

/* ---------- 数据带（统计指标） ---------- */
.stats-band { padding: 56px 0; }
.stats-slim .stat b { font-size: 26px; text-shadow: 0 1px 8px rgba(0,0,0,.18); }
.stats-slim .stat span { font-size: 13px; }
.hero .stats-slim .stat b { color: #fff; }
.hero .stats-slim .stat span { color: rgba(255,255,255,.85); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 38px; font-weight: 800; line-height: 1.1;
  color: var(--brand-dark); letter-spacing: 0; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.is-tint .stat b { color: #fff; }
.is-tint .stat span { color: rgba(255,255,255,.85); }

/* ---------- 服务卡片（增强） ---------- */
.svg-svc .grid3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
/* 通用展示容器：宫格 / 横向滚动（产品服务 / 客户案例 / 管理团队 共用，后台可逐区块配置） */
.v-grid { display: grid; gap: 22px; }
.v-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.v-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.v-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.v-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.v-scroll { position: relative; }
.v-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
.v-scroll[data-cols="3"] .v-track > * { flex: 0 0 calc((100% - 44px) / 3); }
.v-scroll[data-cols="4"] .v-track > * { flex: 0 0 calc((100% - 66px) / 4); }
.v-scroll[data-cols="5"] .v-track > * { flex: 0 0 calc((100% - 88px) / 5); }
.v-scroll[data-cols="6"] .v-track > * { flex: 0 0 calc((100% - 110px) / 6); }
.v-track > * { scroll-snap-align: start; }
.v-nav { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.v-arr { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12);
  background: var(--bg); color: var(--text, #1f2937); font-size: 26px; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  padding-bottom: 4px; transition: background .2s, color .2s; }
.v-arr:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width:980px){ .v-grid.cols-4,.v-grid.cols-5,.v-grid.cols-6 { grid-template-columns: repeat(2,1fr); } }
@media (max-width:640px){ .v-grid,.v-grid.cols-3,.v-grid.cols-4,.v-grid.cols-5,.v-grid.cols-6 { grid-template-columns: 1fr; }
  .v-scroll[data-cols="3"] .v-track > *,.v-scroll[data-cols="4"] .v-track > *,
  .v-scroll[data-cols="5"] .v-track > *,.v-scroll[data-cols="6"] .v-track > * { flex: 0 0 85%; }
  /* 手机端数据展示区：一行4个，数字缩小 */
  .stats-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 12px !important; }
  .stat b { font-size: 22px !important; }
  .stat span { font-size: 11px !important; margin-top: 4px !important; }
}
.svc-card { background: var(--bg); border: 1px solid rgba(0,0,0,.06); border-radius: 16px;
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  box-sizing: border-box; transition: transform .2s, box-shadow .25s, border-color .2s; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.svc-head { display: flex; align-items: center; justify-content: space-between; }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; }
.svc-icon svg { width: 24px; height: 24px; stroke: var(--brand); }
.svc-card h3 { font-size: 19px; margin: 0; }
.svc-card p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.svc-linked { text-decoration: none; color: inherit; }
.svc-linked h3 { color: var(--text, #1f2937); }
.svc-more { align-self: flex-start; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); font-size: 14px; font-weight: 600; }
.svc-linked:hover .svc-more { text-decoration: underline; }
/* ---------- 产品或服务详情页 ---------- */
.svc-detail-head { display: flex; align-items: center; gap: 18px; margin: 6px 0 26px; }
.svc-icon.big { width: 72px; height: 72px; border-radius: 18px; flex: 0 0 auto; }
.spec-group { display: flex; flex-direction: column; gap: 16px; }
.spec-block { display: flex; gap: 16px; align-items: flex-start; background: var(--bg);
  border: 1px solid rgba(0,0,0,.06); border-radius: 14px; padding: 18px 20px; }
.spec-label { flex: 0 0 128px; font-weight: 600; color: var(--text); position: relative; padding-left: 12px; }
.spec-label::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--brand); }
.spec-body { color: var(--muted); line-height: 1.8; flex: 1; }
@media (max-width: 640px) { .spec-block { flex-direction: column; gap: 6px; } .spec-label { flex-basis: auto; } }
/* ---------- 产品或服务详情页：头部 ---------- */
.svc-hero { padding: 46px 0 40px; background: linear-gradient(180deg, var(--brand-soft, #eef2ff), transparent); }
.svc-hero-inner { display: flex; align-items: center; gap: 36px; }
.svc-hero-text { flex: 1; }
.svc-hero h1 { font-size: 34px; margin: 10px 0 12px; }
.svc-hero-desc { color: var(--muted); font-size: 17px; max-width: 640px; line-height: 1.8; }
.svc-hero-cta { display: flex; gap: 12px; margin-top: 22px; align-items: center; }
.svc-hero-img { flex: 0 0 40%; max-width: 460px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg, 0 12px 40px rgba(31,41,55,.12)); }
.svc-hero-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.tpl-modern .svc-hero { background: linear-gradient(135deg, var(--brand), var(--brand-soft)); color: #fff; }
.tpl-modern .svc-hero h1 { color: #fff; }
.tpl-modern .svc-hero-desc { color: rgba(255,255,255,.86); }
.tpl-modern .svc-hero .section-kicker { color: rgba(255,255,255,.75); }
.tpl-modern .btn.ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.tpl-premium .svc-hero { background: linear-gradient(120deg, #0f172a, #1e293b); color: #dfe7f5; }
.tpl-premium .svc-hero h1 { color: #fff; font-size: 40px; }
.tpl-premium .svc-hero .svc-hero-inner { padding: 16px 0; }
@media (max-width: 820px) { .svc-hero-inner { flex-direction: column; }.svc-hero-img { flex-basis: auto; max-width: 100%; width: 100%; } }
/* 详情页小节标题 */
.svc-sec-head { text-align: center; margin-bottom: 28px; }
.svc-sec-head h2 { margin: 8px 0 0; }
/* 对比表格 */
.tbl-wrap { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm, 0 2px 12px rgba(31,41,55,.06)); }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #eef1f6; font-size: 15px; }
.cmp-table thead th { background: var(--brand-soft, #eef2ff); color: var(--brand); font-weight: 600; }
.cmp-table .cmp-first { font-weight: 600; color: var(--text); width: 26%; }
.cmp-table td:nth-child(2) { color: var(--brand); font-weight: 600; }
/* 报价：单档说明 */
.price-body { background: #fff; border: 1px solid var(--brand-soft, #eef2ff); border-radius: 14px; padding: 24px 28px; line-height: 1.9; color: var(--text); max-width: 820px; margin: 0 auto; }
/* 报价：多档套餐 */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 20px; }
.tier-card { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; padding: 26px 24px; text-align: center; box-shadow: var(--shadow-sm, 0 2px 12px rgba(31,41,55,.05)); transition: transform .2s, box-shadow .25s, border-color .2s; }
.tier-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.tier-name { font-size: 18px; font-weight: 700; color: var(--text); }
.tier-desc { color: var(--muted); font-size: 14px; margin: 10px 0 16px; min-height: 40px; }
.tier-price { font-size: 26px; font-weight: 800; color: var(--brand); }
@media (max-width: 640px) { .svc-hero h1 { font-size: 26px; }.svc-hero-desc { font-size: 15px; } }
.svc-media { border-radius: 12px; overflow: hidden; background: var(--surface); }
.svc-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ---------- 解决方案 ---------- */
.solutions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 22px; }
.solution-card { background: var(--bg); border: 1px solid rgba(0,0,0,.06); border-radius: 16px;
  padding: 30px 26px; position: relative; overflow: hidden; transition: transform .2s, box-shadow .25s; }
.solution-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: 0; transition: opacity .25s; }
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.solution-card:hover::before { opacity: 1; }
.solution-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.solution-icon svg { width: 26px; height: 26px; stroke: var(--brand); }
.solution-card h3 { font-size: 19px; margin: 0 0 10px; }
.solution-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- 资质荣誉 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 22px; }
.honor-card { background: var(--bg); border: 1px solid rgba(0,0,0,.06); border-radius: 16px;
  padding: 28px 24px; text-align: center; transition: transform .2s, box-shadow .25s, border-color .2s; }
.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.honor-badge { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent)); display: flex; align-items: center; justify-content: center; }
.honor-badge svg { width: 28px; height: 28px; stroke: #fff; }
.honor-card h3 { font-size: 17px; margin: 0 0 8px; }
.honor-no, .credit-line { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------- 常见问题（手风琴） ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid rgba(0,0,0,.08); border-radius: 12px; margin-bottom: 12px;
  background: var(--bg); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--brand); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: 0; cursor: pointer; padding: 18px 22px; font: inherit; font-size: 16px;
  font-weight: 600; color: var(--text); text-align: left; }
.faq-q svg { width: 18px; height: 18px; stroke: var(--brand); flex: none; transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { margin: 0; padding: 0 22px 18px; color: var(--muted); font-size: 14.5px; }

/* ---------- 发展历程（时间轴） ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: var(--brand-soft); }
.timeline li { position: relative; padding: 0 0 26px 22px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -23px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--brand); }
.tl-body b { font-size: 16px; color: var(--text); }
.tl-body p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- 左对齐标题 / 辅助 ---------- */
.head-left { text-align: left; }
.head-left p { margin-left: 0; }
.op55 svg { opacity: .55; }
.credit-line { margin-top: 6px; }

/* ---------- 响应式 ---------- */
@media (max-width: 880px) {
  /* 抽屉挂在页头下方：用 top:100% 而不是写死 72px，双行页头（信息条+导航条）才不会盖住导航条 */
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
    flex-direction: column; padding: 12px 20px 20px; box-shadow: 0 18px 40px rgba(16,24,40,.14);
    border-top: 1px solid rgba(0,0,0,.06); z-index: 90; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 13px 12px; border-radius: 10px; }
  .nav .nav-cta { text-align: center; margin-left: 0; margin-top: 8px; }
  .nav .lang-switch, .nav .theme-switch { width: 100%; justify-content: center; margin-left: 0; margin-top: 6px; }
  /* 手机浏览器（QQ/夸克/Safari）地址栏会压缩可视高度，100vh 比可视区高，
     菜单底部项会被顶到工具栏下面点不到，故用 dvh 兜底并留刘海安全区 */
  .nav.open { overflow-y: auto; -webkit-overflow-scrolling: touch; max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px); padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .menu-open .float-widget { display: none; }
  .nav-dd { width: 100%; }
  .nav-dd > .dd-toggle { width: 100%; justify-content: space-between; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 6px 0 6px 12px; display: none; }
  .nav-dd.open .dd-menu { display: block; }
  .nav-toggle { display: flex; padding: 14px 11px; }
  /* iOS Safari 对字号小于 16px 的输入框会自动放大页面，手机端统一提到 16px。
     个别字段（搜索框、咨询类型下拉）字号写在行内 style 上，必须 !important 才压得住 */
  .form-row input, .form-row textarea, select, input[type=text], input[type=tel],
  input[type=email], input[type=search] { font-size: 16px !important; }
  .hero-inner { padding: 88px 0; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stat { flex-wrap: wrap; gap: 20px; }
  .section { padding: 54px 0; }
}

/* 小屏（≤640px）：表格与富文本防撑破。列多/字长的表在手机上先压缩内边距与字号，
   配合全局 break-word；仍放不下时在 .tbl-wrap 外框内左右滑动，不会把整页撑宽 */
@media (max-width: 640px) {
  .prose th, .prose td { padding: 8px 9px; font-size: 13px; }
  .article-content .tbl-wrap, .spec-body .tbl-wrap { margin: 16px 0; }
  .article-content th, .article-content td, .spec-body th, .spec-body td { padding: 8px 9px; font-size: 13px; }
  /* 手机上小标题收一级：正文 15-16px，H2 再留 20px 会显得头重脚轻 */
  .article-content h1, .article-content h2, .spec-body h1, .spec-body h2 { font-size: 18px; margin: 24px 0 10px; }
  .article-content h3, .spec-body h3 { font-size: 16px; margin: 18px 0 7px; }
  .article-content ul, .article-content ol, .spec-body ul, .spec-body ol { padding-left: 19px; }
  .cmp-table th, .cmp-table td { padding: 10px 11px; font-size: 14px; }
  .cmp-table .cmp-first { width: 34%; }
  .news-form { padding: 20px 16px; }
}

/* 无障碍：focus 可见 */
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* 打印 */
@media print {
  .site-header, .site-footer, .hero-actions, .news-form { display: none; }
}

/* 表单提示与成功反馈（后台版在线留言等） */
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.form-ok { padding: 12px 16px; border-radius: var(--radius); background: #dcfce7; color: #15803d; margin-bottom: 14px; font-size: 14px; }

/* ---------- 暗色模式（前台一键切换，决策在 <html data-theme>，CSS 变量覆盖） ---------- */
:root[data-theme="dark"] {
  --bg: #0f172a; --surface: #1c2438; --text: #e5e7eb; --muted: #9aa4b3;
  --brand-soft: rgba(79, 130, 246, .16);
  --shadow: 0 12px 30px rgba(0, 0, 0, .35); --shadow-lg: 0 22px 48px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
:root[data-theme="dark"] .site-header { background: #0b1222; border-bottom-color: rgba(255,255,255,.08); }
:root[data-theme="dark"] .nav a:hover { background: rgba(79,130,246,.16); }
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .item-card,
:root[data-theme="dark"] .svc-card,
:root[data-theme="dark"] .solution-card,
:root[data-theme="dark"] .honor-card,
:root[data-theme="dark"] .faq-item { background: #152036; border-color: rgba(255,255,255,.08); }
:root[data-theme="dark"] .dd-menu { background: #152036; border-color: rgba(255,255,255,.08); }
:root[data-theme="dark"] .prose th { background: #1c2438; border-color: rgba(255,255,255,.1); }
:root[data-theme="dark"] .article-content th, :root[data-theme="dark"] .spec-body th { background: #1c2438; }
:root[data-theme="dark"] .article-content th, :root[data-theme="dark"] .article-content td,
:root[data-theme="dark"] .spec-body th, :root[data-theme="dark"] .spec-body td { border-color: rgba(255,255,255,.12); }
:root[data-theme="dark"] .news-form { background: #1c2438; }
:root[data-theme="dark"] .form-row input, :root[data-theme="dark"] .form-row textarea { border-color: rgba(255,255,255,.15); }
:root[data-theme="dark"] .article-content h1, :root[data-theme="dark"] .article-content h2,
:root[data-theme="dark"] .article-content h3 { color: var(--text); }
:root[data-theme="dark"] .float-widget .fw-panel { background: #152036; border-color: rgba(255,255,255,.1); color: var(--text); }
:root[data-theme="dark"] .float-widget .fw-msg-bot { background: #1c2438; color: var(--text); }
:root[data-theme="dark"] .float-widget .fw-panel input { background: #0f172a; color: var(--text); border-color: rgba(255,255,255,.15); }
@media (max-width: 880px) {
  :root[data-theme="dark"] .nav { background: #0b1222; border-top-color: rgba(255,255,255,.08); }
}

/* ==== 内置 Banner 背景预设（万能通用渐变，文字由站点标语实时叠加）==== */
.hero-bg.preset-p1{background-image:radial-gradient(1100px 560px at 22% 12%,rgba(59,130,246,.45),transparent 60%),radial-gradient(900px 480px at 82% 88%,rgba(103,232,249,.30),transparent 60%),linear-gradient(135deg,#0b1f4d,#1e3a8a 45%,#2563eb)}
.hero-bg.preset-p2{background-image:radial-gradient(1100px 560px at 20% 10%,rgba(255,255,255,.30),transparent 55%),radial-gradient(900px 500px at 85% 90%,rgba(224,242,254,.55),transparent 60%),linear-gradient(135deg,#075985,#0ea5e9 55%,#7dd3fc)}
.hero-bg.preset-p3{background-image:radial-gradient(1100px 560px at 20% 12%,rgba(45,212,191,.38),transparent 58%),radial-gradient(900px 480px at 82% 90%,rgba(153,246,228,.32),transparent 60%),linear-gradient(135deg,#042f2e,#0f766e 55%,#14b8a6)}
.hero-bg.preset-p4{background-image:radial-gradient(1100px 560px at 22% 12%,rgba(167,139,250,.40),transparent 58%),radial-gradient(900px 500px at 82% 88%,rgba(221,214,254,.32),transparent 60%),linear-gradient(135deg,#2e1065,#6d28d9 55%,#8b5cf6)}

/* ---------- 行业模板 · 首屏版式 ---------- */
/* hero--soft：浅色柔和首屏，正文改深色，适合医疗 / 金融等克制度行业 */
.hero--soft .hero-bg{background:linear-gradient(124deg,#eef7f3, var(--brand-soft, #e8f5f2) 45%, #e7f4ee);}
.hero--soft .hero-bg::before{opacity:.35;background-image:radial-gradient(rgba(15,118,110,.16) 1px,transparent 1.5px);}
.hero--soft .hero-bg::after{background:radial-gradient(820px 520px at 50% 16%, rgba(255,255,255,.6), transparent 62%);}
.hero--soft .hero-inner::after{border-color:rgba(15,118,110,.1);box-shadow:0 0 0 110px rgba(15,118,110,.03),0 0 0 280px rgba(15,118,110,.02);}
.hero--soft h1{color:#1f2937;text-shadow:none;}
.hero--soft .hero-eyebrow{color:var(--brand);border-color:rgba(15,118,110,.2);background:rgba(255,255,255,.7);}
.hero--soft .hero-actions .btn-primary{box-shadow:0 10px 22px rgba(15,118,110,.16);}
.hero--soft .hero-actions .btn-ghost{background:rgba(255,255,255,.6);color:var(--text,#1f2937);border:1px solid rgba(15,118,110,.22);}
/* hero--split：左文右图（右侧为品牌视觉卡片），适合制造 / 餐饮等展示型行业 */
@media (min-width: 981px){
  .hero--split .container{display:grid;grid-template-columns:1.1fr .9fr;gap:52px;align-items:center;max-width:1140px;text-align:left;padding:40px 20px;}
  .hero--split .hero-eyebrow{grid-column:1;grid-row:auto;margin:0 0 24px;}
  .hero--split h1{grid-column:1;grid-row:auto;margin:0 0 22px;max-width:660px;}
  .hero--split .hero-actions{grid-column:1;grid-row:auto;justify-content:flex-start;}
  .hero--split .container::after{content:"";grid-column:2;grid-row:1;min-height:400px;border-radius:22px;
    background:linear-gradient(155deg,rgba(255,255,255,.24),rgba(255,255,255,.05));
    background-image:radial-gradient(rgba(255,255,255,.3) 1px,transparent 1.5px);background-size:26px 26px;
    border:1px solid rgba(255,255,255,.24);backdrop-filter:blur(2px);}
  .hero--split .hero-inner::after{transform:translate(0,-50%);left:auto;right:-4vw;width:min(460px,38vw);height:min(460px,38vw);}
}
@media (max-width: 980px){
  .hero--split .container{display:block;text-align:center;}
  .hero--split .hero-actions{justify-content:center;}
  .hero--split .container::after{display:none;}
}.honor-img{width:100%;aspect-ratio:4/3;max-height:180px;border-radius:12px;overflow:hidden;margin-bottom:16px;background:#fff;border:1px solid rgba(0,0,0,.06);}.honor-img img{width:100%;height:100%;object-fit:contain;display:block;}

/* 关于我们板块：标题可点击 + 了解更多按钮 */
.about-body .about-link{color:inherit;text-decoration:none}
.about-body h2 .about-link:hover{color:var(--brand)}
.about-body .about-more{margin-top:18px}

/* ==== 案例详情页 & 客户证言 ==== */
a.item-card.case-card{color:inherit;text-decoration:none}
.case-card .case-more{display:inline-flex;align-items:center;gap:6px;color:var(--brand);font-size:14px;font-weight:600;margin-top:auto}
.case-hero-media img{width:100%;height:auto;max-height:420px;object-fit:cover;display:block}
.case-block{margin:0 0 16px;border:1px solid rgba(0,0,0,.06);border-radius:12px;padding:18px 20px;background:var(--bg)}
.case-block-h{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--brand)}
.case-block-h b{font-size:16px}
.case-block-b{font-size:15px;line-height:1.8;color:var(--text);white-space:normal}
.testi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px, 100%), 1fr));gap:22px}
.testi-card{position:relative;background:var(--bg);border:1px solid rgba(0,0,0,.06);border-radius:var(--radius);padding:26px 26px 22px;box-shadow:var(--shadow)}
.testi-card .testi-quote{font-size:56px;line-height:.7;color:var(--brand);opacity:.35;margin-bottom:6px}
.testi-card .testi-text{font-size:15px;line-height:1.8;color:var(--text);margin:8px 0 18px}
.testi-card .testi-meta{display:flex;align-items:center;gap:12px}
.testi-card .testi-av{flex:none;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--accent));color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:700}
.testi-card .testi-who{display:flex;flex-direction:column}
.testi-card .testi-who b{font-size:15px;color:var(--text)}
.testi-card .testi-who em{font-style:normal;font-size:13px;color:var(--muted)}
.testi-card.testi-single{max-width:820px;margin-left:auto;margin-right:auto;box-shadow:var(--shadow-lg)}

/* ==== 文章分享 & 相关文章 ==== */
.article-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:30px 0 6px;padding-top:20px;border-top:1px solid #e5e7eb}
.article-share .as-t{font-size:14px;color:var(--muted);margin-right:4px}
.article-share button{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid rgba(0,0,0,.1);border-radius:8px;background:#fff;color:var(--text);font-size:13px;cursor:pointer;transition:border-color .2s,color .2s}
.article-share button:hover{border-color:var(--brand);color:var(--brand)}
.article-rel{margin-top:34px;border-top:1px solid #e5e7eb;padding-top:22px}
.article-rel h3{font-size:19px;margin:0 0 14px}
.rel-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px, 100%), 1fr));gap:14px}
.rel-item{display:block;text-decoration:none;color:var(--text);border:1px solid rgba(0,0,0,.07);border-radius:12px;padding:14px 16px;background:var(--bg);transition:box-shadow .2s,transform .2s}
.rel-item:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.rel-item h4{margin:0 0 6px;font-size:15px;line-height:1.5}
.rel-item p{margin:0;font-size:13px;color:var(--muted);line-height:1.6}

/* ==== 六大版式模式（后台下拉切换的真实样式，全部带手机适配） ==== */

/* 页头 · 双行式：第一行 Logo +「丨」+ 口号 + 400 电话，第二行纯导航条。
   配色由后台「顶部导航版式」拼成 --zs-* 变量写在 <header style> 上；没设置就用这里的默认值。 */
.hdr-top { background: var(--zs-h1-bg, var(--brand-dark)); color: var(--zs-h1-fg, rgba(255,255,255,.9)); font-size: 13px;
  overflow: hidden; }
.hdr-top-in { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 88px; }
.hdr-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.hdr-name { font-weight: 800; font-size: 26px; color: inherit; letter-spacing: 1px; white-space: nowrap; }
.hdr-logo { height: 54px; width: auto; max-width: 300px; display: block; }
.hdr-sep { flex: none; width: 1px; height: 30px; background: currentColor; opacity: .35; }
.hdr-slogan { color: var(--zs-slogan, inherit); font-size: 20px; font-weight: 700; letter-spacing: 2px;
  border-bottom: 3px solid currentColor; padding-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-tell { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.ht-tel { display: flex; align-items: center; gap: 12px; }
.ht-tel > svg { flex: none; stroke: currentColor; opacity: .9; }
.ht-tel-txt { display: flex; flex-direction: column; line-height: 1.15; }
.ht-lab { font-size: 13px; opacity: .78; letter-spacing: 1px; }
.ht-num { font-size: 26px; font-weight: 800; letter-spacing: .5px; color: inherit; }
.ht-num:hover { text-decoration: underline; }
/* 双行版上行只放 400 电话（微信号不再显示） */
/* 双行版把页头单独放宽到 1400px（正文版心仍是全站 --maxw，不受影响） */
.header-double .container { max-width: var(--zs-hdr-maxw, 1400px); }
.header-double { box-shadow: 0 8px 26px rgba(16,24,40,.09); transform: translateZ(0); will-change: auto; }
.header-double .hdr-band { background: var(--zs-h2-bg, transparent); }
.header-double .nav-wrap { height: 64px; background: transparent; }
/* 下行涂了色，导航条上留在条内的品牌名与汉堡按钮要跟着反色（手机端那块白底抽屉菜单不参与） */
.header-double .nav-wrap > .brand { color: var(--zs-h2-fg, inherit); }
.header-double .nav-wrap > .nav-toggle span { background: var(--zs-h2-fg, var(--text)); }
@media (min-width: 881px) {
  /* Logo 与品牌名只在第一行出现，第二行导航项拉开间距铺满整行 */
  .header-double .brand { display: none; }
  .header-double .nav { flex: 1 1 auto; justify-content: space-between; gap: 10px; }
  /* 字色只作用于导航条上的项：选中项、联系按钮、语言开关、以及白底下拉菜单各有自己的底色，不能一并染掉 */
  .header-double .nav > a:not(.active):not(.nav-cta):not(.lang-switch),
  .header-double .nav .nav-dd > a:not(.active) { color: var(--zs-h2-fg, inherit); }
  .header-double .nav .lang-switch { color: var(--zs-h2-fg, var(--text)); }
  /* 下行选了主色/深色底：导航项、悬停、联系按钮、语言与深色切换都要跟着反白 */
  .hdr-nav-solid .nav a:hover { background: rgba(255,255,255,.16); color: #fff; }
  .hdr-nav-solid .nav a.active { background: rgba(255,255,255,.22); color: #fff; }
  .hdr-nav-solid .nav .nav-cta { background: #fff; color: var(--brand-dark) !important; }
  .hdr-nav-solid .nav .nav-cta:hover { background: rgba(255,255,255,.86); color: var(--brand-dark) !important; }
  .hdr-nav-solid .nav .lang-switch { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.14); color: #fff; }
  .hdr-nav-solid .nav .lang-switch:hover { border-color: #fff; color: #fff !important; }
  .hdr-nav-solid .nav-dd:hover > .dd-toggle { background: rgba(255,255,255,.16); color: #fff; }
}
/* 下拉菜单永远是白底，两种版式下都保持深色文字 */
.hdr-nav-solid .dd-menu a { color: var(--text) !important; }
.hdr-nav-solid .dd-menu a:hover { color: var(--brand) !important; }

/* 首屏 · 多图轮播：整块画面就是图片本身（不叠文字），第一张按原比例撑高度，
   其余覆盖在它上面淡入淡出。这样 16:9 的客户 Banner 不会被裁掉画面里的标语。 */
.hero-mode--carousel { background: var(--brand-dark); }
.hero-slides { position: relative; z-index: 0; overflow: hidden; min-height: clamp(180px, 22vw, 420px); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide--lead { position: relative; }
.hero-slide-link { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.hero-slide-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide--lead .hero-slide-link { height: auto; }
.hero-slide--lead .hero-slide-img { height: auto; max-height: 72vh; }
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 3;
  display: flex; gap: 10px; justify-content: center; width: max-content; padding: 7px 13px;
  border-radius: 999px; background: rgba(9,17,35,.34); }
.hero-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.35);
  transition: background .2s, transform .2s; }
.hero-dot.is-on { background: #fff; transform: scale(1.3); }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* 轮播左右箭头：绝对定位贴在图片两侧、垂直居中，不占排版空间，
   所以图片的高度口径与裁切范围完全不受影响。底衬沿用圆点那套半透明深蓝，
   浅色 Banner 上也看得见；默认让三分透明度给画面，悬停/键盘聚焦时升到全实。 */
.hero-arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; padding: 0; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(9,17,35,.34);
  color: #fff; cursor: pointer; opacity: .62; -webkit-tap-highlight-color: transparent;
  transition: opacity .2s, background .2s, transform .2s; }
.hero-arr--prev { left: 14px; }
.hero-arr--next { right: 14px; }
.hero-arr svg { display: block; }
.hero-arr:hover { opacity: 1; background: rgba(9,17,35,.62); }
.hero-arr:focus-visible { opacity: 1; outline: 2px solid #fff; outline-offset: 2px; }
.hero-arr:active { transform: translateY(-50%) scale(.92); }
/* 轮播模式下前台没有可见标题，但主标题仍要留给搜索引擎与读屏软件 */
.hero-sr-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-arr { transition: none; } }

/* 优势 · 左右交替：渐变序号面板 + 纯文字，偶数行镜像 */
.feat-split { display: flex; flex-direction: column; gap: 30px; }
.fs-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 38px; align-items: center; }
.fs-panel { position: relative; padding: 30px 32px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand) 58%, var(--accent));
  box-shadow: var(--shadow); }
.fs-no { display: block; margin-bottom: 10px; font-size: 38px; font-weight: 800; line-height: 1;
  letter-spacing: 1px; opacity: .55; }
.fs-panel h3 { margin: 0; font-size: 21px; color: #fff; line-height: 1.4; }
.fs-text h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.4; }
.fs-text p { margin: 0; font-size: 15.5px; line-height: 2; color: var(--muted); }
/* 配了大图的优势：面板改做成图片，序号压在图左上角 */
.fs-media { position: relative; padding: 0; min-height: 230px; overflow: hidden; background: var(--brand-soft); }
.fs-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,17,35,.3), rgba(9,17,35,.04) 45%, rgba(9,17,35,.32)); }
.fs-media .fs-no { position: absolute; left: 18px; top: 12px; z-index: 2; margin: 0; opacity: 1; color: #fff;
  font-size: 30px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.fs-row:nth-child(even) { grid-template-columns: 1.25fr 1fr; }
.fs-row:nth-child(even) .fs-panel { order: 2; }
.fs-row:nth-child(even) .fs-text { order: 1; text-align: right; }

/* 产品 · 图片卡片：上图下文，无图时给品牌色占位 */
.prod-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.prod-chip { font: inherit; font-size: 14px; line-height: 1.4; padding: 7px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(0,0,0,.1); background: var(--bg); color: var(--muted); transition: color .18s, border-color .18s, background .18s; }
.prod-chip:hover { color: var(--brand); border-color: var(--brand); }
.prod-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.prod-card.is-off { display: none; }
.prod-card { display: flex; flex-direction: column; overflow: hidden; background: var(--bg);
  border: 1px solid rgba(0,0,0,.06); border-radius: 16px;
  transition: transform .2s, box-shadow .25s, border-color .2s; }
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.prod-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-soft); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--brand); }
.prod-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px 24px; }
.prod-body h3 { margin: 0; font-size: 18px; }
.prod-body p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ==== 产品页面：左侧分类导航 + 右侧产品网格 ==== */
.product-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.product-sidebar { background: var(--brand, #0f766e); border-radius: 12px; padding: 24px 20px; color: #fff; }
.product-sidebar-title h3 { margin: 0 0 18px; font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.product-sidebar-title h3 span { font-weight: 400; opacity: .85; font-size: 16px; }
.product-cat-nav { display: flex; flex-direction: column; gap: 8px; }
.product-cat-btn { width: 100%; text-align: left; padding: 10px 14px; border-radius: 8px; border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 14px; cursor: pointer; transition: background .2s, transform .15s; position: relative; }
.product-cat-btn:hover { background: rgba(255,255,255,.22); }
.product-cat-btn.is-on { background: rgba(255,255,255,.92); color: var(--brand, #0f766e); font-weight: 600; }
.product-cat-btn::after { content: '›'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 18px; opacity: .7; }
.product-content { min-height: 400px; }
.product-content-head { margin-bottom: 24px; border-bottom: 2px solid var(--brand, #0f766e); padding-bottom: 12px; }
.product-content-head h2 { margin: 0; font-size: 22px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.product-content-head h2 span { font-weight: 400; opacity: .7; font-size: 18px; }
.product-more-link { margin-left: auto; font-size: 14px; color: var(--brand, #0f766e); text-decoration: none; font-weight: 600; }
.product-more-link:hover { text-decoration: underline; }
.product-cards .prod-card { height: 100%; }
/* 首页产品布局：左侧「产品分类」白卡导航 + 右侧 4 列朴素卡片（图+居中名称） */
.product-home-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.product-sidebar-home { background: var(--bg); border: 1px solid rgba(0,0,0,.07); border-radius: 12px; padding: 0; color: var(--text); overflow: hidden; }
.ps-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 16px; background: #fff; border-bottom: 1px dashed rgba(0,0,0,.12); }
.ps-ico { flex: none; width: 38px; height: 38px; border-radius: 8px; background: radial-gradient(circle, var(--brand, #0f766e) 1.6px, transparent 1.8px) 0 0 / 9px 9px; border: 1px solid rgba(0,0,0,.08); }
.ps-head h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--text); }
.ps-en { display: block; font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }
.ps-box { padding: 14px; }
.product-sidebar-home .product-cat-btn { background: #fff; color: var(--text); border: 1px solid rgba(0,0,0,.09); margin-bottom: 8px; padding-left: 36px; }
.product-sidebar-home .product-cat-btn::before { content: ''; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; background: radial-gradient(circle, currentColor 1.2px, transparent 1.4px) 0 0 / 4px 4px; opacity: .75; }
.product-sidebar-home .product-cat-btn:hover { background: var(--brand-soft, #e6f4f2); color: var(--brand, #0f766e); border-color: var(--brand, #0f766e); }
.product-sidebar-home .product-cat-btn.is-on { background: linear-gradient(135deg, var(--brand, #0f766e), #14907f); color: #fff; border-color: transparent; font-weight: 600; }
.pcb-more { display: block; text-align: center; margin-top: 4px; padding: 10px 14px; border: 1px solid var(--brand, #0f766e); border-radius: 8px; color: var(--brand, #0f766e); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.pcb-more:hover { background: var(--brand, #0f766e); color: #fff; }
.prod-card-home { cursor: pointer; }
/* 首页这块要固定一行 4 个（.grid4 的 auto-fit 在 280px 侧栏挤占后只排得下 3 个） */
.product-home-layout .product-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .product-home-layout .product-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .product-home-layout .product-cards { grid-template-columns: repeat(2, 1fr); } }
.prod-card-home .prod-body { align-items: center; text-align: center; padding: 16px 14px 18px; }
.prod-card-home .prod-body h3 { font-size: 15px; }
.prod-card-home .item-tag, .prod-card-home .prod-body p { display: none; }
.prod-card.prod-hide { display: none; }

/* 客户 Logo 墙：有图用图，无图用客户名占位 */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: 16px; }
.logo-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 110px; padding: 18px 14px; background: var(--bg);
  border: 1px solid rgba(0,0,0,.07); border-radius: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.logo-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.logo-cell img { max-height: 56px; width: auto; object-fit: contain; }
.logo-cell b { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }
.logo-ph { font-size: 15px; font-weight: 700; letter-spacing: .5px; color: var(--brand); text-align: center; }
/* 一个 Logo 都没上传时的名称占位格：压淡一档，和真正的案例卡片区分开 */
.logo-cell.is-ph { background: var(--surface); border-style: dashed; }
.logo-cell.is-ph .logo-ph { color: var(--muted); font-weight: 600; }

/* 关于我们 · 多图墙（独立页）：照片墙跟在正文下方 */
.gallery-about { margin-top: 34px; }

/* 版式模式手机适配：双行页头在窄屏压扁（只留电话，560px 以下整条收起）， */
/* 左右交替优势退回单列，其余网格随小屏收窄。 */
@media (max-width: 980px) {
  .fs-row, .fs-row:nth-child(even) { grid-template-columns: 1fr; gap: 16px; }
  .fs-row:nth-child(even) .fs-panel { order: 0; }
  .fs-row:nth-child(even) .fs-text { order: 1; text-align: left; }
}
@media (max-width: 880px) {
  .hdr-top { font-size: 12px; max-height: 96px; }
  .hdr-top-in { min-height: 58px; gap: 12px; }
  .hdr-slogan, .hdr-sep { display: none; }
  .hdr-tell { gap: 12px; }
  .hdr-logo { height: 34px; max-width: 160px; }
  .hdr-name { font-size: 18px; letter-spacing: .5px; }
  .ht-tel { gap: 8px; }
  .ht-tel > svg { width: 20px; height: 20px; }
  .ht-lab { font-size: 11px; }
  .ht-num { font-size: 19px; }
  .header-double .nav-wrap { height: 60px; }
}
@media (max-width: 560px) {
  /* 小屏不再整条收起上行：Logo/口号交给第二行，这一行只保留 400 电话（没填电话时高度自然为 0） */
  .hdr-left { display: none; }
  .hdr-top { padding: 0; }
  .hdr-top-in { min-height: 0; justify-content: center; gap: 0; }
  .ht-tel { padding: 8px 0; gap: 7px; }
  .ht-tel-txt { flex-direction: row; align-items: baseline; gap: 5px; }
  .ht-num { font-size: 20px; }
}
@media (max-width: 640px) {
  .hero-dots { bottom: 16px; }
  /* 窄屏图片本身就矮，箭头跟着缩小并往边上收，尽量让出画面里的字 */
  .hero-arr { width: 38px; height: 38px; opacity: .78; }
  .hero-arr--prev { left: 7px; }
  .hero-arr--next { right: 7px; }
  .fs-panel { padding: 22px 24px; border-radius: 14px; }
  .fs-panel.fs-media { padding: 0; }
  .fs-no { font-size: 30px; }
  .fs-panel h3, .fs-text h3 { font-size: 18px; }
  .fs-media { min-height: 190px; }
  .fs-media .fs-no { left: 14px; top: 10px; font-size: 24px; }
  .prod-body { padding: 18px 18px 20px; }
  .logo-wall { grid-template-columns: repeat(auto-fill, minmax(min(130px, 100%), 1fr)); gap: 10px; }
  .logo-cell { min-height: 88px; padding: 14px 10px; }
  /* 产品页面：手机上左侧分类栏变横向滚动条，右侧内容正常显示 */
  .product-layout { grid-template-columns: 1fr; gap: 20px; }
  .product-sidebar { position: static; overflow-x: auto; white-space: nowrap; padding: 16px; }
  .product-cat-nav { flex-direction: row; gap: 8px; }
  .product-cat-btn { width: auto; white-space: nowrap; padding: 8px 14px; font-size: 13px; }
  .product-cat-btn::after { display: none; }
  .product-content-head h2 { font-size: 18px; }
  .product-content-head h2 span { font-size: 15px; }
  /* 首页产品布局：手机上变为上下排列，分类栏收成横向滚动 */
  .product-home-layout { grid-template-columns: 1fr; gap: 20px; }
  .product-sidebar-home { position: static; overflow-x: auto; white-space: nowrap; padding: 12px; background: var(--bg); }
  .product-sidebar-home .ps-head { display: none; }
  .product-sidebar-home .ps-box { padding: 0; display: flex; align-items: center; gap: 8px; }
  .product-sidebar-home .product-cat-nav { flex-direction: row; gap: 8px; }
  .product-sidebar-home .product-cat-btn { width: auto; white-space: nowrap; padding: 8px 14px; font-size: 13px; margin-bottom: 0; padding-left: 14px; }
  .product-sidebar-home .product-cat-btn::before { display: none; }
  .product-sidebar-home .product-cat-btn::after { display: none; }
  .pcb-more { flex: none; margin-top: 0; padding: 8px 14px; font-size: 13px; }
}

/* 滚动栏目箭头到边界时置灰（JS 同步 disabled 状态） */
.v-arr:disabled { opacity: .35; cursor: default; }
.v-arr:disabled:hover { background: var(--bg); color: var(--text, #1f2937); border-color: rgba(0,0,0,.12); }

/* 导航条不再吸顶（随页面滚走），锚点定位只需留一点呼吸位 */
section[id] { scroll-margin-top: 12px; }

/* 深色模式：新版权式的卡片底色与描边要和其它卡片一致，否则和页面底色糊成一片 */
:root[data-theme="dark"] .prod-card,
:root[data-theme="dark"] .logo-cell { background: #152036; border-color: rgba(255,255,255,.08); }
:root[data-theme="dark"] .logo-cell:hover { border-color: var(--accent); }

/* ====== 新闻动态（10-13 升级）：列表封面缩略 / 置顶标记 / 详情头图 / 上下篇 / FAQ 折叠 / 回到顶部 / 正文图片放大 ====== */
.news-item.has-thumb { align-items: flex-start; }
.news-thumb { flex: none; width: 132px; height: 88px; border-radius: 10px; overflow: hidden; background: var(--bg, #f4f6fb); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-tag.pin { background: #fee2e2; color: #b91c1c; }
.art-hero { margin: 0 0 20px; }
.art-hero img { width: 100%; height: auto; border-radius: 14px; display: block; }
.article-nav { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.article-nav .an { flex: 1 1 240px; display: block; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: inherit; background: #fff; }
.article-nav .an span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.article-nav .an b { font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.article-nav .an:hover { border-color: var(--brand); }
.article-nav .an-next { text-align: right; }
.article-nav .an-empty { flex: 1 1 240px; }
.article-faq .faq-item { border-bottom: 1px solid rgba(0,0,0,.06); }
.article-faq .faq-item summary { cursor: pointer; list-style: none; font-weight: 600; padding: 12px 26px 12px 0; position: relative; }
.article-faq .faq-item summary::-webkit-details-marker { display: none; }
.article-faq .faq-item summary:after { content: "+"; position: absolute; right: 4px; top: 11px; color: var(--brand); font-size: 17px; }
.article-faq .faq-item[open] summary:after { content: "\2212"; }
.article-faq .faq-ans { margin: 0 0 12px; color: var(--muted); line-height: 1.75; font-size: 14.5px; }
#backtop { position: fixed; right: 18px; bottom: 84px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand, #1a56db); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 9998; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
#backtop.on { opacity: .92; visibility: visible; }
.article-content img { cursor: zoom-in; }
.lb { position: fixed; inset: 0; background: rgba(15,23,42,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10000; padding: 24px; }
.lb[hidden] { display: none; }
.lb img { max-width: 94vw; max-height: 78vh; border-radius: 10px; object-fit: contain; }
.lb-c { color: #e5e7eb; font-size: 13.5px; margin: 12px 0 0; text-align: center; }
.lb-x { position: absolute; top: 14px; right: 18px; background: transparent; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
@media (max-width: 880px) {
  .news-thumb { width: 96px; height: 68px; }
  .article-nav .an-next { text-align: left; }
  #backtop { right: 12px; bottom: 74px; }
}
:root[data-theme="dark"] .article-nav .an { background: #152036; border-color: rgba(255,255,255,.08); }
:root[data-theme="dark"] .post-tag.pin { background: rgba(185,28,28,.28); color: #fecaca; }
:root[data-theme="dark"] .article-faq .faq-item { border-color: rgba(255,255,255,.08); }

/* === 广告位样式 === */
.ad-slot { margin: 24px auto; text-align: center; }
.ad-slot img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.ad-slot a { display: inline-block; }
/* 首页顶部横幅 */
.ad-slot--home_top { max-width: 1200px; padding: 0 16px; }
/* 文章页中部插入 */
.ad-slot--article_mid { max-width: 728px; margin: 32px auto; }
/* 首页右侧悬浮广告 */
.ad-float-right {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 900; width: 300px; background: #fff; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12); overflow: hidden;
}
.ad-float-right img { width: 100%; height: auto; display: block; border-radius: 0; box-shadow: none; }
@media (max-width: 1100px) {
  .ad-float-right { display: none; } /* 窄屏隐藏悬浮广告，避免遮挡内容 */
}
