/* 水墨风：宣纸 · 淡墨 · 浓墨 · 松烟绿（咨询） */
:root {
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --muted: #6b6b6b;
  --wash: #8f8f8f;
  --mist: #c5c0b6;
  --vermilion: #2f3a42;
  --vermilion-dark: #1a1a1a;
  --bronze: #5c5c5c;
  --bronze-light: #d8d4cc;
  --paper: #f3efe6;
  --paper-2: #e7e2d7;
  --white: #faf8f3;
  --line: rgba(26, 26, 26, 0.1);
  --line-gold: rgba(26, 26, 26, 0.14);
  --shadow: 0 10px 32px rgba(26, 26, 26, 0.07);
  --wechat: #3a6b55;
  --wechat-dark: #2d5443;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
html[data-locale="zh-TW"] {
  --font-display: "Noto Serif TC", "Noto Serif SC", "PingFang TC", "Microsoft JhengHei", serif;
  --font-body: "Noto Sans TC", "Noto Sans SC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 90% 50% at 10% 0%, rgba(26,26,26,.04), transparent 50%),
    radial-gradient(ellipse 70% 40% at 90% 100%, rgba(47,58,66,.05), transparent 45%),
    linear-gradient(180deg, #f7f4ed 0%, var(--paper) 45%, #ebe6db 100%);
  line-height: 1.8;
  min-height: 100vh;
}
a { color: var(--wechat-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

/* Header — 浓墨 */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26, 26, 26, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: 1.25rem; color: #f0ebe3 !important;
  letter-spacing: .16em; white-space: nowrap; font-weight: 600;
}
.brand img { width: 32px; height: 32px; filter: invert(1) brightness(1.1); }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a {
  color: rgba(250, 248, 243, 0.78); font-size: .92rem;
  position: relative; letter-spacing: .04em;
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: -9px;
  height: 1px; background: rgba(250,248,243,.55);
}
.header-cta {
  display: inline-flex; align-items: center;
  padding: .4rem .95rem;
  border: 1px solid rgba(250,248,243,.35);
  color: #f0ebe3 !important;
  font-size: .84rem; letter-spacing: .08em;
  background: transparent; cursor: pointer; font-family: inherit;
}
.header-cta:hover { background: rgba(58, 107, 85, 0.85); border-color: var(--wechat); }

/* 简繁切换 */
html[data-locale="zh-TW"]:not(.locale-ready) body { visibility: hidden; }
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(250,248,243,.28);
  overflow: hidden; flex-shrink: 0;
}
.lang-btn {
  border: none; background: transparent; color: rgba(250,248,243,.65);
  font-size: .78rem; padding: .32rem .55rem; cursor: pointer;
  font-family: inherit; letter-spacing: .06em; line-height: 1.2;
}
.lang-btn + .lang-btn { border-left: 1px solid rgba(250,248,243,.2); }
.lang-btn:hover { color: #fff; background: rgba(255,255,255,.06); }
.lang-btn.is-active {
  color: #1a1a1a; background: #f0ebe3; font-weight: 600;
}
.footer-lang {
  margin-top: .65rem !important;
  font-size: .78rem !important;
  color: rgba(250,248,243,.5);
}
.lang-link {
  background: none; border: none; padding: 0; cursor: pointer;
  color: rgba(250,248,243,.72); font: inherit; text-decoration: underline;
  text-underline-offset: 3px;
}
.lang-link:hover, .lang-link.is-active { color: #fff; }
.lang-link.is-active { text-decoration: none; font-weight: 600; }
.nav-lang {
  display: none;
  padding: .75rem .4rem .35rem;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: .4rem;
  font-size: .9rem;
  color: rgba(250,248,243,.55);
}
.nav-lang .lang-link { color: rgba(250,248,243,.78); }
.nav-lang .lang-link.is-active { color: #fff; }
.nav-toggle {
  display: none; background: none;
  border: 1px solid rgba(250,248,243,.35);
  color: #f0ebe3; padding: .4rem .7rem; cursor: pointer;
}

/* Hero — 浅宣纸水墨 */
.hero {
  position: relative; min-height: min(86vh, 680px);
  display: flex; align-items: flex-end; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(243,239,230,.92) 0%, rgba(243,239,230,.55) 42%, rgba(26,26,26,.35) 100%),
    url("/static/images/hero-guoxue.svg") center/cover no-repeat;
  color: var(--ink);
}
.hero::before {
  content: "";
  position: absolute; inset: 1.1rem;
  border: 1px solid rgba(26, 26, 26, 0.12);
  pointer-events: none; z-index: 1;
}
.hero-inner { position: relative; z-index: 2; padding: 4.5rem 0 3.2rem; max-width: 40rem; }
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 3.4rem);
  letter-spacing: .2em; color: var(--ink);
  margin: 0 0 .75rem; line-height: 1.15; font-weight: 600;
  animation: rise .85s ease both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 400;
  margin: 0 0 .85rem; color: var(--ink-soft);
  letter-spacing: .06em;
  animation: rise .85s ease .08s both;
}
.hero-lead {
  margin: 0 0 1.6rem; color: var(--muted); font-size: .98rem;
  max-width: 34rem; line-height: 1.9;
  animation: rise .85s ease .16s both;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; animation: rise .85s ease .24s both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero-page {
  position: relative;
  min-height: min(44vh, 380px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(243,239,230,.94) 0%, rgba(243,239,230,.7) 50%, rgba(26,26,26,.28) 100%),
    url("/static/images/hero-guoxue.svg") center/cover no-repeat;
  color: var(--ink);
}
.hero-page::before {
  content: "";
  position: absolute; inset: .85rem;
  border: 1px solid rgba(26, 26, 26, 0.1);
  pointer-events: none;
}
.hero-page .hero-inner {
  max-width: 44rem;
  padding: 2.8rem 0 2.3rem;
  z-index: 1;
}
.hero-page .hero-brand {
  font-size: clamp(1.75rem, 3.8vw, 2.4rem);
  margin-bottom: .45rem;
}
.hero-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: .06em;
  font-weight: 400;
  margin: 0 0 .65rem;
  color: var(--ink-soft);
}
.hero-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  font-size: .8rem; color: var(--muted);
  margin-bottom: .9rem;
  animation: rise .7s ease both;
}
.hero-crumb a { color: var(--ink-soft); }
.hero-crumb a:hover { color: var(--ink); }
.hero-crumb .sep { opacity: .45; }

/* 浅色 Hero 上的 ghost 按钮 */
.hero .btn-ghost,
.hero-page .btn-ghost {
  color: var(--ink) !important;
  border-color: rgba(26, 26, 26, 0.28);
}
.hero .btn-ghost:hover,
.hero-page .btn-ghost:hover {
  background: rgba(26, 26, 26, 0.06);
}

/* 详情布局 */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .7fr);
  gap: 1.75rem;
  align-items: start;
}
.detail-main { min-width: 0; }
.detail-side { position: sticky; top: 88px; }
.side-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.3rem;
  margin-bottom: 1rem;
}
.side-panel h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 .85rem;
  letter-spacing: .1em;
  font-weight: 600;
}
.side-cert-img {
  aspect-ratio: 4/5;
  background: var(--paper-2);
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  overflow: hidden;
}
.side-cert-img.wide { aspect-ratio: 16/10; }
.side-cert-img img { width: 100%; height: 100%; object-fit: cover; }
.side-actions { display: flex; flex-direction: column; gap: .55rem; }
.side-actions .btn { width: 100%; }
.side-consult-desc { margin: -.4rem 0 1rem; font-size: .9rem; color: var(--muted); }
.side-org-summary { margin: 0 0 .8rem; font-size: .9rem; color: var(--ink-soft); }

.toolbar-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.toolbar-panel .search-bar { margin-bottom: .85rem; }
.toolbar-panel .filters { margin-bottom: 0; }

.content-block {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.55rem 1.45rem 1.7rem;
  margin-bottom: 1.25rem;
}
.content-block > h2:first-child {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 1rem;
  letter-spacing: .12em;
  font-weight: 600;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.content-block > h2:first-child::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 2.2rem; height: 2px; background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .72rem 1.4rem; border: 1px solid transparent;
  font-size: .92rem; cursor: pointer; transition: .2s ease;
  letter-spacing: .06em;
}
.btn-primary {
  background: var(--ink); color: #fff !important;
  border-color: var(--ink);
}
.btn-primary:hover { background: #333; border-color: #333; }
.btn-ghost {
  background: transparent; color: var(--bronze-light) !important;
  border-color: rgba(216, 212, 204, 0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
button.btn { font-family: inherit; }
.btn-dark { background: var(--ink); color: #fff !important; }
.btn-dark:hover { background: #333; }
.btn-outline {
  background: transparent; color: var(--ink) !important;
  border-color: rgba(26, 26, 26, 0.22);
}
.btn-outline:hover { border-color: var(--ink); background: rgba(26,26,26,.04); }
.btn-wechat {
  background: var(--wechat); color: #fff !important;
  border-color: var(--wechat);
  font-weight: 600;
}
.btn-wechat:hover { background: var(--wechat-dark); border-color: var(--wechat-dark); }
.btn-wechat-lg { padding: .9rem 1.8rem; font-size: 1rem; }

/* Trust */
.trust-strip {
  background: #2a2a2a; color: rgba(250, 248, 243, 0.78);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; padding: 1.15rem 0;
}
.trust-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem 1rem; border-right: 1px solid rgba(255,255,255,.08);
}
.trust-item:last-child { border-right: none; }
.trust-item img { width: 26px; height: 26px; flex-shrink: 0; filter: brightness(0) invert(.85); }
.trust-item strong {
  display: block; color: #f0ebe3;
  font-size: .92rem; font-weight: 600;
  font-family: var(--font-display); letter-spacing: .04em;
}
.trust-item span { font-size: .76rem; color: rgba(250,248,243,.5); }

/* Sections */
.section { padding: 4rem 0; }
.section-alt {
  background: rgba(255,255,255,.4);
  border-block: 1px solid var(--line);
}
.section-dark { background: var(--ink); color: rgba(250,248,243,.88); border: none; }
.section-dark .section-head h2 { color: #f0ebe3; }
.section-dark .section-head p { color: rgba(250,248,243,.6); }
.section-head { margin-bottom: 2rem; max-width: 40rem; }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .28em;
  color: var(--muted);
  margin-bottom: .5rem;
  padding-left: .65rem;
  border-left: 2px solid var(--ink);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 1.95rem);
  margin: 0 0 .5rem; letter-spacing: .12em;
  color: var(--ink); font-weight: 600;
}
.section-head p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.section-foot { margin-top: 2rem; }

.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem;
}
.process-item {
  padding: 1.4rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 2px solid var(--ink);
}
.process-num {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--wash); line-height: 1; margin-bottom: .65rem;
  letter-spacing: .06em; font-weight: 600;
}
.process-item h3 {
  margin: 0 0 .4rem; font-size: 1.05rem;
  font-family: var(--font-display); letter-spacing: .08em; font-weight: 600;
}
.process-item p { margin: 0; font-size: .9rem; color: var(--muted); }

.cert-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.cert-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(26, 26, 26, 0.22);
}
.cert-card-media {
  position: relative; aspect-ratio: 4/5;
  background: var(--paper-2); overflow: hidden;
}
.cert-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.cert-card:hover .cert-card-media img { transform: scale(1.02); }
.cert-card-body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.cert-card h3 {
  font-size: 1.05rem; margin: .45rem 0 .4rem; font-weight: 600;
  line-height: 1.45; font-family: var(--font-display); letter-spacing: .03em;
}
.cert-card h3 a { color: var(--ink); }
.cert-card h3 a:hover { color: var(--wechat-dark); }
.cert-meta { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.cert-summary {
  margin: 0 0 1rem; font-size: .9rem; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.cert-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; margin-top: auto; padding-top: .35rem;
  border-top: 1px solid var(--line);
}
.badge {
  display: inline-block; font-size: .68rem; padding: .15rem .5rem;
  border: 1px solid var(--mist); color: var(--muted);
  letter-spacing: .06em; background: transparent;
  font-family: var(--font-display);
}
.badge-hot {
  border-color: var(--wechat); color: var(--wechat);
  background: rgba(58, 107, 85, 0.06);
}
.link-more { font-size: .86rem; color: var(--wechat-dark); white-space: nowrap; }
.link-more:hover { color: var(--ink); }
button.link-more,
button.link-wechat {
  background: none; border: none; padding: 0; cursor: pointer;
  font: inherit; color: var(--wechat); letter-spacing: .04em;
}
button.link-wechat:hover { color: var(--wechat-dark); text-decoration: underline; text-underline-offset: 3px; }

.org-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.org-card {
  display: grid; grid-template-columns: 148px 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line);
  overflow: hidden; transition: box-shadow .25s;
}
.org-card:hover { box-shadow: var(--shadow); }
.org-card-logo { background: #2a2a2a; min-height: 120px; }
.org-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.org-card-body { padding: 1.1rem 1.2rem; }
.org-card h3 {
  margin: 0 0 .4rem; font-size: 1.05rem;
  font-family: var(--font-display); letter-spacing: .05em; font-weight: 600;
}
.org-card h3 a { color: var(--ink); }
.org-card p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.article-card {
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: box-shadow .25s;
}
.article-card:hover { box-shadow: var(--shadow); }
.article-card-media { aspect-ratio: 16/9; background: #2a2a2a; overflow: hidden; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 1.1rem 1.15rem 1.3rem; }
.article-card h3 {
  margin: .35rem 0 .45rem; font-size: 1.05rem; line-height: 1.5;
  font-family: var(--font-display); font-weight: 600;
}
.article-card h3 a { color: var(--ink); }

.fact-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  padding: 1.15rem 1.35rem;
  margin: 1rem 0;
}
.fact-block dt {
  font-weight: 600; color: var(--ink); margin-top: .65rem;
  font-size: .92rem; font-family: var(--font-display); letter-spacing: .04em;
}
.fact-block dt:first-child { margin-top: 0; }
.fact-block dd { margin: .2rem 0 0; color: var(--ink-soft); font-size: .92rem; }

.authority-panel {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.2rem; align-items: center;
}
.authority-visual {
  position: relative; aspect-ratio: 4/5; max-width: 360px;
  background: var(--paper-2); border: 1px solid var(--line);
  box-shadow: inset 0 0 0 8px var(--white), inset 0 0 0 9px var(--line);
}
.authority-visual img { width: 100%; height: 100%; object-fit: cover; }
.authority-visual .seal-mark {
  position: absolute; right: -10px; bottom: 28px; width: 80px; opacity: .85;
  animation: floatSeal 5s ease-in-out infinite;
}
@keyframes floatSeal {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.authority-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.authority-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
  font-size: .93rem; color: var(--ink-soft);
}
.authority-list img { width: 22px; height: 22px; margin-top: .15rem; flex-shrink: 0; }

.faq-list details {
  border-bottom: 1px solid var(--line); padding: 1.05rem 0;
}
.faq-list summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  font-family: var(--font-display); letter-spacing: .03em;
  min-height: 48px; padding: .2rem 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "＋"; color: var(--wash); font-size: 1.05rem; flex-shrink: 0; }
.faq-list details[open] summary { color: var(--ink); }
.faq-list details[open] summary::after { content: "－"; }
.faq-list .faq-a { margin-top: .65rem; color: var(--ink-soft); padding-right: 1.5rem; line-height: 1.85; }

.prose { max-width: 46rem; }
.prose h2 {
  font-family: var(--font-display); font-size: 1.28rem;
  margin: 1.9rem 0 .7rem; letter-spacing: .08em; font-weight: 600;
}
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter-chip {
  padding: .38rem .9rem; border: 1px solid var(--line);
  color: var(--ink-soft); font-size: .86rem; background: var(--white);
}
.filter-chip.is-active, .filter-chip:hover {
  border-color: var(--ink); color: var(--ink);
}
.search-bar { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.search-bar input {
  flex: 1; padding: .7rem .95rem; border: 1px solid var(--line);
  background: var(--white); font: inherit;
}
.search-bar button {
  padding: .7rem 1.15rem; background: var(--ink); color: #fff;
  border: none; cursor: pointer;
}

.empty-state {
  text-align: center; padding: 3rem 1rem; color: var(--muted);
  background: var(--white); border: 1px dashed var(--line);
}
.empty-state img { width: 72px; margin: 0 auto 1rem; opacity: .6; }

.cta-band {
  background:
    linear-gradient(120deg, rgba(26,26,26,.9), rgba(47,58,66,.82)),
    url("/static/images/hero-guoxue.svg") center/cover;
  color: #fff; padding: 3.2rem 0; text-align: center;
  position: relative;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 1rem;
  border: 1px solid rgba(255,255,255,.15);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  margin: 0 0 .6rem; color: #f0ebe3; letter-spacing: .14em; font-weight: 600;
}
.cta-band p { margin: 0 0 1.3rem; color: rgba(255,255,255,.72); }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn-ghost {
  color: #f0ebe3 !important;
  border-color: rgba(240,235,227,.45);
}

.site-footer {
  background: #1a1a1a; color: rgba(250,248,243,.68);
  padding: 3.2rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.site-footer h3 {
  font-family: var(--font-display); color: #f0ebe3;
  margin: 0 0 .85rem; font-size: 1.05rem; letter-spacing: .1em; font-weight: 600;
}
.site-footer a { color: rgba(250,248,243,.68); }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0 0 .45rem; font-size: .9rem; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.2rem; font-size: .78rem; text-align: center;
}

.pagination-wrap { margin-top: 2rem; }
.pagination-wrap ul {
  display: flex; gap: .4rem; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0;
}
.pagination-wrap li a,
.pagination-wrap li span {
  display: inline-block; padding: .4rem .75rem;
  border: 1px solid var(--line); color: var(--ink-soft); font-size: .88rem;
  background: var(--white);
}
.pagination-wrap li.active span {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pillar {
  background: var(--white); border: 1px solid var(--line);
  padding: 1.45rem 1.25rem; border-top: 2px solid var(--ink);
}
.pillar img { width: 34px; height: 34px; margin-bottom: .8rem; }
.pillar h3 {
  margin: 0 0 .45rem; font-size: 1.05rem;
  font-family: var(--font-display); letter-spacing: .06em; font-weight: 600;
}
.pillar p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ===== 微信咨询转化 ===== */
.consult-strip {
  background: linear-gradient(90deg, #eef5f1, #f3efe6 40%, #eef5f1);
  border-bottom: 1px solid rgba(58, 107, 85, 0.2);
}
.consult-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 0; flex-wrap: wrap;
}
.consult-strip-text { display: flex; flex-direction: column; gap: .2rem; }
.consult-strip-text strong {
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em;
}
.consult-strip-text span { font-size: .88rem; color: var(--muted); }

.consult-card {
  background: linear-gradient(160deg, #f7faf8, var(--white));
  border: 1px solid rgba(58, 107, 85, 0.28);
  padding: 1.6rem 1.5rem 1.7rem;
  margin-bottom: 1.25rem;
  position: relative;
}
.consult-card-mid { margin-top: .25rem; }
.consult-card-badge {
  display: inline-block;
  font-size: .72rem; letter-spacing: .16em;
  color: var(--wechat); border: 1px solid rgba(58,107,85,.35);
  padding: .2rem .55rem; margin-bottom: .75rem;
  font-family: var(--font-display);
}
.consult-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; margin: 0 0 .55rem;
  letter-spacing: .08em; font-weight: 600;
}
.consult-card > p { margin: 0 0 1rem; color: var(--ink-soft); font-size: .94rem; }
.consult-points {
  list-style: none; padding: 0; margin: 0 0 1.2rem;
  display: flex; flex-wrap: wrap; gap: .5rem .9rem;
}
.consult-points li {
  font-size: .86rem; color: var(--wechat-dark);
  padding-left: .9rem; position: relative;
}
.consult-points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .4rem; height: .4rem; border-radius: 50%; background: var(--wechat);
}
.consult-wechat-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .85rem;
  padding: 1rem 1.1rem;
  background: rgba(58, 107, 85, 0.06);
  border: 1px dashed rgba(58, 107, 85, 0.35);
  margin-bottom: .65rem;
}
.consult-wechat-box.compact {
  flex-direction: column; align-items: flex-start;
  margin-bottom: 1rem;
}
.consult-wechat-label {
  font-size: .78rem; color: var(--muted); letter-spacing: .12em;
}
.consult-wechat-id {
  font-family: var(--font-display);
  font-size: 1.35rem; letter-spacing: .06em; color: var(--ink);
}
.consult-tip { margin: 0; font-size: .8rem; color: var(--muted); }
.side-consult .consult-tip { margin-top: .75rem; }
.inline-consult {
  margin-top: 1.1rem !important;
  padding-top: .9rem;
  border-top: 1px dashed var(--line);
  font-size: .92rem !important;
}
.text-wechat {
  background: none; border: none; padding: 0;
  color: var(--wechat); font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.text-wechat:hover { color: var(--wechat-dark); }
.hint-inline { font-size: .82rem; color: var(--muted); margin-left: .35rem; }

.sticky-consult {
  border-top: 3px solid var(--wechat);
  box-shadow: var(--shadow);
}

/* 微信二维码 */
.wechat-qr-box {
  text-align: center;
  margin: 0 0 1rem;
  padding: 1rem .85rem;
  background: #fff;
  border: 1px solid rgba(58, 107, 85, 0.22);
}
.wechat-qr-box img {
  width: 148px; height: 148px; margin: 0 auto;
  object-fit: cover; background: #f7f7f5;
}
.wechat-qr-tip {
  margin: .7rem 0 0;
  font-family: var(--font-display);
  font-size: .88rem; letter-spacing: .1em; color: var(--ink);
}
.wechat-qr-id {
  margin: .25rem 0 0; font-size: .8rem; color: var(--muted);
}
.side-consult .wechat-qr-box img {
  width: 132px; height: 132px;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .55fr);
  gap: 1.25rem; align-items: start; max-width: 52rem;
}
.contact-qr-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--wechat);
  padding: 1.2rem 1rem; text-align: center;
}
.contact-qr-panel .btn { width: 100%; margin-top: .35rem; }
.contact-qr-panel .consult-tip { margin-top: .65rem; }
.contact-layout .contact-board { max-width: none; }
@media (max-width: 720px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* 微信咨询弹层 */
.wechat-modal {
  position: fixed; inset: 0; z-index: 140;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.wechat-modal[hidden] { display: none !important; }
.wechat-modal-backdrop {
  position: absolute; inset: 0; background: rgba(26, 26, 26, 0.55);
}
.wechat-modal-panel {
  position: relative; z-index: 1;
  width: min(360px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem 1.35rem 1.45rem;
  box-shadow: 0 20px 48px rgba(26, 26, 26, 0.18);
}
.wechat-modal-close {
  position: absolute; right: .7rem; top: .45rem;
  border: none; background: none; font-size: 1.5rem;
  line-height: 1; cursor: pointer; color: var(--muted); padding: .2rem .45rem;
}
.wechat-modal-panel h3 {
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  font-size: 1.2rem; letter-spacing: .1em; font-weight: 600;
  text-align: center;
}
.wechat-modal-desc {
  margin: 0 0 1rem; text-align: center;
  font-size: .88rem; color: var(--muted);
}
.wechat-modal-qr { margin-bottom: 1rem; }
body.wechat-modal-open { overflow: hidden; }

.mobile-consult-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 88;
  background: rgba(250, 248, 243, 0.97);
  border-top: 1px solid rgba(58, 107, 85, 0.3);
  padding: .65rem .9rem calc(.65rem + env(safe-area-inset-bottom));
  align-items: center; justify-content: space-between; gap: .75rem;
  box-shadow: 0 -8px 24px rgba(26,26,26,.08);
}
.mobile-consult-text { display: flex; flex-direction: column; min-width: 0; }
.mobile-consult-text strong { font-size: .82rem; color: var(--wechat-dark); }
.mobile-consult-text span {
  font-family: var(--font-display); font-size: 1.05rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.info-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.info-table th, .info-table td {
  padding: .85rem 0; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top; line-height: 1.7;
}
.info-table th {
  width: 7.5rem; color: var(--muted); font-weight: 500;
  font-family: var(--font-display); letter-spacing: .08em; white-space: nowrap;
}
.info-table td { color: var(--ink-soft); }
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

.contact-board {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  background: var(--white); border: 1px solid var(--line); max-width: 44rem;
}
.contact-board .contact-item {
  padding: 1.3rem 1.35rem;
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
}
.contact-board .contact-item:nth-child(2n) { border-right: none; }
.contact-board .contact-item:nth-last-child(-n+2) { border-bottom: none; }
.contact-board .label {
  display: block; font-family: var(--font-display);
  font-size: .8rem; letter-spacing: .14em; color: var(--muted); margin-bottom: .4rem;
}
.contact-board .value { font-size: 1.02rem; color: var(--ink); word-break: break-all; }
.contact-board a { color: var(--ink); }
.contact-board .copy-btn {
  color: var(--ink); text-decoration: none; text-align: left; font-size: 1.02rem;
}
.contact-board .copy-btn:hover { color: var(--wechat); }

.section-ornament {
  display: flex; align-items: center; gap: .85rem;
  margin: 0 0 1.4rem; color: var(--wash);
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .32em;
}
.section-ornament::before,
.section-ornament::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--mist), transparent);
}

.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-brand, .hero h1, .hero-lead, .hero-cta { animation: none; }
  .authority-visual .seal-mark { animation: none; }
}

@media (max-width: 960px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .process-grid, .cert-grid, .article-grid, .pillar-grid { grid-template-columns: 1fr 1fr; }
  .org-grid { grid-template-columns: 1fr; }
  .authority-panel, .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-page { min-height: min(38vh, 320px); }
  .hero::before, .hero-page::before { inset: .7rem; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .35rem; }
  .header-cta { display: none; }
  .lang-switch { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }
  .brand { order: 1; }
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: rgba(26,26,26,.98);
    padding: 1rem 1.25rem 1.4rem; gap: .15rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    max-height: calc(100vh - 68px); overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: .85rem .4rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 1rem;
  }
  .nav a.is-active::after { display: none; }
  .nav-lang { display: block; }
  .nav-mobile-cta {
    display: flex !important; margin-top: .6rem;
    justify-content: center; background: var(--wechat) !important;
    color: #fff !important; border: none !important;
  }
  .trust-grid, .process-grid, .cert-grid, .article-grid, .pillar-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: .75rem .2rem; }
  .org-card { grid-template-columns: 1fr; }
  .org-card-logo { min-height: 140px; }
  .hero { min-height: 72vh; }
  .hero-inner { padding: 3rem 0 2.4rem; }
  .hero-page { min-height: min(36vh, 280px); }
  .hero-page .hero-inner { padding: 2.2rem 0 1.8rem; }
  .btn { min-height: 44px; padding: .75rem 1.2rem; }
  .filter-chip { min-height: 40px; display: inline-flex; align-items: center; }
  .search-bar { flex-direction: column; }
  .search-bar button { width: 100%; min-height: 44px; }
  body { padding-bottom: 68px; }
  body.has-consult-bar { padding-bottom: 128px; }
  .mobile-tabbar { display: grid; }
  body.has-consult-bar .mobile-tabbar { display: none; }
  .mobile-consult-bar { display: flex; }
  .float-tools { bottom: 78px; right: .7rem; }
  body.has-consult-bar .float-tools { bottom: 72px; }
  .site-footer { padding-bottom: 2rem; }
  .contact-board { grid-template-columns: 1fr; }
  .contact-board .contact-item { border-right: none; }
  .contact-board .contact-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-board .contact-item:last-child { border-bottom: none; }
  .consult-strip-inner { flex-direction: column; align-items: stretch; }
  .consult-strip .btn { width: 100%; }
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: .75rem; top: .75rem; }

.brand-short { display: none; }
.nav-mobile-cta { display: none !important; }
.nav-toggle-bars {
  display: inline-block; width: 16px; height: 12px; position: relative;
  background: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.nav-backdrop {
  position: fixed; inset: 68px 0 0 0; background: rgba(0,0,0,.45); z-index: 90;
}
body.nav-open { overflow: hidden; }

.footer-desc { margin-top: .85rem; font-size: .9rem; }
.copy-btn {
  background: none; border: none; color: #f0ebe3;
  cursor: pointer; padding: 0; font: inherit; text-decoration: underline;
  text-underline-offset: 3px;
}
.copy-btn:hover { color: #fff; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.filter-chip:focus-visible,
.search-bar input:focus-visible {
  outline: 2px solid var(--wechat);
  outline-offset: 2px;
}

.float-tools {
  position: fixed; right: 1rem; bottom: 1.4rem; z-index: 80;
  display: flex; flex-direction: column; gap: .45rem;
}
.float-btn {
  width: 48px; min-height: 48px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(26,26,26,.92); color: #f0ebe3;
  cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .1rem;
  font-size: .65rem; padding: .35rem .2rem; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .15s, background .15s;
}
.float-btn:hover {
  background: var(--wechat); color: #fff; border-color: var(--wechat);
  transform: translateY(-2px);
}
.float-wechat {
  background: var(--wechat); border-color: var(--wechat); color: #fff;
}
.float-icon { font-size: .95rem; line-height: 1; }
.float-label { letter-spacing: .04em; }
.float-top[hidden] { display: none !important; }

.toast {
  position: fixed; left: 50%; bottom: 6.5rem; transform: translateX(-50%) translateY(12px);
  background: rgba(26,26,26,.95); color: #fff; padding: .75rem 1.2rem;
  font-size: .9rem; z-index: 120; opacity: 0; pointer-events: none;
  border: 1px solid rgba(255,255,255,.12); transition: .2s ease;
  max-width: calc(100% - 2rem); text-align: center;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast[hidden] { display: none; }
.toast.is-show[hidden] { display: block; }

.mobile-tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(26,26,26,.97);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom));
}
.mobile-tabbar a,
.mobile-tabbar button {
  background: none; border: none; color: rgba(250,248,243,.6);
  font-size: .72rem; padding: .45rem .2rem; cursor: pointer;
  text-align: center; font-family: inherit; text-decoration: none;
  min-height: 48px;
}
.mobile-tabbar a.is-active,
.mobile-tabbar a:hover,
.mobile-tabbar button:hover { color: #fff; }

@media (hover: none) {
  .cert-card:hover { transform: none; }
}

.error-page {
  min-height: calc(100vh - 180px);
  display: flex; align-items: center;
  padding: 4rem 0 5rem;
}
.error-inner { text-align: center; max-width: 560px; margin-inline: auto; }
.error-code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 6rem);
  line-height: 1; color: var(--ink);
  letter-spacing: .14em; font-weight: 600;
}
.error-inner h1 {
  margin: .7rem 0 .85rem;
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 400; letter-spacing: .1em;
}
.error-desc { margin: 0 0 1.75rem; color: var(--muted); }
.error-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
