/* ==========================================================================
   江西壹对壹企业服务有限公司 · 官网样式
   简约大气 · 深蓝金点缀
   ========================================================================== */

:root {
  --ink: #0d1c30;
  --navy: #12325f;
  --brand: #1a4f9c;
  --brand-2: #2f74cf;
  --brand-soft: #eaf1fb;
  --gold: #b98a34;
  --gold-soft: #f6efe1;

  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-deep: #0d1c30;
  --line: #e4e9f1;
  --line-soft: #eef1f6;

  --text: #1e2a3a;
  --text-2: #4a5768;
  --muted: #7b8798;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(18, 50, 95, 0.04), 0 4px 12px rgba(18, 50, 95, 0.05);
  --shadow: 0 4px 10px rgba(18, 50, 95, 0.06), 0 16px 40px rgba(18, 50, 95, 0.08);
  --shadow-lg: 0 10px 30px rgba(18, 50, 95, 0.10), 0 30px 70px rgba(18, 50, 95, 0.12);

  --container: 1180px;
  --header-h: 76px;

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand); color: #fff; }

/* ---------- 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 34px; color: var(--ink); letter-spacing: -0.02em; }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 16px; }
.section-head--left { margin-left: 0; text-align: left; }

.rule { width: 44px; height: 3px; background: var(--gold); margin: 20px auto 0; border-radius: 2px; }
.section-head--left .rule { margin-left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(26, 79, 156, 0.24); }
.btn--primary:hover { background: var(--navy); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(26, 79, 156, 0.3); }
.btn--ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #a2762a; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); font-weight: 500; font-size: 15px;
}
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px; gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left svg { opacity: 0.7; }
.topbar-right { display: flex; align-items: center; gap: 18px; }

/* ---------- 头部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s ease;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(18, 50, 95, 0.07); }
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 20px; max-width: 1220px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: none; }
.brand-mark {
  width: 95px; height: 40px; flex: none;
}
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-text { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.brand-text strong {
  display: block; font-size: 16.5px; line-height: 1; color: var(--ink);
  letter-spacing: 0.02em; white-space: nowrap;
}
.brand-text small {
  display: block; font-size: 10px; line-height: 1; color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 10px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; color: var(--text-2); transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover { color: var(--brand); }
.nav a.is-active { color: var(--brand); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; transform: translateX(-50%);
  width: 18px; height: 2px; border-radius: 2px; background: var(--gold);
}
.header-actions { display: flex; align-items: center; gap: 10px; }

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

/* 移动端菜单：PC 端隐藏，仅 ≤860px 展开 */
.mobile-nav { display: none; }

/* 页头电话按钮 */
.header-actions .header-tel { gap: 7px; }
.header-actions .header-tel svg { width: 15px; height: 15px; }

/* ---------- 首页 Hero（浅金米色 · 配合蓝金海报） ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #fdf9ee 0%, #fbf1d6 55%, #f7e9c6 100%);
  color: var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(35, 62, 130, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 62, 130, 0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 76%);
}
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(243, 200, 100, 0.35), transparent 68%);
  filter: blur(8px);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center;
  padding: 96px 0 104px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(30, 55, 120, 0.26);
  color: #24418c; margin-bottom: 24px;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: #1d3f8f; display: block; }
.hero h1 {
  font-size: 50px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: #1d3f8f; }
.hero-lead {
  font-size: 17px; line-height: 1.9; color: #55616f; max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 34px; margin-top: 52px; padding-top: 30px;
  border-top: 1px solid rgba(35, 62, 130, 0.16); flex-wrap: wrap;
}
.hero-meta div strong { display: block; font-size: 27px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.hero-meta div strong span { font-size: 15px; font-weight: 500; color: #b8862e; margin-left: 2px; }
.hero-meta div small { color: #7d8794; font-size: 13px; letter-spacing: 0.04em; }

/* hero 内按钮：呼应海报丝带深蓝 */
.hero .btn--primary {
  background: linear-gradient(135deg, #24479c, #16307a);
  box-shadow: 0 10px 26px rgba(25, 50, 115, 0.32);
}
.hero .btn--primary:hover { background: linear-gradient(135deg, #1d3f8f, #122763); }
.hero .btn--ghost {
  border-color: rgba(30, 55, 120, 0.4); color: #24418c; background: rgba(255, 255, 255, 0.55);
}
.hero .btn--ghost:hover { border-color: rgba(30, 55, 120, 0.7); color: #16307a; }

/* hero 二维码卡片（海报正下方，白卡配浅金背景） */
.hero-qr {
  display: flex; align-items: center; gap: 12px;
  width: fit-content; margin: 20px auto 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(30, 55, 120, 0.18);
  border-radius: 12px; padding: 10px 18px 10px 10px;
  box-shadow: 0 14px 34px rgba(30, 55, 120, 0.14);
}
.hero-qr img {
  width: 72px; height: 72px; display: block; border-radius: 8px;
  background: #fff; padding: 5px; flex: none;
}
.hero-qr b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 5px; white-space: nowrap; }
.hero-qr small { display: block; font-size: 12.5px; line-height: 1.7; color: #6a7686; white-space: nowrap; }
.hero-qr small a { color: #24418c; }

.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(30, 55, 120, 0.22);
  border: 1px solid rgba(30, 55, 120, 0.15);
  background: #fff;
}
.hero-visual .frame img { width: 100%; height: auto; display: block; }
.hero-card .tl span.on { background: var(--brand); }

/* ---------- 数据条 ---------- */
.stats { background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 38px; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; }
.stat strong span { font-size: 18px; color: var(--brand-2); margin-left: 2px; }
.stat small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; letter-spacing: 0.05em; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4ddea; }
.card .icon {
  width: 52px; height: 52px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 22px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; color: var(--ink); margin-bottom: 12px; }
/* 服务卡片标题内链：保持原样式，悬停显品牌色 */
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--brand); }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.8; }
.card ul { margin-top: 16px; }
.card ul li {
  position: relative; padding-left: 18px; font-size: 14px; color: var(--text-2);
  margin-bottom: 7px;
}
.card ul li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}

.card--feature { padding: 38px 32px; }
.card--feature .num {
  position: absolute; right: 22px; top: 16px; font-size: 46px; font-weight: 700;
  color: var(--line-soft); letter-spacing: -0.04em; line-height: 1;
}

/* ---------- 服务流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.flow-step { padding: 0 18px; text-align: center; position: relative; }
.flow-step::after {
  content: ""; position: absolute; top: 25px; right: -10px; width: 20px; height: 1px;
  background: var(--line); 
}
.flow-step:last-child::after { display: none; }
.flow-step .dot {
  width: 50px; height: 50px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--brand);
  display: grid; place-items: center; font-weight: 600; font-size: 16px;
  position: relative; z-index: 2; transition: all .25s ease;
}
.flow-step:hover .dot { background: var(--brand); color: #fff; border-color: var(--brand); transform: scale(1.06); }
.flow-step h3, /* 真实照片画廊（关于我们 · 荣誉/实景） */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-grid--4 { grid-template-columns: repeat(4, 1fr); }
.photo-grid--wide { grid-template-columns: repeat(3, 1fr); }
.photo-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .35s ease; }
.photo-card:hover img { transform: scale(1.03); }
.photo-grid--wide .photo-card img { aspect-ratio: 2 / 1; }
.photo-card figcaption { padding: 12px 16px; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.photo-card figcaption a { color: var(--brand); text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 860px) { .photo-grid, .photo-grid--4, .photo-grid--wide { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .photo-grid, .photo-grid--4, .photo-grid--wide { grid-template-columns: 1fr; } }

.flow-step h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.flow-step p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 案例卡片 ---------- */
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .thumb img { transform: scale(1.05); }
.case-card .tag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(13, 28, 48, 0.82); color: #fff; backdrop-filter: blur(6px);
  font-size: 12px; padding: 5px 11px; border-radius: 4px; letter-spacing: 0.04em;
}
.case-card .body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.case-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--text-2); line-height: 1.8; flex: 1; }
.case-card .foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--muted);
}
.case-card .foot b { color: var(--brand); font-weight: 500; }

/* ---------- 资讯中心 ---------- */
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d3e0f2; }
.news-card > a { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; color: inherit; }
.news-card .news-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.news-card .news-cat {
  font-size: 12.5px; color: var(--brand); background: var(--brand-soft);
  padding: 4px 11px; border-radius: 4px; letter-spacing: 0.03em;
}
.news-card .news-pin {
  font-size: 12px; color: var(--gold); background: var(--gold-soft);
  padding: 4px 10px; border-radius: 4px; letter-spacing: 0.03em;
}
.news-card h3 { font-size: 17.5px; line-height: 1.55; color: var(--ink); margin-bottom: 12px; }
.news-card p {
  font-size: 14px; color: var(--text-2); line-height: 1.8; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .news-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--muted);
}
.news-card .news-foot b { color: var(--brand); font-weight: 500; white-space: nowrap; }

/* 首页资讯板块：左侧精编 + 右侧列表 */
.news-feature { display: grid; grid-template-columns: 1.08fr 1fr; gap: 26px; align-items: stretch; }
.news-hero {
  background: linear-gradient(150deg, #0d1c30 0%, #12325f 58%, #1a4f9c 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 42px 40px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.news-hero::after {
  content: ""; position: absolute; right: -110px; bottom: -130px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(47,116,207,.55), transparent 70%);
}
.news-hero > * { position: relative; z-index: 2; }
.news-hero .news-cat {
  align-self: flex-start; font-size: 12.5px; letter-spacing: 0.04em;
  background: rgba(255,255,255,.14); color: #dce8f8; padding: 5px 12px; border-radius: 4px; margin-bottom: 22px;
}
.news-hero h3 { font-size: 24px; line-height: 1.5; letter-spacing: -0.01em; margin-bottom: 16px; }
.news-hero p { font-size: 14.5px; line-height: 1.9; color: rgba(255,255,255,.76); flex: 1; }
.news-hero .news-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13px; color: rgba(255,255,255,.58);
}
.news-hero .news-foot b { color: var(--gold); font-weight: 500; }

.news-list { display: flex; flex-direction: column; }
/* 首页资讯板块移到浅色底上：右侧列表升级为白色卡片，与左侧深蓝主卡呼应 */
.section--soft .news-list {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 10px 26px;
  box-shadow: var(--shadow-sm);
}
.news-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 4px; border-bottom: 1px solid var(--line-soft);
  transition: background .2s ease;
}
.news-list .news-item:first-child { padding-top: 4px; }
.news-item:last-child { border-bottom: 0; }
.news-item .num {
  flex: none; width: 40px; font-size: 15px; font-weight: 600; color: #c3cddb;
  letter-spacing: 0.02em; line-height: 1.6;
}
.news-item .txt { min-width: 0; flex: 1; }
.news-item h4 {
  font-size: 16px; color: var(--ink); line-height: 1.6; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item:hover h4 { color: var(--brand); }
.news-item .meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.news-item .meta i {
  font-style: normal; color: var(--brand); background: var(--brand-soft);
  padding: 3px 9px; border-radius: 4px;
}

/* ---------- 资讯详情 ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.article-head .news-cat {
  display: inline-block; font-size: 12.5px; color: var(--brand); background: var(--brand-soft);
  padding: 4px 11px; border-radius: 4px; margin-bottom: 16px;
}
.article-head h1 { font-size: 30px; line-height: 1.45; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 18px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; color: var(--muted);
}
.article-body { font-size: 15.5px; line-height: 2; color: var(--text); }
.article-body h3 {
  font-size: 18.5px; color: var(--ink); margin: 36px 0 14px;
  padding-left: 13px; border-left: 3px solid var(--brand); line-height: 1.5;
}
.article-body h3:first-child { margin-top: 0; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin-bottom: 10px; }
.article-body ul li::marker { color: var(--brand); }
.article-body strong { color: var(--ink); font-weight: 600; }
/* 正文内锚（自动内链）：关键词锚文本跳转到对应服务板块 */
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--ink); }
.article-body blockquote {
  margin: 0 0 20px;
  padding: 12px 18px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft, #f2f6fc);
  border-radius: 0 8px 8px 0;
}
.article-body blockquote p { margin-bottom: 8px; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body ol { list-style: decimal; }
.article-body ol li::marker { color: var(--brand); font-weight: 600; }
.article-note {
  margin-top: 40px; padding: 22px 26px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  font-size: 13.5px; color: var(--text-2); line-height: 1.9;
}
.article-note b { color: var(--ink); }
.article-foot { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.article-back { font-size: 14px; color: var(--muted); }
.article-back:hover { color: var(--brand); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- 筛选 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filters button {
  height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--text-2); font-size: 14px; cursor: pointer;
  transition: all .2s ease;
}
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }

/* ---------- 内页 Banner ---------- */
.page-hero {
  background: linear-gradient(135deg, #0b1a2e 0%, #12325f 60%, #1a4f9c 100%);
  color: #fff; padding: 74px 0 68px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to left, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 38px; margin-bottom: 14px; letter-spacing: -0.02em; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 16px; max-width: 640px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 18px; letter-spacing: .04em; }
.crumb a:hover { color: #fff; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); height: 460px; object-fit: cover; box-shadow: var(--shadow); }
.about-media .badge {
  position: absolute; right: -22px; bottom: 34px; background: var(--brand); color: #fff;
  border-radius: 12px; padding: 22px 26px; box-shadow: var(--shadow-lg); text-align: center;
}
.about-media .badge strong { display: block; font-size: 30px; line-height: 1; }
.about-media .badge small { font-size: 13px; opacity: .82; letter-spacing: .06em; }
.about-body h2 { font-size: 32px; color: var(--ink); margin-bottom: 20px; letter-spacing: -0.02em; }
.about-body p { color: var(--text-2); margin-bottom: 18px; font-size: 15.5px; line-height: 1.95; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-top: 30px; }
.about-points div { display: flex; gap: 12px; align-items: flex-start; }
.about-points svg { flex: none; margin-top: 4px; color: var(--gold); }
.about-points b { display: block; font-size: 15px; color: var(--ink); }
.about-points small { color: var(--muted); font-size: 13px; }

/* 时间轴 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 15px; height: 15px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
}
.tl-item .year { font-size: 20px; font-weight: 600; color: var(--brand); letter-spacing: -0.01em; }
.tl-item h3, .tl-item h4 { font-size: 16px; color: var(--ink); margin: 8px 0 8px; }
.tl-item p { color: var(--text-2); font-size: 14.5px; }

/* ---------- 服务明细 ---------- */
.service-block { border-top: 1px solid var(--line); padding: 56px 0; }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block .head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.service-block .head h3 { font-size: 25px; color: var(--ink); }
.service-block .head span { font-size: 13px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service-item { background: #fff; padding: 26px 28px; transition: background .2s ease; }
.service-item:hover { background: var(--bg-soft); }
.service-item h4 { font-size: 16.5px; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.service-item h4 i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); display: block; flex: none; }
.service-item p { font-size: 14px; color: var(--text-2); line-height: 1.8; }
.service-item .meta { display: flex; gap: 18px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.service-item .meta b { color: var(--gold); font-weight: 500; }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.plan { width: 100%; border-collapse: collapse; min-width: 640px; }
table.plan th, table.plan td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line-soft); }
table.plan thead th { background: var(--bg-soft); color: var(--ink); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
table.plan tbody tr:last-child td { border-bottom: 0; }
table.plan tbody tr:hover { background: #fbfcfe; }
table.plan td strong { color: var(--brand); font-weight: 600; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .office-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .office-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 18px; }
.contact-item {
  display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-item:hover { border-color: #d4ddea; box-shadow: var(--shadow-sm); }
.contact-item .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-item h3, .contact-item h4 { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 5px; }
.contact-item strong { font-size: 18px; color: var(--ink); font-weight: 600; letter-spacing: .01em; }
.contact-item small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* 联系页微信二维码卡片 */
.qr-card {
  margin-top: 26px; padding: 20px 22px; display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.qr-card img {
  width: 128px; height: 128px; flex: none; border-radius: 10px;
  border: 1px solid var(--line); padding: 5px; background: #fff;
}
.qr-card b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.qr-card small { display: block; color: var(--muted); font-size: 13px; line-height: 1.85; }
.qr-card small a { color: var(--brand); font-weight: 500; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 8px; font-weight: 500; }
.field label em { color: #d9534f; font-style: normal; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26, 79, 156, .12);
}
.field .err { display: none; color: #d9534f; font-size: 12.5px; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e6a5a2; background: #fffafa; }
.field.has-error .err { display: block; }

.map-frame { margin-top: 60px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); height: 340px; position: relative; }
.map-frame img { width: 100%; height: 100%; object-fit: cover; }
.map-pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  background: #fff; border-radius: 10px; padding: 16px 20px; box-shadow: var(--shadow-lg);
  text-align: center; min-width: 210px;
}
.map-pin b { display: block; color: var(--ink); font-size: 15px; }
.map-pin small { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item summary {
  padding: 20px 24px; cursor: pointer; font-size: 16px; color: var(--ink); font-weight: 500;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--brand); font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .ans { padding: 0 24px 22px; color: var(--text-2); font-size: 14.5px; line-height: 1.9; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, #0b1a2e, #16407c 65%, #1f5cae);
  color: #fff; border-radius: var(--radius-lg); padding: 58px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(47,116,207,.5), transparent 70%);
}
.cta > * { position: relative; z-index: 2; }
.cta h3 { font-size: 28px; margin-bottom: 10px; letter-spacing: -0.01em; }
.cta p { color: rgba(255,255,255,.72); font-size: 15.5px; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-deep); color: rgba(255, 255, 255, 0.62); padding: 68px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 52px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 20px; letter-spacing: .04em; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text small { color: rgba(255,255,255,.4); }
.footer .about { margin-top: 20px; line-height: 1.9; max-width: 320px; }
.footer li { margin-bottom: 11px; }
.footer li a:hover { color: #fff; }
.footer .contact-line { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer .contact-line svg { flex: none; margin-top: 4px; opacity: .55; }
.footer .contact-line b { color: #fff; font-weight: 500; }
/* 页脚二维码 */
.footer-qr { margin-top: 18px; }
.footer-qr img {
  width: 98px; height: 98px; display: block;
  background: #fff; border-radius: 10px; padding: 5px;
}
.footer-qr span { display: block; margin-top: 8px; font-size: 12.5px; color: rgba(255,255,255,.55); }

.footer-offices {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-offices span { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.45); display: block; }
.footer-offices b { display: block; color: rgba(255, 255, 255, 0.9); font-size: 13.5px; font-weight: 500; margin-bottom: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 13px; color: rgba(255, 255, 255, 0.42); flex-wrap: wrap;
}
.footer-offices + .footer-bottom { border-top: 0; }
.footer-icp a { color: inherit; text-decoration: none; }
.footer-icp a:hover { color: rgba(255, 255, 255, 0.75); }

/* ---------- 模态框 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(9, 20, 36, 0.55); backdrop-filter: blur(3px);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-mask.is-open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 760px;
  max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-head { padding: 26px 32px 0; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.modal-head h3 { font-size: 22px; color: var(--ink); }
.modal-head .close-btn {
  border: 0; background: var(--bg-soft); width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1; flex: none;
}
.modal-head .close-btn:hover { background: var(--line); color: var(--ink); }
.modal-body { padding: 22px 32px 34px; }
.modal-body img { border-radius: var(--radius); margin-bottom: 22px; width: 100%; }
.modal-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.modal-meta b { color: var(--ink); font-weight: 500; }
.modal-body p { color: var(--text-2); line-height: 1.95; margin-bottom: 14px; }

/* ---------- 提示 ---------- */
.toast-wrap { position: fixed; right: 24px; bottom: 24px; z-index: 300; display: grid; gap: 10px; }
.toast {
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 8px;
  font-size: 14px; box-shadow: var(--shadow-lg); animation: toastIn .25s ease;
  display: flex; align-items: center; gap: 10px; max-width: 360px;
}
.toast.ok { background: #16653f; }
.toast.err { background: #a63131; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ---------- 咨询单结果 ---------- */
.result-box {
  display: none; margin-top: 26px; padding: 22px 24px;
  background: var(--brand-soft); border: 1px solid #c9dcf3; border-radius: var(--radius-lg);
}
.result-box.is-open { display: block; animation: toastIn .34s ease both; }
.result-box h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 12px; }
.result-box pre {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; font-size: 13.5px; line-height: 1.85; color: var(--text);
  font-family: inherit; white-space: pre-wrap; word-break: break-all; margin: 0 0 16px;
}
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-box p { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.7; }

/* ---------- 通用面板 ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; margin-bottom: 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.panel-head h2 { font-size: 20px; color: var(--ink); }
.panel-head p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

.empty { text-align: center; padding: 46px 20px; color: var(--muted); font-size: 14.5px; }

/* ---------- 网站后台 ---------- */
.admin-body { background: var(--bg-soft); }
.admin-top { background: #0d1c30; color: #fff; }
.admin-top .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; }
.admin-brand { display: flex; align-items: center; gap: 11px; font-size: 16px; color: #fff; }
.admin-brand .brand-mark { width: 71px; height: 30px; }
.admin-brand b { font-weight: 600; letter-spacing: 0.01em; }
.admin-brand span.tag {
  font-size: 12px; color: #9fb6d6; border: 1px solid rgba(255,255,255,.22);
  padding: 3px 9px; border-radius: 4px; letter-spacing: 0.03em;
}
.admin-top-actions { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.admin-top-actions a { color: rgba(255,255,255,.78); }
.admin-top-actions a:hover { color: #fff; }

.admin-wrap { padding: 28px 0 90px; }
.admin-note {
  background: var(--gold-soft); border: 1px solid #ecdcbc; color: #7a5a17;
  border-radius: var(--radius-lg); padding: 16px 20px; font-size: 13.5px;
  line-height: 1.9; margin-bottom: 24px;
}
.admin-note b { color: #6a4d10; }

.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.admin-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px;
}
.admin-stat strong { display: block; font-size: 28px; color: var(--brand); font-weight: 600; letter-spacing: -0.02em; }
.admin-stat small { color: var(--muted); font-size: 13.5px; }

.admin-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.admin-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 760px; }
table.admin-table th, table.admin-table td {
  padding: 14px 16px; text-align: left; font-size: 14px;
  border-bottom: 1px solid var(--line-soft); vertical-align: middle;
}
table.admin-table th {
  background: var(--bg-soft); color: var(--muted); font-size: 13px;
  font-weight: 500; letter-spacing: 0.03em; white-space: nowrap;
}
table.admin-table tbody tr:last-child td { border-bottom: 0; }
table.admin-table tbody tr:hover { background: #fbfcfe; }
table.admin-table td.tt { color: var(--ink); font-weight: 500; line-height: 1.6; }
table.admin-table td.tt small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; margin-top: 4px; }
.badge { font-size: 12px; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.badge--cat { color: var(--brand); background: var(--brand-soft); }
.badge--pin { color: var(--gold); background: var(--gold-soft); }
.badge--off { color: var(--muted); background: var(--bg-soft); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions button {
  border: 1px solid var(--line); background: #fff; border-radius: 5px;
  padding: 5px 11px; font-size: 12.5px; color: var(--text-2); cursor: pointer;
  transition: all .18s ease; white-space: nowrap;
}
.row-actions button:hover { border-color: var(--brand); color: var(--brand); }
.row-actions button.danger:hover { border-color: #d9534f; color: #d9534f; }

/* ---- 后台模块切换 tabs ---- */
.admin-tabs { display: flex; gap: 10px; margin-bottom: 22px; }
.admin-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 10px 22px; font-size: 14.5px; color: var(--text-2); cursor: pointer;
  font-weight: 500; transition: all .18s ease; display: inline-flex; align-items: center; gap: 7px;
}
.admin-tabs button:hover { border-color: var(--brand); color: var(--brand); }
.admin-tabs button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.tab-badge {
  background: #d9534f; color: #fff; font-size: 11.5px; min-width: 19px; height: 19px;
  border-radius: 999px; display: inline-grid; place-items: center; padding: 0 5px; font-weight: 600;
}

/* ---- 留言管理 ---- */
.msg-login { padding: 46px 30px; text-align: center; }
.msg-login h2 { font-size: 21px; color: var(--ink); margin-bottom: 8px; }
.msg-login p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.msg-login-row { display: inline-flex; gap: 10px; }
.msg-login-row input {
  width: 240px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14.5px; outline: none; transition: border-color .18s ease;
}
.msg-login-row input:focus { border-color: var(--brand); }
.msg-login .hint { margin-top: 12px; color: #d9534f; font-size: 13px; min-height: 18px; }

.msg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.msg-stats .admin-stat { padding: 16px 18px; }
.msg-stats .admin-stat strong { font-size: 22px; }
@media (max-width: 860px) { .msg-stats { grid-template-columns: repeat(2, 1fr); } }

.msg-filter { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.msg-filter select, .msg-filter input {
  padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; color: var(--text-2); background: #fff; outline: none;
}
.msg-filter input { flex: 1; min-width: 200px; }
.msg-filter select:focus, .msg-filter input:focus { border-color: var(--brand); }

.msg-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 22px; margin-bottom: 14px; transition: border-color .18s ease;
}
.msg-card:hover { border-color: #d4ddea; }
.msg-card.is-new { border-left: 3px solid #d9534f; }
.msg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.msg-who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.msg-who b { font-size: 15.5px; color: var(--ink); }
.msg-phone { font-size: 15px; color: var(--brand); font-weight: 600; }
.msg-phone:hover { text-decoration: underline; }
.msg-comp { font-size: 13px; color: var(--muted); background: var(--bg-soft); border-radius: 4px; padding: 2px 8px; }
.msg-meta { display: flex; align-items: center; gap: 10px; }
.msg-meta small { color: var(--muted); font-size: 12.5px; }
.badge--new { color: #d9534f; background: #fdf0ef; }
.msg-service { margin-top: 10px; font-size: 13px; color: var(--muted); }
.msg-body {
  margin-top: 10px; padding: 12px 14px; background: var(--bg-soft); border-radius: 8px;
  font-size: 14.5px; line-height: 1.9; color: var(--text-2); white-space: pre-wrap; word-break: break-word;
}
.msg-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.msg-actions button {
  border: 1px solid var(--line); background: #fff; border-radius: 5px;
  padding: 6px 13px; font-size: 12.5px; color: var(--text-2); cursor: pointer; transition: all .18s ease;
}
.msg-actions button:hover { border-color: var(--brand); color: var(--brand); }
.msg-actions button.danger:hover { border-color: #d9534f; color: #d9534f; }

.admin-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 6px; }
.admin-form .field { margin-bottom: 16px; }
.admin-form .field label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 7px; }
.admin-form .field label em { color: #d9534f; font-style: normal; }
.admin-form input[type="text"], .admin-form input[type="date"],
.admin-form input[type="number"], .admin-form select, .admin-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px;
  padding: 10px 13px; font-size: 14px; font-family: inherit; color: var(--text);
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26, 79, 156, .12);
}
.admin-form textarea { resize: vertical; line-height: 1.85; }
.admin-form textarea.code { min-height: 430px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.admin-form .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.admin-form .check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-2); }
.admin-form .check input { width: auto; }

.preview-pane {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; padding: 26px 28px; max-height: 620px; overflow: auto;
}
.preview-pane .pv-label {
  font-size: 12px; color: var(--muted); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.preview-pane h1 { font-size: 22px; line-height: 1.5; color: var(--ink); margin-bottom: 8px; }
.preview-pane .pv-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.preview-pane .article-body { font-size: 14.5px; }

.admin-save-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft);
}
.admin-save-bar .hint { font-size: 13px; color: var(--muted); }
.admin-file { font-size: 13.5px; color: var(--text-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1220px) {
  .header-actions .header-tel { display: none; }
}
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 46px; padding: 72px 0; }
  .hero-qr { margin: 18px auto 0; }
  .hero h1 { font-size: 42px; }
  .hero-visual .frame img { width: 100%; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 34px 0; }
  .flow-step::after { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-media img { height: 360px; }
  .news-feature { grid-template-columns: 1fr; gap: 34px; }
  .related { grid-template-columns: repeat(2, 1fr); }
  .admin-editor { grid-template-columns: 1fr; }
  .preview-pane { max-height: none; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn--outline { display: none; }
  .brand-mark { width: 81px; height: 34px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { display: none; }
  .mobile-nav {
    display: none; position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 38px);
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px 22px;
    box-shadow: var(--shadow); z-index: 65;
  }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a { display: block; padding: 13px 6px; border-bottom: 1px solid var(--line-soft); font-size: 16px; color: var(--text); }
  .mobile-nav a.is-active { color: var(--brand); font-weight: 600; }
  .section { padding: 66px 0; }
  .section-head h2 { font-size: 27px; }
  .hero h1 { font-size: 33px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta { padding: 40px 28px; }
  .cta h3 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-offices { grid-template-columns: repeat(2, 1fr); }
  .kpi { grid-template-columns: 1fr; }
  .topbar-left span:nth-child(2) { display: none; }
  .related { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-top .container { height: auto; padding: 12px 0; flex-wrap: wrap; }
}
/* 小屏品牌条：从 860 断点内拆出（避免 CSS 嵌套，兼容微信 X5 等旧内核） */
@media (max-width: 480px) {
  .brand-text { display: none; }
  .brand-mark { width: 90px; height: 38px; }
}
/* 中屏（平板/小窗口）：7 项导航较宽，收起公司名文字只留 logo，避免遮挡导航 */
@media (max-width: 1060px) {
  .brand-text { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .grid--4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 27px; }
  .hero-meta { gap: 22px; }
  .hero-meta div strong { font-size: 22px; }
  .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; }
  .form-card, .panel, .result-box { padding: 24px 20px; }
  .footer-offices { grid-template-columns: 1fr; }
  .news-hero { padding: 30px 24px; }
  .news-hero h3 { font-size: 20px; }
  .news-card > a { padding: 22px 20px 20px; }
  .article-head h1 { font-size: 24px; }
  .article-body { font-size: 15px; line-height: 1.95; }
  .news-item .num { width: 32px; font-size: 14px; }
}

/* 四步流程（放在媒体查询之后，确保覆盖生效） */
.flow--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .flow--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow--4 { grid-template-columns: 1fr; } }

/* 服务分组标题 */
.service-group { margin-top: 42px; }
.service-group:first-child { margin-top: 30px; }
.service-group-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.service-group-head h4 { font-size: 17px; color: var(--ink); white-space: nowrap; }
.service-group-head i {
  display: block; width: 4px; height: 17px; border-radius: 2px; background: var(--gold); flex: none;
}
.service-group-head .line { flex: 1; height: 1px; background: var(--line); }
.service-group-head span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* 证照展示条 */
.license-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.license-strip div { background: #fff; padding: 30px 26px; }
.license-strip b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.license-strip small { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .license-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .license-strip { grid-template-columns: 1fr; } }

/* ---------- 移动端专项适配（2026-10-15 手机端检查） ---------- */
/* 顶栏：小屏隐藏服务网点城市串，避免折成三行 */
@media (max-width: 560px) {
  .topbar-right span { display: none; }
  .topbar .container { gap: 10px; }
}
/* 关于页照片角标：小屏收进图片内侧，避免撑出横向滚动 */
@media (max-width: 640px) {
  .about-media .badge { right: 12px; bottom: 22px; padding: 14px 18px; }
  .about-media .badge strong { font-size: 24px; }
  .about-media .badge small { font-size: 12px; }
}
/* 报价表：小屏压缩内距并给出滑动提示（提示元素由 HTML 提供，桌面隐藏） */
.table-hint { display: none; }
@media (max-width: 640px) {
  table.plan { min-width: 560px; }
  table.plan th, table.plan td { padding: 12px 12px; font-size: 13.5px; }
  .table-hint {
    display: flex; align-items: center; gap: 6px;
    margin-top: 10px; font-size: 12.5px; color: var(--muted);
  }
  .table-hint svg { flex: none; }
}
/* 页脚导航：小屏加大点击热区（≥40px 行高） */
@media (max-width: 640px) {
  .footer li a { display: inline-block; padding: 6px 0; }
  .footer .contact-line { padding: 4px 0; }
}
/* 超小屏（≤380px）：数字统计格压缩，防止「10000+」撑破双列网格 */
@media (max-width: 380px) {
  .stat { padding: 32px 14px; }
  .stat strong { font-size: 24px; }
  .stat strong span { font-size: 15px; }
  .stat small { font-size: 12.5px; }
}

/* ---------- 常见问题页（faq.html） ---------- */
.faq-group { margin-bottom: 56px; scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group-head { max-width: 860px; margin: 0 auto 24px; }
.faq-group-head .eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .2em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 10px;
}
.faq-group-head h2 { font-size: 25px; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 8px; }
.faq-group-head p { color: var(--text-2); font-size: 14.5px; line-height: 1.8; }
.faq-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  max-width: 860px; margin: 0 auto; padding: 30px 32px;
  background: var(--gold-soft); border: 1px solid #ecdcbc; border-radius: var(--radius-lg);
}
.faq-cta h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.faq-cta p { color: #6d5013; font-size: 14px; line-height: 1.85; max-width: 460px; }
.faq-cta .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.faq-cta .btn--ghost {
  border-color: rgba(109, 80, 19, 0.45); color: #6d5013; background: rgba(255, 255, 255, 0.6);
}
.faq-cta .btn--ghost:hover { border-color: rgba(109, 80, 19, 0.75); color: #55400f; }
.faq-more {
  max-width: 860px; margin: 26px auto 0; font-size: 13.5px; color: var(--muted);
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.faq-more a { color: var(--brand); }
@media (max-width: 640px) {
  .faq-group { margin-bottom: 40px; }
  .faq-group-head h2 { font-size: 21px; }
  .faq-cta { padding: 24px 20px; gap: 18px; }
  .faq-cta h3 { font-size: 17px; }
}
