/* ============================================================
   qdzyys.cn — 免费吃瓜官网 整站样式
   档案馆风：米白底 / 墨绿标题 / 编号日期分组 / 克制边框线
   ============================================================ */

/* ------------------------------------------------------------
   Base — 变量、重置、基础元素
   ------------------------------------------------------------ */
:root {
  --paper: #f5f1e8;
  --paper-deep: #ede7db;
  --ink: #1f3d2e;
  --ink-soft: #3a5a48;
  --ink-faint: #6b7a6f;
  --red: #9e3d2e;
  --red-dark: #7e2f23;
  --line: #ddd5c6;
  --line-dark: #c9bfac;
  --white: #fffdf8;
  --shadow: 0 1px 3px rgba(31, 61, 46, 0.08);
  --radius: 4px;
  --font-title: Georgia, "Songti SC", "SimSun", serif;
  --font-body: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: SFMono-Regular, Consolas, monospace;
  --container: 1160px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

figure {
  margin: 0;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

/* ------------------------------------------------------------
   Layout — 全站骨架
   ------------------------------------------------------------ */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 12px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.site-nav ul {
  display: flex;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.nav-link:hover {
  background: var(--paper-deep);
  color: var(--ink);
}

.nav-link.is-current {
  color: var(--red);
  border-color: var(--line-dark);
  background: var(--white);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 8px;
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.mobile-menu ul {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--gutter) 16px;
}

.mobile-menu .nav-link {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  border-radius: 0;
}

.mobile-menu .nav-link.is-current {
  color: var(--red);
  font-weight: 600;
  background: none;
}

.site-main {
  flex: 1;
  width: 100%;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.85);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter) 24px;
  display: grid;
  grid-template-columns: 1.2fr 2.5fr;
  gap: 32px;
}

.footer-brand .footer-logo {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand p:last-child {
  font-size: 14px;
  color: rgba(255, 253, 248, 0.6);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-group h3 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-group li {
  margin-bottom: 6px;
}

.footer-group a {
  color: rgba(255, 253, 248, 0.7);
  font-size: 14px;
}

.footer-group a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 248, 0.15);
  text-align: center;
  padding: 16px var(--gutter);
  font-size: 13px;
  color: rgba(255, 253, 248, 0.5);
}

/* 面包屑 */
.breadcrumb {
  padding: 16px 0 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-faint);
}

.breadcrumb a {
  color: var(--ink-faint);
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb-sep {
  color: var(--line-dark);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 */
.page-header {
  padding: 8px 0 0;
}

.page-header .page-title {
  font-size: 34px;
  margin: 0 0 8px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  display: inline-block;
}

.page-title-block,
.page-title {
  padding: 12px 0 20px;
}

.page-title-block .archive-number,
.page-title .archive-number {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--red);
  letter-spacing: 0.08em;
  margin: 0 0 4px;
}

.page-title-block p:last-child,
.page-title p:last-child,
.page-intro,
.page-title-desc,
.page-description {
  font-size: 16px;
  color: var(--ink-faint);
  margin: 0;
  max-width: 720px;
}

/* 通用按钮 */
.btn-primary,
.btn-secondary,
.entry-button,
.action-link,
.route-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 44px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-dark);
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 15px;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* 通用区块标题 */
.section-title {
  font-size: 26px;
  margin-bottom: 16px;
}

.section-intro {
  color: var(--ink-faint);
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 640px;
}

/* 相关链接条 */
.related-links {
  margin-top: 32px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 14px;
}

.related-links-label {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.related-links-item {
  color: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 1px;
}

.related-links-item:hover {
  color: var(--red);
  border-color: var(--red);
}

/* 行动链接组 */
.action-links,
.next-action-links,
.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.action-link {
  background: var(--white);
  border: 1px solid var(--line-dark);
  color: var(--ink);
}

.action-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.entry-button {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
}

.entry-button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-dark);
}

.entry-button.secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ------------------------------------------------------------
   Components — 通用组件
   ------------------------------------------------------------ */

/* 服务编号列表 */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.service-item:hover {
  background: var(--paper-deep);
  border-color: var(--line-dark);
}

.service-no {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--red);
  padding-top: 4px;
}

.service-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.service-item p {
  grid-column: 2;
  font-size: 14px;
  color: var(--ink-faint);
  margin: 0;
}

/* 编号目录（服务页） */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.catalog-item a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.catalog-item a:hover {
  background: var(--paper-deep);
  border-color: var(--line-dark);
}

.catalog-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--red);
}

.catalog-name {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.catalog-summary {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* 服务详情块 */
.service-detail-blocks {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-detail-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-detail-block:nth-child(even) {
  direction: rtl;
}

.service-detail-block > * {
  direction: ltr;
}

.service-code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.service-text h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-text p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.service-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
}

.service-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-figure figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink-faint);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* 侧边卡片（首页供货周期两侧） */
.side-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.side-card:hover {
  background: var(--paper-deep);
  border-color: var(--line-dark);
}

.side-card h3 {
  font-size: 16px;
  margin: 0;
}

.side-card p {
  font-size: 13px;
  color: var(--ink-faint);
  margin: 0;
  flex: 1;
}

.side-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
}

/* 适用对象卡片 */
.audience-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.audience-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.audience-item p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.audience-item .match-point {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

/* 场景卡片 */
.scene-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
}

.scene-text h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.scene-text p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

.scene-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.scene-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 静态勾选清单 */
.checklist-static,
.check-list,
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-static li,
.check-list li,
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.5;
}

.checklist-static li::before,
.check-list li::before {
  content: "□";
  font-family: var(--font-mono);
  color: var(--red);
  flex-shrink: 0;
}

.checkmark {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}

.checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid var(--red);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checklist li p {
  margin: 0;
  font-size: 15px;
}

/* 流程步骤（首页横向） */
.step-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-item {
  padding: 20px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--ink);
}

.step-no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.08em;
}

.step-item h3 {
  font-size: 18px;
  margin: 6px 0 8px;
}

.step-item p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* 成果卡 */
.deliverable-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deliverable-card h3 {
  font-size: 18px;
  margin: 0;
}

.deliverable-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.deliverable-card a {
  font-weight: 600;
  font-size: 14px;
}

.deliverable-node {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.deliverable-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  padding-right: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--red);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-item .faq-answer {
  padding: 14px 16px;
}

.faq-item .faq-answer p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* 分类 tab */
.category-tabs,
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.category-tab,
.tab-item {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  min-height: 44px;
}

.category-tab:hover,
.tab-item:hover {
  border-color: var(--ink);
}

.category-tab.is-active,
.tab-item[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.tab-panel {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink-soft);
}

.tab-panel p {
  margin: 0;
}

/* 时间线 */
.timeline-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.08em;
  margin: 0 0 4px;
}

.timeline-item h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.deliverable-note {
  font-size: 13px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 8px;
}

.timeline-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
  position: sticky;
  top: 88px;
}

.timeline-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.timeline-media figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink-faint);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* 跟进卡片 */
.follow-up-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.follow-up-card {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.follow-up-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.follow-up-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* 示例表格 */
.record-table {
  border: 1px solid var(--line);
  font-size: 14px;
}

.record-table th {
  background: var(--ink);
  color: var(--white);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
}

.record-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.record-table tbody tr:nth-child(even) {
  background: var(--paper);
}

.table-note {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 8px;
}

/* 归档组 */
.archive-group-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.archive-group {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.archive-group h3 {
  font-size: 16px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.archive-group li {
  margin-bottom: 6px;
}

.archive-group a {
  font-size: 14px;
  color: var(--ink-soft);
}

.archive-group a:hover {
  color: var(--red);
}

/* 材料清单 */
.material-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.material-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--ink);
}

.material-item h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.material-item p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* 准备清单布局 */
.checklist-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.checklist-media {
  position: sticky;
  top: 88px;
}

.checklist-media figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
}

.checklist-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.checklist-media figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink-faint);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.media-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-faint);
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.6;
}

/* FAQ 路由卡片 */
.faq-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.route-intro h2 {
  font-size: 22px;
}

.route-intro p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 640px;
}

.route-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.route-link {
  justify-content: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 88px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.route-link:hover {
  background: var(--paper-deep);
  border-color: var(--line-dark);
}

.route-index {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--red);
  flex-shrink: 0;
}

.route-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.route-text strong {
  font-size: 16px;
  color: var(--ink);
}

.route-text small {
  font-size: 13px;
  color: var(--ink-faint);
}

.route-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
  margin-top: 16px;
}

.route-figure img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
}

.route-figure figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink-faint);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* 合作入口（服务页底部） */
.cooperation-entry {
  margin-top: 40px;
  padding: 28px;
  background: var(--ink);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.entry-text h2 {
  color: var(--white);
  font-size: 22px;
  margin: 0 0 8px;
}

.entry-text p {
  color: rgba(255, 253, 248, 0.75);
  font-size: 14px;
  margin: 0;
  max-width: 480px;
}

.entry-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.entry-button.secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.4);
}

.entry-button.secondary:hover {
  border-color: var(--white);
  color: var(--white);
}

/* 下一步行动 */
.next-action,
.next-steps {
  margin-top: 32px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.next-action h2,
.next-steps h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.next-action p,
.next-steps p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* 404 */
.error-panel {
  max-width: 560px;
  margin: 80px auto;
  text-align: center;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 64px;
  color: var(--red);
  margin: 0 0 8px;
  line-height: 1;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-panel p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   Pages — 首页专属模块
   ------------------------------------------------------------ */

/* 首屏归档区 */
.hero-archive {
  padding: 32px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
}

.archive-date {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--red);
  letter-spacing: 0.1em;
  margin: 0 0 8px;
}

.hero-intro h1 {
  font-size: 36px;
  margin: 0 0 16px;
  max-width: 640px;
}

.hero-lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.archive-entry {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
}

.archive-title {
  font-size: 18px;
  margin: 0 0 8px;
}

.archive-entry p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.archive-link {
  font-weight: 600;
  font-size: 14px;
}

.hero-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 1.8;
  object-fit: cover;
}

/* 定位短述 */
.service-brief {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.service-brief h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.brief-statement {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 780px;
  margin-bottom: 24px;
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.boundary-item {
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.boundary-index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--red);
  flex-shrink: 0;
  padding-top: 2px;
}

.boundary-item p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* 供货周期表 */
.supply-schedule {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.8fr;
  gap: 16px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: stretch;
}

.schedule-main {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.schedule-main h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.schedule-table th {
  background: var(--ink);
  color: var(--white);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.schedule-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.schedule-table tbody tr:nth-child(even) {
  background: var(--paper);
}

.schedule-figure {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.schedule-figure img {
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
}

/* 服务索引 */
.service-index {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.service-index > h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

/* 适用对象 */
.target-audience {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.target-audience > h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.audience-list h3,
.judgement-tips h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.audience-list ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audience-list li {
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.judgement-tips {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--ink);
}

.judgement-tips p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

/* 流程步骤 */
.process-steps {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.process-steps > h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.process-steps > .text-link {
  margin-top: 20px;
}

/* 成果预览 */
.deliverables-preview {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.deliverables-preview > h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

/* 准备清单 */
.preparation-checklist {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.prep-content h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.prep-action {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--red);
}

.prep-action p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* FAQ 入口 */
.faq-entry {
  padding: 40px 0;
}

.faq-entry > h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.faq-entry > .text-link {
  margin-top: 12px;
}

/* ------------------------------------------------------------
   Responsive — 断点 960px / 640px
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-detail-block:nth-child(even) {
    direction: ltr;
  }

  .deliverable-cards,
  .deliverable-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .follow-up-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .material-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-group-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .supply-schedule {
    grid-template-columns: 1fr;
  }

  .schedule-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timeline-layout,
  .checklist-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline-media,
  .checklist-media {
    position: static;
  }

  .scene-card {
    grid-template-columns: 1fr;
  }

  .route-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .page-header .page-title {
    font-size: 26px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  .inner-main {
    padding: 0 16px 32px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .footer-inner {
    padding: 32px 16px 16px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-group h3 {
    margin-bottom: 8px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .deliverable-cards,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }

  .step-row {
    grid-template-columns: 1fr;
  }

  .boundary-list {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .follow-up-grid {
    grid-template-columns: 1fr;
  }

  .material-grid {
    grid-template-columns: 1fr;
  }

  .archive-group-list {
    grid-template-columns: 1fr;
  }

  .preparation-checklist {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .schedule-side {
    grid-template-columns: 1fr;
  }

  .hero-intro h1 {
    font-size: 28px;
  }

  .hero-figure img {
    aspect-ratio: 4 / 3;
  }

  .schedule-figure img {
    aspect-ratio: 4 / 3;
  }

  .route-figure img {
    aspect-ratio: 4 / 3;
  }

  .cooperation-entry {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .entry-links {
    width: 100%;
  }

  .entry-button {
    flex: 1;
    text-align: center;
  }

  .breadcrumb {
    font-size: 13px;
    flex-wrap: wrap;
  }

  .error-panel {
    margin: 40px 16px;
    padding: 32px 20px;
  }

  .error-code {
    font-size: 48px;
  }

  .action-links,
  .next-action-links,
  .route-actions,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary,
  .action-link,
  .entry-button {
    width: 100%;
    text-align: center;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-item summary {
    font-size: 14px;
  }

  .catalog-item a {
    padding: 16px;
  }

  .service-detail-block,
  .scene-card {
    padding: 16px;
  }

  .timeline-item,
  .audience-item,
  .material-item,
  .archive-group,
  .deliverable-card,
  .follow-up-card {
    padding: 16px;
  }
}
