.page-home {
  --home-flow-gap: clamp(44px, 6.5vw, 92px);
  display: block;
  background: var(--paper);
  color: var(--ink-900);
}

/* ============ 首屏 ============ */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 88% at 84% 6%, rgba(201, 162, 39, 0.22), transparent 56%),
    radial-gradient(90% 70% at 4% 94%, rgba(111, 158, 142, 0.18), transparent 60%),
    linear-gradient(158deg, #0E1B2A 0%, #16283D 54%, #0B1522 100%);
  color: var(--paper);
  padding: clamp(74px, 12vw, 148px) 0 clamp(42px, 6vw, 78px);
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.3;
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(169, 184, 201, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(169, 184, 201, 0.09) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__ctx {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: 7px 16px;
  border: 1px solid rgba(201, 162, 39, 0.36);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.page-home .home-hero__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.2);
}

.page-home .home-hero__title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  max-width: 17em;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.page-home .home-hero__lead {
  margin: 0 0 clamp(26px, 3.6vw, 42px);
  max-width: 60ch;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  color: rgba(245, 241, 232, 0.84);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(40px, 6vw, 74px);
}

/* 章节预览 */
.page-home .home-preview {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: rgba(169, 184, 201, 0.2);
  border: 1px solid rgba(169, 184, 201, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 680px) {
  .page-home .home-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1060px) {
  .page-home .home-preview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .home-preview__item {
  min-width: 0;
}

.page-home .home-preview__item a {
  display: block;
  height: 100%;
  padding: clamp(20px, 2.4vw, 28px);
  background: rgba(19, 35, 56, 0.9);
  color: var(--paper);
  text-decoration: none;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .home-preview__item a:hover,
.page-home .home-preview__item a:focus-visible {
  background: rgba(30, 52, 80, 0.98);
  transform: translateY(-4px);
  box-shadow: inset 0 -2px 0 var(--gold);
  outline: none;
}

.page-home .home-preview__idx {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.page-home .home-preview__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.page-home .home-preview__desc {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(169, 184, 201, 0.95);
}

/* ============ 数据带 ============ */
.page-home .home-bench {
  background: var(--paper);
  border-bottom: 1px solid var(--hair-light);
}

.page-home .home-bench__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 56px);
}

@media (min-width: 960px) {
  .page-home .home-bench__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
  }
}

.page-home .home-bench__intro {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--rock);
}

.page-home .home-bench__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(22px, 2.8vw, 32px);
  background: var(--hair-light);
  border: 1px solid var(--hair-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-home .home-bench__cell {
  min-width: 0;
  background: var(--paper);
  padding: clamp(16px, 2vw, 26px);
}

.page-home .home-bench__num {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

.page-home .home-bench__num em {
  margin-left: 4px;
  font-style: normal;
  font-size: 0.4em;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
}

.page-home .home-bench__label {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
}

.page-home .home-bench__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--rock);
}

.page-home .home-bench__figure {
  margin: 0;
  border: 1px solid var(--clay);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(140deg, #16283D 0%, #4F6B57 62%, #D8C3A5 100%);
}

.page-home .home-bench__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-bench__figure figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--hair-light);
  background: var(--paper-warm);
  font-size: 13px;
  line-height: 1.7;
  color: var(--rock);
}

/* ============ 主体 + 侧栏索引 ============ */
.page-home .home-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-flow-gap);
  padding: clamp(46px, 6vw, 92px) 0;
}

@media (min-width: 1040px) {
  .page-home .home-body {
    grid-template-columns: minmax(190px, 226px) minmax(0, 1fr);
    gap: clamp(30px, 4vw, 64px);
    align-items: start;
  }
}

.page-home .home-body__rail {
  display: none;
}

@media (min-width: 1040px) {
  .page-home .home-body__rail {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 28px);
    align-self: start;
  }
}

.page-home .home-rail {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.page-home .home-rail li + li {
  margin-top: 2px;
}

.page-home .home-rail a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border-left: 2px solid var(--hair-light);
  color: var(--rock);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.page-home .home-rail a:hover,
.page-home .home-rail a:focus-visible {
  color: var(--ink-900);
  border-left-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
  outline: none;
}

.page-home .home-rail__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
}

.page-home .home-body__flow {
  min-width: 0;
}

.page-home .home-body__flow > section + section {
  margin-top: var(--home-flow-gap);
}

/* ============ 场景分流 ============ */
.page-home .home-route__intro {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--rock);
}

.page-home .home-route__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(24px, 3.4vw, 40px);
}

@media (min-width: 860px) {
  .page-home .home-route__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-home .home-route__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hair-light);
  border-radius: var(--radius);
  background: rgba(245, 241, 232, 0.72);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .home-route__card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 20px 44px -28px rgba(14, 27, 42, 0.55);
}

.page-home .home-route__figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(140deg, #16283D 0%, #4F6B57 60%, #D8C3A5 100%);
}

.page-home .home-route__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-route__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 30px);
}

.page-home .home-route__body > * {
  margin: 0;
}

.page-home .home-route__body h3 {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink-900);
}

.page-home .home-route__body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--rock);
}

.page-home .home-route__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .home-route__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-800);
}

.page-home .home-route__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--slate);
}

.page-home .home-route__card--business .home-route__list li::before {
  background: var(--plum);
}

.page-home .home-route__body > .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ============ 上门四步 ============ */
.page-home .home-visit {
  padding-top: clamp(6px, 1.4vw, 16px);
}

.page-home .home-visit__intro {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--rock);
}

.page-home .home-visit__steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: clamp(24px, 3.4vw, 40px) 0 clamp(22px, 3vw, 34px);
  padding: 0;
  background: var(--hair-light);
  border: 1px solid var(--hair-light);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 640px) {
  .page-home .home-visit__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-home .home-visit__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .home-visit__step {
  min-width: 0;
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--paper);
}

.page-home .home-visit__step::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0));
}

.page-home .home-visit__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}

.page-home .home-visit__name {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
}

.page-home .home-visit__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--rock);
}

.page-home .home-visit__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ 资料库 ============ */
.page-home .home-archive {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 62px);
  border-radius: var(--radius);
  background:
    radial-gradient(110% 80% at 92% 4%, rgba(201, 162, 39, 0.2), transparent 58%),
    linear-gradient(155deg, #16283D 0%, #0E1B2A 100%);
  color: var(--paper);
}

.page-home .home-archive__eyebrow {
  color: var(--gold-soft);
}

.page-home .home-archive__title {
  margin: 10px 0 0;
  max-width: 20em;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.9vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  color: #FFFFFF;
}

.page-home .home-archive__intro {
  margin: 16px 0 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(245, 241, 232, 0.78);
}

.page-home .home-archive__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(26px, 3.6vw, 44px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid rgba(201, 162, 39, 0.28);
}

@media (min-width: 680px) {
  .page-home .home-archive__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-home .home-archive__col-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
}

.page-home .home-archive__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-archive__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.86);
}

.page-home .home-archive__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

.page-home .home-archive__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.4vw, 42px);
}

/* ============ 响应式收束 ============ */
@media (max-width: 519px) {
  .page-home .home-bench__grid {
    grid-template-columns: 1fr;
  }

  .page-home .home-hero__actions,
  .page-home .home-visit__cta,
  .page-home .home-archive__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .home-hero__actions .btn,
  .page-home .home-visit__cta .btn,
  .page-home .home-archive__cta .btn {
    width: 100%;
    text-align: center;
  }
}

.page-home img {
  max-width: 100%;
  height: auto;
}
