.page-home {
  background: var(--c-cream);
  color: var(--c-dark-green);
  overflow-x: hidden;
}

/* ---------- Hero 首屏 ---------- */
.page-home .pg-hero {
  position: relative;
  background: var(--c-dark-green);
  color: var(--c-cream);
  overflow: hidden;
}

.page-home .pg-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--c-green) 0%, var(--c-dark-green) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
  z-index: 0;
  pointer-events: none;
}

.page-home .pg-hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    "main"
    "figure"
    "index";
  max-width: var(--container);
  margin-inline: auto;
}

.page-home .pg-hero-main {
  grid-area: main;
  padding: 40px 20px 56px;
  background: linear-gradient(135deg, var(--c-green) 0%, var(--c-dark-green) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}

.page-home .pg-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-light-gold);
  border: 1px solid rgba(233, 196, 106, 0.65);
  padding: 6px 10px;
}

.page-home .pg-hero-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--c-red);
  transform: rotate(45deg);
  flex: none;
}

.page-home .pg-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 9vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--c-cream);
  margin: 18px 0 16px;
}

.page-home .pg-hero-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 6px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--c-red) 0 55%, var(--c-light-gold) 55% 100%);
}

.page-home .pg-hero-lead {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(254, 250, 224, 0.88);
  max-width: 46em;
  margin-bottom: 24px;
}

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

.page-home .pg-hero .btn-primary {
  background: var(--c-red);
  border: 2px solid var(--c-red);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.page-home .pg-hero .btn-primary:hover,
.page-home .pg-hero .btn-primary:focus {
  background: var(--c-dark-red);
  border-color: var(--c-dark-red);
}

.page-home .pg-btn-line {
  background: transparent;
  color: var(--c-cream);
  border: 1px solid rgba(254, 250, 224, 0.6);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .pg-btn-line:hover,
.page-home .pg-btn-line:focus {
  color: var(--c-light-gold);
  border-color: var(--c-light-gold);
}

.page-home .pg-hero-figure {
  grid-area: figure;
  margin: -28px 20px 0;
  position: relative;
  z-index: 2;
  padding: 6px;
  background: var(--c-red);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.25);
}

.page-home .pg-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--c-olive);
}

.page-home .pg-hero-index {
  grid-area: index;
  padding: 26px 20px 40px;
  border-top: 1px solid rgba(254, 250, 224, 0.2);
}

.page-home .pg-aside-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-light-gold);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .pg-aside-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
}

.page-home .pg-hero-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pg-hero-index;
}

.page-home .pg-hero-index-list li {
  counter-increment: pg-hero-index;
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid rgba(254, 250, 224, 0.14);
}

.page-home .pg-hero-index-list li::before {
  content: counter(pg-hero-index, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-light-gold);
  padding: 11px 12px 11px 0;
}

.page-home .pg-hero-index-list a {
  flex: 1;
  padding: 11px 4px;
  color: var(--c-cream);
  text-decoration: none;
  font-size: 14px;
  transition: padding-left 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-home .pg-hero-index-list a:hover,
.page-home .pg-hero-index-list a:focus {
  padding-left: 14px;
  background: rgba(193, 18, 31, 0.25);
  color: var(--c-light-gold);
}

/* ---------- 通用章节 ---------- */
.page-home .pg-section {
  padding: 56px 20px;
}

.page-home .pg-section-head {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--container);
  margin-inline: auto;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-dark-green);
}

.page-home .pg-section-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-light-gold);
}

.page-home .pg-section-num--light {
  color: var(--c-light-gold);
}

.page-home .pg-section-num--red {
  color: var(--c-red);
}

.page-home .pg-section-num--green {
  color: var(--c-green);
}

.page-home .pg-section-titles h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--c-dark-green);
  line-height: 1.3;
}

.page-home .pg-section-sub {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-olive);
  letter-spacing: 0.06em;
  margin: 0;
}

/* ---------- 01 官方入口·快速导航 ---------- */
.page-home .pg-quick-nav {
  background: var(--c-cream);
}

.page-home .pg-quick-nav::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--c-red) 0 28%, var(--c-gold) 28% 52%, var(--c-green) 52% 100%);
  margin: 0 -20px 40px;
}

.page-home .pg-quick-grid {
  display: grid;
  gap: 28px;
  max-width: var(--container);
  margin-inline: auto;
}

.page-home .pg-intro-col {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-home .pg-intro-text {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-dark-green);
  border-left: 4px solid var(--c-red);
  padding-left: 16px;
  margin: 0;
}

.page-home .pg-quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--c-olive);
  border: 1px solid var(--c-olive);
}

.page-home .pg-quick-stats div {
  background: var(--c-cream);
  padding: 14px 12px;
}

.page-home .pg-quick-stats dt {
  font-size: 12px;
  color: var(--c-olive);
  margin-bottom: 4px;
}

.page-home .pg-quick-stats dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-red);
  line-height: 1.2;
}

.page-home .pg-quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .pg-quick-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--c-cream);
  border: 1px solid var(--c-olive);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--c-dark-green);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home .pg-quick-card:hover,
.page-home .pg-quick-card:focus {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--c-green);
  border-color: var(--c-green);
}

.page-home .pg-quick-num {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-red);
}

.page-home .pg-quick-card strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
}

.page-home .pg-quick-card small {
  font-size: 12px;
  color: var(--c-olive);
  line-height: 1.5;
}

.page-home .pg-quick-card--archive {
  background: var(--c-dark-green);
  color: var(--c-cream);
  border-color: var(--c-dark-green);
}

.page-home .pg-quick-card--archive small {
  color: var(--c-gold);
}

.page-home .pg-quick-card--archive .pg-quick-num {
  color: var(--c-light-gold);
}

/* ---------- 02 平板对照版入口同步 ---------- */
.page-home .pg-sync {
  background: var(--c-dark-green);
  color: var(--c-cream);
}

.page-home .pg-sync .pg-section-head {
  border-bottom-color: rgba(254, 250, 224, 0.3);
}

.page-home .pg-sync .pg-section-titles h2 {
  color: var(--c-cream);
}

.page-home .pg-sync .pg-section-sub {
  color: rgba(254, 250, 224, 0.72);
}

.page-home .pg-sync-grid {
  display: grid;
  gap: 28px;
  max-width: var(--container);
  margin-inline: auto;
}

.page-home .pg-sync-figure {
  border: 1px solid rgba(212, 163, 115, 0.5);
  padding: 8px;
  background: rgba(0, 0, 0, 0.15);
}

.page-home .pg-sync-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--c-olive);
}

.page-home .pg-sync-figure figcaption {
  font-size: 12px;
  color: rgba(254, 250, 224, 0.7);
  padding-top: 8px;
}

.page-home .pg-sync-lead {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(254, 250, 224, 0.88);
  margin: 0 0 20px;
}

.page-home .pg-sync-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.page-home .pg-sync-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  color: rgba(254, 250, 224, 0.85);
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid rgba(254, 250, 224, 0.12);
}

.page-home .pg-sync-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--c-light-gold);
  transform: rotate(45deg);
}

.page-home .pg-sync-list strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--c-light-gold);
  margin-bottom: 2px;
}

/* ---------- 03 红黄牌与登山工具收藏 ---------- */
.page-home .pg-tools {
  background: var(--c-cream);
}

.page-home .pg-tools-grid {
  display: grid;
  gap: 16px;
  max-width: var(--container);
  margin-inline: auto;
}

.page-home .pg-tool-card {
  padding: 24px 20px;
  border: 1px solid var(--c-olive);
  background: #fff;
  border-top: 6px solid var(--c-red);
}

.page-home .pg-tool-card--gold {
  border-top-color: var(--c-gold);
}

.page-home .pg-tool-icon {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-dark-green);
  background: var(--c-light-gold);
  padding: 4px 10px;
  margin-bottom: 12px;
}

.page-home .pg-tool-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--c-dark-green);
}

.page-home .pg-tool-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-dark-green);
  margin: 0 0 12px;
}

.page-home .pg-tool-stats {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
}

.page-home .pg-tool-stats div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed rgba(96, 108, 56, 0.4);
  padding-bottom: 4px;
}

.page-home .pg-tool-stats dt {
  font-size: 13px;
  color: var(--c-olive);
}

.page-home .pg-tool-stats dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-red);
  text-align: right;
}

.page-home .pg-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-red);
  text-decoration: none;
  border-bottom: 2px solid var(--c-red);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .pg-tool-link:hover,
.page-home .pg-tool-link:focus {
  color: var(--c-dark-red);
  border-color: var(--c-dark-red);
}

.page-home .pg-tools-figure {
  border: 1px solid var(--c-gold);
  padding: 8px;
  background: #fff;
}

.page-home .pg-tools-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--c-olive);
}

/* ---------- 04 服务清单12类概览 ---------- */
.page-home .pg-services {
  background: var(--c-red);
  background-image:
    linear-gradient(135deg, rgba(254, 250, 224, 0.045) 25%, transparent 25%),
    linear-gradient(225deg, rgba(254, 250, 224, 0.045) 25%, transparent 25%),
    linear-gradient(135deg, transparent 75%, rgba(254, 250, 224, 0.045) 75%),
    linear-gradient(225deg, transparent 75%, rgba(254, 250, 224, 0.045) 75%);
  background-size: 24px 24px;
}

.page-home .pg-services .pg-section-head {
  border-bottom-color: rgba(254, 250, 224, 0.3);
}

.page-home .pg-services .pg-section-titles h2 {
  color: var(--c-cream);
}

.page-home .pg-services .pg-section-sub {
  color: rgba(254, 250, 224, 0.8);
}

.page-home .pg-services .pg-section-num--red {
  color: var(--c-cream);
}

.page-home .pg-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: var(--container);
  margin-inline: auto;
}

.page-home .pg-service-item {
  position: relative;
  background: rgba(254, 250, 224, 0.08);
  border: 1px solid rgba(254, 250, 224, 0.2);
  padding: 30px 12px 12px 52px;
  min-height: 88px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-home .pg-service-item:hover,
.page-home .pg-service-item:focus-within {
  background: rgba(27, 67, 50, 0.42);
  border-color: var(--c-light-gold);
  transform: translateY(-2px);
}

.page-home .pg-service-idx {
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
  transition: color 0.2s ease;
}

.page-home .pg-service-item:hover .pg-service-idx {
  color: var(--c-light-gold);
}

.page-home .pg-service-item h3 {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--c-cream);
  line-height: 1.4;
}

.page-home .pg-service-item p {
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  color: rgba(254, 250, 224, 0.78);
}

/* ---------- 05 赛事归档入口 ---------- */
.page-home .pg-archive {
  background: var(--c-cream);
  position: relative;
}

.page-home .pg-archive::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-red) 0 30%, var(--c-gold) 30% 45%, var(--c-green) 45% 100%);
}

.page-home .pg-archive-grid {
  display: grid;
  gap: 28px;
  max-width: var(--container);
  margin-inline: auto;
}

.page-home .pg-archive-content {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-home .pg-archive-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-dark-green);
  margin: 0;
}

.page-home .pg-archive-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-home .pg-archive-features li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-bottom: 1px dashed rgba(96, 108, 56, 0.4);
  font-size: 14px;
  color: var(--c-dark-green);
  line-height: 1.6;
}

.page-home .pg-archive-features li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  width: 10px;
  height: 10px;
  background: var(--c-red);
  transform: rotate(45deg);
}

.page-home .pg-archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .pg-archive-filters span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-dark-green);
  background: var(--c-cream);
  border: 1px solid var(--c-gold);
  padding: 6px 12px;
}

.page-home .pg-archive-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.page-home .pg-archive .btn-primary {
  background: var(--c-red);
  border: 2px solid var(--c-red);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.page-home .pg-archive .btn-primary:hover,
.page-home .pg-archive .btn-primary:focus {
  background: var(--c-dark-red);
  border-color: var(--c-dark-red);
}

.page-home .pg-archive-help {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-green);
  text-decoration: none;
  border-bottom: 2px solid var(--c-gold);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .pg-archive-help:hover,
.page-home .pg-archive-help:focus {
  color: var(--c-dark-red);
  border-color: var(--c-red);
}

.page-home .pg-archive-figure {
  border: 1px solid var(--c-gold);
  padding: 8px;
  background: #fff;
}

.page-home .pg-archive-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--c-olive);
}

.page-home .pg-archive-figure figcaption {
  font-size: 12px;
  color: var(--c-olive);
  padding-top: 8px;
}

/* ---------- 信任声明 ---------- */
.page-home .pg-trust {
  background: var(--c-dark-green);
  padding: 40px 20px;
}

.page-home .pg-trust-inner {
  max-width: var(--container);
  margin-inline: auto;
  text-align: center;
  border: 1px solid rgba(233, 196, 106, 0.4);
  padding: 28px 24px;
  position: relative;
}

.page-home .pg-trust-inner::before {
  content: "官网直连";
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-light-gold);
  background: var(--c-dark-green);
  padding: 0 10px;
  position: absolute;
  top: -10px;
  left: 24px;
}

.page-home .pg-trust-inner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: rgba(254, 250, 224, 0.88);
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 720px) {
  .page-home .pg-section {
    padding: 64px 24px;
  }

  .page-home .pg-quick-nav::before {
    margin: 0 -24px 48px;
  }

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

  .page-home .pg-quick-stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .page-home .pg-tools-figure {
    grid-column: 1 / -1;
    max-width: 600px;
    justify-self: center;
    width: 100%;
  }

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

  .page-home .pg-hero-title {
    font-size: clamp(48px, 7vw, 72px);
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 992px) {
  .page-home .pg-hero {
    padding: 0 24px;
  }

  .page-home .pg-hero::before {
    width: 64%;
    clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
  }

  .page-home .pg-hero-container {
    grid-template-columns: 1.35fr 0.75fr;
    grid-template-areas:
      "main index"
      "figure index";
    gap: 0 48px;
    align-items: start;
    padding: 40px 0 56px;
  }

  .page-home .pg-hero-main {
    grid-area: main;
    padding: 64px 56px 80px 0;
    clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%);
  }

  .page-home .pg-hero-figure {
    grid-area: figure;
    margin: -48px 0 0;
    max-width: 520px;
    width: 100%;
  }

  .page-home .pg-hero-index {
    grid-area: index;
    padding: 40px 0 16px 32px;
    border-top: none;
    border-left: 1px solid rgba(254, 250, 224, 0.25);
    position: sticky;
    top: 24px;
  }

  .page-home .pg-section-head {
    gap: 24px;
    margin-bottom: 40px;
  }

  .page-home .pg-section-num {
    font-size: 68px;
  }

  .page-home .pg-section-titles h2 {
    font-size: 30px;
  }

  .page-home .pg-section-sub {
    font-size: 14px;
  }

  .page-home .pg-quick-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
  }

  .page-home .pg-intro-col {
    position: sticky;
    top: 24px;
  }

  .page-home .pg-quick-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .pg-sync-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .pg-service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .pg-archive-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .pg-trust {
    padding: 48px 24px;
  }
}

/* ---------- 宽屏加固 ---------- */
@media (min-width: 1200px) {
  .page-home .pg-hero-container {
    grid-template-columns: 1.45fr 0.65fr;
  }

  .page-home .pg-hero-main {
    padding-right: 72px;
  }

  .page-home .pg-service-grid {
    gap: 12px;
  }

  .page-home .pg-service-item {
    min-height: 92px;
  }
}
