.page-home {
  --home-gap: 24px;
  background: var(--by-cream);
  color: var(--by-ink);
  overflow-x: hidden;
}

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

.page-home .home-section-head {
  margin-bottom: 30px;
}

.page-home .section-marker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--by-slate);
}

.page-home .section-marker .num {
  color: var(--by-red);
  font-weight: 600;
}

.page-home .section-marker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--by-sand);
}

.page-home .home-section-title {
  margin: 14px 0 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(27px, 5vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--by-navy);
}

.page-home .home-section-lede {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--by-slate);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--hdr-h) + 52px) 0 70px;
  background:
    radial-gradient(120% 88% at 84% 8%, rgba(226, 58, 46, .3) 0%, rgba(226, 58, 46, 0) 56%),
    linear-gradient(155deg, var(--by-night) 0%, var(--by-navy) 58%, #1a3557 100%);
  color: var(--by-cream);
}

.page-home .home-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: rgba(228, 178, 92, .17);
  pointer-events: none;
}

.page-home .home-hero-grid svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 38px;
}

.page-home .home-context {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(247, 241, 230, .74);
}

.page-home .home-context-mark {
  position: relative;
  width: 11px;
  height: 11px;
  border: 2px solid var(--by-red);
  flex: none;
}

.page-home .home-context-mark::before,
.page-home .home-context-mark::after {
  content: "";
  position: absolute;
  background: var(--by-sand);
}

.page-home .home-context-mark::before {
  left: 50%;
  top: -5px;
  width: 1px;
  height: 19px;
  transform: translateX(-50%);
}

.page-home .home-context-mark::after {
  top: 50%;
  left: -5px;
  width: 19px;
  height: 1px;
  transform: translateY(-50%);
}

.page-home .home-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 8.6vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.page-home .home-hero-title em {
  font-style: normal;
  color: var(--by-sand);
}

.page-home .home-hero-lede {
  margin: 22px 0 0;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.78;
  color: rgba(247, 241, 230, .84);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.page-home .home-hero-actions .btn {
  position: relative;
}

.page-home .home-hero-actions .btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 11px;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}

.page-home .home-hero-actions .btn:hover::after,
.page-home .home-hero-actions .btn:focus-visible::after {
  width: calc(100% - 46px);
}

.page-home .home-hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(228, 178, 92, .3);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
}

.page-home .home-hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .home-hero-figure::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: var(--by-red);
  z-index: 2;
}

/* ---------- 服务范围 ---------- */
.page-home .home-range {
  padding: 68px 0 0;
}

.page-home .home-range-band {
  margin: 0 0 30px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(90, 107, 133, .18);
}

.page-home .home-range-band img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .home-range-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 10px;
}

.page-home .home-range-list {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 4px max(var(--shell-pad), calc((100vw - var(--shell-max)) / 2 + var(--shell-pad))) 12px;
  list-style: none;
  scroll-snap-type: x mandatory;
}

.page-home .home-range-card {
  position: relative;
  flex: 0 0 82%;
  max-width: 340px;
  scroll-snap-align: start;
  background: var(--by-paper);
  border-radius: var(--r-lg);
  padding: 28px 20px 20px;
  border: 1px solid rgba(90, 107, 133, .16);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.page-home .home-range-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--by-orange), var(--by-red-deep));
}

.page-home .home-range-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 58, 46, .5);
}

.page-home .home-range-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--by-sand);
}

.page-home .home-range-name {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--by-navy);
}

.page-home .home-range-scope {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--by-ink);
}

.page-home .home-range-fit {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(90, 107, 133, .3);
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--by-slate);
}

.page-home .home-range-fit-k {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: var(--r-pill);
  background: var(--by-mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--by-navy);
}

.page-home .home-range-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 26px;
}

.page-home .home-range-hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--by-slate);
}

/* ---------- 场景索引墙 ---------- */
.page-home .home-scenes {
  margin-top: 74px;
  padding: 66px 0 70px;
  background: var(--by-mist);
}

.page-home .home-scene-groups {
  display: grid;
  gap: 18px;
}

.page-home .home-scene-group {
  position: relative;
  background: var(--by-paper);
  border-radius: var(--r-lg);
  padding: 30px 20px 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-home .home-scene-group::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--by-orange), var(--by-red-deep));
}

.page-home .home-scene-grouphead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(90, 107, 133, .24);
}

.page-home .home-scene-grouphead h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--by-navy);
}

.page-home .home-scene-grouphead .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--by-sand);
}

.page-home .home-scene-list {
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
}

.page-home .home-scene-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(90, 107, 133, .26);
}

.page-home .home-scene-list li:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.page-home .home-scene-list .num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--by-red);
  padding-top: 3px;
}

.page-home .home-scene-list strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--by-ink);
}

.page-home .home-scene-desc {
  grid-column: 2;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--by-slate);
}

.page-home .home-scenes-more {
  margin: 30px 0 0;
}

/* ---------- 常用入口与清单 ---------- */
.page-home .home-entry {
  padding: 70px 0 0;
}

.page-home .home-entry-grid {
  display: grid;
  gap: 30px;
}

.page-home .home-entry-links {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-home .home-entry-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--by-paper);
  border: 1px solid rgba(90, 107, 133, .18);
  color: var(--by-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .28s var(--ease), border-color .28s var(--ease);
}

.page-home .home-entry-links a::after {
  content: "→";
  font-family: var(--font-mono);
  color: var(--by-red);
  transition: transform .28s var(--ease);
}

.page-home .home-entry-links a:hover,
.page-home .home-entry-links a:focus-visible {
  transform: translateX(4px);
  border-color: var(--by-red);
}

.page-home .home-entry-figure {
  margin: 0;
  background: var(--by-navy);
  border-radius: var(--r-xl);
  padding: 14px 14px 0;
  overflow: hidden;
}

.page-home .home-entry-figure img {
  width: 100%;
  border-radius: var(--r-md) var(--r-md) 0 0;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-home .home-entry-figure figcaption {
  padding: 14px 6px 18px;
  font-size: 13.5px;
  line-height: 1.68;
  color: rgba(247, 241, 230, .8);
}

.page-home .home-checklist {
  display: grid;
  gap: 20px;
  margin-top: 44px;
  padding: 28px 22px;
  background: var(--by-paper);
  border: 1px solid rgba(228, 178, 92, .55);
  border-radius: var(--r-xl);
}

.page-home .home-checklist-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--by-navy);
}

.page-home .home-checklist-lede {
  margin: 10px 0 0;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--by-slate);
}

.page-home .home-checklist-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-checklist-items li {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--by-mist);
  border: 1px solid rgba(18, 35, 63, .1);
  font-size: 13.5px;
  color: var(--by-navy);
}

.page-home .home-checklist-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(90, 107, 133, .32);
}

.page-home .home-checklist-foot span {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--by-slate);
}

/* ---------- 规模与交付 ---------- */
.page-home .home-scale {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  padding: 62px 0 66px;
  background: linear-gradient(140deg, var(--by-night) 0%, var(--by-navy) 70%, #1a3557 100%);
  color: var(--by-cream);
}

.page-home .home-scale::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--by-orange), var(--by-red-deep));
}

.page-home .home-scale .section-marker {
  color: rgba(247, 241, 230, .7);
}

.page-home .home-scale .section-marker::after {
  background: rgba(228, 178, 92, .7);
}

.page-home .home-scale-title {
  color: var(--by-cream);
}

.page-home .home-scale-lede {
  margin: 16px 0 0;
  max-width: 66ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(247, 241, 230, .82);
}

.page-home .home-scale-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
  margin-top: 36px;
}

.page-home .home-scale-item {
  padding-top: 14px;
  border-top: 1px solid rgba(228, 178, 92, .38);
}

.page-home .home-scale-value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(26px, 6vw, 42px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--by-sand);
}

.page-home .home-scale-value small {
  margin-left: 5px;
  font-size: .4em;
  letter-spacing: .06em;
  color: rgba(247, 241, 230, .72);
}

.page-home .home-scale-label {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.66;
  color: rgba(247, 241, 230, .76);
}

.page-home .home-scale-figure {
  margin: 42px 0 0;
  background: rgba(255, 253, 248, .06);
  border: 1px solid rgba(228, 178, 92, .28);
  border-radius: var(--r-lg);
  padding: 14px 14px 0;
  overflow: hidden;
}

.page-home .home-scale-figure img {
  width: 100%;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-home .home-scale-figure figcaption {
  padding: 14px 6px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(247, 241, 230, .78);
}

/* ---------- 三步指引 ---------- */
.page-home .home-steps {
  padding: 70px 0 78px;
}

.page-home .home-step-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.page-home .home-step {
  position: relative;
  background: var(--by-paper);
  border: 1px solid rgba(90, 107, 133, .18);
  border-radius: var(--r-lg);
  padding: 28px 22px 22px;
  overflow: hidden;
}

.page-home .home-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--by-red), var(--by-sand));
}

.page-home .home-step-num {
  margin: 0;
}

.page-home .home-step-num .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--by-sand);
}

.page-home .home-step h3 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--by-navy);
}

.page-home .home-step p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--by-ink);
}

.page-home .home-steps-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-hero {
    padding: calc(var(--hdr-h) + 66px) 0 88px;
  }

  .page-home .home-range-card {
    flex: 0 0 340px;
  }

  .page-home .home-checklist {
    grid-template-columns: minmax(0, 1fr);
    padding: 34px 30px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero-inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
  }

  .page-home .home-hero-figure {
    transform: translateY(22px);
  }

  .page-home .home-range {
    padding-top: 84px;
  }

  .page-home .home-scene-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .home-entry-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 48px;
  }

  .page-home .home-entry {
    padding-top: 84px;
  }

  .page-home .home-scale-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 22px;
  }

  .page-home .home-scale-figure {
    max-width: 900px;
  }

  .page-home .home-step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .page-home .home-steps {
    padding: 84px 0 92px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-checklist {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 40px;
  }

  .page-home .home-checklist-head {
    grid-row: span 2;
  }

  .page-home .home-checklist-items {
    align-content: start;
  }

  .page-home .home-checklist-foot {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero-actions .btn::after,
  .page-home .home-range-card,
  .page-home .home-entry-links a,
  .page-home .home-entry-links a::after {
    transition: none;
  }

  .page-home .home-hero-figure {
    transform: none;
  }
}
