/* ============================================================
   黑料正能量index · 整站样式表
   专题档案风：文档封面 / 索引标签 / 编号体系 / 陈旧纸张感
   ============================================================ */

/* ------------------------------------------------
   Base · 基础变量与全局重置
   ------------------------------------------------ */
:root {
  --brown-900: #3e2f20;
  --brown-800: #4a3826;
  --brown-700: #5b4632;
  --brown-600: #6b5540;
  --brown-500: #7d664e;
  --ochre-600: #9c6b3c;
  --ochre-400: #b8865a;
  --green-700: #4a6741;
  --green-600: #557a4b;
  --sand-100: #f4efe5;
  --sand-200: #ece4d6;
  --sand-300: #e0d6c5;
  --line-300: #d9cfbe;
  --line-400: #cbbfa9;
  --ink-900: #2b241c;
  --ink-700: #3f362a;
  --white: #fffdf9;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --header-h: 64px;
  --sidebar-w: 240px;
  --content-w: 1040px;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow-card: 0 1px 3px rgba(90, 70, 50, 0.08), 0 4px 12px rgba(90, 70, 50, 0.06);
  --shadow-hover: 0 4px 10px rgba(90, 70, 50, 0.1), 0 10px 24px rgba(90, 70, 50, 0.08);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-700);
  background-color: var(--sand-100);
  background-image:
    linear-gradient(rgba(91, 70, 50, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 70, 50, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brown-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--ochre-600);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--brown-800);
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-rendering: optimizeLegibility;
}

h1 {
  font-size: 34px;
  font-weight: 700;
}

h2 {
  font-size: 24px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--brown-800);
}

/* 桌面端默认隐藏汉堡按钮 */
.menu-toggle {
  display: none;
}

/* ------------------------------------------------
   Layout · 布局骨架（页头 / 侧栏 / 主内容 / 页脚）
   ------------------------------------------------ */

/* 顶部品牌栏 */
.site-header {
  background-color: var(--brown-700);
  border-bottom: 3px solid var(--ochre-600);
  position: relative;
  z-index: 50;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-block {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--sand-100);
  text-decoration: none;
}

.brand-link:hover {
  color: var(--sand-100);
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--sand-300);
  letter-spacing: 0.08em;
  border: 1px solid rgba(244, 239, 229, 0.35);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* 打印按钮 */
.print-button {
  background: transparent;
  border: 1px solid rgba(244, 239, 229, 0.4);
  color: var(--sand-100);
  font-family: var(--sans);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  min-height: 32px;
  white-space: nowrap;
}

.print-button:hover {
  background: rgba(244, 239, 229, 0.12);
  border-color: var(--sand-100);
}

/* 首页顶部导航（桌面端水平排列在头部右侧） */
.site-header .sidebar-nav.site-nav {
  display: flex;
  align-items: center;
}

.site-header .sidebar-nav.site-nav .nav-list {
  display: flex;
  gap: 4px;
}

.site-header .sidebar-nav.site-nav .nav-item {
  position: relative;
}

.site-header .sidebar-nav.site-nav .nav-link {
  display: block;
  color: var(--sand-200);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.site-header .sidebar-nav.site-nav .nav-link:hover {
  color: var(--white);
  background: rgba(244, 239, 229, 0.1);
}

.site-header .sidebar-nav.site-nav .nav-item.active .nav-link,
.site-header .sidebar-nav.site-nav .nav-link.is-current {
  color: var(--white);
  background: var(--brown-900);
  font-weight: 600;
}

.site-header .sidebar-nav.site-nav .nav-sub {
  display: none;
}

/* 首页整体布局 */
.layout-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.site-main {
  padding: 40px 0 56px;
}

/* 内页双栏布局：侧栏 + 主内容 */
.page-layout,
.page-shell,
.layout-shell.sidebar-left {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 内页双栏：侧栏在前，主内容在后 */
.sidebar-left .page-layout,
.page-layout.sidebar-left,
.page-shell.sidebar-left .layout-shell,
body.page-service-categories .layout-shell.sidebar-left,
body.page-execution-process .layout-shell.sidebar-left,
body.page-deliverables-and-standards .page-shell.sidebar-left,
body.page-faq .page-layout.sidebar-left,
body.page-inquiry-feedback .page-layout.sidebar-left {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* 侧栏（内页） */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 24px 0;
  box-shadow: var(--shadow-card);
}

.sidebar .sidebar-nav .nav-list {
  display: block;
}

.sidebar .sidebar-nav .nav-item {
  border-left: 3px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.sidebar .sidebar-nav .nav-item:hover {
  background: var(--sand-100);
}

.sidebar .sidebar-nav .nav-item.active {
  border-left-color: var(--ochre-600);
  background: var(--sand-100);
}

.sidebar .sidebar-nav .nav-link {
  display: block;
  padding: 10px 20px 2px;
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 500;
}

.sidebar .sidebar-nav .nav-link:hover {
  color: var(--brown-700);
}

.sidebar .sidebar-nav .nav-link.is-current {
  color: var(--brown-800);
  font-weight: 700;
}

.sidebar .sidebar-nav .nav-sub {
  display: block;
  padding: 0 20px 10px;
  font-size: 12px;
  color: var(--brown-500);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* 主内容区（内页） */
.inner-main {
  min-width: 0;
  padding: 32px 0 56px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--brown-500);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-300);
}

.breadcrumb a {
  color: var(--brown-600);
}

.breadcrumb a:hover {
  color: var(--ochre-600);
}

.breadcrumb-sep {
  color: var(--line-400);
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--ink-700);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 16px;
}

.page-header .page-title {
  font-size: 34px;
  line-height: 1.35;
  color: var(--brown-800);
  margin-bottom: 8px;
}

.page-title-area,
.page-title-block {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-300);
}

.page-intro {
  font-size: 16px;
  color: var(--ink-700);
  max-width: 72ch;
}

.archive-code,
.archive-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ochre-600);
  letter-spacing: 0.1em;
  border: 1px solid var(--line-400);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: var(--sand-100);
}

/* 页脚 */
.site-footer {
  background: var(--brown-800);
  color: var(--sand-200);
  margin-top: 48px;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 24px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 360px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--sand-100);
  letter-spacing: 0.05em;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sand-300);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 8px 32px;
  align-content: start;
}

.footer-link {
  color: var(--sand-300);
  font-size: 14px;
  padding: 4px 0;
  white-space: nowrap;
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 239, 229, 0.15);
  padding: 16px 32px;
}

.footer-bottom p {
  max-width: 1280px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--sand-300);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------
   Components · 通用组件
   ------------------------------------------------ */

/* 边界说明框 */
.boundary-note {
  background: var(--sand-200);
  border-left: 4px solid var(--ochre-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-700);
}

.boundary-note p {
  margin-bottom: 0;
}

.boundary-note strong {
  color: var(--brown-800);
}

/* 下一步链接 */
.next-step,
.next-links {
  margin-top: 48px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.next-step p,
.next-links p {
  font-size: 14px;
  color: var(--brown-600);
  margin-bottom: 12px;
}

.next-step a,
.next-links a {
  display: inline-block;
  margin-right: 20px;
  font-weight: 600;
  color: var(--brown-700);
  border-bottom: 2px solid var(--line-400);
  padding-bottom: 2px;
}

.next-step a:hover,
.next-links a:hover {
  color: var(--ochre-600);
  border-bottom-color: var(--ochre-600);
}

.next-step-label {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--brown-800);
}

/* 站内相关链接 */
.related-links {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-300);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
}

.related-links-label {
  font-size: 13px;
  color: var(--brown-500);
}

.related-links-item {
  color: var(--brown-700);
  border-bottom: 1px solid var(--line-400);
  padding-bottom: 1px;
}

.related-links-item:hover {
  color: var(--ochre-600);
  border-bottom-color: var(--ochre-600);
}

/* 图片容器统一约束 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

figcaption {
  font-size: 13px;
  color: var(--brown-500);
  line-height: 1.6;
  margin-top: 8px;
  text-align: center;
}

/* ------------------------------------------------
   Pages · 首页
   ------------------------------------------------ */

.home-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 64px;
}

/* Hero 区：左右分割 */
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--line-300);
}

.hero-text .hero-lead {
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-700);
  margin: 20px 0 28px;
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.action-link {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-link:first-child {
  background: var(--brown-700);
  color: var(--sand-100);
  border: 1px solid var(--brown-700);
}

.action-link:first-child:hover {
  background: var(--brown-800);
  color: var(--white);
}

.action-link:last-child {
  background: transparent;
  color: var(--brown-700);
  border: 1px solid var(--brown-600);
}

.action-link:last-child:hover {
  border-color: var(--ochre-600);
  color: var(--ochre-600);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.process-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 16px;
}

.process-step {
  font-size: 13px;
  color: var(--brown-700);
  background: var(--sand-100);
  border: 1px solid var(--line-300);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  white-space: nowrap;
}

.process-step + .process-step::before {
  content: "→";
  color: var(--ochre-600);
  margin-right: 8px;
  font-size: 14px;
}

/* 服务矩阵 */
.service-matrix-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line-300);
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.section-heading p {
  color: var(--brown-600);
  font-size: 15px;
  max-width: 60ch;
}

.matrix-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.matrix-card {
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.matrix-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-400);
  box-shadow: var(--shadow-hover);
}

.card-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ochre-600);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.matrix-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.matrix-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-700);
  flex-grow: 1;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-700);
  border-bottom: 2px solid var(--line-400);
  padding-bottom: 2px;
  align-self: flex-start;
}

.card-link:hover {
  color: var(--ochre-600);
  border-bottom-color: var(--ochre-600);
}

.matrix-figure {
  margin-top: 32px;
}

.matrix-figure img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* 交付标准速览 */
.deliverables-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line-300);
}

.deliverables-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.deliverable-item {
  background: var(--sand-200);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.deliverable-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--brown-800);
}

.deliverable-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
}

.review-tips {
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.review-tips h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.review-tips ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-700);
}

.review-tips ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}

/* 服务边界 */
.boundary-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line-300);
}

.boundary-box {
  background: var(--sand-200);
  border: 1px solid var(--line-400);
  border-left: 4px solid var(--ochre-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
}

.boundary-box h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.boundary-box ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-700);
}

.boundary-box ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--ochre-600);
  font-size: 20px;
  line-height: 1.4;
}

/* 下一步入口 */
.next-step-section {
  padding: 56px 0;
}

.next-step-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
}

.next-step-card h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.next-step-card p {
  font-size: 14px;
  color: var(--brown-600);
  margin-bottom: 0;
}

.next-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
}

.next-link {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--brown-700);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-700);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.next-link:hover {
  background: var(--brown-700);
  color: var(--sand-100);
  border-color: var(--brown-700);
}

/* ------------------------------------------------
   Pages · 服务分类页
   ------------------------------------------------ */

.page-title-block {
  margin-bottom: 32px;
}

.service-category-block {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-300);
}

.service-category-block:last-of-type {
  border-bottom: none;
}

.category-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ochre-600);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.category-text h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.category-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-700);
  margin-bottom: 0.8em;
}

.category-figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ------------------------------------------------
   Pages · 执行流程页
   ------------------------------------------------ */

.process-overview {
  margin-bottom: 40px;
}

.process-figure img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
  margin-bottom: 12px;
}

.process-overview > p {
  font-size: 15px;
  color: var(--ink-700);
  margin-top: 16px;
  max-width: 72ch;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-300);
}

.step-number {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ochre-600);
  background: var(--sand-100);
  border: 1px solid var(--line-400);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  white-space: nowrap;
}

.step-header h2 {
  font-size: 20px;
}

.step-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.step-side h3 {
  font-size: 15px;
  color: var(--green-700);
  margin-bottom: 10px;
}

.step-side ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-700);
}

.step-side ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--line-400);
}

.boundary-note h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* ------------------------------------------------
   Pages · 交付标准页
   ------------------------------------------------ */

.deliverables-section h2,
.review-standard-section h2,
.usage-feedback-section h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.deliverables-section > p,
.review-standard-section > p,
.usage-feedback-section > p {
  color: var(--brown-600);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 72ch;
}

.deliverables-table-wrap {
  overflow-x: auto;
  margin-bottom: 32px;
}

.deliverables-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
}

.deliverables-table th,
.deliverables-table td {
  padding: 14px 16px;
  text-align: left;
  border: 1px solid var(--line-300);
  vertical-align: top;
}

.deliverables-table th {
  background: var(--sand-200);
  color: var(--brown-800);
  font-weight: 600;
  font-family: var(--serif);
  letter-spacing: 0.03em;
}

.deliverables-table td {
  color: var(--ink-700);
  line-height: 1.7;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.review-item {
  background: var(--sand-200);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 24px;
}

.review-item h3 {
  font-size: 16px;
  color: var(--brown-800);
  margin-bottom: 10px;
}

.review-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.usage-item {
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 24px;
}

.usage-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.usage-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
}

.media-block img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

/* ------------------------------------------------
   Pages · 常见问题页
   ------------------------------------------------ */

.faq-group {
  margin-bottom: 40px;
}

.faq-group h2 {
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-300);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brown-800);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: background var(--transition);
}

.faq-item summary:hover {
  background: var(--sand-100);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--ochre-600);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-700);
  border-top: 1px solid var(--line-300);
  padding-top: 16px;
}

.faq-figure {
  margin: 40px 0;
}

.faq-figure img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* ------------------------------------------------
   Pages · 合作与反馈页
   ------------------------------------------------ */

.consult-path-block,
.requirement-checklist,
.feedback-process {
  margin-bottom: 40px;
}

.consult-path-block h2,
.requirement-checklist h2,
.feedback-process h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.consult-path-block > p,
.requirement-checklist > p,
.feedback-process > p {
  color: var(--brown-600);
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 72ch;
}

.path-list,
.feedback-steps {
  counter-reset: step-counter;
}

.path-list li,
.feedback-steps li {
  position: relative;
  padding: 20px 20px 20px 64px;
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.path-list li::before,
.feedback-steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ochre-600);
  border: 1px solid var(--line-400);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  background: var(--sand-100);
}

.path-list li strong,
.feedback-steps li strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.path-list li p,
.feedback-steps li p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
  margin-bottom: 0;
}

.path-list li a {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-700);
  border-bottom: 2px solid var(--line-400);
  padding-bottom: 1px;
}

.path-list li a:hover {
  color: var(--ochre-600);
  border-bottom-color: var(--ochre-600);
}

.checklist {
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 8px 0;
}

.checklist li {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-300);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.checklist li p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
  margin-bottom: 0;
}

.printable-guide {
  margin: 40px 0;
}

.printable-guide img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ------------------------------------------------
   Pages · 404
   ------------------------------------------------ */

.error-main {
  min-height: calc(100vh - var(--header-h) - 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}

.error-panel {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: var(--radius);
  padding: 48px 56px;
  max-width: 520px;
  box-shadow: var(--shadow-card);
}

.error-code {
  font-family: var(--mono);
  font-size: 48px;
  color: var(--ochre-600);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--ink-700);
  margin-bottom: 24px;
}

.error-back {
  display: inline-block;
  padding: 10px 28px;
  background: var(--brown-700);
  color: var(--sand-100);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.error-back:hover {
  background: var(--brown-800);
  color: var(--white);
}

/* ------------------------------------------------
   Responsive · 响应式适配
   ------------------------------------------------ */

/* 平板：≤1199px 侧栏收进汉堡 */
@media (max-width: 1199px) {
  .header-inner {
    padding: 0 24px;
  }

  .layout-shell,
  .page-layout,
  .page-shell,
  .layout-shell.sidebar-left {
    padding: 0 24px;
  }

  body.page-service-categories .layout-shell.sidebar-left,
  body.page-execution-process .layout-shell.sidebar-left,
  body.page-deliverables-and-standards .page-shell.sidebar-left,
  body.page-faq .page-layout.sidebar-left,
  body.page-inquiry-feedback .page-layout.sidebar-left {
    display: block;
  }

  .site-header .sidebar-nav.site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--brown-700);
    z-index: 100;
    display: block;
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    border-bottom: 3px solid var(--ochre-600);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .site-header .sidebar-nav.site-nav .nav-list {
    display: block;
    padding: 8px 0;
  }

  .site-header .sidebar-nav.site-nav .nav-item {
    border-left: 3px solid transparent;
  }

  .site-header .sidebar-nav.site-nav .nav-item.active {
    border-left-color: var(--ochre-600);
  }

  .site-header .sidebar-nav.site-nav .nav-link {
    padding: 10px 24px;
    font-size: 15px;
    border-radius: 0;
  }

  .site-header .sidebar-nav.site-nav .nav-sub {
    display: block;
    padding: 0 24px 8px;
    font-size: 12px;
    color: var(--sand-300);
  }

  /* 汉堡按钮 */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(244, 239, 229, 0.35);
    border-radius: var(--radius-sm);
    padding: 10px;
    cursor: pointer;
    order: 3;
  }

  .toggle-bar {
    display: block;
    height: 2px;
    background: var(--sand-100);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* 内页侧栏隐藏，仅靠头部导航 */
  .sidebar {
    display: none;
  }

  .inner-main {
    padding-top: 24px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .next-step-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-category-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-figure {
    order: -1;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 手机：≤767px */
@media (max-width: 767px) {
  :root {
    --header-h: 56px;
  }

  .header-inner {
    padding: 0 16px;
    height: var(--header-h);
  }

  .brand-code {
    display: none;
  }

  .brand-name {
    font-size: 17px;
  }

  .print-button {
    display: none;
  }

  .layout-shell,
  .page-layout,
  .page-shell,
  .layout-shell.sidebar-left {
    padding: 0 16px;
  }

  .home-main {
    padding: 24px 16px 48px;
  }

  .site-main {
    padding: 24px 0 40px;
  }

  .inner-main {
    padding: 16px 0 40px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .page-header .page-title {
    font-size: 26px;
  }

  .hero-section {
    padding: 24px 0 40px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .action-link {
    width: 100%;
  }

  .process-preview {
    flex-direction: column;
    align-items: stretch;
  }

  .process-step {
    text-align: center;
  }

  .process-step + .process-step::before {
    content: "↓";
    display: block;
    margin: 4px 0;
  }

  .matrix-cards {
    grid-template-columns: 1fr;
  }

  .deliverables-list {
    grid-template-columns: 1fr;
  }

  .review-grid,
  .usage-grid {
    grid-template-columns: 1fr;
  }

  .step-detail {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .next-step-card {
    padding: 24px 20px;
  }

  .next-links {
    flex-direction: column;
    align-items: stretch;
  }

  .next-link {
    width: 100%;
    justify-content: center;
  }

  .boundary-box {
    padding: 20px;
  }

  .process-step {
    padding: 12px 16px;
  }

  .deliverables-table th,
  .deliverables-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .footer-top {
    padding: 32px 16px 20px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
  }

  .footer-bottom {
    padding: 12px 16px;
  }

  .footer-bottom p {
    font-size: 11px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 36px;
  }

  .breadcrumb {
    font-size: 12px;
    gap: 6px;
  }

  .service-category-block {
    padding: 24px 0;
  }

  .faq-item summary {
    padding: 14px 44px 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 12px 16px 16px;
  }

  .path-list li,
  .feedback-steps li {
    padding: 16px 16px 16px 56px;
  }

  .path-list li::before,
  .feedback-steps li::before {
    left: 16px;
    top: 16px;
  }

  .checklist li {
    padding: 14px 16px;
  }
}

/* 超小屏：≤400px 微调 */
@media (max-width: 400px) {
  .header-inner {
    gap: 12px;
  }

  .brand-name {
    font-size: 15px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
  }

  .footer-link {
    font-size: 13px;
  }
}

/* ------------------------------------------------
   Print · 打印样式
   ------------------------------------------------ */

@media print {
  .site-header,
  .sidebar,
  .menu-toggle,
  .print-button,
  .breadcrumb,
  .related-links,
  .next-step,
  .next-links,
  .footer-nav {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .site-main,
  .inner-main,
  .home-main {
    padding: 0;
    max-width: 100%;
  }

  .layout-shell,
  .page-layout,
  .page-shell,
  .layout-shell.sidebar-left {
    display: block;
    max-width: 100%;
    padding: 0;
  }

  .sidebar-left .page-layout,
  .page-layout.sidebar-left,
  .page-shell.sidebar-left .layout-shell {
    display: block;
  }

  .site-footer {
    margin-top: 24px;
    background: #fff;
    color: #000;
    border-top: 1px solid #ccc;
  }

  .footer-top {
    padding: 16px 0;
  }

  .footer-bottom {
    border-top: 1px solid #ccc;
    padding: 8px 0;
  }

  .footer-brand p,
  .footer-bottom p {
    color: #333;
  }

  .matrix-card,
  .deliverable-item,
  .review-item,
  .usage-item,
  .process-step,
  .faq-item,
  .path-list li,
  .feedback-steps li,
  .checklist li,
  .boundary-box,
  .boundary-note {
    box-shadow: none;
    border: 1px solid #ccc;
    background: #fff;
  }

  img {
    max-width: 100%;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* 程序验收反馈：移动端防溢出 */
@media (max-width: 768px) {
  .site-main,
  .site-main * {
    min-width: 0;
    max-width: 100%;
  }

  .site-main :is(h1, h2, h3, h4, p, a, span) {
    overflow-wrap: anywhere;
  }
}
