/* =========================================================
   飘花完整电影 · 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================= */

/* ---------------------------------------------------------
   base
   --------------------------------------------------------- */
:root {
  --ink: #111111;
  --ink-2: #3a3a3a;
  --ink-3: #6b6b6b;
  --line: #d8d8d8;
  --line-strong: #b4b4b4;
  --wash: #f2f2f2;
  --paper: #ffffff;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Courier New", monospace;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin: 0;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   layout · 全站骨架
   --------------------------------------------------------- */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-height: 44px;
}

.brand-mark {
  display: inline-block;
  padding: 2px 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.brand-sub {
  font-size: 13px;
  color: var(--ink-3);
}

.site-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
}

.nav-link.is-current {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.inner-main {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}

.breadcrumb a {
  color: var(--ink-3);
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink-2);
}

.page-header {
  padding: 26px 0 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.page-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
}

.page-description {
  margin-top: 14px;
  max-width: 880px;
  font-size: 16px;
  color: var(--ink-3);
}

.site-footer {
  background: var(--wash);
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.footer-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  font-size: 14px;
  color: var(--ink-3);
  display: inline-block;
  min-height: 24px;
  border-bottom: 1px solid transparent;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.footer-text {
  font-size: 14px;
  color: var(--ink-3);
  max-width: 320px;
}

.footer-bottom {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 20px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-brand {
  font-size: 14px;
  color: var(--ink-2);
}

.footer-copy {
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------------------------------------------------------
   components · 通用元件
   --------------------------------------------------------- */
.section-head {
  margin-bottom: 28px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
}

.section-desc,
.section-intro,
.section-lead {
  margin-top: 12px;
  max-width: 860px;
  font-size: 15px;
  color: var(--ink-3);
}

.section-more {
  margin-top: 26px;
}

.section-foot {
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.text-link::after {
  content: "›";
  font-size: 16px;
  line-height: 1;
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 4px;
  border: 1px solid var(--ink);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--wash);
  color: var(--ink);
}

/* 通用图片容器约束 */
.hero-media img,
.service-media img,
.direction-media img,
.scenario-media img,
.field-figure img,
.media-figure img,
.faq-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  font-size: 13px;
  color: var(--ink-3);
}

/* 通用列表容器 */
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.related-item {
  padding: 16px 18px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.related-item:hover {
  border-color: var(--line-strong);
  background: var(--paper);
}

.related-item a {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}

.related-desc {
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------------------------------------------------------
   pages · 首页
   --------------------------------------------------------- */
.home-main {
  width: 100%;
}

.status-bar {
  background: var(--ink);
  color: var(--paper);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 20px;
  font-size: 14px;
}

.status-text {
  color: #e6e6e6;
}

.status-link {
  color: var(--paper);
  border-bottom: 1px solid #8a8a8a;
  padding-bottom: 1px;
}

.status-link:hover,
.status-link:focus-visible {
  border-bottom-color: var(--paper);
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 520px;
}

.hero-lead {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 520px;
}

.hero-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 520px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: var(--wash);
}

.hero-caption {
  margin-top: 10px;
}

.services,
.stages,
.scenarios,
.boundary,
.contact-entry {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 20px;
  border-bottom: 1px solid var(--line);
}

.contact-entry {
  border-bottom: 0;
}

/* 服务方向棋盘 */
.service-rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.service-row:hover {
  border-color: var(--line-strong);
  background: var(--wash);
}

.service-row.is-reversed .service-media {
  order: 2;
}

.service-row.is-reversed .service-body {
  order: 1;
}

.service-media {
  min-width: 0;
}

.service-media img {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: var(--wash);
}

.service-body {
  min-width: 0;
}

.service-name {
  font-size: 20px;
  font-weight: 600;
}

.service-meta {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px 16px;
  font-size: 14px;
}

.service-meta dt {
  color: var(--ink-3);
}

.service-meta dd {
  margin: 0;
  color: var(--ink-2);
  min-width: 0;
}

.service-body .text-link {
  margin-top: 18px;
}

/* 交付阶段时间线 */
.stage-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.stage-list .stage-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.stage-list .stage-no {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
}

.stage-list .stage-body {
  min-width: 0;
}

.stage-list .stage-name {
  font-size: 18px;
  font-weight: 600;
}

.stage-list .stage-material,
.stage-list .stage-time,
.stage-list .stage-check {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 760px;
}

.stage-list .stage-time {
  font-family: var(--mono);
  color: var(--ink-2);
}

/* 场景并排比较 */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.scenario-col {
  min-width: 0;
  padding: 20px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scenario-name {
  font-size: 16px;
  font-weight: 600;
}

.scenario-need {
  font-size: 14px;
  color: var(--ink-2);
}

.scenarios .scenario-block {
  font-size: 14px;
  color: var(--ink-3);
}

/* 包含项与不包含项 */
.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.boundary-col {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.boundary-name {
  font-size: 17px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.boundary-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.boundary-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--ink-3);
}

/* 合作对接入口 */
.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-item {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.contact-item:hover {
  border-color: var(--line-strong);
  background: var(--wash);
}

.contact-name {
  font-size: 17px;
  font-weight: 600;
}

.contact-desc {
  font-size: 14px;
  color: var(--ink-3);
}

.contact-item .text-link {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------------------------------------------------------
   pages · 内页通用区块
   --------------------------------------------------------- */
.inner-main .section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.inner-main .section:last-of-type {
  border-bottom: 0;
}

/* 服务方向页 */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.compare-col {
  min-width: 0;
  padding: 20px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.compare-name {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.compare-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.compare-meta dt {
  color: var(--ink-3);
}

.compare-meta dd {
  margin: 0 0 10px;
  color: var(--ink-2);
}

.compare-label {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

.compare-text {
  font-size: 14px;
  color: var(--ink-2);
}

.direction-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.direction-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.direction-row.is-reversed .direction-media {
  order: 2;
}

.direction-row.is-reversed .direction-body {
  order: 1;
}

.direction-media {
  min-width: 0;
}

.direction-media img {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: var(--wash);
}

.direction-media figcaption {
  margin-top: 10px;
}

.direction-body {
  min-width: 0;
}

.direction-name {
  font-size: 20px;
  font-weight: 600;
}

.direction-text {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-2);
}

.direction-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.direction-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.direction-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--ink-3);
}

.direction-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.scope-col {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.scope-included {
  background: var(--paper);
}

.scope-excluded {
  background: var(--wash);
}

.scope-name {
  font-size: 17px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.scope-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scope-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--ink-3);
}

.scope-footnote {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-3);
}

.scope-footnote a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.scope-footnote a:hover,
.scope-footnote a:focus-visible {
  border-bottom-color: var(--ink);
}

.materials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  counter-reset: mat;
  margin-top: 8px;
}

.materials-item {
  min-width: 0;
  padding: 20px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.materials-name {
  font-size: 16px;
  font-weight: 600;
  counter-increment: mat;
}

.materials-name::before {
  content: counter(mat, decimal-leading-zero) " ";
  font-family: var(--mono);
  color: var(--ink-3);
  margin-right: 6px;
}

.materials-text {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-3);
}

/* 交付体系页 */
.delivery-stages,
.material-list,
.field-standard,
.related-entry {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.related-entry {
  border-bottom: 0;
}

.delivery-stages .stage-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.delivery-stages .stage-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.delivery-stages .stage-meta {
  min-width: 0;
}

.delivery-stages .stage-index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}

.delivery-stages .stage-name {
  font-size: 19px;
  font-weight: 600;
}

.delivery-stages .stage-time {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}

.delivery-stages .stage-body {
  min-width: 0;
}

.delivery-stages .stage-desc {
  font-size: 15px;
  color: var(--ink-2);
}

.delivery-stages .stage-subtitle {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
}

.delivery-stages .stage-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 0;
}

.delivery-stages .stage-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.delivery-stages .stage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--ink-3);
}

.delivery-stages .stage-verify {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-2);
}

.delivery-stages .stage-verify .label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  font-size: 12px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 3px;
}

.section-foot a,
.section-foot .text-link {
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.material-list .material-group {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.material-list .material-group:last-of-type {
  border-bottom: 1px solid var(--line);
}

.material-list .material-name {
  font-size: 17px;
  font-weight: 600;
}

.material-list .material-items {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 24px;
}

.material-list .material-items li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.material-list .material-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--ink-3);
}

.material-item-name {
  color: var(--ink);
}

.field-figure {
  margin: 20px 0 24px;
}

.field-figure img {
  aspect-ratio: 21 / 9;
  border-radius: 6px;
  background: var(--wash);
}

.field-figure figcaption {
  margin-top: 10px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field-table {
  width: 100%;
  min-width: 720px;
  font-size: 14px;
}

.field-caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}

.field-table th,
.field-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.field-table thead th {
  background: var(--wash);
  color: var(--ink);
  font-weight: 600;
}

.field-table tbody th {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.verify-notes {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--wash);
  border-radius: 6px;
}

.verify-title {
  font-size: 16px;
  font-weight: 600;
}

.verify-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.verify-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.verify-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--ink-3);
}

/* 场景与问题页 */
.scenario-compare,
.scenario-detail,
.scenario-mapping {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.scenario-mapping {
  border-bottom: 0;
}

.scenario-detail .scenario-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.scenario-detail .scenario-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.scenario-block-b .scenario-media {
  order: 2;
}

.scenario-block-b .scenario-body {
  order: 1;
}

.scenario-media {
  min-width: 0;
}

.scenario-media img {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: var(--wash);
}

.scenario-body {
  min-width: 0;
}

.scenario-title {
  font-size: 20px;
  font-weight: 600;
}

.scenario-text {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-2);
}

.scenario-label {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
}

.scenario-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scenario-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.scenario-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--ink-3);
}

.mapping-table {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.mapping-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.mapping-row:last-child {
  border-bottom: 0;
}

.mapping-head {
  background: var(--wash);
}

.mapping-cell {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink-2);
  min-width: 0;
}

.mapping-head .mapping-cell {
  color: var(--ink);
  font-weight: 600;
}

.mapping-scene {
  border-right: 1px solid var(--line);
  color: var(--ink);
}

.mapping-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
}

.mapping-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.mapping-note a:hover,
.mapping-note a:focus-visible {
  border-bottom-color: var(--ink);
}

.related-links {
  padding: 44px 0 0;
}

.related-links .related-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* 合作对接页 */
.section-request .request-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  counter-reset: req;
  margin-top: 8px;
}

.request-item {
  min-width: 0;
  padding: 20px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.request-name {
  font-size: 16px;
  font-weight: 600;
  counter-increment: req;
}

.request-name::before {
  content: counter(req, decimal-leading-zero) " ";
  font-family: var(--mono);
  color: var(--ink-3);
  margin-right: 6px;
}

.request-text {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-3);
}

.section-steps .step-list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.section-steps .step-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.section-steps .step-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.section-steps .step-aside {
  min-width: 0;
}

.section-steps .step-index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}

.section-steps .step-name {
  font-size: 19px;
  font-weight: 600;
}

.section-steps .step-body {
  min-width: 0;
}

.section-steps .step-text {
  font-size: 15px;
  color: var(--ink-2);
}

.section-steps .step-points {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-steps .step-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.section-steps .step-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--ink-3);
}

.section-media .media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.media-figure {
  min-width: 0;
}

.media-figure img {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: var(--wash);
}

.media-caption {
  margin-top: 10px;
}

.section-path .path-list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  counter-reset: path;
}

.path-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.path-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.path-index {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--ink);
  counter-increment: path;
}

.path-index::before {
  content: counter(path, decimal-leading-zero);
}

.path-name {
  font-size: 17px;
  font-weight: 600;
}

.path-name a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.path-name a:hover,
.path-name a:focus-visible {
  border-bottom-color: var(--ink);
}

.path-text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
}

/* 常见问题页 */
.faq-visual {
  margin: 28px 0 8px;
}

.faq-visual img {
  aspect-ratio: 21 / 9;
  border-radius: 6px;
  background: var(--wash);
}

.faq-visual-caption {
  margin-top: 10px;
}

.faq-group {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.faq-group:last-of-type {
  border-bottom: 0;
}

.faq-list {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item[open] {
  background: var(--wash);
  border-color: var(--line-strong);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--ink-3);
  flex: 0 0 auto;
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-answer {
  padding: 0 18px 18px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--ink-2);
}

.related-pages {
  padding: 44px 0 0;
}

/* 404 页 */
.error-main {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 72px;
  flex: 1 1 auto;
}

.error-panel {
  padding: 72px 0 0;
  max-width: 640px;
}

.error-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
}

.error-text {
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink-2);
}

.error-links {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.error-links li {
  min-width: 0;
}

.error-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.error-link:hover,
.error-link:focus-visible {
  border-color: var(--line-strong);
  background: var(--paper);
}

.error-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------------------------------------------------------
   responsive
   --------------------------------------------------------- */
@media (max-width: 960px) {
  .header-inner {
    min-height: 60px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-link.is-current {
    border-bottom-color: var(--ink);
  }

  .page-title,
  .hero-title,
  .error-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 40px 20px 48px;
  }

  .service-row,
  .direction-row,
  .scenario-detail .scenario-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .service-row.is-reversed .service-media,
  .direction-row.is-reversed .direction-media,
  .scenario-block-b .scenario-media {
    order: 0;
  }

  .service-row.is-reversed .service-body,
  .direction-row.is-reversed .direction-body,
  .scenario-block-b .scenario-body {
    order: 0;
  }

  .scenario-grid,
  .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boundary-grid,
  .contact-list,
  .scope-grid,
  .section-media .media-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .delivery-stages .stage-item,
  .section-steps .step-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .mapping-row {
    grid-template-columns: 160px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .inner-main {
    padding: 0 20px 56px;
  }

  .services,
  .stages,
  .scenarios,
  .boundary,
  .contact-entry {
    padding: 44px 20px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    flex: 1 1 auto;
  }

  .scenario-grid,
  .compare-grid,
  .materials-list,
  .section-request .request-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-list .stage-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .service-meta {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 36px 20px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .mapping-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .mapping-scene {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
  }

  .path-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .field-table {
    min-width: 600px;
  }
}

/* 动效增强：尊重减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
