/* ============================================================
   北京市海诚公证处 — 全站共享样式
   覆盖：头部导航 / 页脚 / 首页 / 各二级页面组件
   ============================================================ */

/* ---------- 变量 ---------- */
:root {
  --primary: #e02020;
  --primary-dark: #b71c1c;
  --text-main: #333;
  --text-sub: #888;
  --text-light: #bbb;
  --bg-page: #f7f5f4;
  --bg-card: #ffffff;
  --bg-footer: #23262e;
  --line: #ececec;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .06);
  --container: 1200px;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 36px 0; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 4px;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ============================================================
   头部导航（首页与二级页共用）— 视觉参照原型主导航
   ============================================================ */
.site-header {
  background: rgba(255,255,255,.97);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #DEE5F0;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
/* ============ 左上角品牌（LOGO + 名称），按官网原型样式重构 ============ */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 46px; height: 46px; flex-shrink: 0; display: block; object-fit: contain; }
.brand-text { line-height: 1.25; text-align: center; }
.brand-name {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  font-size: 22px; font-weight: 900; letter-spacing: .06em;
  color: #222;
}
.brand-en {
  display: block;
  font-size: 10px; color: #222; letter-spacing: .02em;
  margin-top: 1px; white-space: nowrap;
}
.main-nav ul { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative; display: block; padding: 10px 15px;
  font-size: 15.5px; font-weight: 700; color: #43536F;
  letter-spacing: .03em; border-radius: 8px; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #C8102E, #D9A94A);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.main-nav a:hover { color: #0B1D3A; }
.main-nav a.active { color: #C8102E; font-weight: 700; }
.main-nav a.active::after { transform: scaleX(1); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: #0B1D3A; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   首页专属：Hero 横幅 / 服务卡片 / 联系我们
   ============================================================ */
.hero { padding: 24px 0 0; }
.hero-banner {
  position: relative; max-width: var(--container); margin: 0 auto; height: 460px;
  border-radius: 4px; overflow: hidden;
  background: linear-gradient(105deg, #8e1a1a 0%, #a83232 35%, #4a6fa5 100%);
}
.hero-banner > img { width: 100%; height: 100%; object-fit: cover; }
.hero-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(140,20,20,.75) 0%, rgba(150,30,30,.35) 35%, rgba(0,0,0,0) 60%);
}
.hero-text { position: absolute; z-index: 2; left: 8%; top: 18%; color: #fff; max-width: 60%; }
.hero-text h1 { font-size: 44px; font-weight: 700; letter-spacing: 6px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-text p { margin-top: 16px; font-size: 18px; letter-spacing: 2px; opacity: .92; }

.services { padding: 28px 0; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service-card {
  background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 12px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px;
  transition: transform .25s, box-shadow .25s; cursor: pointer; position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.service-card.dev { cursor: default; background: #f3f4f6; }
.service-card.dev:hover { transform: none; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.dev-badge { position: absolute; top: 8px; right: 8px; background: #f0a500; color: #fff; font-size: 11px; font-style: normal; padding: 2px 8px; border-radius: 10px; }
.service-icon { width: 56px; height: 56px; }
.service-icon svg { width: 100%; height: 100%; }
.service-card span { font-size: 15px; color: #444; }

.contact { padding: 28px 0 56px; }
.contact-panel { background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 44px; }
.contact-title { font-size: 22px; font-weight: 700; color: #222; margin-bottom: 32px; }
.contact-body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 0; align-items: flex-start; }
.contact-list li:last-child { margin-bottom: 0; }
.contact-ico { width: 44px; height: 44px; border-radius: 50%; background: #f5f5f5; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-ico svg { width: 20px; height: 20px; }
.contact-info h4 { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 4px; }
.contact-info p { font-size: 13px; color: var(--text-sub); word-break: break-all; }
.contact-map { position: relative; border-radius: var(--radius); overflow: hidden; background: #e8eef0; box-shadow: var(--shadow); min-height: 360px; }
.contact-map .real-map { width: 100%; height: 420px; border: 0; display: block; }
.contact-map .map-tip {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  background: rgba(224,11,15,.92); color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.2);
  max-width: 80%; line-height: 1.4;
}
.contact-map .map-badge {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  background: rgba(255,255,255,.92); color: #e02020; font-size: 12.5px; font-weight: 600;
  padding: 7px 12px; border-radius: 6px; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.contact-map .map-badge:hover { background: #fff; }

/* ============================================================
   二级页通用：页眉横幅 + 面包屑 + 内容区
   ============================================================ */
.page-banner {
  background: linear-gradient(105deg, #8e1a1a 0%, #a83232 55%, #4a6fa5 100%);
  color: #fff; padding: 40px 0 36px;
}
.page-banner h1 { font-size: 30px; font-weight: 700; letter-spacing: 3px; }
.page-banner .crumb { margin-top: 10px; font-size: 13px; opacity: .85; }
.page-banner .crumb a:hover { text-decoration: underline; }

.subpage { padding: 36px 0 56px; }
.subpage-card {
  background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px 40px;
}
.page-h2 { font-size: 22px; font-weight: 700; color: #222; margin: 0 0 22px; padding-left: 14px; border-left: 4px solid var(--primary); }
.page-h2:not(:first-child) { margin-top: 40px; }
.lead { color: #555; font-size: 15px; }

/* ---------- 机构简介专题 ---------- */
/* 锚点子导航 */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 28px; }
.subnav a {
  padding: 9px 20px; border: 1px solid var(--line); border-radius: 22px;
  font-size: 14px; color: #555; background: #fff; transition: all .2s;
}
.subnav a:hover, .subnav a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 概述强调 */
.lead.strong { font-size: 15.5px; line-height: 1.95; color: #4a4a4a; }

/* 五项举措编号卡 */
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.feat-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: box-shadow .2s; }
.feat-item:hover { box-shadow: var(--shadow); }
.feat-item .num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #e02020, #b71c1c); color: #fff;
  font-size: 18px; font-weight: 700; line-height: 38px; text-align: center;
}
.feat-item .body h4 { font-size: 16px; color: #222; margin-bottom: 8px; }
.feat-item .body p { font-size: 13.5px; color: #666; line-height: 1.85; }

/* 段落内重点引用块 */
.quote-block { background: #faf3f3; border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 22px; margin-top: 16px; font-size: 14.5px; color: #5a4a4a; line-height: 1.9; }
.quote-block b { color: var(--primary); }

/* 重要时间节点 chips */
.key-dates { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.date-chip { padding: 8px 16px; background: #fff; border: 1px dashed var(--primary); border-radius: 6px; font-size: 13.5px; color: #8a2a2a; }
.date-chip b { color: var(--primary); }

/* 荣誉标签 */
.honor-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.honor-pill { padding: 12px 22px; background: linear-gradient(135deg, #fff7f7, #fdecec); border: 1px solid #f3d6d6; border-radius: var(--radius); font-size: 15px; color: #8a2a2a; font-weight: 600; position: relative; }
.honor-pill.spec { background: linear-gradient(135deg, #fdecec, #f6d6d6); border-color: var(--primary); }

/* 收尾语 */
.closing { background: linear-gradient(105deg, #8e1a1a, #a83232 60%, #4a6fa5); color: #fff; border-radius: var(--radius); padding: 26px 30px; margin-top: 36px; font-size: 15px; line-height: 1.95; }


/* ---------- 数据块 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 8px 0 8px; }
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat-box .num { font-size: 32px; font-weight: 700; color: var(--primary); }
.stat-box .label { font-size: 13px; color: var(--text-sub); margin-top: 6px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 28px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 24px 8px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.timeline .year { font-weight: 700; color: #222; }
.timeline .desc { font-size: 14px; color: #666; }

/* ---------- 网格列表（公证员/下载等） ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.notary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; transition: box-shadow .2s, transform .2s; }
.notary-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; font-weight: 700; }
/* 真实照片卡片（竖版圆角矩形，顶部对齐，保证头顶不被裁切） */
.notary-photo { width: 116px; height: 140px; border-radius: 10px; margin: 0 auto 14px; object-fit: cover; object-position: center top; border: 3px solid #f3ecec; box-shadow: var(--shadow); display: block; background: #f0ecec; }
.notary-photo.placeholder { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 40px; font-weight: 700; background: linear-gradient(135deg, #c0392b, #e02020); border: none; }
.notary-card .no { display: inline-block; font-size: 12px; color: #fff; background: var(--primary); border-radius: 20px; padding: 2px 11px; margin-bottom: 10px; letter-spacing: 1px; }
.notary-card h4 { font-size: 17px; color: #222; }
.notary-card .phone { margin-top: 12px; font-size: 13px; color: #555; text-align: left; display: inline-block; }
.notary-card .phone .row { display: flex; gap: 6px; padding: 3px 0; }
.notary-card .phone .label { display: inline-block; min-width: 60px; color: var(--text-sub); }
.notary-card .phone .val { color: #222; font-weight: 600; letter-spacing: .3px; }
.notary-card .phone .val.none { color: var(--text-light); font-weight: 400; }
.notary-card .role { font-size: 13px; color: var(--primary); margin: 4px 0 2px; }

/* ---------- 公证书查验 ---------- */
.contact-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 30px; }
.contact-quick .cq { background: #faf3f3; border: 1px solid #f3e0e0; border-radius: var(--radius); padding: 16px; text-align: center; }
.contact-quick .cq .t { font-size: 13px; color: var(--text-sub); }
.contact-quick .cq .v { font-size: 18px; font-weight: 700; color: var(--primary); margin-top: 5px; letter-spacing: .5px; }
.contact-quick .cq .v small { font-size: 12px; font-weight: 400; color: var(--text-sub); }

.verify-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.v-method { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: box-shadow .2s; }
.v-method:hover { box-shadow: var(--shadow); }
.v-method .ico { width: 52px; height: 52px; border-radius: 12px; background: #fdecec; color: var(--primary); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.v-method .ico svg { width: 28px; height: 28px; }
.v-method .body { flex: 1; }
.v-method h4 { font-size: 17px; color: #222; margin-bottom: 8px; }
.v-method p { font-size: 14px; color: #555; line-height: 1.85; }
.v-method .hl { color: var(--primary); font-weight: 600; }
.v-method .body a { color: var(--primary); border-bottom: 1px solid rgba(224,32,32,.3); }

.addr-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-top: 22px; }
.addr-panel h4 { font-size: 16px; color: #222; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--primary); }
.addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.addr-grid .item { font-size: 14px; color: #555; }
.addr-grid .item b { color: #333; display: inline-block; min-width: 66px; }

.note-box { background: #fff8f0; border: 1px solid #f3e0c8; border-radius: var(--radius); padding: 18px 24px; margin-top: 22px; font-size: 14px; color: #7a5a2a; line-height: 1.9; }
.note-box b { color: #b5711a; }

/* ---------- 筛选栏 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.filter-bar .search {
  flex: 1; min-width: 220px; position: relative;
}
.filter-bar .search input {
  width: 100%; padding: 10px 14px 10px 38px; border: 1px solid var(--line);
  border-radius: 4px; font-size: 14px; outline: none; transition: border-color .2s;
}
.filter-bar .search input:focus { border-color: var(--primary); }
.filter-bar .search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: #aaa; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 16px; border: 1px solid var(--line); border-radius: 20px;
  font-size: 13px; color: #666; background: #fff; cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- 列表项（政策法规 / 通知公告） ---------- */
.list-item {
  border-bottom: 1px solid var(--line); padding: 18px 4px; display: flex;
  flex-wrap: wrap; gap: 14px; align-items: flex-start; cursor: pointer; transition: background .15s;
  text-decoration: none; color: inherit;
}
a.list-item:hover { text-decoration: none; color: inherit; }
.list-item:hover { background: #faf7f6; }
.list-item .tag { flex-shrink: 0; padding: 3px 10px; border-radius: 4px; font-size: 12px; color: #fff; background: var(--primary); align-self: center; }
.list-item .meta { flex: 1; }
.list-item .meta h4 { font-size: 15px; color: #222; font-weight: 600; }
.list-item .meta .sub { font-size: 12px; color: var(--text-sub); margin-top: 4px; }
.list-item .arrow { color: var(--text-light); align-self: center; }
.detail {
  display: none; padding: 14px 4px 6px; font-size: 14px; color: #555;
  border-bottom: 1px solid var(--line); line-height: 1.8;
}
.detail.open { display: block; flex: 0 0 100%; }
.empty-tip { text-align: center; color: var(--text-sub); padding: 40px 0; display: none; }

/* 文章详情页正文排版 */
.article-title { font-family: "Noto Serif SC", "Songti SC", SimSun, serif; font-size: 26px; font-weight: 700; color: #10203A; margin: 0 0 14px; line-height: 1.4; }
.article-meta { margin: 0 0 18px; color: #7A8AA6; font-size: 13px; }
.article-meta .tag { display: inline-block; padding: 2px 10px; border-radius: 4px; background: var(--primary); color: #fff; font-size: 12px; margin-right: 8px; }
.article-meta .sub { margin-top: 8px; color: #43536F; font-size: 14px; line-height: 1.7; }
.article-body { display: block; padding: 18px 0 8px; font-size: 15px; color: #444; line-height: 1.9; border-top: 1px solid var(--line); margin-top: 10px; }
.article-body--text { white-space: pre-wrap; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--primary); font-size: 14px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

.detail p, .article-body p { margin: 0 0 12px; text-align: justify; }
.detail h3, .article-body h3 { font-size: 18px; color: #10203A; margin: 20px 0 10px; font-weight: 700; line-height: 1.5; }
.detail h4, .article-body h4 { font-size: 15px; color: #10203A; margin: 14px 0 8px; font-weight: 700; }
.detail ol, .detail ul, .article-body ol, .article-body ul { margin: 0 0 12px 22px; }
.detail li, .article-body li { margin-bottom: 6px; }

/* ---------- 标签页（收费标准） ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 24px; }
.tab {
  padding: 10px 22px; font-size: 15px; color: #666; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .2s;
}
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.tbl th { background: #faf3f3; color: #444; font-weight: 600; }
.tbl tr:nth-child(even) td { background: #fcfafa; }

/* ---------- 手风琴 / FAQ ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: none; }
.acc-head { padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; color: #222; background: #fff; }
.acc-head:hover { background: #faf7f6; }
.acc-head .plus { color: var(--primary); font-size: 20px; transition: transform .25s; }
.acc-item.open .acc-head .plus { transform: rotate(45deg); }
.acc-body { display: none; padding: 4px 20px 18px; font-size: 14px; color: #555; line-height: 1.8; }
.acc-item.open .acc-body { display: block; }

/* ---------- 步骤条（办证指南） ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 8px 0 8px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px; text-align: center; position: relative; }
.step .idx { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; line-height: 34px; margin: 0 auto 12px; }
.step h4 { font-size: 15px; color: #222; margin-bottom: 6px; }
.step p { font-size: 12px; color: var(--text-sub); }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: #444; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px;
  outline: none; font-family: inherit; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field input:disabled { background: #f2f2f2; color: #9a9a9a; cursor: not-allowed; }
.btn-primary:disabled { background: #cfcfcf; border-color: #cfcfcf; color: #fff; cursor: not-allowed; opacity: .85; }
.field textarea { resize: vertical; min-height: 90px; }
.form-result { margin-top: 18px; padding: 14px 18px; border-radius: 4px; font-size: 14px; display: none; }
.form-result.ok { display: block; background: #eaf7ee; color: #1f7a3d; border: 1px solid #bfe6cb; }
.form-result.err { display: block; background: #fdecec; color: #c0392b; border: 1px solid #f3c6c6; }
.form-result.loading { display: block; background: #eef4fb; color: #23527c; border: 1px solid #cfe2f3; }
.verify-ok { }
.verify-ok .vh { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.verify-ok .vinfo { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.verify-ok .vinfo li { font-size: 13px; color: #555; }
.verify-ok .vinfo li b { color: #333; margin-right: 4px; }
@media (max-width: 640px) { .verify-ok .vinfo { grid-template-columns: 1fr; } }

/* ---------- 下载列表 ---------- */
.dl-item { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; }
.dl-item .ico { width: 42px; height: 42px; border-radius: 6px; background: #fdecec; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.dl-item .info { flex: 1; }
.dl-item .info h4 { font-size: 15px; color: #222; }
.dl-item .info .sub { font-size: 12px; color: var(--text-sub); margin-top: 2px; }

/* ---------- 收费标准：文件列表（一行一文件，可扩展） ---------- */
.file-list { margin-top: 6px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.file-row { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-bottom: 1px solid #f1eeee; transition: background .2s; }
.file-row:last-child { border-bottom: none; }
.file-row:hover { background: #faf3f3; }
.file-row .f-no { flex-shrink: 0; width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 8px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; }
.file-row .f-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, #e02020, #b71c1c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.file-row .f-info { flex: 1; min-width: 0; }
.file-row .f-name { font-size: 15.5px; color: #222; font-weight: 600; }
.file-row .f-meta { font-size: 12.5px; color: var(--text-sub); margin-top: 3px; }
.file-row .f-dl { flex-shrink: 0; display: inline-block; padding: 9px 22px; border-radius: 4px; font-size: 14px; background: var(--primary); color: #fff; transition: background .2s; white-space: nowrap; }
.file-row .f-dl:hover { background: var(--primary-dark); }


/* ============================================================
   页脚（共用）
   ============================================================ */
.site-footer { background: var(--bg-footer); color: #9aa0ab; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 1.25fr; gap: 40px; padding-bottom: 44px; }
.footer-col h3 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 22px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: #9aa0ab; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.qr-row { display: flex; flex-wrap: nowrap; gap: 14px; align-items: flex-start; }
.qr-box { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr-box img { width: 90px; height: 90px; object-fit: contain; background: #fff; border-radius: 4px; padding: 5px; display: block; }
.qr-box span { font-size: 13px; color: #9aa0ab; }
.qr-box--badge { align-self: flex-start; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 13px; color: #6d737e; }
.footer-bottom .beian-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.footer-bottom .beian-badge { height: 16px; width: auto; display: block; }
.footer-bottom .beian-row span { color: #6d737e; }
.footer-bottom .beian-row a { color: #8a93a3; text-decoration: none; transition: color .15s; }
.footer-bottom .beian-row a:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 992px) {
  .hero-banner { height: 360px; }
  .hero-text h1 { font-size: 34px; letter-spacing: 4px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-body { grid-template-columns: 1fr; gap: 32px; }
  .contact-map .real-map { height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-quick { grid-template-columns: repeat(2, 1fr); }
  .verify-methods { grid-template-columns: 1fr; }
  .feat-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { height: 60px; }
  .brand { gap: 9px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 18px; letter-spacing: .06em; }
  .brand-en { display: none; }
  .nav-toggle { display: flex; }
  .main-nav { position: absolute; top: 60px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.08); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .main-nav.open { max-height: 360px; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 16px; gap: 0; }
  .main-nav a { padding: 12px 8px; font-weight: 700; color: #43536F; border-bottom: 1px solid #f2f2f2; }
  .main-nav a.active { color: #C8102E; }
  .main-nav a.active::after { display: none; }

  .hero { padding-top: 16px; }
  .hero-banner { height: 240px; }
  .hero-text { left: 6%; top: 22%; max-width: 88%; }
  .hero-text h1 { font-size: 24px; letter-spacing: 3px; }
  .hero-text p { font-size: 14px; margin-top: 10px; }

  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 20px 8px 16px; gap: 10px; }
  .service-icon { width: 44px; height: 44px; }
  .service-card span { font-size: 13px; }

  .page-banner { padding: 28px 0 26px; }
  .page-banner h1 { font-size: 22px; letter-spacing: 2px; }
  .subpage-card { padding: 24px 20px; }
  .contact-panel { padding: 24px 20px; }
  .contact-list li { gap: 12px; margin-bottom: 20px; }

  .stat-grid, .grid-3, .grid-2, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .qr-row { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .file-row { padding: 14px 16px; gap: 12px; }
  .file-row .f-ico { width: 38px; height: 38px; }
  .file-row .f-dl { margin-left: auto; }
  .addr-grid { grid-template-columns: 1fr; }
  .site-footer { padding-top: 36px; }
  .tabs { overflow-x: auto; white-space: nowrap; }
}

/* ============================================================
   首页「通知公告」预览板块
   ============================================================ */
.notice-preview { padding: 56px 0; background: #f6f8fb; }
.np-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.np-title { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; font-size: 24px; font-weight: 700; color: #10203A; letter-spacing: .02em; }
.np-more { font-size: 14px; color: var(--primary); text-decoration: none; }
.np-more:hover { text-decoration: underline; }
.np-list { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.np-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .15s; }
.np-item:last-child { border-bottom: none; }
.np-item:hover { background: #faf7f6; }
.np-date { flex-shrink: 0; width: 86px; font-size: 13px; color: #7A8AA6; font-variant-numeric: tabular-nums; }
.np-tag { flex-shrink: 0; padding: 2px 9px; border-radius: 4px; background: rgba(200, 16, 46, .08); color: var(--primary); font-size: 12px; }
.np-item h4 { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-arrow { flex-shrink: 0; color: var(--text-light); font-size: 18px; }
@media (max-width: 640px) {
  .notice-preview { padding: 40px 0; }
  .np-title { font-size: 20px; }
  .np-date { display: none; }
  .np-item { padding: 14px 16px; gap: 12px; }
}

/* ============================================================
   机构简介：机构概述图文排版（左文右图）
   ============================================================ */
.about-feature { display: flex; gap: 26px; align-items: stretch; margin-top: 18px; }
.about-feature-text { flex: 1; min-width: 0; }
.about-feature-text .lead:first-child { margin-top: 0; }
.about-figure { flex: 0 0 40%; margin: 0; align-self: center; }
.about-figure img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 6px 18px rgba(16, 32, 58, .14); }
.about-figure figcaption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--text-sub); }
#aboutCard p { text-indent: 2em; }
@media (max-width: 860px) {
  .about-feature { flex-direction: column; gap: 16px; }
  .about-figure { flex: none; width: 100%; }
}

/* ============================================================
   收费标准详情：与 Word 表格一致的表格呈现
   ============================================================ */
.fee-tbl { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 14px; line-height: 1.7; table-layout: fixed; }
.fee-tbl th, .fee-tbl td { border: 1px solid #e2d9d9; padding: 10px 12px; vertical-align: top; text-align: left; word-break: break-word; }
.fee-tbl th { background: #fbeaea; color: #8a2a2a; font-weight: 700; text-align: center; }
.fee-tbl td { color: #333; }
.fee-tbl tr:nth-child(even) td { background: #fcfafa; }
.fee-tbl .cat-cell { background: #faf3f3; font-weight: 700; color: #8a2a2a; text-align: center; }
@media (max-width: 640px) {
  .fee-tbl { font-size: 12.5px; }
  .fee-tbl th, .fee-tbl td { padding: 7px 8px; }
}

/* ============================================================
   收费标准详情：直接内嵌 PDF 原件（规避 HTML 表格样式问题）
   ============================================================ */
.fee-doc { margin: 14px 0 4px; }
.fee-doc-hint { font-size: 14px; color: var(--text-sub); margin: 0 0 14px; line-height: 1.6; }
.fee-doc-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.btn-pdf {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: 6px;
  background: var(--primary); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600; line-height: 1;
  transition: background .15s, opacity .15s;
}
.btn-pdf:hover { opacity: .9; }
.btn-pdf--dl { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn-pdf--dl:hover { background: rgba(200, 16, 46, .06); }
.fee-doc-frame {
  width: 100%; height: 82vh; min-height: 620px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  display: block;
}
@media (max-width: 640px) {
  .fee-doc-frame { height: 72vh; min-height: 460px; }
  .btn-pdf { flex: 1 1 auto; }
}
