/* ============================================================
   168xmj.com — 原创主题「青绿 · 暖金 · 深墨」
   节气导航感静态站样式表 | 2026-09-15
   设计约束：无大面积渐变、无模块作用域选择器、无隐藏式入场动画
   ============================================================ */

:root {
  --ink: #16211f;          /* 深墨 */
  --ink-soft: #243531;
  --paper: #f7f4ea;        /* 宣纸暖白 */
  --paper-deep: #efe9da;
  --teal: #0e6e60;         /* 青绿 */
  --teal-deep: #0a4f46;
  --teal-mist: #d8e8e3;
  --gold: #c08a2e;         /* 暖金 */
  --gold-light: #e6c886;
  --line: #d5cdba;
  --text: #2a3733;
  --text-dim: #5c6a64;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(22, 33, 31, 0.08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ---------- 页头 ---------- */
.site-header {
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--gold);
}

.brand-name { color: var(--paper); font-weight: 700; font-size: 17px; letter-spacing: 1px; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #cfd9d4;
  font-size: 14px;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover { color: var(--gold-light); }

.nav-link.active { color: var(--gold-light); border-bottom-color: var(--gold); font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  padding: 13px 34px;
  border-radius: 999px;
  border: 2px solid var(--gold-light);
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: var(--gold-light); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--gold-light);
  border: 1px solid var(--teal);
  background: var(--ink-soft);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 40px;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--white);
  letter-spacing: 2px;
}

.hero-title em { font-style: normal; color: var(--gold-light); }

.hero-sub {
  color: #b9c7c1;
  font-size: 17px;
  margin: 0 0 30px;
  max-width: 34em;
}

.hero-figure { margin: 0; }

.hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--teal);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-caption {
  margin-top: 10px;
  font-size: 13px;
  color: #93a49e;
  text-align: center;
  letter-spacing: 1px;
}

/* ---------- 通用内容模块 ---------- */
.section { padding: 58px 0; }

.section-alt { background: var(--paper-deep); }

.section-dark { background: var(--ink-soft); color: var(--paper); }

.section-head { margin-bottom: 30px; }

.eyebrow {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  margin: 0 0 8px;
}

.section-dark .eyebrow { color: var(--gold-light); }

.section-title {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: 1px;
}

.section-dark .section-title { color: var(--white); }

.lead {
  font-size: 16.5px;
  color: var(--text-dim);
  max-width: 46em;
  margin: 0;
}

.section-dark .lead { color: #c2ceca; }

/* ---------- 卡片网格 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.section-dark .card { background: var(--ink); border-color: var(--teal-deep); }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--teal-mist);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.card-title { font-size: 17px; margin: 0 0 8px; color: var(--ink); }

.section-dark .card-title { color: var(--gold-light); }

.card-text { margin: 0; font-size: 14.5px; color: var(--text-dim); }

.section-dark .card-text { color: #b6c3be; }

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.stat {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 22px 12px;
}

.stat-num { font-size: 30px; font-weight: 800; color: var(--teal-deep); line-height: 1.2; }

.stat-label { font-size: 14px; color: var(--text-dim); margin-top: 6px; }

/* ---------- 步骤 ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: stepc; }

.step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

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

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.step-title { margin: 0 0 4px; font-size: 16.5px; color: var(--ink); }

.step-text { margin: 0; font-size: 14.5px; color: var(--text-dim); }

/* ---------- 时间线 ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--teal-mist); }

.tl-item { position: relative; padding: 0 0 26px 26px; }

.tl-dot {
  position: absolute;
  left: -9px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper);
}

.tl-time { font-size: 13px; color: var(--teal); font-weight: 700; letter-spacing: 1px; }

.tl-title { margin: 2px 0 4px; font-size: 16.5px; color: var(--ink); }

.tl-text { margin: 0; font-size: 14.5px; color: var(--text-dim); }

/* ---------- 引言 ---------- */
.quote {
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.quote-text { margin: 0; font-size: 20px; color: var(--ink); line-height: 1.9; }

.quote-by { margin: 12px 0 0; font-size: 14px; color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.faq-q { margin: 0 0 6px; font-size: 16.5px; color: var(--teal-deep); }

.faq-a { margin: 0; font-size: 14.5px; color: var(--text-dim); }

/* ---------- 对比表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }

.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }

.cmp th {
  background: var(--teal-deep);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
}

.cmp td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--text); vertical-align: top; }

.cmp tr:nth-child(even) td { background: var(--paper); }

/* ---------- 清单 ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.check-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 14px 46px;
  position: relative;
  font-size: 15px;
  color: var(--text);
}

.check-item::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 12px;
  color: var(--teal);
  font-weight: 800;
}

/* ---------- 路线（下载/入口路径） ---------- */
.route { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }

.route-node {
  background: var(--white);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}

.route-label { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 2px; margin-bottom: 6px; }

.route-title { margin: 0 0 6px; font-size: 15.5px; color: var(--ink); }

.route-text { margin: 0; font-size: 13.5px; color: var(--text-dim); }

/* ---------- 相关内页互链 ---------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }

.related-link {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  padding: 16px 18px;
}

.related-link:hover { border-left-color: var(--gold); background: var(--paper-deep); }

.related-name { font-weight: 700; color: var(--teal-deep); font-size: 15.5px; }

.related-tag { display: block; font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* ---------- 提示 / 须知 ---------- */
.notice {
  background: var(--teal-mist);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.notice-list { margin: 0; padding-left: 20px; font-size: 14.5px; color: var(--teal-deep); display: grid; gap: 8px; }

/* ---------- 联系 ---------- */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  padding: 16px 26px;
  margin-bottom: 24px;
}

.tg-line { margin: 0 0 20px; color: var(--gold-light); font-size: 15px; letter-spacing: 1px; }

.hero-kicker-line { margin: 22px 0 0; font-size: 14px; color: #b9c7c1; }

.kw { color: var(--gold-light); font-style: normal; font-weight: 700; letter-spacing: 1px; }

.route-note { margin: 18px 0 0; font-size: 13px; color: var(--text-dim); text-align: center; }

.contact-tag { font-size: 14px; color: #b6c3be; letter-spacing: 1px; }

.contact-value { color: var(--gold-light); }

.hero-copy { min-width: 0; }

.related-name { color: var(--teal-deep); }

/* ---------- CTA ---------- */
.cta-band { background: var(--ink); border-top: 3px solid var(--gold); padding: 54px 0; text-align: center; }

.cta-title { margin: 0 0 10px; font-size: 26px; color: var(--white); letter-spacing: 1px; }

.cta-text { margin: 0 auto 26px; color: #b9c7c1; font-size: 15.5px; max-width: 38em; }

/* ---------- 段落 / 引导 ---------- */
.prose p { margin: 0 0 16px; font-size: 15.5px; color: var(--text); }

.prose p:last-child { margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }

.badge {
  display: inline-block;
  background: var(--teal-mist);
  color: var(--teal-deep);
  border-radius: 999px;
  font-size: 12.5px;
  padding: 2px 12px;
  margin: 0 6px 6px 0;
  letter-spacing: 1px;
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #9faea8; padding: 44px 0 30px; border-top: 3px solid var(--teal); }

.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }

.footer-brand { color: var(--paper); font-weight: 700; font-size: 18px; margin: 0 0 10px; }

.footer-note { margin: 0; font-size: 13.5px; color: #93a49e; }

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

.footer-link { color: #b6c3be; font-size: 14px; }

.footer-link:hover { color: var(--gold-light); }

.footer-title { color: var(--gold-light); font-size: 15px; margin: 0 0 10px; letter-spacing: 2px; }

.footer-copy { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--ink-soft); font-size: 13px; color: #7d8d87; text-align: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-title { font-size: 30px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 23px; }
  .nav { justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero { padding: 44px 0 40px; }
  .hero-title { font-size: 25px; }
  .btn-primary { padding: 12px 26px; font-size: 15px; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .step-num { width: 36px; height: 36px; font-size: 15px; }
  .quote-text { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* === 移动端汉堡下拉导航 (2026-09-15) === */
.nav-toggle{display:none;width:44px;height:44px;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;background:transparent;color:inherit;border:1px solid rgba(230,200,134,.45);border-radius:12px;cursor:pointer}
.nav-toggle-bar{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .22s ease,opacity .18s ease}
.nav-toggle:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (max-width:860px){
  .nav{position:relative}
  .nav{flex-wrap:nowrap;justify-content:space-between}
  .nav-toggle{display:flex}
  .site-nav{display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:60;background:var(--ink-soft);border:1px solid rgba(247,244,234,.18);border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.28);padding:6px 16px;max-height:72vh;overflow-y:auto;text-align:left}
  .site-nav.open{display:block}
  .site-nav ul,.site-nav .nav-list{display:flex;flex-direction:column;gap:0;list-style:none;margin:0;padding:0;flex-wrap:nowrap}
  .site-nav li{width:100%}
  .site-nav a{display:block;padding:12px 2px;border-bottom:1px solid rgba(247,244,234,.18);font-size:16px;line-height:1.5;color:#cfd9d4;border-radius:0}
  .site-nav li:last-child a{border-bottom:0}
  .site-nav a.active,.site-nav a[aria-current="page"]{font-weight:700}
}

/* ---------- 页脚更新日期(新鲜度信号) ---------- */
.site-updated{font-size:13px;line-height:1.7;opacity:.72;margin-top:10px}

/* ---------- 面包屑(百度会在搜索结果展示) ---------- */
.breadcrumb{max-width:1120px;margin:0 auto;padding:12px 20px 0;font-size:13.5px;line-height:1.7;opacity:.78}
.breadcrumb a{color:inherit;text-decoration:none;border-bottom:1px solid currentColor}
.breadcrumb span[aria-hidden]{margin:0 6px;opacity:.6}

/* ---------- 语义主区 ---------- */
.site-main{display:block}

/* ---------- 正文配图 ---------- */
.fig{margin:22px 0;padding:0}
.fig img{width:100%;height:auto;border-radius:12px;display:block;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.fig figcaption{margin-top:8px;font-size:14.5px;line-height:1.7;opacity:.78;text-align:center}
