/* ==========================================================================
   贵阳市南明区玖言商贸寄卖典当店 · 站点样式
   设计语言取自当票／价签／铜秤：宣纸米白底、墨黑字、朱砂印、铜金分割线
   ========================================================================== */

/* ---------- 1. 令牌 ---------- */
:root {
  --paper: #efebe2;
  --paper-2: #e5dfd3;
  --paper-3: #dcd5c6;
  --ink: #1a1613;
  --ink-soft: #4a423a;
  --ink-faint: #8a8177;
  --cinnabar: #b23a2a;
  --cinnabar-deep: #8f2c1f;
  --cinnabar-bright: #e0664f;
  --brass: #9a7b3c;
  --kraft: #d8c4a0;

  --line: rgba(26, 22, 19, 0.14);
  --line-strong: rgba(26, 22, 19, 0.28);
  --line-paper: rgba(239, 235, 226, 0.22);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;

  --rail: 68px;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1180px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  /* 注意：这里不能只用 overflow-x: hidden。
     部分手机内核（微信内置浏览器 / 安卓 WebView）在 body 上遇到 hidden 时，
     会把 body 变成滚动容器，导致其后代里的 position: fixed 元素（悬浮呼叫栏）
     不再跟随视口，滚动时会滞留在页面中间。
     clip 不会创建滚动容器，fixed 定位正常，旧内核则回退到 hidden。 */
  overflow-x: hidden;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  font-size: 13px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 8px;
}

/* ---------- 3. 排版 ---------- */
.display {
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-size: clamp(2.6rem, 9vw, 6.6rem);
}

.h2 {
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
}

.h3 {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.85;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* 眉标：小方块 + 短字，像价签顶栏 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--cinnabar);
  flex: none;
}

.section {
  padding: clamp(64px, 9vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.section--tight {
  padding: clamp(44px, 6vw, 80px) 0;
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
  border-top-color: transparent;
}

.section--kraft {
  background: var(--paper-2);
}

.section--dark .lead,
.section--dark .mono {
  color: rgba(239, 235, 226, 0.68);
}

.section--dark .eyebrow {
  color: rgba(239, 235, 226, 0.72);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 章节标题行：大标题 + 右侧说明，用铜金细线分隔 */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  padding-bottom: clamp(28px, 4vw, 52px);
  margin-bottom: clamp(32px, 5vw, 60px);
  border-bottom: 1px solid var(--line-strong);
}

.section--dark .sec-head {
  border-bottom-color: var(--line-paper);
}

.sec-head .h2 {
  margin-top: 18px;
  max-width: 20ch;
}

.sec-head__note {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.85;
}

.section--dark .sec-head__note {
  color: rgba(239, 235, 226, 0.68);
}

/* ---------- 4. 竖排招牌边栏 ---------- */
.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.rail__mark {
  writing-mode: vertical-rl;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.34em;
  padding-top: 4px;
}

.rail__mark em {
  font-style: normal;
  color: var(--cinnabar);
}

.rail__scale {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
}

.rail__dot {
  width: 7px;
  height: 7px;
  background: var(--brass);
  border-radius: 50%;
}

/* ---------- 5. 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: var(--rail);
  right: 0;
  z-index: 50;
  background: rgba(239, 235, 226, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.brand__cn {
  font-weight: 900;
  /* 工商全称较长（15 字），字号随视口微调，避免挤压导航 */
  font-size: clamp(0.88rem, 1.25vw, 1.06rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand__en {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
}

.nav__link {
  position: relative;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--cinnabar);
  transition: right 0.28s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  right: 0;
}

.nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}

.header-tel:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- 6. 主区偏移 ---------- */
.main {
  margin-left: var(--rail);
  padding-top: 68px;
}

/* ---------- 7. 金价滚动条 ---------- */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 42s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  flex: none;
}

.ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 26px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.ticker__item b {
  color: var(--ink);
  font-weight: 700;
}

.ticker__item i {
  font-style: normal;
  color: var(--cinnabar);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 8. 首屏 ---------- */
.hero {
  position: relative;
  padding: clamp(52px, 8vw, 96px) 0 clamp(44px, 6vw, 76px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 44px);
}

.hero__title {
  margin-top: 22px;
}

.hero__title .line {
  display: block;
}

.hero__title .accent {
  color: var(--cinnabar);
}

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.hero__facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.fact__k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
  white-space: nowrap;
}

.fact__v {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.fact__v a:hover {
  color: var(--cinnabar);
}

/* 电话 / 微信：用红色突出显示 */
.fact__v--hot,
.fact__v--hot a {
  color: var(--cinnabar);
}

.fact__v--hot a:hover {
  color: var(--cinnabar-deep);
}

/* 朱砂印 */
.seal {
  position: absolute;
  right: clamp(8px, 4vw, 40px);
  top: clamp(96px, 13vw, 132px);
  width: clamp(78px, 10vw, 116px);
  height: clamp(78px, 10vw, 116px);
  display: grid;
  place-items: center;
  border: 3px solid var(--cinnabar);
  color: var(--cinnabar);
  font-weight: 900;
  font-size: clamp(0.82rem, 1.5vw, 1.02rem);
  letter-spacing: 0.06em;
  line-height: 1.22;
  text-align: center;
  transform: rotate(-7deg);
  opacity: 0.92;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.seal span {
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.btn:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 9. 价签卡片 ---------- */
.tickets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}

.ticket {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.section--kraft .ticket {
  background: var(--paper);
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  transform: translateY(-50%);
}

.ticket::before {
  left: -7px;
}

.ticket::after {
  right: -7px;
}

.ticket:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(26, 22, 19, 0.5);
}

.ticket__code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}

.ticket__title {
  font-weight: 900;
  font-size: 1.34rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.ticket__desc {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.8;
  flex: 1;
}

.ticket__perf {
  border-top: 1px dashed var(--line-strong);
  margin: 4px 0 0;
}

.ticket__price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ticket__price b {
  color: var(--cinnabar);
}

/* ---------- 10. 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border-top: 1px solid var(--line-paper);
}

.step {
  padding: 28px 22px 28px 0;
  border-right: 1px solid var(--line-paper);
}

.step:last-child {
  border-right: 0;
}

.step__no {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cinnabar);
  line-height: 1;
  display: block;
}

.step__title {
  margin-top: 14px;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

.step__desc {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(239, 235, 226, 0.66);
}

/* ---------- 11. 联系区 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  border-top: 1px solid var(--line-paper);
}

.contact-item {
  display: grid;
  grid-template-columns: minmax(88px, auto) 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-paper);
}

.contact-item__k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239, 235, 226, 0.55);
}

/* 深色区块中的「手机 / 座机 / 微信」等标签，用醒目的红色 */
.contact-item__k--hot {
  color: var(--cinnabar-bright);
}

.contact-item__v {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.6;
}

.contact-item__v a {
  transition: color 0.2s var(--ease);
}

.contact-item__v a:hover {
  color: var(--cinnabar);
}

.contact-item__sub {
  display: block;
  margin-top: 3px;
  font-weight: 400;
  font-size: 0.86rem;
  color: rgba(239, 235, 226, 0.6);
}

/* 微信二维码预留位 */
.qr-card {
  background: var(--paper);
  color: var(--ink);
  padding: 24px;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.qr-frame {
  position: relative;
  width: min(240px, 68vw);
  aspect-ratio: 1 / 1;
  border: 1px dashed var(--line-strong);
  background: var(--paper-2);
  display: grid;
  place-items: center;
  padding: 10px;
  overflow: hidden;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.qr-frame__ph {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--ink-faint);
  padding: 12px;
}

.qr-frame__ph svg {
  width: 42px;
  height: 42px;
  opacity: 0.5;
}

.qr-frame__ph span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  line-height: 1.7;
}

.qr-card__title {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.qr-card__note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- 12. 资讯列表 ---------- */
.news-list {
  border-top: 1px solid var(--line-strong);
}

.news-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.22s var(--ease);
}

.news-row:hover {
  background: var(--paper-2);
}

.news-row__date {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.news-row__title {
  display: block;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}

.news-row:hover .news-row__title {
  color: var(--cinnabar);
}

.news-row__summary {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 62ch;
}

.news-row__cat {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--brass);
  border: 1px solid var(--brass);
  padding: 5px 11px;
  white-space: nowrap;
}

/* 资讯卡片（首页用） */
.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}

.news-card {
  border: 1px solid var(--line-strong);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(26, 22, 19, 0.5);
}

.news-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

.news-card__title {
  font-weight: 900;
  font-size: 1.14rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.news-card__sum {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.8;
  flex: 1;
}

.news-card__more {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cinnabar);
}

/* ---------- 13. 文章详情 ---------- */
.article-head {
  padding: clamp(40px, 6vw, 76px) 0 clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line-strong);
}

.article-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.article-head h1 {
  font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 24ch;
}

.prose {
  max-width: 74ch;
  padding: clamp(36px, 5vw, 64px) 0;
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose p {
  font-size: 1.03rem;
  line-height: 1.95;
  color: var(--ink-soft);
}

.prose h2 {
  font-weight: 900;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 2.1em;
}

.prose h3 {
  font-weight: 800;
  font-size: 1.16rem;
  color: var(--ink);
  margin-top: 1.7em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  display: grid;
  gap: 0.7em;
}

.prose ul li {
  list-style: none;
  position: relative;
  padding-left: 1.2em;
  font-size: 1.03rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--cinnabar);
}

.prose ol {
  counter-reset: n;
}

.prose ol li {
  list-style: none;
  counter-increment: n;
  position: relative;
  padding-left: 2.2em;
  font-size: 1.03rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.prose ol li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--brass);
  font-weight: 700;
}

.prose blockquote {
  border-left: 3px solid var(--cinnabar);
  padding: 4px 0 4px 20px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.04rem;
}

.prose strong {
  color: var(--ink);
}

/* ---------- 文章配图 ---------- */
.prose-figure {
  margin: 1.9em 0;
}

.prose-figure img,
.prose > p > img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.prose > p > img {
  margin: 1.9em 0;
}

.prose-figure figcaption {
  margin-top: 10px;
  padding-left: 2px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--ink-faint);
}

.prose-figure figcaption::before {
  content: "图 · ";
  color: var(--brass);
  font-weight: 700;
}

.prose a {
  color: var(--cinnabar);
  border-bottom: 1px solid currentColor;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line-strong);
  padding: 11px 14px;
  text-align: left;
}

.prose th {
  background: var(--paper-2);
  font-weight: 800;
}

.article-foot {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  max-width: 74ch;
}

/* ---------- 14. 分页 ---------- */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: clamp(28px, 4vw, 44px);
}

.pager a,
.pager span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.pager a:hover {
  background: var(--ink);
  color: var(--paper);
}

.pager .is-current {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.pager .is-gap {
  border-color: transparent;
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  margin-left: var(--rail);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.85fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-paper);
}

.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(239, 235, 226, 0.52);
  margin-bottom: 16px;
}

.footer-grid a:hover {
  color: var(--cinnabar);
}

.footer-list {
  display: grid;
  gap: 9px;
  font-size: 0.93rem;
  color: rgba(239, 235, 226, 0.82);
}

.footer-brand {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.footer-brand-note {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(239, 235, 226, 0.6);
  max-width: 34ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(239, 235, 226, 0.48);
}

/* ---------- 地址后的地图导航徽标 ---------- */
.map-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  vertical-align: middle;
  flex-wrap: wrap;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.map-link__logo {
  display: inline-flex;
  width: 12px;
  height: 12px;
  flex: none;
}

.map-link__logo svg {
  display: block;
  width: 12px;
  height: 12px;
}

.map-link--baidu .map-link__logo {
  color: #2932e1;
}

.map-link--amap .map-link__logo {
  color: #0091ff;
}

.map-link:hover,
.map-link:focus-visible {
  transform: translateY(-1px);
  border-color: currentColor;
  box-shadow: 0 4px 10px rgba(26, 22, 19, 0.14);
}

.map-link--baidu:hover,
.map-link--baidu:focus-visible {
  color: #2932e1;
  background: rgba(41, 50, 225, 0.06);
}

.map-link--amap:hover,
.map-link--amap:focus-visible {
  color: #0077d4;
  background: rgba(0, 145, 255, 0.08);
}

/* 深色页脚里的徽标 */
.site-footer .map-link {
  background: rgba(239, 235, 226, 0.06);
  border-color: rgba(239, 235, 226, 0.26);
  color: rgba(239, 235, 226, 0.92);
}

.site-footer .map-link--baidu .map-link__logo {
  color: #8b93ff;
}

.site-footer .map-link--amap .map-link__logo {
  color: #66c6ff;
}

.site-footer .map-link:hover,
.site-footer .map-link:focus-visible {
  background: rgba(239, 235, 226, 0.12);
  border-color: rgba(239, 235, 226, 0.5);
  box-shadow: none;
}

/* ---------- 16. 移动端悬浮呼叫栏 ---------- */
.callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 60;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  background: var(--paper);
  padding-bottom: env(safe-area-inset-bottom);
  /* 提升为独立合成层：避免部分手机内核对 fixed 元素不重绘，
     造成滚动时横幅「停」在原处、不跟随滑动 */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 8px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.callbar a + a {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- 17. 滚动入场 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1080px) {
  .sec-head,
  .hero__row,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sec-head {
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line-paper);
  }
}

@media (max-width: 860px) {
  :root {
    --rail: 0px;
  }

  .rail {
    display: none;
  }

  .site-header {
    left: 0;
  }

  .site-header__inner {
    height: 62px;
  }

  .main {
    padding-top: 62px;
    padding-bottom: 54px;
  }

  .site-footer {
    margin-left: 0;
    padding-bottom: 84px;
  }

  .nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    /* 页头使用了 backdrop-filter，会成为 fixed 子元素的包含块，
       若用 bottom:0 会以页头高度为准导致菜单塌缩。
       这里改用显式视口高度，确保菜单完整展开。 */
    height: calc(100vh - 62px);
    height: calc(100dvh - 62px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    /* 底部留出悬浮呼叫栏的空间，避免最后一项被遮挡 */
    padding: 10px var(--gutter) calc(78px + env(safe-area-inset-bottom));
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    font-size: 1.12rem;
    font-weight: 700;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .nav__link::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-tel {
    display: none;
  }

  .nav .header-tel {
    display: inline-flex;
    margin-top: 22px;
    justify-content: center;
  }

  .seal {
    position: static;
    transform: rotate(-5deg);
    margin-top: 26px;
    width: 88px;
    height: 88px;
    font-size: 0.84rem;
  }

  .news-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .news-row__cat {
    justify-self: start;
  }

  .callbar {
    display: grid;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-row {
    gap: 10px;
  }

  .contact-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .ticket::before,
  .ticket::after {
    display: none;
  }
}

/* ---------- 19. 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker__track {
    animation: none;
  }
}

/* ---------- 微信号复制按钮 ---------- */
.wechat-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
  border-bottom: 1px dashed var(--line-strong);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.wechat-copy:hover {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

.wechat-copy__tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 3px 6px;
  color: var(--paper);
  background: var(--cinnabar);
  border-radius: 3px;
  white-space: nowrap;
}

/* 深色区块内保持可读性 */
.footer-list .wechat-copy {
  border-bottom-color: rgba(239, 235, 226, 0.35);
}

.qr-card__note .wechat-copy {
  vertical-align: middle;
}

/* ---------- 悬浮提示 ---------- */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translate(-50%, 16px);
  z-index: 999;
  max-width: 88vw;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
  background: rgba(26, 22, 19, 0.94);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(26, 22, 19, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}

.site-toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media print {
  .site-header,
  .rail,
  .callbar,
  .ticker,
  .seal,
  .site-toast {
    display: none;
  }

  .main,
  .site-footer {
    margin-left: 0;
    padding-top: 0;
  }

  body {
    background: #fff;
  }
}
