/* ==========================================================================
   dulongjiang.com — 51吃瓜黑料
   全站样式表
   视觉方向：展品陈列为灵感的专业机构气质
   色彩：米白 #F5F2EA 墨色 #2B2B2B 陶土棕 #8A6E4B 黄铜 #C9A063
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 Base — 重置、根变量、字体、基础元素
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #F5F2EA;
  --color-ink: #2B2B2B;
  --color-ink-soft: #4A4A4A;
  --color-terracotta: #8A6E4B;
  --color-brass: #C9A063;
  --color-white: #FFFFFF;
  --color-line: #E0DBD0;
  --color-line-dark: #C9C2B5;
  --color-bg-soft: #EDE8DD;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;

  --container-width: 1120px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  --header-height: 72px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink);
  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-terracotta);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-ink);
}

ul,
ol {
  list-style-position: inside;
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  font-weight: 600;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

p {
  margin-bottom: 12px;
}

figure {
  margin: 0;
}

/* --------------------------------------------------------------------------
   02 Layout — 容器、主结构、页头、页脚
   -------------------------------------------------------------------------- */

/* 全站主容器宽度 */
.header-inner,
.hero-section,
.trust-inner,
.service-overview,
.method-preview,
.team-summary,
.faq-preview,
.process-entry-inner,
.footer-inner,
.inner-main,
.article-shell,
.error-container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- 页头 ---------- */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-line);
  position: relative;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 13px;
  color: var(--color-ink-soft);
  line-height: 1.5;
}

/* ---------- 主导航 ---------- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-list li {
  list-style: none;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--color-ink-soft);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-ink);
  background-color: var(--color-bg);
}

.nav-link.is-current {
  color: var(--color-ink);
  font-weight: 600;
}

.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background-color: var(--color-terracotta);
}

/* 汉堡按钮 — 桌面隐藏 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background-color: var(--color-ink);
  color: #B8B2A6;
  margin-top: var(--space-2xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #A8A296;
  max-width: 320px;
}

.footer-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  list-style: none;
  margin-bottom: 8px;
}

.footer-nav a {
  color: #B8B2A6;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-feedback p {
  font-size: 14px;
  color: #A8A296;
  margin-bottom: 10px;
}

.footer-feedback a {
  display: inline-block;
  font-size: 14px;
  color: var(--color-brass);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.footer-feedback a:hover {
  border-bottom-color: var(--color-brass);
  color: var(--color-brass);
}

.footer-compliance {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

.footer-compliance p {
  font-size: 13px;
  color: #8C867A;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #8C867A;
  margin-bottom: 0;
}

/* ---------- 内页通用骨架 ---------- */
.site-main {
  min-height: 60vh;
}

.inner-main {
  padding-top: 32px;
  padding-bottom: 24px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--color-ink-soft);
}

.breadcrumb a {
  color: var(--color-terracotta);
}

.breadcrumb a:hover {
  color: var(--color-ink);
}

.breadcrumb-sep {
  color: var(--color-line-dark);
}

.breadcrumb-current {
  color: var(--color-ink-soft);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 20px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.3;
}

.page-title-area,
.page-title-section {
  margin-bottom: 40px;
}

.page-lead,
.page-intro {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-ink-soft);
  max-width: 720px;
}

.page-title-inner {
  max-width: 720px;
}

/* ---------- 通用区块标题 ---------- */
.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 26px;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.section-header p {
  font-size: 15px;
  color: var(--color-ink-soft);
  max-width: 640px;
}

.section-title {
  font-size: 24px;
  color: var(--color-ink);
  margin-bottom: 16px;
}

.section-footer-link {
  margin-top: 28px;
  text-align: center;
}

.section-footer-link a {
  display: inline-block;
  font-size: 15px;
  color: var(--color-terracotta);
  border-bottom: 1px solid var(--color-line-dark);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.section-footer-link a:hover {
  border-bottom-color: var(--color-terracotta);
  color: var(--color-ink);
}

/* ---------- 按钮 ---------- */
.btn-primary {
  display: inline-block;
  background-color: var(--color-ink);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-ink);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--color-terracotta);
  border-color: var(--color-terracotta);
  color: var(--color-white);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line-dark);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
  background-color: var(--color-white);
}

.text-link {
  display: inline-block;
  font-size: 15px;
  color: var(--color-terracotta);
  border-bottom: 1px solid var(--color-line-dark);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.text-link:hover {
  border-bottom-color: var(--color-terracotta);
  color: var(--color-ink);
}

/* --------------------------------------------------------------------------
   03 Components — 卡片、展签、步骤、FAQ、筛选栏、相关链接
   -------------------------------------------------------------------------- */

/* ---------- 展签卡片（服务卡片） ---------- */
.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 6px 20px rgba(43, 43, 43, 0.08);
  border-color: var(--color-line-dark);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-body {
  padding: 20px;
}

.service-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.service-scene {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.6;
  margin-bottom: 10px;
}

.service-deliverable {
  font-size: 13px;
  color: var(--color-terracotta);
  line-height: 1.5;
  margin-bottom: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--color-line);
}

.service-link {
  display: inline-block;
  font-size: 14px;
  color: var(--color-terracotta);
  font-weight: 500;
  transition: color 0.2s ease;
}

.service-link:hover {
  color: var(--color-ink);
}

/* 首页服务卡片 */
.service-overview .service-card {
  display: flex;
  flex-direction: column;
}

.service-overview .service-card img {
  height: 160px;
}

.service-overview .service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  padding: 0 20px;
}

.service-overview .service-card p {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 12px;
  flex-grow: 1;
}

.service-overview .service-card .card-link {
  display: block;
  font-size: 14px;
  color: var(--color-terracotta);
  padding: 12px 20px;
  border-top: 1px solid var(--color-line);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.service-overview .service-card .card-link:hover {
  color: var(--color-ink);
  background-color: var(--color-bg);
}

/* ---------- 步骤（首页工作方式预览） ---------- */
.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-bg);
  color: var(--color-terracotta);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.step-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---------- FAQ 折叠 ---------- */
.faq-list {
  max-width: 860px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--color-terracotta);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.faq-item[open] summary {
  background-color: var(--color-bg);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.7;
  margin-bottom: 0;
}

/* FAQ 页答案容器 */
.faq-answer {
  padding: 0 20px 16px;
}

.faq-answer p {
  padding: 0;
  margin-bottom: 0;
}

/* ---------- 分类筛选栏 ---------- */
.filter-section {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: var(--color-bg);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 32px;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  font-size: 14px;
  color: var(--color-ink-soft);
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
}

.filter-tab:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
}

.filter-tab.is-active {
  background-color: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-white);
  font-weight: 500;
}

/* ---------- 相关链接 ---------- */
.related-links {
  max-width: var(--container-width);
  margin: 48px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
}

.related-links-item {
  font-size: 14px;
  color: var(--color-terracotta);
  border-bottom: 1px solid var(--color-line-dark);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  border-bottom-color: var(--color-terracotta);
  color: var(--color-ink);
}

/* ---------- 图文阶段区（method 页） ---------- */
.stage-section {
  margin-bottom: 48px;
}

.stage-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.stage-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-terracotta);
  background-color: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.stage-text h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.stage-text p {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.75;
  margin-bottom: 10px;
}

.stage-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
}

.stage-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ---------- 协作注意事项 ---------- */
.collaboration-note {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  margin: 48px 24px 0;
  padding: 32px;
}

.note-inner {
  max-width: 720px;
  margin: 0 auto;
}

.note-inner h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

.note-inner p {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.75;
  margin-bottom: 10px;
}

/* ---------- 角色卡片（team 页） ---------- */
.role-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.role-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.role-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.role-card-header h3 {
  font-size: 18px;
}

.role-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-terracotta);
  background-color: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 3px 10px;
}

.role-desc {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.7;
  margin-bottom: 10px;
}

.role-coop {
  font-size: 13px;
  color: var(--color-terracotta);
  line-height: 1.6;
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
}

/* ---------- 协作模型（team 页） ---------- */
.collaboration-model {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.collaboration-text p {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.75;
}

.collaboration-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
}

.collaboration-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ---------- 专业边界 ---------- */
.professional-boundary {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}

.professional-boundary p {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ---------- 相关链接列表（team 页） ---------- */
.related-link-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.related-link-item {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-ink-soft);
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-link-item:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
}

/* ---------- 流程步骤（process 页） ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.process-step {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.process-step .step-number {
  background-color: var(--color-ink);
  color: var(--color-white);
}

.process-step h2 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step-time {
  font-size: 13px;
  color: var(--color-brass);
  font-weight: 500;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.65;
  margin-bottom: 0;
}

.process-media {
  margin: 0 0 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.process-media figcaption {
  font-size: 13px;
  color: var(--color-ink-soft);
  background-color: var(--color-white);
  padding: 12px 16px;
  border: 1px solid var(--color-line);
  border-top: none;
}

/* ---------- 准备清单 ---------- */
.prep-list {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}

.prep-list h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.prep-list > p {
  font-size: 15px;
  color: var(--color-ink-soft);
  margin-bottom: 20px;
}

.prep-list ul {
  list-style: none;
}

.prep-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.7;
  margin-bottom: 10px;
  list-style: none;
}

.prep-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-brass);
  border-radius: 50%;
}

/* ---------- 沟通说明 ---------- */
.communication-note {
  background-color: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}

.communication-note h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.communication-note p {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ---------- FAQ 分类区 ---------- */
.faq-category {
  margin-bottom: 48px;
}

.faq-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.faq-category-header h2 {
  font-size: 22px;
}

.faq-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  color: var(--color-terracotta);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ---------- 相关入口卡片（faq 页） ---------- */
.related-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.related-link-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-link-card:hover {
  border-color: var(--color-line-dark);
  box-shadow: 0 4px 16px rgba(43, 43, 43, 0.06);
}

.related-link-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.related-link-card p {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.65;
  margin-bottom: 12px;
}

.related-link-card a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-terracotta);
}

/* ---------- 方法指南（guide 页） ---------- */
.article-header {
  margin-bottom: 32px;
}

.article-lead {
  font-size: 17px;
  color: var(--color-ink-soft);
  line-height: 1.8;
  max-width: 720px;
}

.method-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

.method-text h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.method-text > p {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.75;
  margin-bottom: 16px;
}

.method-list {
  list-style: decimal;
  padding-left: 20px;
}

.method-list li {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 4px;
}

.method-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
}

.method-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.method-figure figcaption {
  font-size: 13px;
  color: var(--color-ink-soft);
  padding: 10px 14px;
  border-top: 1px solid var(--color-line);
}

.boundary-note {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}

.boundary-note h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.boundary-note p {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.75;
  margin-bottom: 0;
}

.related-list {
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.related-list li {
  list-style: none;
}

.related-list a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-ink-soft);
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-list a:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
}

/* ---------- 选择建议引导卡（service 页） ---------- */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.guide-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.guide-card-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.guide-card-text {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.65;
  margin-bottom: 12px;
}

.guide-card-link {
  font-size: 14px;
  color: var(--color-terracotta);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   04 Pages — 首页、404
   -------------------------------------------------------------------------- */

/* ---------- 首页 Hero ---------- */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-content h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: var(--color-ink-soft);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--color-ink-soft);
  line-height: 1.5;
  margin-bottom: 0;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
}

.hero-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* ---------- 首页信任说明 ---------- */
.trust-note {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 32px 0;
}

.trust-inner p {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 860px;
}

/* ---------- 首页服务矩阵 ---------- */
.service-overview {
  padding: 64px 24px 0;
}

.service-overview .service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---------- 首页工作方式预览 ---------- */
.method-preview {
  padding: 64px 24px 0;
}

/* ---------- 首页团队摘要 ---------- */
.team-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 24px 0;
}

.team-text h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.team-text p {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}

.team-text .text-link {
  margin-top: 8px;
}

.team-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
}

.team-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ---------- 首页 FAQ 预览 ---------- */
.faq-preview {
  padding: 64px 24px 0;
}

/* ---------- 首页合作流程入口 ---------- */
.process-entry {
  padding: 64px 24px 0;
}

.process-entry-inner {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.process-entry-inner h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.process-entry-inner p {
  font-size: 15px;
  color: var(--color-ink-soft);
  max-width: 560px;
  margin: 0 auto 24px;
}

/* ---------- 404 页 ---------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-container {
  text-align: center;
  max-width: 520px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: var(--color-terracotta);
  line-height: 1;
  margin-bottom: 16px;
}

.error-container h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--color-ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-link {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--color-ink);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: background-color 0.2s ease;
}

.error-link:hover {
  background-color: var(--color-terracotta);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   05 Responsive — 断点适配
   -------------------------------------------------------------------------- */

/* ---------- ≤1024px 平板 ---------- */
@media (max-width: 1024px) {
  .service-overview .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .role-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- ≤768px 手机 ---------- */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: static;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 0;
    box-shadow: 0 8px 16px rgba(43, 43, 43, 0.08);
    z-index: 100;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-line);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 14px 8px;
    font-size: 16px;
    border-radius: 0;
  }

  .nav-link.is-current::after {
    left: 8px;
    right: auto;
    width: 24px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .footer-compliance {
    grid-column: 1;
  }

  /* Hero */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-media img {
    height: 220px;
  }

  /* 首页各区块 */
  .service-overview,
  .method-preview,
  .team-summary,
  .faq-preview,
  .process-entry {
    padding-top: 40px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-overview .service-grid {
    grid-template-columns: 1fr;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .team-summary {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-media img {
    height: 220px;
  }

  .process-entry-inner {
    padding: 24px 20px;
  }

  /* 内页通用 */
  .inner-main {
    padding-top: 20px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .breadcrumb {
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .page-title {
    font-size: 24px;
  }

  .page-title-area,
  .page-title-section {
    margin-bottom: 24px;
  }

  .page-lead,
  .page-intro {
    font-size: 15px;
  }

  /* 服务页 */
  .filter-section {
    position: static;
    padding: 8px 0;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tab {
    flex-shrink: 0;
    font-size: 13px;
    padding: 8px 14px;
  }

  .service-grid-section .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card img {
    height: 160px;
  }

  .guide-cards {
    grid-template-columns: 1fr;
  }

  /* method 页 */
  .stage-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stage-figure img {
    height: 200px;
  }

  .collaboration-note {
    margin: 32px 16px 0;
    padding: 24px;
  }

  /* team 页 */
  .role-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .collaboration-model {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .collaboration-figure img {
    height: 200px;
  }

  .professional-boundary {
    padding: 24px;
  }

  /* process 页 */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-media img {
    height: 200px;
  }

  .prep-list,
  .communication-note {
    padding: 24px;
  }

  /* faq 页 */
  .related-link-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-category {
    margin-bottom: 32px;
  }

  /* guide 页 */
  .method-block {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .method-figure img {
    height: 200px;
  }

  .boundary-note {
    padding: 24px;
  }

  /* 相关链接 */
  .related-links {
    margin-top: 32px;
    padding: 0 16px;
  }

  /* 404 */
  .error-code {
    font-size: 56px;
  }
}

/* ---------- ≤480px 小屏手机 ---------- */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    text-align: center;
  }

  .service-overview .service-grid {
    grid-template-columns: 1fr;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .role-card-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .related-link-grid {
    grid-template-columns: 1fr;
  }

  .guide-cards {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .team-text h2 {
    font-size: 22px;
  }

  .process-entry-inner h2 {
    font-size: 20px;
  }
}

/* ---------- 滚动淡入动画（不阻塞初始可见性） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-section,
  .trust-note,
  .service-overview,
  .method-preview,
  .team-summary,
  .faq-preview,
  .process-entry,
  .stage-section,
  .role-card,
  .collaboration-model,
  .process-step,
  .faq-category,
  .method-block {
    animation: fadeInUp 0.5s ease both;
  }

  .hero-section {
    animation-delay: 0.05s;
  }

  .trust-note {
    animation-delay: 0.1s;
  }

  .service-overview {
    animation-delay: 0.15s;
  }

  .method-preview {
    animation-delay: 0.2s;
  }

  .team-summary {
    animation-delay: 0.25s;
  }

  .faq-preview {
    animation-delay: 0.3s;
  }

  .process-entry {
    animation-delay: 0.35s;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
