/* ================= 首页 page-home ================= */
.page-home {
  --home-space: clamp(3.25rem, 7vw, 5.5rem);
  display: block;
  overflow-x: clip;
}

.page-home .home-band {
  margin-top: var(--home-space);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1.35rem, 4vw, 3.5rem) clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  background: linear-gradient(152deg, var(--lake-deep) 0%, var(--lake) 60%, #5EC2B6 130%);
  box-shadow: var(--shadow-panel);
}

.page-home .home-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background-image:
    linear-gradient(100deg, rgba(11,48,62,.88) 0%, rgba(16,72,90,.7) 46%, rgba(26,104,124,.36) 100%),
    radial-gradient(40% 52% at 78% 20%, rgba(127,209,188,.45), transparent 72%);
  background-size: 100% 100%, 150% 150%;
  background-repeat: no-repeat;
  animation: home-drift 18s var(--ease) infinite alternate;
}

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

.page-home .home-hero__meta {
  color: rgba(255,255,255,.78);
  margin: 0 0 1rem;
}

.page-home .home-hero .display {
  margin: 0;
  color: #fff;
  max-width: 20ch;
  line-height: 1.24;
}

.page-home .home-hero__lead {
  margin: 1.1rem 0 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
  line-height: 1.85;
  color: rgba(255,255,255,.86);
}

.page-home .home-entry-list {
  display: grid;
  gap: .75rem;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.page-home .home-entry {
  display: block;
  padding: 1.15rem 1.25rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.13);
  color: #fff;
  text-decoration: none;
  transition: background .26s var(--ease), border-color .26s var(--ease), transform .26s var(--ease);
}

.page-home .home-entry__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 .55rem;
  margin-bottom: .8rem;
  border-radius: var(--pill);
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.page-home .home-entry__title {
  display: block;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}

.page-home .home-entry__desc {
  display: block;
  margin-top: .35rem;
  font-size: .875rem;
  line-height: 1.72;
  color: rgba(255,255,255,.84);
}

.page-home .home-entry:hover,
.page-home .home-entry:focus-visible {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.58);
  transform: translateY(-3px);
}

.page-home .home-hero__jump {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.86);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.page-home .home-hero__jump:hover { color: #fff; }

/* ---------- 横向滑动三段路 ---------- */
.page-home .home-track {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: .5rem clamp(1.25rem, 6vw, 4rem) 2.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-track::-webkit-scrollbar { display: none; }

.page-home .home-track > * {
  flex: 0 0 84%;
  scroll-snap-align: start;
}

.page-home .home-step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.page-home .home-step__media {
  position: relative;
  background: linear-gradient(140deg, var(--sky), var(--mint));
}

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

.page-home .home-step__no {
  position: absolute;
  top: .85rem;
  left: .85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 26px;
  padding: 0 .6rem;
  border-radius: var(--pill);
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.page-home .home-step__no--static {
  position: static;
  margin-bottom: .9rem;
}

.page-home .home-step__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .55rem;
  padding: 1.25rem 1.35rem 1.5rem;
}

.page-home .home-step__body .h3 { margin: 0; }

.page-home .home-step__body p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-step__out {
  margin-top: auto;
  padding-left: .85rem;
  border-left: 3px solid var(--coral);
  font-size: .875rem;
  font-weight: 600;
  color: var(--lake-deep) !important;
}

.page-home .home-step--plain {
  background: linear-gradient(180deg, var(--sky), var(--paper));
  border-color: rgba(46,155,181,.34);
}

.page-home .home-step--plain .home-step__body {
  padding-top: 1.5rem;
}

/* ---------- 收藏页面板 ---------- */
.page-home .home-returns {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.page-home .home-returns__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .home-returns__copy .lead {
  margin-top: .75rem;
}

.page-home .home-tiles {
  display: grid;
  gap: .7rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.page-home .home-tile {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem .95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--glass-strong);
}

.page-home .home-tile__ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--sky), var(--mint));
  color: var(--lake-deep);
}

.page-home .home-tile__text { display: block; }

.page-home .home-tile__label {
  display: block;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .home-tile__note {
  display: block;
  margin-top: .15rem;
  font-size: .8rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .home-returns__figure {
  margin: 0;
}

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

/* ---------- 回头用户的三个理由 ---------- */
.page-home .home-reasons {
  display: grid;
  gap: 1rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-reason {
  padding: 1.5rem 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper), var(--sky));
}

.page-home .home-reason__no {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--coral);
}

.page-home .home-reason .h3 {
  margin: 0 0 .5rem;
}

.page-home .home-reason p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-why__foot {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  font-size: .9375rem;
  color: var(--muted);
}

.page-home .home-why__foot a {
  color: var(--lake-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 下一步 ---------- */
.page-home .home-next-grid {
  display: grid;
  gap: .875rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.page-home .home-next {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.3rem 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .24s var(--ease), transform .24s var(--ease), box-shadow .24s var(--ease);
}

.page-home .home-next__k {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}

.page-home .home-next__v {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-next__go {
  margin-top: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--lake-deep);
}

.page-home .home-next__go::after {
  content: " →";
}

.page-home .home-next:hover,
.page-home .home-next:focus-visible {
  border-color: var(--lake);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

/* ---------- 联系信息 ---------- */
.page-home .home-contact {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--sky) 0%, var(--paper) 72%);
}

.page-home .home-contact .h3 { margin: 0; }

.page-home .home-contact__note {
  margin: .6rem 0 0;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-contact__list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-contact__list li {
  display: grid;
  gap: .18rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}

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

.page-home .home-contact__list span {
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-home .home-contact__list strong {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}

.page-home .home-end {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  text-align: center;
  font-size: .9375rem;
  color: var(--muted);
}

/* ---------- 动效 ---------- */
@keyframes home-drift {
  from { background-position: 0 0, 0% 0%; }
  to   { background-position: 0 0, 100% 62%; }
}

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

@media (min-width: 640px) {
  .page-home .home-track > * { flex-basis: 46%; }
}

@media (min-width: 720px) {
  .page-home .home-entry-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 860px) {
  .page-home .home-contact {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
  }
}

@media (min-width: 880px) {
  .page-home .home-reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .page-home .home-next-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 920px) {
  .page-home .home-returns__grid {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home .home-track > * { flex-basis: 32%; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__veil { animation: none; }
  .page-home .home-entry,
  .page-home .home-next { transition: none; }
}
</main>
