.page-home {
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  margin: 0;
}

.page-home .hero-plate,
.page-home .hero-shade {
  pointer-events: none;
}

/* ---------- 首屏框景 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--porcelain);
  background:
    radial-gradient(120% 92% at 84% 6%, rgba(201, 164, 92, .26), transparent 58%),
    radial-gradient(96% 74% at 4% 96%, rgba(47, 122, 99, .40), transparent 62%),
    var(--ink);
  padding: calc(var(--header-h) + 40px) 0 68px;
}

.page-home .hero-plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
}

.page-home .hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(14, 42, 36, .42) 0%, rgba(14, 42, 36, .80) 58%, var(--ink) 100%);
}

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

.page-home .hero-context {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-home .hero-context .num {
  color: var(--amber);
}

.page-home .home-hero h1 {
  font-size: clamp(32px, 6.4vw, 64px);
  line-height: 1.14;
  color: var(--porcelain);
  margin: 0 0 20px;
}

.page-home .hero-lede {
  max-width: 40em;
  margin: 0 0 28px;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.8;
  color: var(--porcelain-85);
}

.page-home .hero-search {
  max-width: 620px;
  padding: 18px;
  border: 1px solid var(--gold-35);
  border-radius: var(--radius-md);
  background: rgba(247, 243, 234, .06);
}

.page-home .search-label {
  display: block;
  margin-bottom: 10px;
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-home .search-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 14px;
  border-radius: var(--radius-sm);
  background: var(--porcelain);
}

.page-home .home-search-input {
  flex: 1 1 150px;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.page-home .home-search-input::placeholder {
  color: var(--ink-55);
}

.page-home .search-go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink-2);
  color: var(--porcelain);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}

.page-home .search-go:hover {
  background: var(--jade);
}

.page-home .search-hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--porcelain-70);
}

.page-home .search-hint a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-35);
}

.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-home .meta-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1;
  color: var(--gold);
}

.page-home .meta-unit {
  font-size: .52em;
  margin-left: 2px;
}

.page-home .meta-label {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--porcelain-70);
}

.page-home .hero-panel {
  align-self: start;
  border: 1px solid var(--gold-35);
  border-radius: var(--radius-lg);
  background: rgba(23, 71, 59, .58);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-home .panel-media {
  margin: 0;
}

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

.page-home .panel-body {
  padding: 20px 22px 24px;
}

.page-home .panel-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--porcelain);
}

.page-home .panel-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--porcelain-70);
}

.page-home .panel-link {
  font-size: 14px;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-35);
  padding-bottom: 2px;
}

.page-home .panel-link:hover {
  color: var(--gold);
}

/* ---------- Bento 常用入口 ---------- */
.page-home .home-bento {
  padding: clamp(52px, 8vw, 92px) 0;
  background: var(--porcelain);
}

.page-home .bento-head {
  max-width: 720px;
  margin-bottom: 26px;
}

.page-home .bento-head h2,
.page-home .updates-copy h2,
.page-home .cap-head h2,
.page-home .scenes-head h2,
.page-home .cta-copy h2 {
  font-size: clamp(26px, 4.2vw, 42px);
  margin: 0 0 12px;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.page-home .filter-btn {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--ink-14);
  background: transparent;
  color: var(--ink-55);
  font: inherit;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .filter-btn:hover {
  border-color: var(--jade);
  color: var(--jade);
}

.page-home .filter-btn.is-active {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: var(--porcelain);
}

.page-home .filter-empty {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--ink-55);
}

.page-home .bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--rice);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

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

.page-home .bento-card--lead {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
}

.page-home .bento-card--lead .bento-title {
  color: var(--porcelain);
}

.page-home .bento-card--lead .bento-text {
  color: var(--porcelain-85);
}

.page-home .bento-card--lead .bento-more {
  color: var(--amber);
}

.page-home .bento-num {
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--gold);
}

.page-home .bento-title {
  font-size: clamp(18px, 2vw, 22px);
}

.page-home .bento-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-55);
}

.page-home .bento-more {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--jade);
}

.page-home .bento-media {
  margin: -24px -24px 14px;
}

.page-home .bento-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 近期更新 ---------- */
.page-home .home-updates {
  padding: clamp(52px, 8vw, 92px) 0;
  background: var(--rice);
}

.page-home .updates-grid {
  display: grid;
  gap: 32px;
}

.page-home .update-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink-14);
}

.page-home .update-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-14);
}

.page-home .update-num {
  flex: 0 0 auto;
  min-width: 2.2em;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  color: var(--wine);
}

.page-home .update-unit {
  font-size: .58em;
  margin-left: 1px;
}

.page-home .update-title {
  margin: 0 0 6px;
  font-size: 17px;
}

.page-home .update-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-55);
}

.page-home .updates-figure {
  margin: 0;
  border: 1px solid var(--gold-35);
  border-radius: var(--radius-lg);
  background: var(--porcelain);
  overflow: hidden;
}

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

.page-home .updates-figure figcaption {
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-55);
}

/* ---------- 三步路径 ---------- */
.page-home .home-steps {
  padding: clamp(52px, 8vw, 92px) 0;
  background: var(--ink);
  color: var(--porcelain);
}

.page-home .steps-head h2 {
  font-size: clamp(26px, 4.2vw, 42px);
  color: var(--porcelain);
}

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

.page-home .step-item {
  padding-top: 18px;
  border-top: 1px solid var(--gold-35);
}

.page-home .step-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-num);
  font-size: 38px;
  line-height: 1;
  color: var(--gold);
}

.page-home .step-title {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--porcelain);
}

.page-home .step-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--porcelain-70);
}

/* ---------- 服务能力 ---------- */
.page-home .home-capability {
  padding: clamp(52px, 8vw, 92px) 0;
  background: var(--porcelain);
}

.page-home .cap-head {
  max-width: 760px;
}

.page-home .cap-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.page-home .cap-item {
  padding: 24px 22px 26px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
  background: var(--rice);
}

.page-home .cap-num {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--jade);
}

.page-home .cap-title {
  margin: 0 0 8px;
  font-size: 19px;
}

.page-home .cap-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-55);
}

/* ---------- 适用场景 ---------- */
.page-home .home-scenes {
  padding: clamp(52px, 8vw, 92px) 0;
  background: var(--rice);
}

.page-home .scene-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.page-home .scene-item {
  padding: 26px 24px 28px;
  border-radius: var(--radius-md);
  border-top: 2px solid var(--jade);
  background: var(--porcelain);
}

.page-home .scene-item--wide {
  border-top-color: var(--wine);
  background: linear-gradient(170deg, var(--porcelain), var(--mist));
}

.page-home .scene-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink-2);
  color: var(--porcelain);
  font-size: 12px;
  letter-spacing: .08em;
}

.page-home .scene-title {
  margin: 0 0 10px;
  font-size: 20px;
}

.page-home .scene-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-55);
}

/* ---------- 行动入口 ---------- */
.page-home .home-cta {
  padding: clamp(46px, 7vw, 78px) 0;
  background:
    radial-gradient(90% 120% at 92% 0%, rgba(201, 164, 92, .22), transparent 60%),
    var(--ink-2);
  color: var(--porcelain);
}

.page-home .cta-inner {
  display: grid;
  gap: 26px;
  align-items: center;
}

.page-home .cta-copy h2 {
  color: var(--porcelain);
}

.page-home .cta-copy p {
  margin: 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--porcelain-85);
}

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

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-home .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }

  .page-home .bento-card {
    grid-column: span 3;
  }

  .page-home .bento-card--lead {
    grid-column: span 6;
  }

  .page-home .bento-card--wide {
    grid-column: span 6;
  }

  .page-home .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .scene-item--wide {
    grid-column: span 2;
  }

  .page-home .steps-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1000px) {
  .page-home .home-hero {
    padding: calc(var(--header-h) + 56px) 0 84px;
  }

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
    gap: 54px;
    align-items: start;
  }

  .page-home .hero-panel {
    margin-top: 12px;
  }

  .page-home .updates-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 54px;
    align-items: start;
  }

  .page-home .cap-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .page-home .scene-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }

  .page-home .scene-item {
    grid-column: span 5;
  }

  .page-home .scene-item--wide {
    grid-column: span 7;
  }

  .page-home .cta-inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 48px;
  }

  .page-home .cta-links {
    justify-content: flex-end;
  }
}

/* ---------- 大屏 Bento 错落 ---------- */
@media (min-width: 1080px) {
  .page-home .bento-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
  }

  .page-home .bento-card {
    grid-column: span 4;
    padding: 28px;
  }

  .page-home .bento-card--lead {
    grid-column: span 5;
    grid-row: span 2;
    justify-content: flex-end;
    min-height: 300px;
  }

  .page-home .bento-card--wide {
    grid-column: span 7;
  }

  .page-home .bento-card:nth-child(3) {
    grid-column: span 4;
  }

  .page-home .bento-card:nth-child(4) {
    grid-column: span 3;
  }

  .page-home .bento-card:nth-child(5),
  .page-home .bento-card:nth-child(6) {
    grid-column: span 6;
  }

  .page-home .bento-media {
    margin: -28px -28px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .bento-card,
  .page-home .filter-btn,
  .page-home .search-go {
    transition: none;
  }

  .page-home .bento-card:hover,
  .page-home .bento-card:focus-visible {
    transform: none;
  }
}
