/* ===== 页面专属：.page-home ===== */
.page-home {
  --home-cover-min-height: 100vh;
  --home-card-gap: 1.5rem;
  --home-gold-line: 3px solid #C9A96E;
  --home-accent-bg: linear-gradient(135deg, #D94F30 0%, #B33E20 100%);
}

/* --- 首屏封面 --- */
.page-home .home-cover {
  display: flex;
  flex-direction: column;
  min-height: var(--home-cover-min-height);
  background-color: #2B1D14;
  color: #F5F0EB;
  position: relative;
  overflow: hidden;
}

.page-home .home-cover__left {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.page-home .home-cover__right {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.page-home .home-cover__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.45;
  z-index: 0;
}

.page-home .home-cover__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 1rem;
  display: inline-block;
  border-left: 2px solid #C9A96E;
  padding-left: 0.75rem;
}

.page-home .home-cover__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #F5F0EB;
  margin: 0 0 1.25rem 0;
  max-width: 12ch;
}

.page-home .home-cover__lead {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(245, 240, 235, 0.85);
  max-width: 45ch;
  margin: 0 0 2rem 0;
}

.page-home .home-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.page-home .home-cover__actions .btn-primary {
  background: var(--color-red-orange, #D94F30);
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.page-home .home-cover__actions .btn-primary:hover,
.page-home .home-cover__actions .btn-primary:focus-visible {
  background: #B33E20;
  transform: translateY(-2px);
}

.page-home .home-cover__link {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #C9A96E;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.page-home .home-cover__link:hover,
.page-home .home-cover__link:focus-visible {
  border-bottom-color: #C9A96E;
  color: #e0c88e;
}

.page-home .home-cover__index {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(43, 29, 20, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.page-home .home-cover__index-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 4px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.page-home .home-cover__index-item:hover {
  background: rgba(201, 169, 110, 0.12);
  border-color: rgba(201, 169, 110, 0.6);
}

.page-home .home-cover__index-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #C9A96E;
  line-height: 1;
}

.page-home .home-cover__index-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #F5F0EB;
}

/* --- 面包屑 --- */
.page-home .breadcrumb {
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  color: #5A4A3A;
  background: #E8E4DF;
  border-bottom: 1px solid #d6d0ca;
}

.page-home .breadcrumb-current {
  font-weight: 600;
  color: #2B1D14;
}

/* --- 核心功能卡片区 --- */
.page-home .home-cards {
  padding: 3rem 1.5rem;
  background: #F5F0EB;
}

.page-home .home-cards__heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2B1D14;
  margin: 0 0 2rem 0;
  padding-bottom: 0.75rem;
  border-bottom: var(--home-gold-line);
  display: inline-block;
}

.page-home .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-card-gap);
}

.page-home .home-card {
  background: #FFFFFF;
  border: 1px solid #E8E4DF;
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(43, 29, 20, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-home .home-card[data-hover="lift"]:hover,
.page-home .home-card[data-hover="lift"]:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(43, 29, 20, 0.10);
}

.page-home .home-card__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.page-home .home-card__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2B1D14;
  margin: 0 0 0.5rem 0;
}

.page-home .home-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #5A4A3A;
  margin: 0 0 1.25rem 0;
  flex: 1;
}

.page-home .home-card__cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #D94F30;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
  align-self: flex-start;
}

.page-home .home-card__cta:hover,
.page-home .home-card__cta:focus-visible {
  border-bottom-color: #D94F30;
  color: #B33E20;
}

/* --- 下载引导区 --- */
.page-home .home-download {
  background: linear-gradient(135deg, #2B1D14 0%, #1f1510 100%);
  padding: 3rem 1.5rem;
  color: #F5F0EB;
}

.page-home .home-download__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  max-width: var(--max-content, 1200px);
  margin: 0 auto;
}

.page-home .home-download__content {
  text-align: center;
}

.page-home .home-download__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #F5F0EB;
  margin: 0 0 1rem 0;
}

.page-home .home-download__text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245, 240, 235, 0.8);
  max-width: 52ch;
  margin: 0 auto 1.5rem auto;
}

.page-home .home-download__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.page-home .home-download__btn {
  background: var(--color-red-orange, #D94F30);
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.02em;
}

.page-home .home-download__btn:hover,
.page-home .home-download__btn:focus-visible {
  background: #B33E20;
  transform: translateY(-2px);
}

.page-home .home-download__note {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(201, 169, 110, 0.7);
  letter-spacing: 0.05em;
}

.page-home .home-download__visual {
  display: flex;
  justify-content: center;
}

.page-home .home-download__phone {
  width: 180px;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* --- 信任声明区 --- */
.page-home .home-trust {
  background: #E8E4DF;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid #d6d0ca;
}

.page-home .home-trust__inner {
  max-width: var(--max-content, 1200px);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.page-home .home-trust__logo {
  width: 100px;
  height: auto;
  opacity: 0.65;
}

.page-home .home-trust__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #5A4A3A;
  max-width: 60ch;
  margin: 0;
}

.page-home .home-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.page-home .home-trust__link {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #1A365D;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.page-home .home-trust__link:hover,
.page-home .home-trust__link:focus-visible {
  border-bottom-color: #1A365D;
}

/* --- 页内锚点导航（辅助） --- */
.page-home .home-anchors {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: #2B1D14;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.page-home .home-anchors__item {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(245, 240, 235, 0.6);
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.page-home .home-anchors__item:hover,
.page-home .home-anchors__item:focus-visible {
  color: #C9A96E;
  border-color: rgba(201, 169, 110, 0.4);
  background: rgba(201, 169, 110, 0.08);
}

/* ===== 响应式：桌面（≥768px） ===== */
@media (min-width: 768px) {
  .page-home .home-cover {
    flex-direction: row;
  }

  .page-home .home-cover__left {
    flex: 0 0 48%;
    padding: 4rem 3rem;
  }

  .page-home .home-cover__right {
    flex: 1;
    min-height: auto;
    display: flex;
    align-items: flex-end;
  }

  .page-home .home-cover__bg {
    object-position: center 40%;
  }

  .page-home .home-cover__title {
    font-size: 3.8rem;
  }

  .page-home .home-cover__lead {
    font-size: 1.1rem;
  }

  .page-home .home-cover__index {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem;
    margin: 0;
    width: 100%;
  }

  .page-home .home-cover__index-item {
    padding: 0.8rem 1rem;
  }

  /* 面包屑 */
  .page-home .breadcrumb {
    padding: 0.75rem 2rem;
  }

  /* 卡片网格 */
  .page-home .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-cards {
    padding: 4rem 2rem;
  }

  .page-home .home-card__icon {
    width: 56px;
    height: 56px;
  }

  /* 下载区 */
  .page-home .home-download {
    padding: 4rem 2rem;
  }

  .page-home .home-download__inner {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }

  .page-home .home-download__content {
    text-align: left;
    flex: 1;
  }

  .page-home .home-download__text {
    margin: 0 0 1.5rem 0;
  }

  .page-home .home-download__actions {
    flex-direction: row;
    align-items: center;
  }

  .page-home .home-download__phone {
    width: 220px;
    max-height: 380px;
  }

  /* 信任区 */
  .page-home .home-trust {
    padding: 3rem 2rem;
  }

  /* 锚点导航 */
  .page-home .home-anchors {
    padding: 1rem 2rem;
    gap: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .page-home .home-cover__left {
    flex: 0 0 45%;
    padding: 5rem 4rem;
  }

  .page-home .home-cover__title {
    font-size: 4.5rem;
  }

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

  .page-home .home-download {
    padding: 5rem 2rem;
  }

  .page-home .home-download__phone {
    width: 260px;
    max-height: 440px;
  }
}

/* 超大屏内容宽度限制 */
@media (min-width: 1300px) {
  .page-home .home-cards,
  .page-home .home-trust__inner {
    max-width: var(--max-content, 1200px);
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .home-download__inner {
    max-width: var(--max-content, 1200px);
  }
}
