/* =========================================================
   51吃瓜网轻量版 - 整站样式表
   明亮空间里的服务选品 · 家居选品风转译
   ========================================================= */

/* =========================================================
   Base
   ========================================================= */
:root {
  --green: #4A6B5A;
  --green-dark: #3A5547;
  --cream: #E8DFD1;
  --white: #FFFFFF;
  --clay: #B46A4A;
  --clay-dark: #9A5A3E;
  --ink: #2E2B27;
  --gray: #8A9B8E;
  --gray-light: #C9D2CC;
  --line: #E3DCD0;
  --shadow-sm: 0 1px 3px rgba(46, 43, 39, 0.06);
  --shadow-md: 0 4px 14px rgba(46, 43, 39, 0.08);
  --shadow-lg: 0 10px 28px rgba(46, 43, 39, 0.10);
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1200px;
  --header-h: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--clay);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Layout · 全站视觉骨架
   ========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 页头 --- */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.01em;
}

.logo:hover .logo-text {
  color: var(--clay);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 15px;
  color: var(--ink);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
  color: var(--green);
  border-bottom-color: var(--gray-light);
}

.main-nav a.is-current {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle:hover span {
  background-color: var(--green);
}

/* --- 主内容 --- */
.site-main {
  min-height: 60vh;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 72px;
}

/* --- 面包屑 --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb-sep {
  color: var(--gray-light);
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--ink);
}

/* --- 页面标题区 --- */
.page-header {
  margin-bottom: 40px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-title-area {
  margin-bottom: 48px;
}

.page-intro,
.page-lead,
.page-subtitle {
  font-size: 16px;
  color: #5A5752;
  max-width: 720px;
  line-height: 1.8;
}

/* --- 页脚 --- */
.site-footer {
  background-color: var(--green-dark);
  color: #D8DFD9;
  margin-top: 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #B9C4BC;
  max-width: 320px;
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: #B9C4BC;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 8px;
  font-size: 13px;
  color: #9AAB9F;
}

/* --- 相关链接条 --- */
.related-links {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  background-color: var(--white);
}

.related-links-label {
  font-size: 14px;
  color: var(--gray);
  margin-right: 8px;
}

.related-links-item {
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
}

.related-links-item:hover {
  border-color: var(--green);
  background-color: rgba(74, 107, 90, 0.06);
}

/* =========================================================
   Components · 通用组件
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--clay);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--clay-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

.btn-secondary:hover {
  background-color: rgba(74, 107, 90, 0.08);
  color: var(--green-dark);
}

/* --- 图片与说明 --- */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  font-size: 13px;
  color: var(--gray);
  margin-top: 8px;
  line-height: 1.5;
}

.content-media {
  border-radius: var(--radius);
  overflow: hidden;
}

.content-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-media-primary {
  margin-top: 32px;
}

.content-media-primary img {
  height: 320px;
}

.content-media-inline img {
  height: 280px;
}

/* --- FAQ 折叠 --- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--gray);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--green);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 15px;
  color: #5A5752;
  line-height: 1.75;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer a {
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}

/* --- 卡片通用 --- */
.entry-card,
.pick-card,
.problem-card,
.faq-card,
.scope-item,
.acceptance-item,
.response-item,
.step-item,
.sidebar-card,
.next-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.entry-card:hover,
.pick-card:hover,
.problem-card:hover,
.faq-card:hover,
.scope-item:hover,
.acceptance-item:hover,
.response-item:hover,
.step-item:hover,
.sidebar-card:hover,
.next-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* =========================================================
   Pages · 首页
   ========================================================= */
.home-main {
  background-color: var(--cream);
}

/* --- 极简首屏 --- */
.hero {
  background-color: var(--cream);
  padding: 72px 0 48px;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--ink);
}

.hero-subtitle {
  font-size: 17px;
  color: #5A5752;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* --- 业务双入口 --- */
.service-entry {
  padding: 56px 0 24px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 640px;
}

.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.entry-card {
  padding: 28px;
}

.entry-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.entry-card p {
  font-size: 15px;
  color: #5A5752;
  margin-bottom: 16px;
}

.entry-card a {
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.entry-card a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.entry-card a:hover::after {
  transform: translateX(4px);
}

/* --- 年度档案 --- */
.archive-section {
  padding: 56px 0 24px;
}

.archive-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.archive-index {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.archive-index h2 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.archive-index li {
  margin-bottom: 4px;
}

.archive-index a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.archive-index a:hover {
  background-color: rgba(74, 107, 90, 0.08);
  color: var(--green);
}

.archive-groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.archive-group {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.archive-group h3 {
  font-size: 20px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.archive-group p {
  font-size: 15px;
  color: #5A5752;
  margin-bottom: 16px;
}

.archive-group a {
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.archive-group a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.archive-group a:hover::after {
  transform: translateX(4px);
}

/* --- 服务方案选品区 --- */
.service-pick {
  padding: 56px 0 24px;
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pick-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.pick-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.pick-scene {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.spec-list {
  margin-bottom: 20px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.spec-row dt {
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.spec-row dd {
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.swatch-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.swatch-green {
  background-color: var(--green);
}

.swatch-clay {
  background-color: var(--clay);
}

.swatch-gray {
  background-color: var(--gray);
}

.swatch-cream {
  background-color: var(--cream);
}

.swatch-dark {
  background-color: var(--ink);
}

.pick-footer {
  margin-top: 32px;
  text-align: left;
}

.pick-footer a {
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pick-footer a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.pick-footer a:hover::after {
  transform: translateX(4px);
}

/* --- 合作阶段时间轴 --- */
.timeline-section {
  padding: 56px 0 24px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.timeline-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(74, 107, 90, 0.12);
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.timeline-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14px;
  color: #5A5752;
}

.timeline-link {
  margin-top: 28px;
}

.timeline-link a {
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.timeline-link a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.timeline-link a:hover::after {
  transform: translateX(4px);
}

/* --- FAQ 预览 --- */
.faq-preview {
  padding: 56px 0 24px;
}

.faq-preview .faq-list {
  max-width: 860px;
}

.faq-more {
  margin-top: 20px;
}

.faq-more a {
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.faq-more a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.faq-more a:hover::after {
  transform: translateX(4px);
}

/* --- 合作入口 --- */
.contact-entry {
  padding: 56px 0 72px;
}

.contact-entry p {
  font-size: 15px;
  color: #5A5752;
  max-width: 720px;
  margin-bottom: 16px;
}

.entry-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* =========================================================
   Pages · 认识我们
   ========================================================= */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.intro-text h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.intro-text p {
  font-size: 15px;
  color: #5A5752;
  margin-bottom: 16px;
}

.intro-media {
  border-radius: var(--radius);
  overflow: hidden;
}

.intro-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.about-scope {
  margin-bottom: 56px;
}

.about-scope > h2 {
  font-size: 22px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scope-item {
  padding: 24px;
}

.scope-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.scope-item p {
  font-size: 14px;
  color: #5A5752;
}

.about-boundary {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 56px;
}

.about-boundary > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.boundary-lead {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 24px;
}

.boundary-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.boundary-col {
  padding: 20px;
  background-color: var(--cream);
  border-radius: var(--radius);
}

.boundary-col h3 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.boundary-col li {
  font-size: 14px;
  color: #5A5752;
  padding: 6px 0 6px 20px;
  position: relative;
}

.boundary-col li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--gray);
  font-weight: 700;
}

.about-next {
  margin-bottom: 24px;
}

.about-next > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.about-next > p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 24px;
}

.next-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.next-card {
  padding: 24px;
  display: block;
  color: var(--ink);
}

.next-card-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--green);
}

.next-card-desc {
  display: block;
  font-size: 14px;
  color: #5A5752;
  line-height: 1.6;
}

/* =========================================================
   Pages · 服务方案
   ========================================================= */
.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.section-head p {
  font-size: 15px;
  color: var(--gray);
}

.problem-section {
  margin-bottom: 56px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.problem-card {
  padding: 24px;
}

.problem-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--clay);
}

.problem-card p {
  font-size: 14px;
  color: #5A5752;
}

.media-figure {
  border-radius: var(--radius);
  overflow: hidden;
}

.media-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.capability-section {
  margin-bottom: 56px;
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: box-shadow 0.2s ease;
}

.capability-item:hover {
  box-shadow: var(--shadow-sm);
}

.capability-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(74, 107, 90, 0.1);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.capability-content h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.capability-content p {
  font-size: 14px;
  color: #5A5752;
}

/* --- 可排序对比表 --- */
.compare-section {
  margin-bottom: 56px;
}

.table-scroll {
  overflow-x: auto;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}

.compare-table th {
  background-color: var(--green);
  color: var(--white);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 14px;
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.compare-table th:hover {
  background-color: var(--green-dark);
}

.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: #5A5752;
  vertical-align: top;
  line-height: 1.6;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover td {
  background-color: rgba(74, 107, 90, 0.04);
}

.sort-indicator {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
}

.table-tip {
  font-size: 13px;
  color: var(--gray);
  margin-top: 12px;
}

/* --- 流程引导 --- */
.flow-link-section {
  margin-bottom: 56px;
}

.flow-link-content {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.flow-link-content h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.flow-link-content p {
  font-size: 15px;
  color: #5A5752;
  margin-bottom: 16px;
  max-width: 720px;
}

.text-link {
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* --- 相关问答 --- */
.related-faq-section {
  margin-bottom: 48px;
}

.faq-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.faq-card {
  padding: 24px;
  display: block;
  color: var(--ink);
}

.faq-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--green);
}

.faq-card p {
  font-size: 14px;
  color: #5A5752;
  line-height: 1.6;
}

/* =========================================================
   Pages · 合作流程
   ========================================================= */
.process-scope,
.process-materials,
.process-timeline,
.process-acceptance {
  margin-bottom: 56px;
}

.process-scope .section-head,
.process-materials .section-head,
.process-timeline .section-head,
.process-acceptance .section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--green);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.section-desc {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 24px;
}

.materials-list {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.material-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.material-row:last-child {
  border-bottom: none;
}

.material-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.material-row p {
  font-size: 14px;
  color: #5A5752;
}

.process-timeline .timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-timeline .timeline-item {
  padding: 24px;
}

.timeline-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--clay);
  margin-bottom: 12px;
}

.process-timeline .timeline-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.process-timeline .timeline-item p {
  font-size: 14px;
  color: #5A5752;
}

.acceptance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.acceptance-item {
  padding: 24px;
}

.acceptance-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.acceptance-item p {
  font-size: 14px;
  color: #5A5752;
}

.process-next {
  padding: 32px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.next-inner p {
  font-size: 15px;
  color: #5A5752;
  margin-bottom: 20px;
}

.process-next .next-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   Pages · 支持保障
   ========================================================= */
.page-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.layout-main-aside {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.support-section {
  margin-bottom: 48px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.section-heading p {
  font-size: 15px;
  color: var(--gray);
}

.support-scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-scope-list .scope-item {
  padding: 20px 24px;
}

.support-scope-list .scope-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.support-scope-list .scope-item p {
  font-size: 14px;
  color: #5A5752;
}

.update-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.step-item p {
  font-size: 14px;
  color: #5A5752;
}

.response-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.response-item {
  padding: 24px;
}

.response-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--clay);
}

.response-item p {
  font-size: 14px;
  color: #5A5752;
}

.feedback-note {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feedback-note p {
  font-size: 14px;
  color: #5A5752;
  margin-bottom: 12px;
}

/* --- 侧栏 --- */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  padding: 24px;
}

.sidebar-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.sidebar-card p {
  font-size: 14px;
  color: #5A5752;
  margin-bottom: 16px;
}

.sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 14px;
}

.sidebar-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.sidebar-link:hover::after {
  transform: translateX(4px);
}

/* =========================================================
   Pages · 建站问答
   ========================================================= */
.faq-head-media {
  margin-bottom: 40px;
}

.faq-media-figure {
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-media-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.faq-group {
  margin-bottom: 48px;
}

.faq-group h2 {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.entry-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.entry-card {
  padding: 24px;
  display: block;
  color: var(--ink);
}

.entry-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--green);
}

.entry-card p {
  font-size: 14px;
  color: #5A5752;
  margin-bottom: 12px;
}

.entry-card a {
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.entry-card a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.entry-card a:hover::after {
  transform: translateX(4px);
}

/* =========================================================
   Pages · 404
   ========================================================= */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-panel {
  text-align: center;
  max-width: 560px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 16px;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #5A5752;
  margin-bottom: 28px;
}

.error-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.error-links a {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--green);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.error-links a:hover {
  border-color: var(--green);
  background-color: rgba(74, 107, 90, 0.06);
}

/* =========================================================
   Responsive · 响应式
   ========================================================= */
@media (max-width: 1024px) {
  .pick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pick-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .acceptance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .response-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-card-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .next-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-main-aside {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-card {
    flex: 1;
    min-width: 240px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-media img {
    height: 280px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-timeline .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .header-inner {
    height: var(--header-h);
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px;
  }

  .main-nav li {
    border-bottom: 1px solid var(--line);
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    padding: 14px 8px;
    font-size: 16px;
    border-bottom: none;
  }

  .main-nav a.is-current {
    border-bottom: none;
    background-color: rgba(74, 107, 90, 0.06);
    border-radius: var(--radius-sm);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-bottom {
    grid-column: 1;
  }

  .container,
  .header-inner,
  .hero-inner,
  .archive-layout,
  .inner-main,
  .page-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 48px 0 32px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-media img {
    height: 220px;
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .archive-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .archive-index {
    position: static;
  }

  .archive-index ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .archive-index li {
    margin-bottom: 0;
  }

  .pick-grid {
    grid-template-columns: 1fr;
  }

  .pick-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline .timeline-grid {
    grid-template-columns: 1fr;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .acceptance-grid {
    grid-template-columns: 1fr;
  }

  .response-grid {
    grid-template-columns: 1fr;
  }

  .faq-card-list {
    grid-template-columns: 1fr;
  }

  .next-links {
    grid-template-columns: 1fr;
  }

  .boundary-layout {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .entry-links {
    grid-template-columns: 1fr;
  }

  .material-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .page-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-head h2 {
    font-size: 20px;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .faq-group h2 {
    font-size: 20px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 48px;
  }

  .content-media-primary img {
    height: 220px;
  }

  .content-media-inline img {
    height: 200px;
  }

  .intro-media img {
    height: 220px;
  }

  .media-figure img {
    height: 200px;
  }

  .faq-media-figure img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .entry-card,
  .pick-card,
  .problem-card,
  .faq-card,
  .scope-item,
  .acceptance-item,
  .response-item,
  .step-item {
    padding: 20px;
  }

  .archive-group {
    padding: 24px;
  }

  .timeline-item {
    padding: 20px;
  }

  .error-links {
    flex-direction: column;
    align-items: stretch;
  }

  .error-links a {
    text-align: center;
  }
}
