/* 兆伸教育 · 信源型企业官网 基础样式 */
/* 由生成器按所选主题注入配色变量与字体 */
{{PALETTE_VARS}}
{{FONT_RULES}}

:root {
  --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%; }

body {
  margin: 0;
  font-family: '{{FONT_FAMILY}}', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

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: sticky; top: 0; 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); }
.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; }
.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(150px, 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(320px, 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(280px, 1fr)); }
.grid4 { grid-template-columns: repeat(auto-fit, minmax(240px, 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; }
.news-card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: var(--bg); border: 1px solid rgba(16, 24, 40, .08); border-radius: var(--radius);
  padding: 24px 24px 58px; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(var(--brand), .35); box-shadow: 0 16px 34px rgba(16, 60, 130, .10); }
.news-card .nc-date { font-size: 12px; letter-spacing: .6px; color: var(--muted); font-weight: 500; }
.news-card h3 {
  font-size: 16px; line-height: 1.6; margin: 0; font-weight: 600; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.6em * 2);
}
.news-card:hover h3 { color: var(--brand); }
.news-card .nc-arrow {
  position: absolute; right: 20px; bottom: 18px; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1;
  color: var(--brand); background: var(--brand-soft); transition: background .18s ease, color .18s ease;
}
.news-card:hover .nc-arrow { background: var(--brand); color: #fff; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- 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; }

/* ---------- 管理团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.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); }
.team-media { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; 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; }

/* ---------- 页脚 ---------- */
.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-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; }
.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-bottom .beian-sep { margin: 0 8px; opacity: .35; }

/* ---------- 面包屑 + 页内标题 ---------- */
.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); }

/* ---------- 图集 ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- 窄区块 ---------- */
.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(150px, 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(300px, 1fr)); }
.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;
  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-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(280px, 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(240px, 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) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg);
    flex-direction: column; padding: 12px 20px 20px; box-shadow: var(--shadow); border-top: 1px solid rgba(0,0,0,.06); }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px; }
  .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; }
  .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; }
}

/* 无障碍：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"] .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)}.honor-img{width:100%;border-radius:12px;overflow:hidden;margin-bottom:16px;background:#fff;border:1px solid rgba(0,0,0,.06);}.honor-img img{width:100%;height:auto;max-height:180px;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}
