/* ============================================================
   金丽财税 · 企业官网样式（参考 anligj / zayton 商务风格）
   配色：商务蓝主色 + 浅灰背景 + 白卡片
   ============================================================ */
:root {
  --primary: #14539a;
  --primary-2: #1a6fc4;
  --primary-dark: #0e3c70;
  --accent: #e8a33d;
  --text: #1f2a37;
  --muted: #6b7785;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --border: #e3e9f1;
  --shadow: 0 6px 22px rgba(20, 60, 120, .08);
  --radius: 12px;
  --maxw: 1180px;
  --header-h: 72px;
  --line: var(--border);
  --ink: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-2); }
img { max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .2s; line-height: 1.2;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #eaf2fb; color: var(--primary); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: #fff; color: var(--primary); }

/* ---------- 顶部联系条 ---------- */
.topbar { background: var(--primary-dark); color: #cfe0f3; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar-left { display: flex; gap: 18px; }
.tb-item { display: inline-flex; align-items: center; gap: 5px; }
.tb-item svg { width: 14px; height: 14px; }
.topbar-right a { color: #cfe0f3; margin: 0 4px; }
.topbar-right a:hover { color: #fff; }
.tb-sep { opacity: .5; }
/* 语言切换 —— 等宽胶囊按钮 */
.lang-switch { display: inline-flex; align-items: center; gap: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; overflow: hidden; }
.lang-pill { display: inline-flex; align-items: center; justify-content: center; width: 64px; padding: 2px 6px; color: #cfe0f3; font-size: 12px; font-weight: 600; letter-spacing: .3px; transition: all .25s ease; text-decoration: none; line-height: 1.6; text-align: center; }
.lang-pill:first-child { border-right: 1px solid rgba(255,255,255,.25); }
.lang-pill:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang-pill.active { background: rgba(255,255,255,.22); color: #fff; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--border); transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 800; font-size: 20px; }
.logo:hover { color: var(--primary); }
.logo-mark { display: inline-flex; width: 38px; height: 38px; background: var(--primary); color: #fff; border-radius: 10px; align-items: center; justify-content: center; }
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { letter-spacing: .5px; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: nowrap; }
.nav-link { padding: 8px 12px; border-radius: 8px; color: var(--text); font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav-link:hover { background: var(--bg-alt); color: var(--primary); }
.nav-link.active { color: var(--primary); background: #eaf2fb; font-weight: 700; }
.header-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: none; color: var(--primary); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* 头部"更多"下拉（知识问答 / 行业动态 / 关于我们） */
.nav-more { position: relative; }
.nav-more-btn { display: inline-flex; align-items: center; gap: 3px; background: none; border: none; font: inherit; cursor: pointer; }
.nav-more-btn svg { width: 13px; height: 13px; transition: transform .2s; }
.nav-more.open .nav-more-btn svg { transform: rotate(180deg); }
.nav-more-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 150px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.nav-more.open .nav-more-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-more-link { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 15px; white-space: nowrap; }
.nav-more-link:hover { background: var(--bg-alt); color: var(--primary); }

/* 移动端菜单 */
.mobile-menu { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 49; padding: 20px; overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-nav { display: flex; flex-direction: column; }
.m-nav-link { padding: 14px 8px; border-bottom: 1px solid var(--border); font-size: 17px; color: var(--text); }
.m-nav-link:active { color: var(--primary); }
.mobile-cta { margin-top: 20px; justify-content: center; }
.mobile-lang { margin-top: 16px; text-align: center; display: flex; justify-content: center; gap: 0; }
.mobile-lang .lang-pill { display: inline-block; padding: 8px 20px; border: 1px solid var(--primary); color: var(--primary); font-size: 15px; font-weight: 600; text-decoration: none; }
.mobile-lang .lang-pill:first-child { border-radius: 22px 0 0 22px; border-right: none; }
.mobile-lang .lang-pill:last-child { border-radius: 0 22px 22px 0; }
.mobile-lang .lang-pill.active { background: var(--primary); color: #fff; }
.mobile-lang .lang-pill:not(.active):hover { background: rgba(20,83,154,.08); }
.mobile-overlay { display: none; }

/* ---------- Hero / 横幅 ---------- */
.hero {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, var(--primary-2));
  color: #fff; padding: 56px 0; text-align: center;
}
.hero-title { font-size: 34px; margin: 0 0 12px; font-weight: 800; letter-spacing: .5px; }
.hero-sub { font-size: 17px; max-width: 760px; margin: 0 auto 22px; opacity: .92; }
.hero .btn { margin: 4px; }

.hero-home { text-align: left; padding: 60px 0; }
.hero-home-inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: center; }
.hero-home-text .hero-title { text-align: left; font-size: 40px; }
.hero-home-text .hero-sub { text-align: left; margin-left: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-home-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius); padding: 22px; backdrop-filter: blur(4px); }
.hhc-title { font-weight: 700; margin-bottom: 12px; font-size: 17px; }
.hhc-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; color: #eaf2fb; border-bottom: 1px solid rgba(255,255,255,.12); }
.hhc-row svg { width: 18px; height: 18px; flex: none; }
.hhc-row a { color: #fff; }
.hhc-btn { width: 100%; justify-content: center; margin-top: 14px; }

.hero-sub { padding: 44px 0; }
.hero-article { padding: 44px 0; }

/* ---------- 面包屑 ---------- */
.breadcrumb-wrap { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.bc-sep { margin: 0 8px; opacity: .5; }
.bc-current { color: var(--text); }

/* ---------- 通用区块 ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 34px; }
.section-title h2 { font-size: 28px; margin: 0 0 8px; position: relative; display: inline-block; }
.section-title h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--accent); border-radius: 2px; margin: 12px auto 0; }
.section-title p { color: var(--muted); margin: 0; }
.lead { font-size: 16px; color: #36424f; }
.lead.center { max-width: 860px; margin: 0 auto; text-align: center; }

.page-body { padding: 36px 20px 56px; }
.layout-2col { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }

/* 左侧子导航 */
.side-nav { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.side-nav-title { font-weight: 700; color: var(--primary); padding: 6px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav li a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--text); font-size: 14px; }
.side-nav li a:hover { background: var(--bg-alt); color: var(--primary); }
.side-nav li a.current { background: #eaf2fb; color: var(--primary); font-weight: 700; }

/* 内容区块 */
.block { margin-bottom: 34px; }
.block-title { font-size: 22px; margin: 0 0 16px; padding-left: 14px; border-left: 4px solid var(--primary); }
.dot-list { list-style: none; padding: 0; margin: 0; }
.dot-list li { position: relative; padding: 8px 0 8px 24px; border-bottom: 1px dashed var(--border); }
.dot-list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.dot-list strong { color: var(--primary-dark); }

/* 步骤 */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.step-no { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.steps strong { display: block; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted); }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.table-wrap thead th { background: var(--primary); color: #fff; font-weight: 600; }
.table-wrap tbody tr:nth-child(even) { background: var(--bg-alt); }
.cell-key { font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
.compare thead th:first-child { background: var(--primary-dark); }

/* 信息卡片网格 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.info-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: .2s; }
.info-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.info-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--primary-dark); }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }
.info-card .tag { position: absolute; top: -10px; right: 14px; background: var(--accent); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 999px; font-weight: 700; }
.rich p { margin: 0 0 12px; }

/* FAQ */
.faq-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { padding: 16px 18px; cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 36px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 14px; font-size: 20px; color: var(--primary); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 18px 16px; color: var(--muted); }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--primary-2)); color: #fff; border-radius: var(--radius); padding: 34px; text-align: center; margin-top: 20px; }
.cta-band h3 { margin: 0 0 8px; font-size: 24px; }
.cta-band p { margin: 0 0 18px; opacity: .92; }
.cta-center { margin: 0 auto; max-width: 880px; }

/* 联系块 */
.contact-block { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-info { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.contact-info h3 { margin-top: 0; color: var(--primary); }
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--border); }
.contact-info li svg { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 3px; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form .hp-field { display: none; }
.contact-form .btn { align-self: flex-start; }

/* ---------- 首页特性卡 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.feature-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: .2s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: #eaf2fb; color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--primary-dark); }
.feature-card p { margin: 0 0 14px; color: var(--muted); flex: 1; font-size: 14px; }
.feature-more { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-weight: 600; font-size: 14px; }
.feature-more svg { width: 16px; height: 16px; }

/* 统计带 */
.stats-band { background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: #fff; padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; line-height: 1; }
.stat-unit { font-size: 18px; margin-left: 2px; }
.stat-label { margin-top: 8px; opacity: .9; font-size: 14px; }

/* 优势卡 */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.adv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); text-align: center; transition: .2s; }
.adv-card:hover { transform: translateY(-4px); }
.adv-icon { width: 58px; height: 58px; border-radius: 50%; background: #eaf2fb; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.adv-icon svg { width: 30px; height: 30px; }
.adv-card h3 { margin: 0 0 8px; color: var(--primary-dark); }
.adv-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .2s; }
.news-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.news-date { color: var(--primary); font-weight: 700; font-size: 14px; }
.news-card h3 { margin: 8px 0; font-size: 17px; color: var(--text); }
.news-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; flex: 1; }
.news-more { color: var(--primary); font-weight: 600; font-size: 14px; }

.news-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.news-row { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--border); color: var(--text); }
.news-row:last-child { border-bottom: none; }
.news-row:hover { background: var(--bg-alt); }
.news-row-date { flex: none; width: 92px; color: var(--primary); font-weight: 700; font-size: 14px; }
.news-row-main { flex: 1; }
.news-row-main h3 { margin: 0 0 4px; font-size: 17px; }
.news-row-main p { margin: 0; color: var(--muted); font-size: 14px; }
.news-row-arrow { flex: none; color: var(--primary); }
.news-row-arrow svg { width: 20px; height: 20px; }
.news-cat { display: inline-block; background: #eaf2fb; color: var(--primary); font-size: 12px; padding: 2px 10px; border-radius: 999px; margin-right: 8px; }

/* 文章 */
.article { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.article-body { font-size: 16px; }
.article-body p { margin: 0 0 16px; }
.article-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-dark); color: #cfe0f3; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding: 48px 0 36px; }
.footer-logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-about p { font-size: 14px; opacity: .85; }
.footer-col h4 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 5px 0; font-size: 14px; }
.footer-col a { color: #cfe0f3; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: center; align-items: center; }
/* 页脚单行：版权 + ICP + 公安 + XML地图 + 版本，自动换行到多行（移动端） */
.footer-line { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; text-align: center; line-height: 1.8; }
.footer-line a { color: #cfe0f3; }
.footer-line a:hover { color: #fff; text-decoration: underline; }
.footer-sep { opacity: .45; margin: 0 2px; }
.footer-pending { opacity: .65; font-style: normal; }
@media (max-width: 720px) {
  .footer-line { gap: 2px 6px; }
}

/* 返回顶部 */
.back-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); z-index: 40; }
.back-top svg { width: 22px; height: 22px; }
.back-top.show { display: flex; }
#contact { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- 关于我们 · 图片廊 / 统计带 / 图文并茂 ---------- */
.about-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 8px; }
.about-gallery-item { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.about-gallery-item:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20,83,154,.12); border-color: var(--primary); }
.about-gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; background: var(--bg-alt); }
.about-gallery-item figcaption { padding: 12px 16px; font-size: 14px; color: var(--text); font-weight: 600; border-top: 1px solid var(--border); background: #fafbfd; }

.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: var(--radius); padding: 36px 28px; margin-top: 6px; }
.about-stat { text-align: center; padding: 6px 10px; }
.about-stat-num { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: .5px; }
.about-stat-unit { font-size: 20px; margin-left: 2px; font-weight: 600; opacity: .95; }
.about-stat-label { margin-top: 8px; font-size: 14px; opacity: .92; }

.about-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.about-feature.img-right { grid-template-columns: 1fr 1fr; }
.about-feature.img-left .about-feature-img { order: 0; }
.about-feature.img-right .about-feature-img { order: 1; }
.about-feature-img { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-alt); }
.about-feature-img img { width: 100%; height: 280px; object-fit: cover; display: block; }
.about-feature-img figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); background: #fafbfd; border-top: 1px solid var(--border); text-align: center; }
.about-feature-sub { margin: 0 0 10px; font-size: 18px; color: var(--primary-dark); font-weight: 700; }
.about-feature-text .rich p { margin: 0 0 10px; }

@media (max-width: 860px) {
  .about-feature { grid-template-columns: 1fr; }
  .about-feature.img-right .about-feature-img { order: 0; }
  .about-feature-img img { height: 220px; }
  .about-gallery-item img { height: 180px; }
  .about-stats { padding: 26px 18px; }
  .about-stat-num { font-size: 32px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-home-inner { grid-template-columns: 1fr; }
  .hero-home-card { max-width: 420px; }
  .layout-2col { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .contact-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-inner { gap: 12px; }
}
@media (max-width: 680px) {
  .topbar-left .tb-item:nth-child(2) { display: none; }
  .hero-title { font-size: 26px; }
  .hero-home-text .hero-title { font-size: 30px; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 23px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .news-row { flex-wrap: wrap; gap: 8px; }
  .news-row-date { width: auto; }
}

/* ---------- 知识问答首页卡片 ---------- */
.kb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.kb-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 20px;display:flex;flex-direction:column;gap:10px;transition:transform .18s,box-shadow .18s,border-color .18s}
.kb-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(20,83,154,.12);border-color:var(--primary)}
.kb-q{display:flex;align-items:flex-start;gap:10px;font-size:16px;font-weight:700;color:var(--ink);line-height:1.45}
.kb-q svg{width:22px;height:22px;color:var(--primary);flex:none;margin-top:2px}
.kb-a{color:var(--muted);font-size:14px;line-height:1.6;margin:0;flex:1}
.kb-more{color:var(--primary);font-weight:600;font-size:14px}

/* 知识列表项的问题图标 */
.news-row-q{flex:none;width:42px;height:42px;border-radius:10px;background:#eef4fb;color:var(--primary);display:flex;align-items:center;justify-content:center}
.news-row-q svg{width:22px;height:22px}

/* ---------- 全站微信二维码浮动 ---------- */
.wx-float{position:fixed;right:22px;bottom:90px;z-index:60;display:flex;flex-direction:column;align-items:flex-end}
.wx-fab{width:52px;height:52px;border-radius:50%;border:none;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 26px rgba(20,83,154,.4);transition:transform .18s}
.wx-fab:hover{transform:scale(1.06)}
.wx-fab svg{width:26px;height:26px}
.wx-pop{position:absolute;bottom:64px;right:0;width:200px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;box-shadow:0 18px 44px rgba(0,0,0,.16);text-align:center;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
.wx-pop.open{opacity:1;visibility:visible;transform:translateY(0)}
.wx-pop-title{font-weight:700;color:var(--ink);margin-bottom:10px;font-size:14px}
.wx-qr{width:160px;height:160px;border:1px solid var(--line);border-radius:8px}
.wx-pop-tip{margin-top:8px;font-size:13px;color:var(--muted)}

@media (max-width: 980px){ .kb-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width: 680px){
  .kb-grid{grid-template-columns:1fr}
  .wx-float{right:14px;bottom:78px}
  .wx-fab{width:46px;height:46px}
}

/* ---------- FAQ 锚点目录（GEO 优化） ---------- */
.faq-toc { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; }
.faq-toc-title { font-weight: 700; font-size: 15px; color: var(--primary); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.faq-toc-title svg { width: 18px; height: 18px; }
.faq-toc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.faq-toc ul li { font-size: 14px; }
.faq-toc ul li a { color: var(--text); text-decoration: none; }
.faq-toc ul li a:hover { color: var(--primary); text-decoration: underline; }

/* ---------- 客户案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20,83,154,.12); border-color: var(--primary); }
.case-cover { height: 180px; overflow: hidden; background: var(--bg-alt); }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.case-body h3 { margin: 0; font-size: 16px; color: var(--text); }
.case-body p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }
.case-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.case-client { display: inline-flex; align-items: center; gap: 4px; }
.case-client svg { width: 14px; height: 14px; }
.case-cat { background: var(--bg-alt); color: var(--primary); padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.case-more { font-size: 13px; color: var(--primary); font-weight: 500; }
.case-hero-meta { display: flex; gap: 14px; margin-top: 10px; font-size: 14px; align-items: center; }
.case-hero-meta .case-client { color: #cfe0f3; }
.case-hero-meta .case-client svg { opacity: .7; }
.detail-article { max-width: 820px; margin: 0 auto; }
.detail-article .rich { line-height: 1.9; font-size: 15px; }
.detail-cover { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.detail-cover img { width: 100%; display: block; }


/* ---------- 首页图片自动轮播 ---------- */
.home-carousel { position: relative; width: 100%; height: 60vh; min-height: 360px; max-height: 620px; overflow: hidden; background: linear-gradient(135deg, #0b2b4a, #14539a); }
.hc-track { position: absolute; inset: 0; }
.hc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; z-index: 1; background: linear-gradient(135deg, #0b2b4a, #14539a); }
.hc-slide.active { opacity: 1; z-index: 2; }
/* 默认（横屏 / 方形）：铺满裁切，呈现全幅 banner */
.hc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: center; }
/* 竖屏：完整显示、不裁切，两侧以品牌渐变作留白（画框式） */
.hc-slide.hc-orient-portrait img { object-fit: contain; }
.hc-slide.hc-orient-portrait { background: radial-gradient(120% 82% at 50% 36%, #1a6fc4 0%, #0b2b4a 80%); }
/* Ken Burns 缓动：横屏缓慢平移+放大；竖屏仅轻微放大，避免留白位移 */
.hc-slide.active img { animation: hcKenBurn 9s ease-out forwards; }
.hc-slide.hc-orient-portrait.active img { animation: hcZoomIn 9s ease-out forwards; }
@keyframes hcKenBurn { 0% { transform: scale(1.05) translateX(-1.6%); } 100% { transform: scale(1.14) translateX(1.6%); } }
@keyframes hcZoomIn { 0% { transform: scale(1.0); } 100% { transform: scale(1.07); } }
.hc-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 20px 46px; margin: 0; color: #fff; font-size: 22px; font-weight: 600; text-align: center; text-shadow: 0 2px 8px rgba(0,0,0,.5); background: linear-gradient(to top, rgba(0,0,0,.6), transparent); }
.hc-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: none; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 4; transition: background .2s; }
.hc-arrow:hover { background: rgba(0,0,0,.6); }
.hc-prev { left: 16px; }
.hc-next { right: 16px; }
.hc-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 4; }
.hc-dot { width: 11px; height: 11px; border: none; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: all .2s; }
.hc-dot.active { background: #fff; width: 26px; border-radius: 6px; }
@media (max-width: 680px) {
  .home-carousel { height: 42vh; min-height: 260px; }
  .hc-caption { font-size: 16px; padding-bottom: 34px; }
  .hc-arrow { width: 38px; height: 38px; }
}
