/* ============================================================
   湖南建筑资质代办 — 视觉系统 v2
   定位：商务 · 大气 · 专业
   配色：深海军蓝（信任/权威）+ 鎏金（资质/价值感）
   移动优先，支持深色模式，WCAG AA 对比度
   ============================================================ */

:root {
  /* 主色：深海军蓝 */
  --primary: #14366F;
  --primary-600: #0E2A5E;
  --primary-700: #0A2149;
  --primary-400: #2A56A8;
  --primary-300: #4A78C8;

  /* 点缀：鎏金 */
  --accent: #C9A227;
  --accent-strong: #B8901F;
  --accent-soft: #E7C766;
  --accent-50: #FBF6E6;

  /* 中性 */
  --bg: #ffffff;
  --bg-alt: #F4F8FD;
  --surface: #ffffff;
  --text: #16233B;
  --muted: #5B6B82;
  --border: #E4EAF2;

  /* 阴影 / 圆角 */
  --shadow: 0 18px 44px rgba(16, 42, 94, 0.10);
  --shadow-sm: 0 6px 18px rgba(16, 42, 94, 0.08);
  --shadow-card: 0 12px 30px rgba(16, 42, 94, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --header-h: 66px;
  --topbar-h: 38px;
}

.dark {
  --primary: #3E6FD0;
  --primary-600: #2A56A8;
  --primary-700: #1E3F7E;
  --primary-400: #5B8BE6;
  --primary-300: #7AA6EC;

  --accent: #E0B73E;
  --accent-strong: #C9A227;
  --accent-soft: #F0D27E;
  --accent-50: #1B2A4A;

  --bg: #091628;
  --bg-alt: #0D1F3D;
  --surface: #11244A;
  --text: #EAF0FB;
  --muted: #9FB0CC;
  --border: #20355F;

  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }

img { max-width: 100%; height: auto; }

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

.skip-link {
  position: absolute;
  left: -999px;
  z-index: 200;
}
.skip-link:focus {
  left: 12px; top: 10px;
  background: var(--primary); color: #fff;
  padding: 8px 14px; border-radius: 8px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none !important; }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-600); box-shadow: var(--shadow); }

.btn-gold {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #2A2102;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.30);
}
.btn-gold:hover { filter: brightness(1.05); box-shadow: 0 12px 26px rgba(201, 162, 39, 0.40); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-light { background: #fff; color: var(--primary-600); }
.btn-light:hover { background: #eef3fb; }

.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 顶部工具条 ---------- */
.topbar {
  background: var(--primary-700);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--accent-soft); }
.topbar .tb-left { display: flex; align-items: center; gap: 8px; }
.topbar .tb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.topbar .tb-right { display: flex; align-items: center; gap: 18px; }
.topbar .tb-right span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  color: var(--text);
  font-weight: 700;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-400));
  color: #fff;
  box-shadow: 0 6px 16px rgba(20, 54, 111, 0.30);
}
.brand-text strong { color: var(--primary); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-link {
  position: relative;
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-link:hover { color: var(--primary); background: var(--bg-alt); text-decoration: none; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--primary); background: var(--bg-alt); font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 6px 16px rgba(20, 54, 111, 0.28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.phone-pill:hover { background: var(--primary-600); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20, 54, 111, 0.36); text-decoration: none; }
.theme-toggle {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle .icon-sun { display: none; }
.dark .theme-toggle .icon-sun { display: inline; }
.dark .theme-toggle .icon-moon { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 11px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span { display: block; height: 2px; width: 20px; background: var(--text); margin: 0 auto; border-radius: 2px; transition: .2s; }

/* ---------- Hero（深色大气） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1000px 560px at 88% -20%, rgba(201, 162, 39, 0.20), transparent 60%),
    linear-gradient(135deg, #0E2A5E 0%, #14366F 46%, #0A1F47 100%);
  padding: 70px 0 60px;
}
/* 蓝图网格（建筑质感） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 72% 28%, #000, transparent 76%);
  mask-image: radial-gradient(circle at 72% 28%, #000, transparent 76%);
  pointer-events: none;
}
/* 右侧柔光块 */
.hero::after {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(74, 120, 200, 0.35), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 46px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5.2vw, 50px);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
  font-weight: 800;
}
.hero h1 .hl {
  display: block;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.hero-sub { color: rgba(255, 255, 255, 0.82); font-size: 17px; max-width: 580px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-points {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  padding: 0; margin: 0;
  font-size: 14.5px;
}
.hero-points li { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.92); font-weight: 500; }
.hero-points svg { color: var(--accent-soft); flex: none; }

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
  padding: 30px 28px;
}
.hero-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(231,199,102,.6), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hero-card h3 { margin: 0 0 4px; font-size: 19px; color: #fff; }
.hero-card-sub { color: rgba(255, 255, 255, 0.7); font-size: 13px; margin: 0 0 18px; }
.hero-card-list { list-style: none; padding: 0; margin: 0 0 20px; }
.hero-card-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9); font-size: 14.5px;
}
.hero-card-list b { color: var(--accent-soft); font-size: 16px; }
.hero-card-note { text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 12px; margin: 14px 0 0; }

/* ---------- 信任条（浅色浮起） ---------- */
.trust-bar {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}
.trust-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.trust-item b {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-strong);
  line-height: 1.1;
}
.trust-item span { font-size: 14px; color: var(--muted); }

/* ---------- 通用区块 ---------- */
.section { padding: 66px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 42px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(25px, 3.6vw, 34px); margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.center-action { text-align: center; margin-top: 34px; }

/* ---------- 服务优势 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature::before {
  content: "";
  position: absolute; left: 24px; top: 0;
  width: 36px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  opacity: 0; transition: opacity .2s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary-300); }
.feature:hover::before { opacity: 1; }
.feature-ic {
  width: 56px; height: 56px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-400));
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(20, 54, 111, 0.28);
}
.feature h3 { margin: 0 0 9px; font-size: 18px; }
.feature p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ---------- 资质类别 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  display: block;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.cat-card::after {
  content: "→";
  position: absolute; right: 22px; bottom: 20px;
  color: var(--accent); font-weight: 700; font-size: 18px;
  opacity: 0; transform: translateX(-6px);
  transition: .2s ease;
}
.cat-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.cat-card:hover::after { opacity: 1; transform: translateX(0); }
.cat-card h3 { margin: 0 0 9px; font-size: 18px; color: var(--text); padding-right: 24px; }
.cat-card p { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.card-more { color: var(--primary); font-weight: 600; font-size: 14px; }

/* ---------- 流程步骤（带连接线） ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-no {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-400));
  color: #fff;
  font-weight: 800; font-size: 19px;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(20, 54, 111, 0.30);
}
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ---------- 城市分站 ---------- */
.city-grid { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.city-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all .18s ease;
}
.city-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.city-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.city-chip:hover::before { background: var(--accent-soft); }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.case-tag {
  display: inline-block;
  background: var(--accent-50); color: var(--accent-strong);
  font-size: 12px; font-weight: 600;
  padding: 4px 11px; border-radius: var(--radius-pill);
  margin-bottom: 13px;
}
.case-card h3 { margin: 0 0 9px; font-size: 17px; color: var(--text); }
.case-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- 资讯 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.news-date {
  display: inline-block;
  font-size: 12.5px; font-weight: 600;
  color: var(--accent-strong);
  background: var(--accent-50);
  padding: 3px 10px; border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.news-card time { color: var(--muted); font-size: 13px; }
.news-card h3 { margin: 8px 0; font-size: 16px; color: var(--text); line-height: 1.5; }
.news-card p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- 服务承诺条 ---------- */
.promise-bar {
  background: linear-gradient(135deg, var(--primary-600), var(--primary));
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  box-shadow: var(--shadow);
}
.promise-item { display: flex; align-items: center; gap: 12px; }
.promise-item svg { color: var(--accent-soft); flex: none; }
.promise-item b { display: block; font-size: 15px; }
.promise-item span { font-size: 13px; color: rgba(255,255,255,.78); }

/* ---------- 底部 CTA ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 12% 120%, rgba(201,162,39,.22), transparent 60%),
    linear-gradient(135deg, var(--primary-700), var(--primary));
  color: #fff;
  padding: 56px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-inner h2 { margin: 0 0 8px; font-size: 27px; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.86); font-size: 16px; }

/* ---------- 面包屑 / 内页 ---------- */
.breadcrumb { font-size: 13.5px; color: var(--muted); padding: 20px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .current { color: var(--text); }

.page-single { padding: 12px 0 64px; }
.single-header { margin: 16px 0 24px; }
.single-header h1 { font-size: clamp(25px, 3.6vw, 34px); margin: 0 0 10px; }
.single-lead { color: var(--muted); font-size: 16px; margin: 0; }
.single-layout { display: grid; grid-template-columns: 1fr 312px; gap: 38px; align-items: start; }

/* 正文排版 */
.prose { font-size: 16px; }
.prose h2 { font-size: 22px; margin: 36px 0 14px; padding-bottom: 9px; border-bottom: 2px solid var(--border); position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--accent); }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p { margin: 0 0 15px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 11px 13px; text-align: left; }
.prose th { background: var(--bg-alt); color: var(--text); }
.prose blockquote {
  margin: 16px 0; padding: 14px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-50); border-radius: 0 10px 10px 0;
  color: var(--text);
}

/* 内页 CTA 条 */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin: 30px 0 0;
  padding: 22px 26px;
  background: linear-gradient(135deg, var(--accent-50), #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius);
}
.cta-band strong { display: block; color: var(--text); font-size: 18px; }
.cta-band span { color: var(--muted); font-size: 14px; }

/* 侧栏 */
.single-side { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 16px; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.side-card h3 {
  margin: 0 0 14px; font-size: 15px;
  padding-left: 11px; border-left: 3px solid var(--accent);
}
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.side-list li:last-child { border-bottom: none; }
.side-list a { color: var(--text); }
.side-list a:hover { color: var(--primary); }
.side-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.side-cities li { font-size: 13px; }
.side-cta { background: linear-gradient(135deg, var(--primary-600), var(--primary)); color: #fff; border: none; }
.side-cta h3 { color: #fff; border-left-color: var(--accent-soft); }
.side-cta p { color: rgba(255,255,255,.85); font-size: 14px; margin: 0 0 14px; }
.side-note { text-align: center; font-size: 12px; margin: 10px 0 0 !important; color: rgba(255,255,255,.7); }

/* 列表卡片 */
.list-header { margin: 16px 0 26px; }
.list-header h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 10px; }
.list-lead { color: var(--muted); font-size: 16px; margin: 0; }
.list-intro { margin-bottom: 30px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-300); text-decoration: none; }
.card h3 { margin: 0 0 9px; font-size: 17px; color: var(--text); }
.card p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* 分页 */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 9px 15px; border: 1px solid var(--border); border-radius: 9px; color: var(--text); font-size: 14px;
  transition: .15s ease;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* FAQ 折叠 */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; padding: 17px 20px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 700; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 20px 17px; color: var(--muted); }
.faq-item[open] summary { color: var(--primary); }

/* ---------- 落地页内链矩阵 ---------- */
.related-matrix { margin-top: 40px; }
.rel-block { margin-bottom: 32px; }
.rel-block h2 { font-size: 18px; margin: 0 0 18px; color: var(--text); padding-left: 12px; border-left: 3px solid var(--accent); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 11px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 9px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 13.5px;
  box-shadow: var(--shadow-sm);
  transition: all .15s ease;
}
.tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.rel-up {
  display: flex; flex-wrap: wrap; gap: 16px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.rel-up a { font-weight: 600; font-size: 14px; color: var(--primary); }
.rel-up a:hover { text-decoration: underline; }

/* ---------- 站内搜索 ---------- */
.search-wrap { position: relative; display: flex; align-items: center; }
.search-btn {
  display: none; /* 桌面隐藏，移动端显示 */
  align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text-2); cursor: pointer; transition: all .2s;
}
.search-btn:hover { color: var(--primary); border-color: var(--primary); }
.search-panel { display: none; }
.search-panel.open { display: block; }

.search-input {
  width: 100%; height: 38px; padding: 0 14px; font-size: 14px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg);
  color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,54,111,.12); }

.search-results {
  position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 60;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-card); max-height: 360px; overflow-y: auto; padding: 6px;
  display: none;
}
.search-panel.open .search-results,
.search-input:focus ~ .search-results { display: block; }
.sr-item { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--text); }
.sr-item:hover { background: var(--bg-alt); }
.sr-title { display: block; font-weight: 600; font-size: 14px; color: var(--text); }
.sr-desc { display: block; font-size: 12px; color: var(--text-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-empty { padding: 12px; font-size: 13px; color: var(--text-2); text-align: center; }

/* 桌面：直接显示输入框 */
@media (min-width: 880px) {
  .search-panel { display: block; position: relative; width: 230px; }
}

/* 移动端：图标 + 下拉面板 */
@media (max-width: 879px) {
  .search-btn { display: inline-flex; }
  .search-panel.open {
    position: absolute; top: calc(100% + 10px); right: 0; width: min(86vw, 340px);
    background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
    box-shadow: var(--shadow-card); padding: 10px;
  }
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 46px; height: 46px; border: none; border-radius: 50%;
  background: var(--primary); color: #fff; cursor: pointer;
  box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); color: #0E2A5E; }

/* ---------- 404 页 ---------- */
.page-404 { padding: 90px 0 110px; text-align: center; }
.err-code {
  font-size: 92px; font-weight: 800; line-height: 1; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--primary);
}
.page-404 h1 { font-size: 28px; margin: 10px 0 8px; color: var(--text); }
.err-sub { color: var(--text-2); max-width: 520px; margin: 0 auto 26px; }
.err-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.err-tip { margin-top: 26px; color: var(--text-2); font-size: 14px; }
.err-tip a { color: var(--primary); font-weight: 600; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-700); color: rgba(255,255,255,.82); padding: 54px 0 26px; margin-top: 0; border-top: 4px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 32px; }
.footer-about .brand { color: #fff; margin-bottom: 16px; }
.footer-about .brand-mark { background: rgba(255,255,255,.14); }
.footer-about .brand-text strong { color: var(--accent-soft); }
.footer-desc { color: rgba(255,255,255,.72); font-size: 14px; margin: 0 0 16px; line-height: 1.7; }
.footer-contact { display: grid; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.82); }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { color: var(--accent-soft); }
.footer-col h4 { font-size: 15px; margin: 0 0 16px; color: #fff; position: relative; padding-left: 12px; }
.footer-col h4::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--accent); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.78); font-size: 14px; transition: color .15s ease; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-cities { grid-template-columns: 1fr 1fr; }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: rgba(255,255,255,.62); font-size: 13px;
}
.footer-icp { margin: 0; }
.footer-icp a { color: rgba(255,255,255,.82); }
.footer-icp a:hover { color: var(--accent-soft); }

/* ---------- 滚动揭示动画 ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { order: -1; max-width: 520px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .case-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promise-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .single-layout { grid-template-columns: 1fr; }
  .single-side { position: static; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
  }
  .site-nav.open { display: flex; }
  .nav-link { padding: 13px 8px; border-bottom: 1px solid var(--border); }
  .nav-link.active { border-left: 3px solid var(--accent); padding-left: 13px; }
  .nav-link::after { display: none; }
  .header-actions { margin-left: 0; }
  .phone-pill span { display: none; }
  .phone-pill { padding: 9px; }
  .feature-grid, .cat-grid, .case-grid, .card-grid, .steps, .news-grid, .footer-grid, .promise-bar { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .single-side { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .cta-inner { flex-direction: column; text-align: center; }
  .hero { padding: 46px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* 无障碍：聚焦可见 */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.dark a:focus-visible, .dark button:focus-visible { outline-color: var(--accent-soft); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== 内页增强：目录 / 延伸阅读 ===== */
.related-news { margin-top: 40px; padding: 24px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); }
.rel-title { font-size: 19px; margin: 0 0 16px; padding-left: 12px; border-left: 4px solid var(--accent); color: var(--text); }
.rel-news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rel-news-list li { padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: .2s ease; }
.rel-news-list li:hover { border-color: var(--primary-300); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.rel-news-list a { color: var(--text); font-size: 15px; line-height: 1.5; }
.rel-news-list a:hover { color: var(--primary); }
.toc-card nav, .toc-card #TableOfContents { font-size: 14px; }
.toc-card ul { list-style: none; margin: 0; padding: 0; }
.toc-card li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.toc-card li:last-child { border-bottom: none; }
.toc-card a { color: var(--muted); line-height: 1.5; }
.toc-card a:hover { color: var(--primary); }
.toc-card > nav > ul > li > ul { padding-left: 14px; }
.toc-card > nav > ul > li > a { font-weight: 600; color: var(--text); }

/* ===== 首页：品牌介绍 / 案例实拍 / CTA 二维码（含已收录图片） ===== */
.brand-strip { display: grid; grid-template-columns: minmax(0, 46%) 1fr; gap: 40px; align-items: center; }
.brand-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-card); display: block; }
.brand-copy h2 { margin: 8px 0 14px; }
.brand-copy p { color: var(--muted); line-height: 1.85; margin: 0 0 18px; }
.brand-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.brand-tags li { font-size: 14px; color: var(--primary); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; }

.case-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.case-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); background: var(--surface); border: 1px solid var(--border); }
.case-photos img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .4s ease; }
.case-photos figure:hover img { transform: scale(1.05); }
.case-photos figcaption { padding: 12px 14px; font-size: 14px; color: var(--text); font-weight: 600; }

.cta-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta-qr img { width: 140px; height: 140px; border-radius: 12px; background: #fff; padding: 8px; box-shadow: var(--shadow-card); }
.cta-qr span { font-size: 13px; color: rgba(255,255,255,.85); }

@media (max-width: 900px) {
  .brand-strip { grid-template-columns: 1fr; gap: 24px; }
  .case-photos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .case-photos img { height: 150px; }
}
@media (max-width: 520px) {
  .case-photos { grid-template-columns: 1fr 1fr; }
}
