/* ==========================================================================
   51吃瓜网下载 · 整站样式表
   自然科普风：白底 + 自然绿主色 + 土棕辅助 + 标本感图片
   ========================================================================== */

/* ==========================================================================
   Base — 全局基础
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #3a7d5c;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #2c5f45;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  color: #333333;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

/* 统一焦点样式，保证可访问性 */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #3a7d5c;
  outline-offset: 2px;
}

/* ==========================================================================
   Layout — 全站布局骨架
   ========================================================================== */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
  width: 100%;
}

/* 页头 */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8ece6;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #3a7d5c;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 12px;
  color: #8a6a4a;
  border-left: 1px solid #d8d5ce;
  padding-left: 10px;
  line-height: 1.4;
}

/* 主导航 */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #555555;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: #3a7d5c;
  background-color: #f0f4ee;
}

.nav-link.is-current {
  color: #3a7d5c;
  font-weight: 600;
  background-color: #e8f0ea;
}

/* 汉堡按钮 — 桌面隐藏 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid #d8d5ce;
  border-radius: 6px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #3a7d5c;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* 页脚 */
.site-footer {
  background-color: #f5f7f4;
  border-top: 1px solid #e0e5dd;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #3a7d5c;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: #777777;
  line-height: 1.7;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  font-size: 14px;
  color: #777777;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: #3a7d5c;
}

.footer-bottom {
  border-top: 1px solid #e0e5dd;
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #999999;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   通用组件 — 按钮、文本链接、面包屑、标题区
   ========================================================================== */

.btn-primary,
.btn-secondary,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background-color: #3a7d5c;
  color: #ffffff;
  border: 1px solid #3a7d5c;
}

.btn-primary:hover {
  background-color: #2c5f45;
  border-color: #2c5f45;
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  color: #3a7d5c;
  border: 1px solid #3a7d5c;
}

.btn-secondary:hover {
  background-color: #f0f4ee;
  color: #2c5f45;
}

.cta-button {
  background-color: #3a7d5c;
  color: #ffffff;
  border: 1px solid #3a7d5c;
}

.cta-button:hover {
  background-color: #2c5f45;
  color: #ffffff;
}

.cta-button.cta-secondary {
  background-color: transparent;
  color: #3a7d5c;
  border: 1px solid #3a7d5c;
}

.cta-button.cta-secondary:hover {
  background-color: #f0f4ee;
  color: #2c5f45;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #3a7d5c;
  border: 1px solid #3a7d5c;
  border-radius: 6px;
  min-height: 44px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-link:hover {
  background-color: #f0f4ee;
  color: #2c5f45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #3a7d5c;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.text-link::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: #2c5f45;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* 面包屑 */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 14px;
  color: #888888;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: #3a7d5c;
}

.breadcrumb a:hover {
  color: #2c5f45;
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #bbbbbb;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #666666;
}

/* 内页标题区 */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 8px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: #333333;
  line-height: 1.3;
  margin: 0;
}

.page-title-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 28px;
}

.page-intro,
.page-lead {
  font-size: 16px;
  color: #555555;
  line-height: 1.8;
  max-width: 760px;
}

/* 内页主容器 */
.inner-main {
  width: 100%;
}

/* 内容区块通用间距 */
.section-block {
  padding: 56px 0;
}

/* ==========================================================================
   首页组件
   ========================================================================== */

.home-main {
  overflow: visible;
}

/* ---------- 首屏 Hero ---------- */

.hero-section {
  background-color: #f5f7f4;
  padding: 56px 24px 48px;
  border-bottom: 1px solid #e0e5dd;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #333333;
  margin-bottom: 16px;
}

.hero-slogan {
  font-size: 18px;
  font-weight: 600;
  color: #3a7d5c;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  color: #555555;
  line-height: 1.8;
  max-width: 560px;
}

.hero-media {
  position: relative;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  background-color: #e8ece6;
}

.hero-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ---------- 场景选择器 ---------- */

.scene-selector {
  max-width: 1200px;
  margin: 40px auto 0;
  background-color: #ffffff;
  border: 1px solid #e0e5dd;
  border-radius: 8px;
  padding: 32px;
}

.selector-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 20px;
}

.selector-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.scene-tab {
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  color: #555555;
  background-color: #f5f7f4;
  border: 1px solid #e0e5dd;
  border-radius: 6px;
  cursor: pointer;
  min-height: 44px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.scene-tab:hover {
  border-color: #3a7d5c;
  color: #3a7d5c;
}

.scene-tab.active {
  background-color: #3a7d5c;
  color: #ffffff;
  border-color: #3a7d5c;
}

.scene-panels {
  position: relative;
}

.scene-panel {
  display: none;
}

.scene-panel.active {
  display: block;
}

.panel-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 16px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.capability-list li {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  padding: 16px;
  font-size: 15px;
  color: #444444;
  line-height: 1.6;
  position: relative;
  padding-left: 40px;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3a7d5c;
}

/* 首页首屏大图 */
.content-media-primary {
  max-width: 1200px;
  margin: 48px auto 0;
}

.content-media {
  border-radius: 8px;
  overflow: hidden;
  background-color: #e8ece6;
}

.content-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.content-media figcaption {
  padding: 12px 16px;
  font-size: 14px;
  color: #777777;
  background-color: #f5f7f4;
  border-top: 1px solid #e8ece6;
}

/* ---------- 区块标题通用 ---------- */

.section-heading {
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.section-heading h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 8px;
}

.section-heading p {
  font-size: 15px;
  color: #777777;
  line-height: 1.7;
  max-width: 720px;
}

/* ---------- 首页服务目录 ---------- */

.service-catalog {
  background-color: #ffffff;
}

.catalog-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.catalog-index {
  position: sticky;
  top: 88px;
  background-color: #f5f7f4;
  border-radius: 8px;
  padding: 20px;
}

.catalog-index ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.index-link {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: #555555;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.index-link:hover {
  background-color: #e8f0ea;
  color: #3a7d5c;
}

.catalog-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-item {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 8px;
  padding: 28px;
}

.service-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #3a7d5c;
  background-color: #e8f0ea;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.service-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-meta p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

.service-meta .boundary-note {
  color: #8a6a4a;
  background-color: #f5f0e8;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
}

.catalog-more {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 24px;
}

/* ---------- 首页合作摘要 ---------- */

.cooperation-summary {
  background-color: #f5f7f4;
}

.summary-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.summary-card {
  background-color: #ffffff;
  border: 1px solid #e0e5dd;
  border-radius: 8px;
  padding: 24px;
}

.summary-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #3a7d5c;
  margin-bottom: 16px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.summary-list li {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #8a6a4a;
}

.summary-expand {
  font-size: 14px;
  color: #777777;
  line-height: 1.6;
  border-top: 1px solid #e8ece6;
  padding-top: 12px;
}

/* ---------- 首页指南速览 ---------- */

.guide-preview {
  background-color: #ffffff;
}

.guide-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.guide-step {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 8px;
  padding: 24px;
  position: relative;
}

.guide-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #3a7d5c;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50%;
  margin-bottom: 14px;
}

.guide-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
}

.guide-step ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-step ul li {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.guide-step ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #8a6a4a;
}

/* ---------- 首页疑问预览 ---------- */

.faq-preview {
  background-color: #f5f7f4;
}

.faq-groups {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.faq-group h3 {
  font-size: 17px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 14px;
}

.faq-group details {
  background-color: #ffffff;
  border: 1px solid #e0e5dd;
  border-radius: 6px;
  margin-bottom: 12px;
}

.faq-group summary {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-group summary::-webkit-details-marker {
  display: none;
}

.faq-group summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #3a7d5c;
  transition: transform 0.2s ease;
}

.faq-group details[open] summary::after {
  content: "−";
}

.faq-group details p {
  padding: 0 16px 14px;
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}

/* ---------- 首页联系入口 ---------- */

.contact-entry {
  background-color: #ffffff;
}

.entry-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.entry-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 16px;
}

.entry-content p {
  font-size: 16px;
  color: #555555;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 28px;
}

.entry-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 相关链接导航 ---------- */

.related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #777777;
}

.related-links-item {
  font-size: 14px;
  color: #3a7d5c;
  padding: 6px 12px;
  background-color: #f5f7f4;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.related-links-item:hover {
  background-color: #e8f0ea;
  color: #2c5f45;
}

/* ==========================================================================
   内页 — 双栏布局（服务项目、应用场景）
   ========================================================================== */

.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.layout-shell.sidebar-left {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* 侧栏 */
.sidebar-index,
.scene-index {
  position: sticky;
  top: 88px;
  background-color: #f5f7f4;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-index-inner {
  display: flex;
  flex-direction: column;
}

.sidebar-label,
.aside-title {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 14px;
}

.sidebar-list,
.index-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-list a,
.index-list a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: #555555;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-list a:hover,
.index-list a:hover {
  background-color: #e8f0ea;
  color: #3a7d5c;
}

/* 主内容区 */
.content-main,
.scene-content {
  min-width: 0;
}

/* ---------- 服务项目页 ---------- */

.service-block {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
  scroll-margin-top: 88px;
}

.service-block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.service-block-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
}

.service-media {
  margin-bottom: 20px;
}

.service-figure {
  border-radius: 6px;
  overflow: hidden;
  background-color: #e8ece6;
}

.service-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-detail h3 {
  font-size: 16px;
  font-weight: 600;
  color: #3a7d5c;
  margin-bottom: 6px;
}

.service-detail p {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
}

/* 交付标准 */
.delivery-standard {
  background-color: #f5f7f4;
  border-radius: 8px;
  padding: 28px;
  margin-top: 32px;
}

.delivery-standard h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}

.delivery-standard > p {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
}

.standard-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.standard-item {
  background-color: #ffffff;
  border: 1px solid #e0e5dd;
  border-radius: 6px;
  padding: 20px;
}

.standard-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #3a7d5c;
  margin-bottom: 8px;
}

.standard-item p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* ---------- 应用场景页 ---------- */

.scene-block {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
  scroll-margin-top: 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.scene-text h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 16px;
}

.scene-text p {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 12px;
}

.scene-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #3a7d5c;
  margin-top: 8px;
}

.scene-link::after {
  content: "→";
  margin-left: 6px;
}

.scene-figure {
  border-radius: 6px;
  overflow: hidden;
  background-color: #e8ece6;
}

.scene-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.scene-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #777777;
  background-color: #ffffff;
  border-top: 1px solid #e8ece6;
}

/* 场景选择指引 */
.scene-guide {
  background-color: #f5f7f4;
  border-radius: 8px;
  padding: 28px;
  margin-top: 32px;
  text-align: center;
}

.scene-guide h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}

.scene-guide p {
  font-size: 15px;
  color: #555555;
  max-width: 640px;
  margin: 0 auto 12px;
}

.scene-guide-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ==========================================================================
   内页 — 单栏布局（合作、指南、疑问、联系）
   ========================================================================== */

/* 单栏正文容器 */
.inner-main .page-header + .page-title-area,
.inner-main .breadcrumb + .page-header + .page-title-area {
  max-width: 900px;
}

/* ---------- 合作说明页 ---------- */

.page-hezuo .section-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.page-hezuo .section-block h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}

.page-hezuo .section-lead {
  font-size: 15px;
  color: #777777;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* 合作摘要卡片 */
.page-hezuo .summary-card {
  margin-bottom: 20px;
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 8px;
  padding: 24px;
}

.page-hezuo .summary-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #3a7d5c;
  margin-bottom: 12px;
}

.page-hezuo .summary-conclusion {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.page-hezuo .summary-reason {
  font-size: 14px;
  color: #666666;
  margin-bottom: 8px;
}

.page-hezuo .summary-example {
  font-size: 14px;
  color: #8a6a4a;
  background-color: #f5f0e8;
  border-radius: 4px;
  padding: 10px 14px;
  line-height: 1.6;
}

/* 准入条件 */
.condition-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.condition-item {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  padding: 20px;
}

.condition-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.condition-item p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* 合作流程 */
.flow-figure {
  border-radius: 6px;
  overflow: hidden;
  background-color: #e8ece6;
  margin-bottom: 24px;
}

.flow-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.flow-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #777777;
  background-color: #ffffff;
  border-top: 1px solid #e8ece6;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: flow-step-counter;
}

.flow-step {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  padding: 20px;
  padding-left: 72px;
  position: relative;
  counter-increment: flow-step-counter;
}

.flow-step::before {
  content: counter(flow-step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  background-color: #3a7d5c;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step h3 {
  font-size: 17px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
}

.flow-step .step-target {
  font-size: 14px;
  color: #3a7d5c;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* 交付标准（合作页） */
.delivery-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.delivery-list li {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  padding: 20px;
}

.delivery-list h3 {
  font-size: 16px;
  font-weight: 600;
  color: #3a7d5c;
  margin-bottom: 8px;
}

.delivery-list p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

.delivery-note {
  font-size: 14px;
  color: #8a6a4a;
  background-color: #f5f0e8;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 20px;
  line-height: 1.6;
}

/* 反馈渠道 */
.feedback-channel p {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 12px;
}

.feedback-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ---------- 服务指南页 ---------- */

.page-guide .page-title-area {
  max-width: 900px;
}

.guide-intro-media {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.guide-media-figure {
  border-radius: 8px;
  overflow: hidden;
  background-color: #e8ece6;
}

.guide-media-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.guide-media-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #777777;
  background-color: #f5f7f4;
  border-top: 1px solid #e8ece6;
}

.guide-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.guide-section {
  margin-bottom: 40px;
  scroll-margin-top: 88px;
}

.guide-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}

.guide-section > p {
  font-size: 15px;
  color: #777777;
  line-height: 1.7;
  margin-bottom: 20px;
}

.preparation-list,
.exception-list,
.notes-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preparation-list li,
.exception-list li,
.notes-list li {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  padding: 20px;
}

.preparation-list h3,
.exception-list h3,
.notes-list h3 {
  font-size: 16px;
  font-weight: 600;
  color: #3a7d5c;
  margin-bottom: 8px;
}

.preparation-list p,
.exception-list p,
.notes-list p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* 接入步骤 */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: step-counter;
}

.step-list li {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  padding: 20px;
  padding-left: 72px;
  position: relative;
  counter-increment: step-counter;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  background-color: #8a6a4a;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list h3 {
  font-size: 17px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
}

.step-list p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* 任务管理 */
.task-management-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.task-item {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  padding: 20px;
}

.task-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #3a7d5c;
  margin-bottom: 8px;
}

.task-item p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* 指南相关链接 */
.guide-related-links {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.guide-related-links h2 {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 8px;
}

.guide-related-links > p {
  font-size: 15px;
  color: #777777;
  margin-bottom: 20px;
}

.related-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-link-list a {
  display: block;
  padding: 14px 20px;
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  font-size: 15px;
  color: #3a7d5c;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.related-link-list a:hover {
  background-color: #e8f0ea;
  border-color: #3a7d5c;
}

/* ---------- 疑问解答页 ---------- */

.page-faq .page-title-area {
  max-width: 900px;
}

.faq-hero-image {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.faq-figure {
  border-radius: 8px;
  overflow: hidden;
  background-color: #e8ece6;
}

.faq-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.faq-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #777777;
  background-color: #f5f7f4;
  border-top: 1px solid #e8ece6;
}

.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 40px;
  scroll-margin-top: 88px;
}

.faq-group-title {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 16px;
}

.faq-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding-right: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 22px;
  color: #3a7d5c;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
}

.faq-conclusion {
  font-size: 14px;
  color: #3a7d5c;
  line-height: 1.6;
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* 边界说明 */
.page-faq .boundary-note {
  background-color: #f5f0e8;
  border: 1px solid #e8dcc8;
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 14px;
  color: #8a6a4a;
  line-height: 1.7;
  margin-top: 16px;
}

.page-faq .boundary-note a {
  color: #3a7d5c;
  font-weight: 600;
}

/* 相关卡片 */
.related-links {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.related-title {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.related-card {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  background-color: #e8f0ea;
  border-color: #3a7d5c;
}

.related-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #3a7d5c;
}

.related-card-desc {
  font-size: 13px;
  color: #777777;
  line-height: 1.6;
}

/* ---------- 联系与咨询页 ---------- */

.page-contact .page-title-area {
  max-width: 900px;
}

.contact-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.contact-figure {
  border-radius: 8px;
  overflow: hidden;
  background-color: #e8ece6;
}

.contact-hero-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.contact-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #777777;
  background-color: #f5f7f4;
  border-top: 1px solid #e8ece6;
}

.contact-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 40px;
  scroll-margin-top: 88px;
}

.contact-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}

.contact-section > p {
  font-size: 15px;
  color: #777777;
  line-height: 1.7;
  margin-bottom: 20px;
}

.checklist,
.channel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist-item,
.channel-list li {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  padding: 20px;
}

.checklist-item h3,
.channel-list h3 {
  font-size: 16px;
  font-weight: 600;
  color: #3a7d5c;
  margin-bottom: 8px;
}

.checklist-item p,
.channel-list p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

.channel-list a {
  color: #3a7d5c;
  font-weight: 600;
}

/* 响应机制步骤 */
.page-contact .step-list {
  counter-reset: response-counter;
}

.page-contact .step-list li {
  counter-increment: response-counter;
}

.page-contact .step-list li::before {
  content: counter(response-counter);
  background-color: #3a7d5c;
}

/* 咨询主题指引 */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topic-card {
  background-color: #f8faf7;
  border: 1px solid #e8ece6;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
}

.topic-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  flex: 1;
}

.topic-card .text-link {
  font-size: 14px;
  padding: 0;
}

/* 下一步 */
.cta-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   404 页面
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-content {
  text-align: center;
  max-width: 600px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #3a7d5c;
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: #777777;
  line-height: 1.7;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  min-height: 44px;
  background-color: #3a7d5c;
  color: #ffffff;
  border: 1px solid #3a7d5c;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: #2c5f45;
  color: #ffffff;
}

.error-btn + .error-btn {
  background-color: transparent;
  color: #3a7d5c;
  border: 1px solid #3a7d5c;
}

.error-btn + .error-btn:hover {
  background-color: #f0f4ee;
  color: #2c5f45;
}

/* ==========================================================================
   Responsive — 响应式断点
   ========================================================================== */

/* ---------- 平板（≤1024px） ---------- */

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 20px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 14px;
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-media {
    max-width: 640px;
  }

  .catalog-layout {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }

  .layout-shell.sidebar-left {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }

  .scene-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .scene-figure img {
    height: 200px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 手机（≤768px） ---------- */

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-tag {
    display: none;
  }

  /* 汉堡按钮显示 */
  .nav-toggle {
    display: flex;
  }

  /* 导航列表收起，由 .is-open 展开 */
  .main-nav {
    position: static;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e5dd;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 0;
    z-index: 99;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid #f0f2ee;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 14px 8px;
    font-size: 16px;
    border-radius: 0;
  }

  /* 面包屑 */
  .breadcrumb {
    padding: 16px 16px 0;
    font-size: 13px;
  }

  /* 内页标题区 */
  .page-header {
    padding: 24px 16px 8px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-title-area {
    padding: 0 16px 24px;
  }

  .page-intro,
  .page-lead {
    font-size: 15px;
  }

  /* 首页 Hero */
  .hero-section {
    padding: 40px 16px 32px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-slogan {
    font-size: 16px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-figure img {
    height: 200px;
  }

  .scene-selector {
    padding: 20px;
    margin-top: 24px;
  }

  .selector-tabs {
    flex-direction: column;
    gap: 8px;
  }

  .scene-tab {
    width: 100%;
    text-align: center;
  }

  .capability-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .content-media img {
    height: 200px;
  }

  /* 首页区块 */
  .section-block {
    padding: 40px 0;
  }

  .section-heading {
    padding: 0 16px;
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  /* 首页服务目录 — 索引折叠为顶部横向标签 */
  .catalog-layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 20px;
  }

  .catalog-index {
    position: static;
    overflow-x: auto;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-index ul {
    flex-direction: row;
    gap: 8px;
    min-width: max-content;
  }

  .index-link {
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 14px;
  }

  .service-item {
    padding: 20px;
  }

  .catalog-more {
    padding: 0 16px;
  }

  /* 首页合作摘要 */
  .summary-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 16px;
  }

  /* 首页指南 */
  .guide-steps {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 16px;
  }

  /* 首页疑问 */
  .faq-groups {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 24px;
  }

  .entry-content {
    padding: 0 16px;
  }

  .entry-actions {
    flex-direction: column;
    align-items: center;
  }

  .entry-actions .btn-primary,
  .entry-actions .btn-secondary {
    width: 100%;
    max-width: 320px;
  }

  /* 相关链接 */
  .related-links {
    padding: 24px 16px 40px;
  }

  /* 内页双栏布局 — 手机端改为单栏，正文在前 */
  .layout-shell.sidebar-left {
    grid-template-columns: 1fr;
    padding: 0 16px 32px;
    gap: 0;
  }

  /* 侧栏移到正文之后（DOM 中 aside 在前，用 order 调整） */
  .sidebar-index,
  .scene-index {
    order: 2;
    position: static;
    margin-top: 24px;
    overflow-x: auto;
    padding: 12px;
  }

  .sidebar-list,
  .index-list {
    flex-direction: row;
    gap: 8px;
    min-width: max-content;
  }

  .sidebar-list a,
  .index-list a {
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 14px;
  }

  .content-main,
  .scene-content {
    order: 1;
  }

  /* 服务条目 */
  .service-block {
    padding: 20px;
  }

  .service-block-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .service-figure img {
    height: 180px;
  }

  .standard-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 场景卡片 */
  .scene-block {
    padding: 20px;
  }

  .scene-figure img {
    height: 180px;
  }

  .scene-guide {
    padding: 20px;
  }

  .scene-guide-actions {
    flex-direction: column;
    align-items: center;
  }

  .scene-guide-actions .btn-primary,
  .scene-guide-actions .btn-secondary {
    width: 100%;
    max-width: 320px;
  }

  /* 合作说明页 */
  .page-hezuo .section-block {
    padding: 32px 16px;
  }

  .page-hezuo .summary-card {
    padding: 20px;
  }

  .flow-figure img {
    height: 180px;
  }

  .flow-step {
    padding-left: 20px;
    padding-top: 72px;
  }

  .flow-step::before {
    left: 20px;
    top: 20px;
  }

  /* 指南页 */
  .guide-intro-media {
    padding: 0 16px 24px;
  }

  .guide-media-figure img {
    height: 180px;
  }

  .guide-content {
    padding: 0 16px 32px;
  }

  .task-management-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-list li {
    padding-left: 20px;
    padding-top: 72px;
  }

  .step-list li::before {
    left: 20px;
    top: 20px;
  }

  .guide-related-links {
    padding: 0 16px 32px;
  }

  /* 疑问页 */
  .faq-hero-image {
    padding: 0 16px 24px;
  }

  .faq-figure img {
    height: 180px;
  }

  .faq-section {
    padding: 0 16px 32px;
  }

  .faq-item summary {
    padding: 14px 16px;
    padding-right: 44px;
  }

  .faq-item summary::after {
    right: 16px;
  }

  .faq-answer {
    padding: 0 16px 14px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 联系页 */
  .contact-hero {
    padding: 0 16px 24px;
  }

  .contact-hero-image {
    height: 180px;
  }

  .contact-section {
    padding: 0 16px 32px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-links {
    flex-direction: column;
    align-items: stretch;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 32px 16px 24px;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 12px 16px;
  }
}

/* ---------- 小屏手机（≤390px） ---------- */

@media (max-width: 390px) {
  .header-inner {
    padding: 0 12px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero-section {
    padding: 32px 12px 24px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .scene-selector {
    padding: 16px;
  }

  .service-item,
  .summary-card,
  .guide-step {
    padding: 16px;
  }

  .service-block,
  .scene-block {
    padding: 16px;
  }

  .page-hezuo .summary-card {
    padding: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
