/* ===== 首页专属样式 · 全部限定在 .page-home 作用域内 ===== */

.page-home {
  --home-gutter: clamp(20px, 4vw, 72px);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(40px, 6vw, 88px) 0 0;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(107, 122, 143, .17) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(107, 122, 143, .10) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%, 100% 8px;
  opacity: .6;
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: end;
  padding-bottom: clamp(28px, 4vw, 56px);
}

.page-home .home-hero__title {
  margin: 0 0 clamp(18px, 2vw, 26px);
  line-height: .98;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.page-home .home-hero__ver {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(.78rem, 1.5vw, 1.05rem);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gold);
  border: 1px solid rgba(232, 163, 61, .5);
  padding: 3px 9px;
  margin-left: .45em;
  transform: translateY(-.6em);
  line-height: 1.3;
  white-space: nowrap;
}

.page-home .home-hero__lede {
  max-width: 34em;
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: rgba(245, 241, 232, .84);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.8;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}

/* 首屏浮动卡 */
.page-home .home-hero__card {
  grid-column: auto;
  border: 1px solid var(--line-dark);
  background: linear-gradient(158deg, rgba(18, 48, 74, .94), rgba(11, 27, 43, .94));
  padding: clamp(20px, 2.2vw, 30px);
  position: relative;
}

.page-home .home-hero__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(232, 163, 61, 0));
}

.page-home .home-card__label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--gold);
  margin: 0 0 14px;
}

.page-home .home-card__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-card__steps li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(245, 241, 232, .92);
  font-size: .95rem;
  transition: color var(--t) var(--ease), padding-left var(--t) var(--ease);
}

.page-home .home-card__steps li:last-child {
  border-bottom: 0;
}

.page-home .home-card__steps li:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.page-home .home-card__steps .mono {
  color: var(--gold);
  font-size: .76rem;
  letter-spacing: .06em;
  min-width: 20px;
}

.page-home .home-card__steps li > span:nth-child(2) {
  flex: 1;
}

.page-home .home-card__sec {
  color: rgba(245, 241, 232, .5);
  font-size: .72rem;
}

.page-home .home-card__note {
  margin: 14px 0 0;
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(245, 241, 232, .6);
}

/* 首屏图 */
.page-home .home-hero__media {
  position: relative;
  margin: 0;
  line-height: 0;
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: clamp(190px, 30vw, 380px);
  object-fit: cover;
  object-position: center 42%;
}

.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 43, .78) 0%, rgba(11, 27, 43, .1) 44%, rgba(11, 27, 43, .58) 100%);
  pointer-events: none;
}

/* ---------- 三步流程 ---------- */
.page-home .home-steps__lede {
  max-width: 40em;
  margin: clamp(14px, 1.6vw, 20px) 0 0;
  color: var(--ink-soft);
}

.page-home .home-steps__list {
  list-style: none;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-step {
  position: relative;
  background: var(--white);
  padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.4vw, 30px) clamp(26px, 3vw, 38px);
  transition: background var(--t) var(--ease);
}

.page-home .home-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t) var(--ease);
}

.page-home .home-step:hover::before,
.page-home .home-step:focus-within::before {
  transform: scaleY(1);
}

.page-home .home-step:hover {
  background: #FFFCF5;
}

.page-home .home-step__num {
  display: block;
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--gold-ink);
  margin-bottom: 14px;
}

.page-home .home-step h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  color: var(--ink);
  letter-spacing: -.005em;
}

.page-home .home-step p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.78;
}

.page-home .home-step__time {
  margin: 0;
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--graphite);
}

.page-home .home-steps__foot {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}

.page-home .home-steps__note-title {
  margin: 0 0 12px;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -.008em;
}

.page-home .home-steps__note p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: .97rem;
  line-height: 1.85;
  max-width: 40em;
}

/* 通用图框 */
.page-home .home-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px;
}

.page-home .home-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-home .home-figure__cap {
  display: block;
  padding: 10px 4px 2px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--graphite);
  line-height: 1.6;
}

/* ---------- 收藏入口 ---------- */
.page-home .home-bookmark {
  background: var(--navy-mid);
  color: var(--ivory);
}

.page-home .home-bookmark__title {
  color: var(--ivory);
}

.page-home .home-bookmark__grid {
  margin-top: clamp(26px, 3.6vw, 44px);
  display: grid;
  gap: clamp(26px, 3.6vw, 52px);
  align-items: center;
}

.page-home .home-bookmark__text p {
  margin: 0 0 16px;
  color: rgba(245, 241, 232, .82);
  font-size: .98rem;
  line-height: 1.9;
  max-width: 36em;
}

.page-home .home-bookmark__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-dark);
}

.page-home .home-bookmark__list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  color: rgba(245, 241, 232, .76);
  font-size: .9rem;
  line-height: 1.7;
}

.page-home .home-bookmark__list .mono {
  color: var(--jade);
  font-size: .9rem;
}

.page-home .home-mock {
  border: 1px solid var(--line-dark);
  background: rgba(11, 27, 43, .55);
  padding: clamp(12px, 1.6vw, 22px);
}

.page-home .home-mock svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-mock__cap {
  margin: 12px 0 0;
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(245, 241, 232, .55);
}

/* ---------- 版本对照 ---------- */
.page-home .home-compare {
  margin-top: clamp(26px, 3.6vw, 44px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-compare__col {
  position: relative;
  background: var(--ivory);
  padding: clamp(24px, 2.8vw, 36px);
}

.page-home .home-compare__col--up {
  background: var(--white);
}

.page-home .home-compare__col--up::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold);
}

.page-home .home-compare__tag {
  margin: 0 0 18px;
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--graphite);
}

.page-home .home-compare__tag--up {
  color: var(--gold-ink);
}

.page-home .home-compare__count {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--ink);
}

.page-home .home-compare__col--up .home-compare__count {
  color: var(--gold);
}

.page-home .home-compare__unit {
  margin: 8px 0 16px;
  font-size: .88rem;
  color: var(--ink-soft);
}

.page-home .home-compare__desc {
  margin: 0;
  font-size: .95rem;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 32em;
}

.page-home .home-versions__foot {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}

.page-home .home-versions__text p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: .97rem;
  line-height: 1.85;
  max-width: 40em;
}

.page-home .home-versions__text .btn {
  margin-top: 8px;
}

/* ---------- 更新公告 ---------- */
.page-home .home-news__lede {
  max-width: 42em;
  margin: clamp(14px, 1.6vw, 20px) 0 0;
  color: var(--ink-soft);
}

.page-home .home-news__list {
  list-style: none;
  position: relative;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0 0 0 26px;
  max-width: 60em;
}

.page-home .home-news__list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(232, 163, 61, .12));
}

.page-home .home-news__item {
  position: relative;
  padding-bottom: clamp(22px, 2.6vw, 30px);
}

.page-home .home-news__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 7px;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  background: var(--ivory);
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.page-home .home-news__item:last-child {
  padding-bottom: 0;
}

.page-home .home-news__period {
  margin: 0 0 7px;
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--gold-ink);
}

.page-home .home-news__summary {
  display: block;
  position: relative;
  padding-right: 34px;
  list-style: none;
  cursor: pointer;
}

.page-home .home-news__summary::-webkit-details-marker {
  display: none;
}

.page-home .home-news__summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: .92rem;
  line-height: 1.5;
  color: var(--gold);
  transition: transform var(--t) var(--ease);
}

.page-home .home-news__details[open] .home-news__summary::after {
  content: "－";
}

.page-home .home-news__head {
  display: inline;
  margin: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.006em;
  color: var(--ink);
  transition: color var(--t) var(--ease);
}

.page-home .home-news__summary:hover .home-news__head {
  color: var(--gold-ink);
}

.page-home .home-news__body {
  padding-top: 10px;
  max-width: 46em;
}

.page-home .home-news__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.85;
}

.page-home .home-news__more {
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding-left: 26px;
}

/* ---------- 河北服务点 ---------- */
.page-home .home-region__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.page-home .home-region__text p {
  margin: clamp(14px, 1.6vw, 18px) 0 0;
  color: var(--ink-soft);
  font-size: .97rem;
  line-height: 1.85;
  max-width: 42em;
}

.page-home .home-cities {
  list-style: none;
  margin: clamp(24px, 3.2vw, 38px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-city {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  background: var(--ivory);
  padding: 15px 14px;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.page-home .home-city:hover,
.page-home .home-city:focus-within {
  background: var(--navy-mid);
  color: var(--ivory);
}

.page-home .home-city__name {
  font-size: .93rem;
}

.page-home .home-city__num {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--gold-ink);
  transition: color var(--t) var(--ease);
}

.page-home .home-city:hover .home-city__num {
  color: var(--gold-light);
}

.page-home .home-region__more {
  margin-top: clamp(24px, 3vw, 34px) !important;
}

/* ---------- 联系收尾 ---------- */
.page-home .home-contact {
  background: var(--navy);
  color: var(--ivory);
}

.page-home .home-contact__grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.page-home .home-contact__title {
  color: var(--ivory);
  margin-bottom: clamp(16px, 2vw, 22px);
}

.page-home .home-contact__text {
  margin: 0 0 12px;
  color: rgba(245, 241, 232, .8);
  font-size: .97rem;
  line-height: 1.85;
  max-width: 34em;
}

.page-home .home-contact__text--mono {
  font-family: var(--font-mono);
  font-size: .88rem;
  letter-spacing: .02em;
  color: var(--gold-light);
  word-break: break-word;
}

.page-home .home-contact__phone {
  margin: 4px 0 14px;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--gold);
}

.page-home .home-contact__side {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.page-home .home-contact__box {
  background: rgba(18, 48, 74, .72);
  padding: clamp(22px, 2.6vw, 32px);
}

.page-home .home-contact__box-label {
  margin: 0 0 10px;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--jade);
}

.page-home .home-contact__box-title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--ivory);
  letter-spacing: -.005em;
}

.page-home .home-contact__box p {
  margin: 0 0 18px;
  color: rgba(245, 241, 232, .76);
  font-size: .93rem;
  line-height: 1.8;
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .home-cities {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .page-home .home-compare {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .page-home .home-steps__foot {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .home-bookmark__grid {
    grid-template-columns: 5fr 7fr;
  }

  .page-home .home-versions__foot {
    grid-template-columns: 6fr 6fr;
  }

  .page-home .home-contact__grid {
    grid-template-columns: 6fr 6fr;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: 7fr 4fr 1fr;
    gap: clamp(32px, 4vw, 64px);
  }

  .page-home .home-hero__lead {
    grid-column: 1;
  }

  .page-home .home-hero__card {
    grid-column: 2;
  }
}

@media (min-width: 1000px) {
  .page-home .home-region__grid {
    grid-template-columns: 7fr 5fr;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-step::before,
  .page-home .home-step,
  .page-home .home-city,
  .page-home .home-city__num,
  .page-home .home-card__steps li,
  .page-home .home-news__summary::after,
  .page-home .home-news__head {
    transition: none !important;
  }

  .page-home .home-step::before {
    transform: scaleY(1);
    opacity: 0;
  }

  .page-home .home-step:hover::before {
    opacity: 1;
  }
}
</final_css>
