/* ===== 四季官方网址 · 首页专属样式 ===== */
.page-home {
  --home-shadow: 0 1.25rem 2.5rem rgba(15, 76, 92, 0.1);
  --home-rule: 1px solid rgba(15, 76, 92, 0.16);
  --home-radius: 1.25rem;
  background: var(--dn-paper);
  overflow-x: hidden;
}

/* ---------- 首屏分屏 ---------- */
.page-home__hero {
  position: relative;
  border-bottom: var(--home-rule);
  background:
    radial-gradient(circle at 80% 20%, rgba(123, 201, 111, 0.14), transparent 38%),
    radial-gradient(circle at 65% 85%, rgba(232, 179, 75, 0.12), transparent 32%),
    var(--dn-paper);
}

.hero-section__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.25rem, 7vw, 5.5rem) clamp(2rem, 6vw, 4.5rem);
}

.hero-section__content {
  max-width: 640px;
}

.hero-section__eyebrow {
  margin-bottom: 1rem;
}

.hero-section__title {
  margin: 0.5rem 0 1.25rem;
  font-family: var(--dn-font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--dn-teal);
}

.hero-section__title-mark {
  display: block;
  color: var(--dn-wine);
}

.hero-section__lead {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: rgba(15, 76, 92, 0.82);
}

.hero-section__meta {
  margin: 1.5rem 0 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--dn-autumn);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(15, 76, 92, 0.72);
}

.hero-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-section__visual {
  position: relative;
  z-index: 1;
}

.hero-section__visual img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-inline: auto;
  object-fit: cover;
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}

.hero-section__visual::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 1rem;
  right: -0.75rem;
  bottom: 1rem;
  border: 2px solid rgba(15, 76, 92, 0.18);
  border-radius: calc(var(--home-radius) + 0.5rem);
  z-index: -1;
}

.hero-section__visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.25rem;
  width: 40%;
  height: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, var(--dn-spring), var(--dn-summer), var(--dn-autumn), var(--dn-winter));
  transform: translateX(-50%);
  opacity: 0.6;
}

/* ---------- 数据条带 ---------- */
.page-home__strip {
  background: linear-gradient(135deg, var(--dn-teal), #0B3A47);
  color: var(--dn-cream);
}

.stats-strip__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  padding-block: 2.25rem;
}

.stats-strip__item {
  display: grid;
  gap: 0.25rem;
}

.stats-strip__item::before {
  content: "";
  width: 2.5rem;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 0.35rem;
}

.stats-strip__item:nth-child(1)::before { background: var(--dn-spring); }
.stats-strip__item:nth-child(2)::before { background: var(--dn-summer); }
.stats-strip__item:nth-child(3)::before { background: var(--dn-autumn); }
.stats-strip__item:nth-child(4)::before { background: var(--dn-winter); }

.stats-strip__num {
  font-family: var(--dn-font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.stats-strip__label {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
}

/* ---------- 常用入口 ---------- */
.page-home__quick {
  background: #fff;
  border-bottom: var(--home-rule);
}

.page-home__quick .section-tag {
  margin-top: 0;
}

.page-home__quick .section-title {
  margin-bottom: 2rem;
}

.quick-nav__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}

.quick-nav__item {
  flex: 1 1 190px;
  min-width: 0;
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--dn-paper);
  border: 1px solid rgba(15, 76, 92, 0.12);
  border-radius: 0.5rem 1.5rem 0.5rem 0.5rem;
  text-decoration: none;
  color: var(--dn-teal);
  transition: transform 0.4s var(--dn-ease), box-shadow 0.4s var(--dn-ease), border-color 0.4s var(--dn-ease);
}

.quick-nav__item:hover,
.quick-nav__item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
  border-color: var(--dn-wine);
  outline: none;
}

.quick-nav__item:first-child {
  flex-grow: 1.3;
  background: var(--dn-wine);
  color: var(--dn-cream);
  border-color: var(--dn-wine);
}

.quick-nav__item:first-child:hover,
.quick-nav__item:first-child:focus-visible {
  border-color: var(--dn-teal);
}

.quick-nav__num {
  font-family: var(--dn-font-display);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.quick-nav__label {
  font-family: var(--dn-font-display);
  font-size: 1.25rem;
  font-weight: 900;
}

.quick-nav__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  opacity: 0.8;
}

/* ---------- 服务范围时间线 ---------- */
.page-home__scope {
  background: var(--dn-paper);
  border-bottom: var(--home-rule);
  position: relative;
}

.scope-section__inner {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.page-home__scope .section-title {
  margin-bottom: 2rem;
}

.scope-section__frame {
  position: relative;
  margin-top: 0.5rem;
}

.scope-section__texture {
  position: absolute;
  left: 0;
  right: 0;
  top: 1rem;
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.28;
  border-radius: 1rem;
  pointer-events: none;
  z-index: 0;
}

.scope-timeline {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.scope-timeline__item {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(248, 247, 244, 0.92);
  border: 1px solid rgba(15, 76, 92, 0.1);
  border-radius: 0 1.5rem 1.5rem 1.5rem;
}

.scope-timeline__dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 4px solid var(--dn-paper);
  box-shadow: 0 0 0 2px rgba(15, 76, 92, 0.15);
}

.scope-timeline__dot--spring { background: var(--dn-spring); }
.scope-timeline__dot--summer { background: var(--dn-summer); }
.scope-timeline__dot--autumn { background: var(--dn-autumn); }
.scope-timeline__dot--winter { background: var(--dn-winter); }

.scope-timeline__item h3 {
  margin: 0;
  font-family: var(--dn-font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--dn-teal);
}

.scope-timeline__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(15, 76, 92, 0.8);
}

.scope-update {
  margin-top: 2rem;
  max-width: 860px;
}

.scope-update h3 {
  margin: 0 0 1rem;
  font-family: var(--dn-font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--dn-teal);
}

.scope-update ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.scope-update li {
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.7;
  font-size: 0.95rem;
  color: rgba(15, 76, 92, 0.85);
}

.scope-update li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--dn-autumn);
}

/* ---------- 栏目索引 ---------- */
.page-home__index {
  background: linear-gradient(135deg, #0A3D4B, var(--dn-indigo));
  color: var(--dn-cream);
}

.index-section__inner {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.page-home__index .section-tag {
  color: var(--dn-spring);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-home__index .section-title {
  color: var(--dn-cream);
}

.index-section__graphic {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 2rem auto 0;
  border-radius: 1rem;
  opacity: 0.5;
}

.index-section__groups {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.index-group__title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--dn-font-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--dn-cream);
}

.index-group__title::before {
  content: "";
  width: 1.5rem;
  height: 3px;
  flex: none;
  background: var(--dn-autumn);
}

.index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.index-tags li,
.index-tags a {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dn-cream);
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.3s var(--dn-ease), transform 0.3s var(--dn-ease);
}

.index-tags a:hover,
.index-tags a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  outline: none;
}

/* ---------- 最新动态 ---------- */
.page-home__news {
  background: var(--dn-paper);
}

.news-section__inner {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.page-home__news .section-title {
  margin-bottom: 2rem;
}

.news-section__layout {
  display: grid;
  gap: 2rem;
  margin-top: 0.5rem;
}

.news-section__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.news-list__item {
  display: grid;
  gap: 0.6rem;
  padding-block: 1.25rem;
  border-bottom: var(--home-rule);
}

.news-list__item:first-child {
  padding-top: 0;
}

.news-list__tag {
  justify-self: start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.news-list__tag--product {
  background: rgba(123, 201, 111, 0.18);
  border: 1px solid rgba(123, 201, 111, 0.45);
  color: var(--dn-teal);
}

.news-list__tag--guide {
  background: rgba(74, 144, 217, 0.16);
  border: 1px solid rgba(74, 144, 217, 0.4);
  color: #2B6CB0;
}

.news-list__tag--industry {
  background: rgba(232, 179, 75, 0.18);
  border: 1px solid rgba(232, 179, 75, 0.45);
  color: #92600A;
}

.news-list__item h3 {
  margin: 0;
  font-family: var(--dn-font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--dn-teal);
}

.news-list__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(15, 76, 92, 0.8);
}

.news-list__item a {
  justify-self: start;
  color: var(--dn-wine);
  font-weight: 700;
  text-decoration: none;
}

.news-list__item a::after {
  content: " →";
}

.news-list__item a:hover,
.news-list__item a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* ---------- 响应式增强：平板 / 桌面 ---------- */
@media (min-width: 768px) {
  .stats-strip__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .index-section__groups {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 900px) {
  .hero-section__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .hero-section__content {
    padding-block: 1rem;
  }

  .scope-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .scope-timeline::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--dn-spring), var(--dn-summer) 40%, var(--dn-autumn) 75%, var(--dn-winter));
    opacity: 0.5;
  }

  .quick-nav__item {
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .news-section__layout {
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
  }

  .news-section__image {
    position: sticky;
    top: 2rem;
  }
}

@media (min-width: 1280px) {
  .hero-section__inner {
    gap: 4.5rem;
  }

  .scope-timeline__item {
    padding: 1.75rem;
  }
}

/* ---------- 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
