/* ============================================================
   page-home — 首页
   ============================================================ */

.page-home {
  --home-cut: 22px;
  --home-rule: rgba(201, 203, 211, .58);
  --home-cell-hover: #ECE7D9;
  background: var(--mother);
  color: var(--ink);
}

/* ---------- 首屏：对角切割 ---------- */

.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 78px;
  background: var(--mother);
}

.page-home .hero-slab {
  position: absolute;
  top: -40%;
  right: -72%;
  width: 168%;
  height: 148%;
  background: var(--grad-tide);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .07;
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  background: var(--grad-tide);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  opacity: .92;
  pointer-events: none;
}

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

.page-home .hero-title {
  margin: 14px 0 0;
  font-size: clamp(29px, 8.6vw, 52px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: .02em;
  color: var(--deep);
}

.page-home .hero-lede {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.86;
  color: rgba(28, 26, 24, .78);
}

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

.page-home .hero-actions .btn {
  transition: transform .18s ease, box-shadow .18s ease;
}

.page-home .hero-actions .btn:hover,
.page-home .hero-actions .btn:focus-visible {
  transform: translateY(-2px);
}

.page-home .hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin: 34px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--home-rule);
}

.page-home .hero-metrics li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: rgba(28, 26, 24, .66);
}

.page-home .hero-metrics .mono {
  font-size: 23px;
  font-weight: 700;
  color: var(--deep);
}

.page-home .hero-visual {
  position: relative;
}

.page-home .hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--grad-tide);
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
}

.page-home .hero-pocket {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  background: var(--grad-wick);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%);
  transition: transform .18s ease;
}

.page-home .hero-pocket:hover,
.page-home .hero-pocket:focus-visible {
  transform: translateY(-2px);
}

.page-home .hero-pocket .mono {
  font-size: 12px;
  letter-spacing: .1em;
  opacity: .88;
}

/* ---------- 通用区块头 ---------- */

.page-home .block-head {
  max-width: 730px;
}

.page-home .block-head .section-title {
  margin: 12px 0 0;
}

.page-home .block-lede {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.86;
  color: rgba(28, 26, 24, .76);
}

/* ---------- 第二栏：目录胶囊矩阵 ---------- */

.page-home .catalog {
  position: relative;
  padding: 60px 0 72px;
  background: var(--paper);
}

.page-home .catalog-map {
  margin: 34px 0 0;
}

.page-home .catalog-map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--mother);
  clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
}

.page-home .catalog-map figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(28, 26, 24, .55);
}

.page-home .catalog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .catalog-cell {
  position: relative;
  padding: 20px 20px 22px;
  background: var(--mother);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: background-color .18s ease;
}

.page-home .catalog-cell:hover,
.page-home .catalog-cell:focus-within {
  background: var(--home-cell-hover);
}

.page-home .catalog-cell::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--coral);
  transition: height .2s ease;
}

.page-home .catalog-cell:hover::before,
.page-home .catalog-cell:focus-within::before {
  height: 30px;
}

.page-home .cell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .cell-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--celadon);
  background: rgba(46, 158, 143, .1);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.page-home .cell-index {
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(28, 26, 24, .42);
}

.page-home .cell-name {
  margin: 14px 0 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--deep);
}

.page-home .cell-desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(28, 26, 24, .7);
}

.page-home .cell-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 87, 46, .34);
  transition: color .18s ease, border-color .18s ease;
}

.page-home .cell-link:hover,
.page-home .cell-link:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- 双周节奏时间轴 ---------- */

.page-home .rhythm {
  position: relative;
  padding: 58px 0 62px;
  background: var(--mother);
}

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

.page-home .rhythm-figure {
  margin: 0;
}

.page-home .rhythm-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
}

.page-home .rhythm-copy .section-title {
  margin: 12px 0 0;
}

.page-home .rhythm-copy > p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.86;
  color: rgba(28, 26, 24, .78);
}

.page-home .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-home .rhythm-copy .btn {
  margin-top: 26px;
}

/* ---------- 小屏进入 ---------- */

.page-home .pocket {
  position: relative;
  overflow: hidden;
  padding: 58px 0 64px;
  background: var(--deep);
  color: var(--mother);
}

.page-home .pocket::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 92% at 6% 0%, rgba(46, 158, 143, .38), transparent 62%);
  pointer-events: none;
}

.page-home .pocket-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.page-home .pocket .eyebrow {
  color: var(--celadon-light);
}

.page-home .pocket .section-title {
  margin: 12px 0 0;
  color: var(--mother);
}

.page-home .pocket-copy > p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.88;
  color: var(--on-deep);
}

.page-home .pocket-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .pocket-list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--on-deep);
}

.page-home .pocket-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--celadon-light);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 68%, 0 100%);
}

.page-home .pocket-list .mono {
  font-weight: 700;
  color: var(--coral);
}

.page-home .pocket-copy .btn {
  margin-top: 26px;
}

.page-home .pocket-figure {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 300px;
}

.page-home .pocket-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 9%, 100% 100%, 0 100%);
}

/* ---------- 常用路径 ---------- */

.page-home .paths {
  padding: 58px 0 64px;
  background: var(--paper);
}

.page-home .path-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .path-item {
  position: relative;
  padding: 22px 22px 24px;
  background: var(--mother);
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, 0 100%);
}

.page-home .path-step {
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--celadon);
}

.page-home .path-item h3 {
  margin: 12px 0 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--deep);
}

.page-home .path-item p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(28, 26, 24, .74);
}

.page-home .path-item a {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 87, 46, .34);
  transition: color .18s ease, border-color .18s ease;
}

.page-home .path-item a:hover,
.page-home .path-item a:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- 人工咨询收束 ---------- */

.page-home .reach {
  padding: 0 0 72px;
  background: var(--paper);
}

.page-home .reach-panel {
  display: grid;
  gap: 30px;
  padding: 34px 24px 38px;
  background: var(--grad-tide);
  color: var(--mother);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.page-home .reach-panel .eyebrow {
  color: var(--celadon-light);
}

.page-home .reach-panel .section-title {
  margin: 12px 0 0;
  color: var(--mother);
}

.page-home .reach-copy p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.88;
  color: var(--on-deep);
}

.page-home .reach-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
  text-decoration: none;
  background: var(--mother);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform .18s ease, background-color .18s ease;
}

.page-home .reach-cta:hover,
.page-home .reach-cta:focus-visible {
  background: var(--paper);
  transform: translateY(-2px);
}

.page-home .reach-contact {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 232, .22);
}

.page-home .reach-row {
  display: grid;
  gap: 4px;
}

.page-home .reach-row dt {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--on-deep-dim);
}

.page-home .reach-row dd {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.62;
  color: var(--mother);
  word-break: break-word;
}

/* ---------- 平板与桌面 ---------- */

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

  .page-home .catalog-cell:first-child {
    grid-column: span 2;
  }
}

@media (min-width: 860px) {
  .page-home .hero {
    padding: 62px 0 100px;
  }

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 48px;
  }

  .page-home .hero-img {
    aspect-ratio: 4 / 3;
  }

  .page-home .hero-metrics {
    gap: 14px 42px;
  }

  .page-home .rhythm-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 48px;
  }

  .page-home .pocket-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 50px;
  }

  .page-home .pocket-figure {
    max-width: 340px;
    justify-self: end;
  }

  .page-home .reach-panel {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 54px;
    padding: 48px 48px 52px;
  }
}

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

  .page-home .catalog-cell:nth-child(4),
  .page-home .catalog-cell:nth-child(6) {
    grid-column: span 2;
  }

  .page-home .catalog-cell:nth-child(1) {
    grid-column: span 2;
  }

  .page-home .catalog-cell {
    padding: 24px 24px 26px;
  }
}
