/* ==========================================================================
   南昌艾莱缔财税咨询有限公司 · 企业官网样式
   风格：简约大气 / 深墨蓝 + 鎏金
   ========================================================================== */

:root {
  --ink: #0b2545;
  --ink-2: #123b63;
  --ink-soft: #1f3a5f;
  --gold: #c9a227;
  --gold-soft: #e3c46a;
  --text: #1f2a37;
  --text-2: #4b5563;
  --muted: #6b7684;
  --line: #e6eaf0;
  --line-2: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #eef3f9;
  --danger: #c0392b;
  --ok: #1f8a5b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .05);
  --shadow: 0 8px 30px rgba(11, 37, 69, .07);
  --shadow-lg: 0 18px 50px rgba(11, 37, 69, .12);
  --maxw: 1200px;
  --header-h: 74px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }

a { color: var(--ink-2); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 600; letter-spacing: .2px; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; }

.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; letter-spacing: .5px;
  box-shadow: 0 6px 16px rgba(11, 37, 69, .22);
}
.brand .name { display: block; font-size: 1.12rem; font-weight: 700; color: var(--ink); letter-spacing: .5px; line-height: 1.2; }
.brand .sub { display: block; font-size: .68rem; color: var(--muted); letter-spacing: 2.4px; text-transform: uppercase; }
.brand:hover .name { color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 15px; border-radius: 9px;
  font-size: .95rem; color: var(--text-2); font-weight: 500;
}
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.main-nav a.active { color: var(--ink); font-weight: 600; background: var(--surface-3); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink); font-size: .95rem;
}
.header-phone svg { width: 17px; height: 17px; fill: var(--gold); }

.nav-toggle {
  display: none; margin-left: auto; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; width: 42px; height: 38px;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px;
  font-size: .95rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
  font-family: inherit;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(11, 37, 69, .18); }
.btn-primary:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, #b58d18 100%); color: #fff; }
.btn-gold:hover { color: #fff; filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .86rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 78% -10%, #1c4d7a 0%, transparent 60%),
              linear-gradient(155deg, #0b2545 0%, #10365b 55%, #0b2545 100%);
  color: #fff; padding: 96px 0 88px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 25%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 25%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(201, 162, 39, .14); border: 1px solid rgba(201, 162, 39, .4);
  color: var(--gold-soft); font-size: .82rem; letter-spacing: .6px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: 2.85rem; line-height: 1.28; margin-bottom: 20px; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p.lead { color: rgba(255, 255, 255, .78); font-size: 1.06rem; max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 1.7rem; color: #fff; font-weight: 700; letter-spacing: .5px; }
.hero-stats .stat span { font-size: .84rem; color: rgba(255, 255, 255, .6); }

.hero-panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 30px 28px;
  backdrop-filter: blur(6px);
}
.hero-panel h3 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; letter-spacing: .5px; }
.hero-panel ul { list-style: none; padding: 0; margin: 0; }
.hero-panel li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .85); font-size: .93rem;
}
.hero-panel li:last-child { border-bottom: 0; }
.hero-panel li i {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; margin-top: 3px;
  background: rgba(201, 162, 39, .18); border: 1px solid rgba(201, 162, 39, .5);
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: .66rem; color: var(--gold-soft);
}

/* ---------- 页面头部（内页） ---------- */
.page-hero {
  background: linear-gradient(150deg, #0b2545 0%, #123b63 100%);
  color: #fff; padding: 62px 0 56px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .6; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 2.1rem; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .74); max-width: 760px; margin: 0; }
.breadcrumb { font-size: .84rem; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255, 255, 255, .72); }
.breadcrumb a:hover { color: #fff; }

/* ---------- 通用区块 ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--surface-2); }
.section.tight { padding: 56px 0; }

.section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .kicker {
  display: inline-block; font-size: .78rem; letter-spacing: 3px;
  color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: 1.95rem; margin-bottom: 14px; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all .22s ease; position: relative; overflow: hidden;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d9e1ec; }
.card .icon {
  width: 48px; height: 48px; border-radius: 13px; margin-bottom: 18px;
  background: linear-gradient(140deg, var(--surface-3), #fff);
  border: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: .94rem; margin-bottom: 0; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.card .more:hover { color: var(--gold); }

.card-flat { padding: 24px; }
.card-stat h3 { font-size: 2.1rem; color: var(--ink); margin-bottom: 4px; font-weight: 700; letter-spacing: .5px; }
.card-stat p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- 服务详情卡 ---------- */
.service-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  margin-bottom: 26px;
}
.service-block:nth-child(even) .service-body { order: 2; }
.service-body { padding: 40px 38px; }
.service-side {
  padding: 40px 38px; background: var(--surface-2);
  border-left: 1px solid var(--line-2);
}
.service-block:nth-child(even) .service-side { border-left: 0; border-right: 1px solid var(--line-2); }
.service-body .tag {
  display: inline-block; font-size: .74rem; letter-spacing: 1.6px; color: var(--gold);
  font-weight: 700; margin-bottom: 12px; text-transform: uppercase;
}
.service-body h3 { font-size: 1.45rem; margin-bottom: 6px; }
.service-body .subtitle { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.service-body p.desc { color: var(--text-2); }
.side-title { font-size: .8rem; letter-spacing: 2px; color: var(--muted); font-weight: 700; margin-bottom: 14px; text-transform: uppercase; }
.side-list { list-style: none; padding: 0; margin: 0 0 22px; }
.side-list li {
  position: relative; padding-left: 20px; margin-bottom: 10px;
  font-size: .92rem; color: var(--text-2);
}
.side-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); opacity: .85;
}
.price-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; font-size: .88rem; color: var(--text-2);
}
.price-box b { color: var(--ink); display: block; margin-bottom: 4px; font-size: .84rem; letter-spacing: 1px; }

/* ---------- 流程 ---------- */
.flow { display: flex; flex-wrap: wrap; gap: 0; counter-reset: step; }
.flow-item {
  flex: 1 1 0; min-width: 150px; position: relative; padding: 0 16px 0 0;
}
.flow-item .num {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem;
}
.flow-item h4 { font-size: 1rem; margin-bottom: 6px; }
.flow-item p { font-size: .88rem; color: var(--muted); margin: 0; }
.flow-item::after {
  content: ""; position: absolute; top: 21px; right: 6px; width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.flow-item:last-child::after { display: none; }

/* ---------- 列表 / 文章 ---------- */
.post-list { display: grid; gap: 20px; }
.post-item {
  display: grid; grid-template-columns: 108px 1fr; gap: 24px;
  padding: 26px 28px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: all .2s ease;
}
.post-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d9e1ec; }
.post-date {
  border-right: 1px solid var(--line-2); padding-right: 18px;
  display: flex; flex-direction: column; justify-content: center;
}
.post-date b { font-size: 1.45rem; color: var(--ink); line-height: 1.1; font-weight: 700; }
.post-date span { font-size: .8rem; color: var(--muted); }
.post-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.post-item h3 a { color: var(--ink); }
.post-item h3 a:hover { color: var(--gold); }
.post-item .excerpt { color: var(--text-2); font-size: .93rem; margin-bottom: 12px; }
.post-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); align-items: center; }
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem;
  background: var(--surface-3); color: var(--ink-2); font-weight: 600;
}
.badge-gold { background: rgba(201, 162, 39, .13); color: #96731a; }

/* 文章正文 */
.article-body { font-size: 1.02rem; color: var(--text); }
.article-body h2 {
  font-size: 1.25rem; margin: 34px 0 12px; padding-left: 14px;
  border-left: 3px solid var(--gold); line-height: 1.4;
}
.article-body p { color: var(--text-2); }
.article-body strong { color: var(--ink); }
.article-body a {
  color: var(--ink-2); border-bottom: 1px solid rgba(18, 59, 99, .35); font-weight: 500;
}
.article-body a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.article-body ul, .article-body ol { color: var(--text-2); }
.article-body img { border-radius: var(--radius-sm); margin: 18px 0; }
.article-body blockquote {
  margin: 20px 0; padding: 14px 20px; background: var(--surface-2);
  border-left: 3px solid var(--ink-2); color: var(--text-2); border-radius: 0 8px 8px 0;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .92rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--surface-2); color: var(--ink); }

/* ---------- 案例 ---------- */
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; transition: all .22s ease;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d9e1ec; }
.case-card .case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.case-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.case-card dl { margin: 0; font-size: .92rem; }
.case-card dt { color: var(--gold); font-weight: 700; font-size: .78rem; letter-spacing: 1.2px; margin-bottom: 4px; }
.case-card dd { margin: 0 0 14px; color: var(--text-2); }
.case-card dd:last-child { margin-bottom: 0; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-bar button {
  padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--text-2); font-size: .88rem; cursor: pointer; font-family: inherit;
  transition: all .18s ease;
}
.filter-bar button:hover { border-color: var(--ink-2); color: var(--ink); }
.filter-bar button.active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.info-list .ic svg { width: 20px; height: 20px; }
.info-list .lb { font-size: .78rem; letter-spacing: 1.4px; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.info-list .vl { color: var(--ink); font-size: .98rem; font-weight: 500; word-break: break-all; }
.info-list .vl.small { font-size: .9rem; font-weight: 400; color: var(--text-2); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--danger); margin-left: 2px; }
.input, .textarea, .select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: .95rem; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(18, 59, 99, .1);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-alert {
  padding: 11px 14px; border-radius: 10px; font-size: .88rem; margin-bottom: 16px;
}
.form-alert.error { background: #fdf1f0; color: #a5342a; border: 1px solid #f6d7d3; }
.form-alert.ok { background: #f0f9f4; color: #1a6f4a; border: 1px solid #cfeadd; }

.map-box {
  margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface-2); padding: 28px;
}

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(150deg, #0b2545 0%, #123b63 60%, #0b2545 100%);
  color: #fff; padding: 62px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 30%, rgba(201,162,39,.18), transparent 55%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: 1.7rem; }
.cta-band p { color: rgba(255, 255, 255, .74); margin: 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: #08192e; color: rgba(255, 255, 255, .62); padding: 60px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .96rem; margin-bottom: 18px; letter-spacing: .6px; }
.site-footer a { color: rgba(255, 255, 255, .62); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand .mark {
  width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(140deg, var(--ink-2), #1c4d7a);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.footer-brand .t { display: block; color: #fff; font-weight: 700; letter-spacing: .5px; }
.footer-brand .s { display: block; font-size: .7rem; letter-spacing: 2px; color: rgba(255,255,255,.45); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255, 255, 255, .45);
}
.footer-bottom a.icp {
  color: rgba(255, 255, 255, .45); text-decoration: none; white-space: nowrap;
}
.footer-bottom a.icp:hover { color: #fff; }

/* ---------- 后台：封面上传 ---------- */
.cover-picker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cover-preview {
  height: 96px; max-width: 220px; object-fit: cover;
  border-radius: 10px; border: 1px solid #e3e8ef; background: #f6f8fa; display: block;
}
.cover-ops { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- 文章页封面图 ---------- */
.article-cover {
  width: 100%; display: block; object-fit: cover;
  border-radius: 14px; margin-bottom: 24px;
  border: 1px solid var(--line, #e3e8ef);
  max-height: 460px;
}

/* ---------- 品牌 logo ---------- */
.brand-logo {
  height: 42px; width: auto; display: block;
  background: #fff; border-radius: 10px; padding: 5px 8px;
  box-shadow: 0 6px 16px rgba(11, 37, 69, .18);
}
.footer-logo {
  height: 34px; width: auto; display: block;
  background: #fff; border-radius: 8px; padding: 4px 6px;
}

/* ---------- 微信二维码 ---------- */
/* 首页 banner 二维码 */
.hero-contact { padding: 16px; }
.hero-photo {
  width: 100%; height: clamp(220px, 30vw, 320px); object-fit: cover;
  border-radius: 12px; display: block;
}
.hero-qr { display: flex; align-items: center; gap: 18px; padding: 18px 8px 6px; }
.hero-qr .qr-big {
  flex: 0 0 auto; width: clamp(110px, 38%, 150px); height: auto;
  background: #fff; padding: 6px; border-radius: 12px; display: block;
}
.hero-qr-meta b { display: block; color: #fff; font-size: 1.04rem; margin-bottom: 8px; letter-spacing: .3px; }
.hero-qr-meta span { display: block; color: rgba(255, 255, 255, .66); font-size: .85rem; line-height: 1.6; }

/* 联系页二维码卡片 */
.qr-tile {
  margin-top: 26px; padding: 28px 22px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 16px;
}
.qr-tile img {
  width: min(150px, 56%); height: auto;
  background: #fff; padding: 8px; border-radius: 12px; display: block; margin: 0 auto;
}
.qr-tile .t { font-weight: 700; color: var(--ink); font-size: 1.04rem; margin-top: 16px; }
.qr-tile .s { font-size: .88rem; color: var(--text-2); margin-top: 6px; line-height: 1.6; }

/* 页脚底部横条：资质信息 + 二维码 */
.footer-strip {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 24px; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255, 255, 255, .5);
}
.footer-strip .fs-info { display: flex; gap: 6px 24px; flex-wrap: wrap; }
.footer-qr { display: flex; align-items: center; gap: 12px; }
.footer-qr img {
  flex: 0 0 auto; width: 64px; height: 64px;
  border-radius: 8px; background: #fff; padding: 3px; display: block;
}
.footer-qr span { font-size: .8rem; line-height: 1.55; }

/* 首页常见问题 */
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faq-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px;
}
.faq-item i {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: rgba(201, 162, 39, .14); border: 1px solid rgba(201, 162, 39, .45);
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: .72rem; color: var(--gold); font-weight: 700;
}
.faq-item p { margin: 0; font-size: .94rem; color: var(--text-2); line-height: 1.6; }

/* 常见问题页（独立页面） */
.faq-cats {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 18px 0 4px;
}
.faq-cats .badge { font-size: .88rem; padding: 7px 14px; }
.faq-tip {
  margin: 10px 0 0; font-size: .88rem; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: 10px;
  padding: 12px 16px; line-height: 1.7;
}
.faq-tip a { color: var(--gold); font-weight: 600; }
.faq-group { scroll-margin-top: 84px; }
.faq-list { display: grid; gap: 14px; }
.faq-qa {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 0 20px; transition: border-color .2s, box-shadow .2s;
}
.faq-qa[open] { border-color: rgba(201, 162, 39, .45); box-shadow: 0 6px 20px rgba(15, 23, 42, .05); }
.faq-qa summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 17px 34px 17px 0;
  font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.55;
}
.faq-qa summary::-webkit-details-marker { display: none; }
.faq-qa summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; line-height: 20px; text-align: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--gold); font-weight: 400; font-size: 1rem;
}
.faq-qa[open] summary::after { content: "−"; border-color: rgba(201, 162, 39, .5); }
.faq-qa summary:hover { color: var(--gold); }
.faq-qa > p {
  margin: 0; padding: 0 34px 18px 0;
  font-size: .95rem; color: var(--text-2); line-height: 1.85;
}
.faq-qa > p a { color: var(--gold); font-weight: 600; }

/* 关于页：公司环境与资质荣誉 */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-grid figure {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.photo-grid figure img { width: 100%; height: 220px; object-fit: cover; display: block; }
.photo-grid figcaption { padding: 10px 14px; font-size: .86rem; color: var(--text-2); }
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.honor-grid figure {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.honor-grid figure img { width: 100%; height: 200px; object-fit: contain; background: #fff; display: block; padding: 10px; }
.honor-grid figcaption { padding: 10px 14px; font-size: .84rem; color: var(--text-2); }

/* ---------- 加载与空态 ---------- */
.skeleton { background: linear-gradient(90deg, #f2f5f9 25%, #e9eef5 37%, #f2f5f9 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 8px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-line { height: 14px; margin-bottom: 10px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 8px; }

/* ---------- 后台 ---------- */
.admin-body { background: var(--surface-2); min-height: 100vh; }
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px;
  background: radial-gradient(900px 500px at 80% 0%, #1c4d7a 0%, transparent 58%),
              linear-gradient(155deg, #0b2545 0%, #10365b 60%, #0b2545 100%);
}
.login-card {
  width: 100%; max-width: 420px; background: #fff; border-radius: 18px;
  padding: 42px 38px; box-shadow: var(--shadow-lg);
}
.login-card .brand { justify-content: center; margin-bottom: 26px; }
.login-card h1 { font-size: 1.35rem; text-align: center; margin-bottom: 8px; }
.login-card .tip { text-align: center; color: var(--muted); font-size: .89rem; margin-bottom: 28px; }

.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 232px; flex: 0 0 232px; background: #0b2545; color: rgba(255, 255, 255, .72);
  padding: 22px 16px; display: flex; flex-direction: column;
}
.admin-side .brand { margin-bottom: 26px; padding: 0 8px; }
.admin-side .brand .name { color: #fff; }
.admin-side .brand .sub { color: rgba(255,255,255,.45); }
.admin-side .mark { background: linear-gradient(140deg, #1c4d7a, #2a6ba8); box-shadow: none; }
.admin-nav { list-style: none; padding: 0; margin: 0; flex: 1; }
.admin-nav li { margin-bottom: 4px; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px;
  color: rgba(255, 255, 255, .72); font-size: .93rem; cursor: pointer;
}
.admin-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-nav a.active { background: rgba(201, 162, 39, .16); color: #fff; font-weight: 600; }
.admin-nav svg { width: 17px; height: 17px; fill: currentColor; opacity: .85; }
.admin-side .side-foot { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.admin-side .side-foot .who { color: #fff; font-weight: 600; margin-bottom: 8px; }
.admin-side .side-foot a { color: rgba(255, 255, 255, .6); }
.admin-side .side-foot a:hover { color: var(--gold-soft); }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-top {
  background: #fff; border-bottom: 1px solid var(--line); padding: 16px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.admin-top h2 { margin: 0; font-size: 1.15rem; }
.admin-content { padding: 26px 30px 60px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.stat-card .lb { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.stat-card .nb { font-size: 1.85rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.stat-card .nb small { font-size: .8rem; color: var(--muted); font-weight: 400; margin-left: 4px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.panel-head {
  padding: 18px 24px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.panel-head h3 { margin: 0; font-size: 1.02rem; }
.panel-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.panel-body { padding: 24px; }
.panel-body.flush { padding: 0; }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar .input, .toolbar .select { width: auto; min-width: 150px; padding: 8px 12px; font-size: .88rem; }

.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
  text-align: left; padding: 13px 20px; background: var(--surface-2); color: var(--muted);
  font-weight: 600; font-size: .8rem; letter-spacing: .6px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { padding: 14px 20px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fbfcfe; }
.table .t-title { font-weight: 600; color: var(--ink); }
.table .t-title a:hover { color: var(--gold); }
.table .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
  font-size: .86rem; color: var(--ink-2); font-weight: 600;
}
.link-btn:hover { color: var(--gold); }
.link-btn.danger { color: var(--danger); }
.link-btn.danger:hover { color: #8f2a20; }

.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; padding: 16px 20px; flex-wrap: wrap; }
.pager button, .pager a {
  min-width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-family: inherit; color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
  font-size: .9rem; text-decoration: none;
}
.pager button:disabled { opacity: .45; cursor: not-allowed; }
.pager button.on, .pager a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager a.on:hover { color: #fff; }

/* 富文本编辑器 */
.editor-toolbar {
  display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 12px;
  border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--surface-2);
}
.editor-toolbar button {
  min-width: 34px; height: 32px; padding: 0 10px; border-radius: 7px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-family: inherit;
  font-size: .84rem; color: var(--text-2); font-weight: 600;
}
.editor-toolbar button:hover { border-color: var(--ink-2); color: var(--ink); background: #fff; }
.editor-toolbar .sep { width: 1px; background: var(--line); margin: 4px 4px; }
.editor-area {
  border: 1px solid var(--line); border-radius: 0 0 10px 10px; min-height: 380px; max-height: 620px;
  overflow-y: auto; padding: 20px 22px; background: #fff; font-size: .98rem; line-height: 1.8;
  color: var(--text); outline: none;
}
.editor-area:focus { border-color: var(--ink-2); }
.editor-area h2 { font-size: 1.2rem; margin: 24px 0 10px; border-left: 3px solid var(--gold); padding-left: 12px; }
.editor-area p { color: var(--text-2); }
.editor-area a { color: var(--ink-2); border-bottom: 1px solid rgba(18,59,99,.35); }
.editor-area img { border-radius: 8px; margin: 12px 0; }
.editor-hint { font-size: .8rem; color: var(--muted); margin-top: 10px; }

.modal-mask {
  position: fixed; inset: 0; background: rgba(8, 25, 46, .55); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 440px; padding: 30px 30px 24px;
  box-shadow: var(--shadow-lg);
}
.modal h3 { margin-bottom: 10px; }
.modal p { color: var(--text-2); font-size: .93rem; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

.toast {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 10px;
  font-size: .9rem; z-index: 300; opacity: 0; transition: all .25s ease; box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 40px); pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: #a5342a; }

.float-save {
  position: fixed; right: 28px; bottom: 28px; z-index: 120;
  border-radius: 12px; box-shadow: var(--shadow-lg);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.3rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-body { order: 0; }
  .service-side { border-left: 0 !important; border-right: 0 !important; border-top: 1px solid var(--line-2); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .faq-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .honor-grid { grid-template-columns: 1fr 1fr; }
  .hero-panel.hero-contact { max-width: 560px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    padding: 12px; gap: 2px; display: none; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-toggle { display: flex; }
  .header-cta { margin-left: auto; }
  .header-cta .btn { display: none; }
  .header-phone span { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .flow-item { flex: 1 1 100%; padding-bottom: 20px; }
  .flow-item::after { display: none; }
  .post-item { grid-template-columns: 1fr; gap: 12px; }
  .article-layout { grid-template-columns: 1fr !important; gap: 30px !important; }
  .post-date { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 0 0 12px; flex-direction: row; align-items: baseline; gap: 10px; }
  .admin-shell { flex-direction: column; }
  .admin-side { width: 100%; flex: 0 0 auto; flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; overflow-x: auto; }
  .admin-side .brand { margin: 0; }
  .admin-side .brand .sub { display: none; }
  .admin-nav { display: flex; gap: 6px; flex: 1; }
  .admin-nav a { white-space: nowrap; padding: 9px 12px; }
  .admin-side .side-foot { padding: 0; border: 0; display: flex; gap: 12px; align-items: center; }
  .admin-side .side-foot .who { margin: 0; }
  .admin-content { padding: 20px 16px 50px; }
  .admin-top { padding: 14px 16px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  h1 { font-size: 1.9rem; }
  .hero { padding: 66px 0 60px; }
  .hero h1 { font-size: 1.95rem; }
  .header-phone { display: none; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .grid .grid-2 { grid-template-columns: 1fr 1fr; }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 1.5rem; }
  .page-hero { padding: 46px 0 40px; }
  .page-hero h1 { font-size: 1.6rem; }
  .container { padding: 0 18px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid figure img { height: 240px; }
  .honor-grid { grid-template-columns: 1fr; }
  .hero-qr { gap: 14px; }
  .hero-qr .qr-big { width: 104px; }
  .footer-strip { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 24px 20px; }
  .login-card { padding: 32px 24px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .panel-head { align-items: flex-start; }
  .hero-stats { gap: 24px; }
  .table { font-size: .84rem; }
  .table th, .table td { padding: 11px 12px; }
}

/* ==========================================================================
   SEO 组件：标签云 / 标签行 / 上下篇 / 关联服务 / 侧栏链接
   ========================================================================== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud .badge { text-decoration: none; }
.tag-cloud .badge i {
  font-style: normal; margin-left: 6px; opacity: .6; font-size: .74rem;
}
.tag-cloud .badge:hover { border-color: var(--gold); color: #96731a; }

.tag-row { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.tag-row .badge { margin-left: 4px; text-decoration: none; }
.tag-row .badge:hover { border-color: var(--gold); color: #96731a; }

.prev-next {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 22px; padding: 16px 0;
}
.prev-next a { font-size: .92rem; color: var(--text-2); }
.prev-next a:hover { color: var(--gold); }

.related-service {
  margin-top: 30px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--line-2);
}
.related-service h3 { font-size: 1rem; margin-bottom: 12px; }
.related-service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related-service li { font-size: .92rem; color: var(--text-2); }
.related-service a { color: var(--ink); border-bottom: 1px solid rgba(201, 162, 39, .45); }
.related-service a:hover { color: var(--gold); }

.side-link { display: block; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.side-link:last-child { padding-bottom: 0; border-bottom: 0; }
.side-link .t { color: var(--ink); font-size: .93rem; font-weight: 600; line-height: 1.5; }
.side-link:hover .t { color: var(--gold); }
.side-link .m { color: var(--muted); font-size: .8rem; margin-top: 4px; }

.seo-intro {
  max-width: 860px; margin: 0 auto 28px; padding: 18px 22px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius);
}
.seo-intro p { margin: 0; font-size: .93rem; color: var(--text-2); line-height: 1.75; }

/* 资讯搜索表单与搜索结果提示 */
.news-search {
  display: flex; gap: 10px; width: 100%; max-width: 560px;
  margin: 0 auto 26px;
}
.news-search .input { flex: 1; }
.search-note {
  text-align: center; font-size: .88rem; color: var(--text-2);
  margin: 0 auto 26px; padding: 10px 18px; max-width: 560px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px;
}
.search-note a { font-weight: 600; }
