/* ============================================================
   base —— 全局基础变量、重置、字体与通用元素
   ============================================================ */
:root {
  --color-bg: #F7F4EE;
  --color-bg-alt: #F0EDE6;
  --color-surface: #FFFFFF;
  --color-border: #E1DBD0;
  --color-text: #2A2A2A;
  --color-accent: #B08D57;
  --color-accent-dark: #96733F;
  --color-accent-soft: #EFE6D8;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --shadow-card: 0 1px 4px rgba(42, 42, 42, 0.06);
  --shadow-card-hover: 0 4px 16px rgba(42, 42, 42, 0.08);
  --space-section: 48px;
  --space-block: 32px;
  --header-height: 68px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 28px;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-dark);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
}

h1 {
  font-size: 32px;
  line-height: 40px;
}

h2 {
  font-size: 24px;
  line-height: 32px;
}

h3 {
  font-size: 18px;
  line-height: 28px;
}

p {
  margin-bottom: 12px;
}

p:last-child {
  margin-bottom: 0;
}

/* 隐藏但可读的文本，用于屏幕阅读器与辅助说明 */
.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;
}

/* 通用容器约束，全站一致 */
.site-header .header-inner,
.site-main,
.site-footer .footer-content,
.site-footer .footer-bottom {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   layout —— 全站视觉骨架：页头、导航、面包屑、页脚
   ============================================================ */

/* ---------- 页头 ---------- */
.site-header {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.brand-link:hover .brand-name {
  color: var(--color-accent-dark);
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover {
  background-color: var(--color-bg-alt);
}

.nav-toggle-icon {
  position: relative;
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  display: block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition-fast);
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ---------- 主导航 ---------- */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  line-height: 1.5;
  min-height: 44px;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-text);
}

.nav-link.is-current {
  color: var(--color-accent-dark);
  background-color: var(--color-accent-soft);
  font-weight: 600;
}

/* 分组子菜单 */
.has-submenu {
  position: relative;
}

.has-submenu .nav-link {
  position: relative;
}

.has-submenu .nav-link::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 50;
}

.submenu li a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  line-height: 22px;
}

.submenu li a:hover {
  background-color: var(--color-bg);
  color: var(--color-accent-dark);
}

.submenu-note {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  line-height: 20px;
  color: var(--color-text);
  opacity: 0.7;
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
  white-space: normal;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 键盘焦点支持 */
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0 4px;
  font-size: 14px;
  line-height: 22px;
}

.breadcrumb a {
  color: var(--color-accent-dark);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--color-text);
  opacity: 0.4;
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  margin-top: 64px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 22px;
  opacity: 0.8;
}

.footer-nav-title,
.footer-service-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.footer-links a {
  display: inline-flex;
  padding: 4px 0;
  font-size: 14px;
  line-height: 22px;
  min-height: 32px;
  align-items: center;
}

.footer-links a:hover {
  color: var(--color-accent-dark);
}

.footer-service p {
  font-size: 14px;
  line-height: 22px;
  opacity: 0.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  line-height: 20px;
  opacity: 0.7;
}

/* ============================================================
   components —— 通用组件：按钮、卡片、任务带、侧栏等
   ============================================================ */

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.btn-secondary:hover {
  background-color: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  min-height: 44px;
  background: none;
  border: none;
  color: var(--color-accent-dark);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}

.btn-text::after {
  content: "→";
  font-size: 16px;
  transition: transform var(--transition-fast);
}

.btn-text:hover::after {
  transform: translateX(4px);
}

/* ---------- 相关任务带 ---------- */
.related-tasks {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 24px;
}

.related-tasks .related-tasks-title,
.related-tasks .related-title,
.related-tasks .related-heading {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.related-links,
.related-list,
.related-tasks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links li a,
.related-list li a,
.related-tasks-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.related-links li a:hover,
.related-list li a:hover,
.related-tasks-list li a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
  background-color: var(--color-surface);
}

/* ---------- 侧栏通用 ---------- */
.sidebar,
.sidebar-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.aside-block,
.sidebar-block {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.aside-block h2,
.sidebar-block .sidebar-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.aside-intro {
  font-size: 14px;
  line-height: 22px;
  opacity: 0.75;
  margin-bottom: 16px;
}

/* ============================================================
   pages —— 首页与各内页专属样式
   ============================================================ */

/* ---------- 首页 Hero ---------- */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0 48px;
}

.hero-content h1 {
  font-size: 36px;
  line-height: 48px;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-slogan {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 28px;
  color: var(--color-accent-dark);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero-lead {
  font-size: 16px;
  line-height: 28px;
  opacity: 0.85;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.content-media-primary {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.content-media-primary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.content-media-primary figcaption {
  font-size: 13px;
  line-height: 20px;
  opacity: 0.7;
  padding: 8px 4px;
}

/* ---------- 首页能力矩阵 ---------- */
.capability-section {
  padding: var(--space-section) 0;
}

.section-intro {
  font-size: 16px;
  line-height: 28px;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 760px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.capability-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.capability-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-soft);
  border-radius: var(--radius-sm);
  font-size: 22px;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-accent-dark);
}

.capability-card h3 {
  margin-bottom: 8px;
}

.capability-card p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.8;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent-dark);
  min-height: 36px;
}

.card-link::after {
  content: "→";
  transition: transform var(--transition-fast);
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ---------- 首页流程预览 ---------- */
.process-preview-section {
  padding: var(--space-section) 0;
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.process-preview-section .container-shell {
  padding-left: 24px;
  padding-right: 24px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.process-step {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  transition: box-shadow var(--transition-fast);
}

.process-step:hover {
  box-shadow: var(--shadow-card-hover);
}

.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50%;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13px;
  line-height: 22px;
  opacity: 0.8;
  margin-bottom: 0;
}

/* ---------- 首页场景摘要 ---------- */
.scenario-summary-section {
  padding: var(--space-section) 0;
}

.scenario-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.scenario-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base);
}

.scenario-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.scenario-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  align-self: flex-start;
}

.scenario-card h3 {
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.scenario-card .card-link {
  margin-top: auto;
}

/* ---------- 首页合作路径 ---------- */
.cooperation-path-section {
  padding: var(--space-section) 0;
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cooperation-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.coop-step {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.coop-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.coop-step h3::before {
  content: attr(data-step);
  display: block;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.coop-step p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.8;
  margin-bottom: 0;
}

/* ---------- 首页相关任务带 ---------- */
.home-main .related-tasks {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: none;
}

/* ---------- 内页通用 ---------- */
.inner-main {
  padding-bottom: 0;
}

/* 页面标题区 */
.page-header {
  padding: 24px 0 32px;
}

.page-title {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  line-height: 28px;
  opacity: 0.8;
  max-width: 760px;
  margin-bottom: 0;
}

/* ---------- 内页主内容 + 侧栏布局 ---------- */
.layout-shell,
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.main-content {
  min-width: 0;
  min-height: 400px;
}

/* 侧栏在 DOM 中位于 main 之后 */
.sidebar,
.sidebar-area {
  min-width: 0;
}

/* ---------- 服务内容页 ---------- */
.service-catalog {
  margin-bottom: 48px;
}

.catalog-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.catalog-item:last-child {
  margin-bottom: 0;
}

.item-media {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.item-media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.item-body h3 {
  margin-bottom: 8px;
}

.item-body p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.item-target::before,
.item-action::before,
.item-output::before {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-right: 8px;
}

.item-target::before {
  content: "服务对象：";
}

.item-action::before {
  content: "操作内容：";
}

.item-output::before {
  content: "成果形式：";
}

/* 交付标准表格 */
.delivery-standard {
  margin-bottom: 48px;
}

.standard-table {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  line-height: 24px;
}

.table-row:last-child {
  border-bottom: none;
}

.table-header {
  background-color: var(--color-bg-alt);
  font-weight: 600;
}

/* 服务边界 */
.service-boundary {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 48px;
}

.boundary-list {
  list-style: disc;
  padding-left: 20px;
}

.boundary-list li {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 8px;
}

/* 服务页侧栏 */
.prep-list li,
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 22px;
  padding: 6px 0;
}

.prep-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}

.check-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 3px;
  background-color: var(--color-surface);
}

/* ---------- 执行流程页 ---------- */
.step-nodes {
  margin-bottom: 48px;
}

.step-nodes > h2 {
  margin-bottom: 8px;
}

.step-nodes > p {
  margin-bottom: 32px;
  opacity: 0.8;
}

.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.step-item:first-of-type {
  padding-top: 0;
}

.step-item .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  border-radius: 50%;
}

.step-content h3 {
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.step-deliverable {
  margin-top: 12px;
  padding: 12px 16px;
  background-color: var(--color-bg);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  line-height: 22px;
}

.deliverable-label {
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-right: 8px;
}

.step-media {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.step-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.step-media figcaption {
  padding: 8px 4px;
  font-size: 13px;
  line-height: 20px;
  opacity: 0.7;
}

/* 时间轴图片 */
.timeline-image-block {
  margin-bottom: 48px;
}

.timeline-image-block h2 {
  margin-bottom: 8px;
}

.timeline-image-block p {
  margin-bottom: 24px;
  opacity: 0.8;
}

.timeline-figure {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.timeline-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.timeline-figure figcaption {
  padding: 8px 4px;
  font-size: 13px;
  line-height: 20px;
  opacity: 0.7;
}

/* 流程页侧栏 */
.checklist-group,
.materials-group {
  margin-bottom: 16px;
}

.checklist-group h3,
.materials-group h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-accent-dark);
}

.checklist-group ul li,
.materials-group ul li {
  font-size: 13px;
  line-height: 22px;
  padding: 2px 0;
}

/* ---------- 适用场景页 ---------- */
.scenario-filter {
  margin-bottom: 32px;
}

.filter-group {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.filter-label {
  font-size: 14px;
  font-weight: 600;
  padding-top: 10px;
  min-width: 64px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.filter-tag:hover {
  border-color: var(--color-accent);
}

.filter-tag.is-active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.scenario-card-media {
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.scenario-card-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.scenario-card-body {
  padding: 0 20px 20px;
}

.scenario-card-body .scenario-tag {
  margin-bottom: 8px;
}

.scenario-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.scenario-need,
.scenario-entry,
.scenario-result {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.scenario-need::before,
.scenario-entry::before,
.scenario-result::before {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-right: 6px;
}

.scenario-need::before {
  content: "需求：";
}

.scenario-entry::before {
  content: "介入：";
}

.scenario-result::before {
  content: "结果：";
}

.scenario-note {
  background-color: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  padding: 16px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 32px;
}

.scenario-note p {
  margin-bottom: 0;
}

/* ---------- 行业专题页 ---------- */
.article-list {
  margin-bottom: 48px;
}

.article-group {
  margin-bottom: 40px;
}

.article-group:last-child {
  margin-bottom: 0;
}

.group-title {
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.article-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.article-item:last-child {
  border-bottom: none;
}

.article-media {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.article-figure img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.article-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.article-excerpt {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.85;
  margin-bottom: 12px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags span {
  display: inline-block;
  padding: 2px 10px;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 20px;
  opacity: 0.8;
}

.read-note {
  background-color: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  padding: 16px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 32px;
}

.read-note-title {
  font-family: var(--font-serif);
  font-size: 16px;
  margin-bottom: 8px;
}

.read-note p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
}

.read-note a {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* ---------- 合作指南页 ---------- */
.contact-approach {
  margin-bottom: 48px;
}

.contact-approach h2 {
  margin-bottom: 16px;
}

.section-figure {
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.section-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.contact-approach p {
  font-size: 15px;
  line-height: 26px;
  opacity: 0.85;
}

.startup-steps {
  margin-bottom: 48px;
}

.startup-step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.startup-step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  align-items: start;
}

.startup-step-item .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  border-radius: 50%;
}

.step-body h3 {
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.step-output {
  font-size: 13px;
  line-height: 22px;
  color: var(--color-accent-dark);
}

.step-output::before {
  content: "预期产出：";
  font-weight: 600;
}

.cooperation-notes {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 48px;
}

.cooperation-notes h2 {
  margin-bottom: 8px;
}

.cooperation-notes > p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.notes-list {
  list-style: disc;
  padding-left: 20px;
}

.notes-list li {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 8px;
}

/* 合作页侧栏 */
.agreement-list {
  list-style: disc;
  padding-left: 20px;
}

.agreement-list li {
  font-size: 13px;
  line-height: 22px;
  padding: 2px 0;
}

/* ---------- 常见问题页 ---------- */
.faq-group {
  margin-bottom: 40px;
}

.faq-group h2 {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.faq-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 16px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-extra {
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
  margin-top: 8px;
}

.faq-media {
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.faq-further-reading {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.faq-further-reading h2 {
  margin-bottom: 8px;
}

.faq-further-reading p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.faq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
}

.faq-links li a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

/* FAQ 侧栏 */
.sidebar-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-accent-dark);
}

.sidebar-links li a:hover {
  text-decoration: underline;
}

/* ---------- 404 页面 ---------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-content {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  line-height: 28px;
  opacity: 0.8;
  margin-bottom: 24px;
}

.error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
}

.error-link:hover {
  background-color: var(--color-accent-dark);
  color: #FFFFFF;
}

/* ============================================================
   responsive —— 响应式断点
   ============================================================ */

/* ---------- 平板与窄桌面 ---------- */
@media (max-width: 1024px) {
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .scenario-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-shell,
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
  :root {
    --space-section: 40px;
  }

  /* 导航切换 */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 0 24px;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    min-height: 48px;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--color-accent);
    border-radius: 0;
    margin: 0 0 8px 16px;
    padding: 4px 0;
    background-color: transparent;
    min-width: 0;
  }

  .submenu li a {
    padding: 8px 12px;
  }

  .submenu-note {
    padding: 4px 12px;
    margin-top: 0;
    border-top: none;
  }

  .has-submenu:hover .submenu {
    transform: none;
  }

  /* 首页 Hero */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 32px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 40px;
  }

  .hero-figure img {
    height: 220px;
  }

  .content-media-primary img {
    height: 160px;
  }

  /* 首页能力矩阵 */
  .capability-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 首页流程预览 */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 首页场景 */
  .scenario-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 首页合作 */
  .cooperation-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 内页布局 */
  .layout-shell,
  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sidebar,
  .sidebar-area {
    grid-row: auto;
  }

  /* 服务内容 */
  .catalog-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .item-media img {
    height: 180px;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 16px;
  }

  .table-header {
    display: none;
  }

  .table-row span {
    display: block;
  }

  .table-row .col-service {
    font-weight: 600;
  }

  /* 流程步骤 */
  .step-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .step-item .step-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .step-media img {
    height: 180px;
  }

  .timeline-figure img {
    height: 200px;
  }

  /* 场景筛选 */
  .scenario-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .filter-group {
    flex-direction: column;
    gap: 8px;
  }

  .filter-label {
    padding-top: 0;
  }

  /* 文章 */
  .article-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-figure img {
    height: 180px;
  }

  /* 合作 */
  .startup-step-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 16px;
  }

  .section-figure img {
    height: 180px;
  }

  /* FAQ */
  .faq-item summary {
    padding: 14px 16px;
  }

  .faq-answer {
    padding: 0 16px 14px;
  }

  .faq-media img {
    height: 160px;
  }

  /* 页脚 */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 24px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* 内页标题 */
  .page-header {
    padding: 16px 0 24px;
  }

  .page-title {
    font-size: 28px;
    line-height: 36px;
  }

  /* 面包屑 */
  .breadcrumb {
    padding-top: 12px;
  }
}

/* ---------- 小屏手机 ---------- */
@media (max-width: 390px) {
  .header-inner,
  .site-main,
  .site-footer .footer-content,
  .site-footer .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .capability-card {
    padding: 20px 16px;
  }

  .coop-step {
    padding: 16px;
  }

  .catalog-item {
    padding: 16px;
  }

  .standard-table {
    padding: 0;
  }

  .table-row {
    padding: 12px 16px;
  }

  .scenario-card-body {
    padding: 0 16px 16px;
  }

  .faq-item summary h3 {
    font-size: 14px;
  }
}

/* 程序验收反馈：移动端防溢出 */
@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;
  }
}
