.page-home {
  background: var(--ink-900);
  color: var(--fog-300);
}

/* ---------- 首屏框景 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  padding: clamp(22px, 4vw, 52px) 0 clamp(28px, 5vw, 64px);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(47, 227, 218, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(7, 19, 32, 0.35) 0%, rgba(7, 19, 32, 0.94) 78%);
  pointer-events: none;
}

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

.page-home .home-hero__frame {
  position: relative;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 52px);
  background: linear-gradient(160deg, rgba(13, 31, 51, 0.9), rgba(7, 19, 32, 0.72));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.page-home .home-hero__frame::before,
.page-home .home-hero__frame::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  height: 7px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(47, 227, 218, 0.55) 0 1px,
    transparent 1px 16px
  );
  opacity: 0.7;
  pointer-events: none;
}

.page-home .home-hero__frame::before { top: 12px; }
.page-home .home-hero__frame::after { bottom: 12px; }

.page-home .home-hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-200);
}

.page-home .home-hero__sep {
  width: 26px;
  height: 1px;
  background: var(--cyan-400);
  opacity: 0.6;
}

.page-home .home-hero__title {
  margin: 16px 0 0;
  max-width: min(100%, 760px);
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-hero__lead {
  margin: 18px 0 0;
  max-width: min(100%, 640px);
  font-size: 16px;
  line-height: 1.85;
  color: var(--fog-300);
}

.page-home .home-hero__cities {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home .hero-city {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  background: rgba(22, 50, 77, 0.35);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.page-home .hero-city:hover {
  transform: translateY(-4px);
  background: rgba(22, 50, 77, 0.72);
}

.page-home .hero-city__code {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
}

.page-home .hero-city__name {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.page-home .hero-city__role {
  font-size: 13px;
  color: var(--fog-300);
}

.page-home .hero-city--sz .hero-city__code { color: var(--sz); }
.page-home .hero-city--cd .hero-city__code { color: var(--cd); }
.page-home .hero-city--gz .hero-city__code { color: var(--gz); }
.page-home .hero-city--szh .hero-city__code { color: var(--szh); }

.page-home .hero-city--sz:hover { border-color: var(--sz); }
.page-home .hero-city--cd:hover { border-color: var(--cd); }
.page-home .hero-city--gz:hover { border-color: var(--gz); }
.page-home .hero-city--szh:hover { border-color: var(--szh); }

.page-home .home-hero__stats {
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--ink-700);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.page-home .hero-stat {
  margin: 0;
}

.page-home .hero-stat dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fog-300);
  opacity: 0.85;
}

.page-home .hero-stat dd {
  margin: 6px 0 0;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1;
  color: var(--amber-400);
}

/* ---------- 双轴布局 ---------- */
.page-home .home-body {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.page-home .home-aside {
  align-self: start;
}

.page-home .section-index {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.page-home .section-index__link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--fog-300);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.page-home .section-index__link .mono {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan-400);
}

.page-home .section-index__link:hover,
.page-home .section-index__link.is-active {
  color: var(--white);
  background: rgba(22, 50, 77, 0.6);
  border-color: var(--ink-700);
}

.page-home .section-index__link.is-active {
  border-color: rgba(47, 227, 218, 0.55);
}

/* ---------- 通用区块 ---------- */
.page-home .home-section {
  padding-bottom: clamp(48px, 7vw, 88px);
  scroll-margin-top: 96px;
}

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

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

.page-home .section-head__eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan-400);
}

.page-home .section-head__title {
  margin: 10px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .section-head__note {
  margin: 10px 0 0;
  max-width: min(100%, 620px);
  font-size: 15px;
  line-height: 1.8;
  color: var(--fog-300);
}

.page-home .media-frame {
  margin: 22px 0 0;
}

.page-home .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-lg);
  object-fit: cover;
}

.page-home .media-frame__caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(185, 200, 214, 0.8);
}

.page-home .home-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 22px;
  border: 1px solid rgba(47, 227, 218, 0.5);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-200);
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.page-home .home-more-link:hover {
  background: rgba(47, 227, 218, 0.12);
  transform: translateY(-2px);
}

/* ---------- 四城服务主线 ---------- */
.page-home .city-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .city-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .city-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 20px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-lg);
  background: var(--ink-800);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.page-home .city-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--ink-700);
}

.page-home .city-card:hover {
  transform: translateY(-4px);
}

.page-home .city-card--sz::before { background: var(--sz); }
.page-home .city-card--cd::before { background: var(--cd); }
.page-home .city-card--gz::before { background: var(--gz); }
.page-home .city-card--szh::before { background: var(--szh); }

.page-home .city-card--sz:hover { border-color: rgba(90, 169, 255, 0.6); }
.page-home .city-card--cd:hover { border-color: rgba(185, 140, 255, 0.6); }
.page-home .city-card--gz:hover { border-color: rgba(255, 138, 91, 0.6); }
.page-home .city-card--szh:hover { border-color: rgba(87, 227, 155, 0.6); }

.page-home .city-card__code {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan-400);
}

.page-home .city-card--sz .city-card__code { color: var(--sz); }
.page-home .city-card--cd .city-card__code { color: var(--cd); }
.page-home .city-card--gz .city-card__code { color: var(--gz); }
.page-home .city-card--szh .city-card__code { color: var(--szh); }

.page-home .city-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
}

.page-home .city-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--fog-300);
}

.page-home .city-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .city-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fog-300);
}

.page-home .city-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--cyan-400);
}

.page-home .city-card__foot {
  margin: auto 0 0;
  font-size: 13px;
  color: rgba(185, 200, 214, 0.78);
}

.page-home .city-card__link {
  align-self: flex-start;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 227, 218, 0.35);
  transition: color 160ms ease, border-color 160ms ease;
}

.page-home .city-card__link:hover {
  color: var(--cyan-200);
  border-color: var(--cyan-200);
}

/* ---------- 产品族 ---------- */
.page-home .family-list {
  display: grid;
  gap: 16px;
}

.page-home .family {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(13, 31, 51, 0.95), rgba(7, 19, 32, 0.9));
  overflow: hidden;
}

.page-home .family::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 227, 218, 0.16), transparent 70%);
  pointer-events: none;
}

.page-home .family--s::after { background: radial-gradient(circle, rgba(242, 169, 59, 0.16), transparent 70%); }
.page-home .family--c::after { background: radial-gradient(circle, rgba(168, 255, 248, 0.14), transparent 70%); }
.page-home .family--m::after { background: radial-gradient(circle, rgba(185, 200, 214, 0.12), transparent 70%); }

.page-home .family__head {
  position: relative;
  z-index: 1;
}

.page-home .family__code {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
}

.page-home .family--s .family__code { color: var(--amber-400); }
.page-home .family--c .family__code { color: var(--cyan-200); }
.page-home .family--m .family__code { color: var(--fog-300); }

.page-home .family__title {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

.page-home .family__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fog-300);
}

.page-home .family__series {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-home .series {
  padding: 14px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  background: rgba(22, 50, 77, 0.42);
  transition: border-color 180ms ease, transform 180ms ease;
}

.page-home .series:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 227, 218, 0.45);
}

.page-home .series__code {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-400);
}

.page-home .family--s .series__code { color: var(--amber-400); }
.page-home .family--c .series__code { color: var(--cyan-200); }
.page-home .family--m .series__code { color: var(--fog-300); }

.page-home .series__name {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.page-home .series__text {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fog-300);
}

/* ---------- 合作路径 ---------- */
.page-home .path-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .path-step {
  position: relative;
  padding: 20px 18px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  background: rgba(13, 31, 51, 0.72);
  transition: border-color 180ms ease, transform 180ms ease;
}

.page-home .path-step:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 169, 59, 0.45);
}

.page-home .path-step__idx {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber-400);
}

.page-home .path-step__title {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
}

.page-home .path-step__text {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--fog-300);
}

.page-home .path-step__time {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--ink-700);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
}

/* ---------- 能力与资质 ---------- */
.page-home .capability {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.page-home .cap-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home .cap-stat {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  background: rgba(22, 50, 77, 0.36);
}

.page-home .cap-stat dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fog-300);
}

.page-home .cap-stat dd {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
}

.page-home .cap-stat dd .mono {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--amber-400);
}

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

.page-home .cap-story p {
  margin: 0;
  max-width: min(100%, 660px);
  font-size: 15px;
  line-height: 1.85;
  color: var(--fog-300);
}

.page-home .cert-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .cert-list li {
  padding: 8px 14px;
  border: 1px solid rgba(47, 227, 218, 0.35);
  border-radius: var(--r-pill);
  background: rgba(47, 227, 218, 0.07);
  font-size: 13px;
  color: var(--cyan-200);
}

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

/* ---------- 本季重点 ---------- */
.page-home .season-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .season-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-lg);
  background: var(--ink-800);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.page-home .season-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 227, 218, 0.4);
}

.page-home .season-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87, 227, 155, 0.18), transparent 70%);
  pointer-events: none;
}

.page-home .season-card--gz::after { background: radial-gradient(circle, rgba(255, 138, 91, 0.18), transparent 70%); }
.page-home .season-card--cd::after { background: radial-gradient(circle, rgba(185, 140, 255, 0.18), transparent 70%); }

.page-home .season-card__code {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--szh);
}

.page-home .season-card--gz .season-card__code { color: var(--gz); }
.page-home .season-card--cd .season-card__code { color: var(--cd); }

.page-home .season-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.page-home .season-card__text {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--fog-300);
}

.page-home .season-card__link {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 227, 218, 0.35);
  transition: color 160ms ease, border-color 160ms ease;
}

.page-home .season-card__link:hover {
  color: var(--cyan-200);
  border-color: var(--cyan-200);
}

.page-home .season-contact {
  margin-top: 20px;
  padding: 22px;
  border: 1px dashed var(--ink-700);
  border-radius: var(--r-lg);
  background: rgba(13, 31, 51, 0.6);
}

.page-home .season-contact__text {
  margin: 0;
  max-width: min(100%, 640px);
  font-size: 15px;
  line-height: 1.8;
  color: var(--fog-300);
}

.page-home .season-contact__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .season-contact__list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 9px 16px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-pill);
  background: rgba(22, 50, 77, 0.6);
  font-size: 14px;
  color: var(--white);
  word-break: break-all;
}

.page-home .season-contact__list .mono {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan-400);
}

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

  .page-home .home-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .city-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .path-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .cap-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (min-width: 860px) {
  .page-home .family {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
    align-items: start;
    gap: 28px;
  }

  .page-home .season-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .capability {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-aside {
    position: sticky;
    top: 96px;
  }

  .page-home .section-index {
    flex-direction: column;
    gap: 4px;
    overflow: visible;
    padding-bottom: 0;
  }
}

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

@media (max-width: 480px) {
  .page-home .home-hero__frame {
    border-radius: var(--r-lg);
  }

  .page-home .city-card,
  .page-home .season-card,
  .page-home .season-contact,
  .page-home .family {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-city,
  .page-home .city-card,
  .page-home .series,
  .page-home .path-step,
  .page-home .season-card,
  .page-home .home-more-link,
  .page-home .section-index__link {
    transition: none;
  }

  .page-home .hero-city:hover,
  .page-home .city-card:hover,
  .page-home .series:hover,
  .page-home .path-step:hover,
  .page-home .season-card:hover,
  .page-home .home-more-link:hover {
    transform: none;
  }
}
