/* 丝路全景VR · 首页五屏响应式 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@600;700&display=swap');

:root {
  --home-ink: #0c1a24;
  --home-deep: #132636;
  --home-slate: #1e3a4c;
  --home-sand: #d4a84b;
  --home-sand-soft: #e8c97a;
  --home-mist: #eef2f5;
  --home-paper: #f7f9fb;
  --home-text: #1a2832;
  --home-muted: #5a6b76;
  --home-line: rgba(19, 38, 54, 0.08);
  --home-radius: 4px;
  --home-max: 1180px;
  --home-font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --home-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

.home-page {
  font-family: var(--home-font);
  color: var(--home-text);
  background: var(--home-paper);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.home-page a { text-decoration: none; color: inherit; }
.home-page img { max-width: 100%; height: auto; display: block; }

.home-wrap {
  width: 100%;
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.home-sec {
  position: relative;
  padding: 88px 0;
  scroll-margin-top: 72px;
}

.home-sec--alt {
  background:
    linear-gradient(180deg, rgba(238, 242, 245, 0.95) 0%, rgba(247, 249, 251, 1) 100%);
}

.home-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--home-sand);
  font-weight: 500;
  margin-bottom: 12px;
}

.home-h2 {
  font-family: var(--home-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--home-ink);
  margin: 0 0 12px;
}

.home-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--home-muted);
  max-width: 560px;
  margin: 0;
}

.home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.home-more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--home-slate);
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
  padding-bottom: 2px;
}

.home-more:hover {
  color: var(--home-sand);
  border-color: var(--home-sand);
}

.home-more::after {
  content: "→";
  transition: transform .25s ease;
}

.home-more:hover::after {
  transform: translateX(4px);
}

/* ---------- 第一屏 Hero：首页焦点广告大图 ---------- */
.home-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 64px);
  min-height: 420px;
  max-height: 860px;
  margin-top: 0;
  overflow: hidden;
  background: var(--home-ink);
}

.home-focus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

.home-focus__track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-focus__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  z-index: 1;
}

.home-focus__slide.is-on {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.home-focus__link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.home-focus__img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
}

.home-focus__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 48px 24px 72px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 26, 36, 0.55) 100%);
  color: #fff;
  font-family: var(--home-display);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.home-focus__cap span {
  display: inline-block;
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.home-focus__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(12, 26, 36, 0.35);
  color: #fff;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s ease, border-color 0.25s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.home-focus__nav:hover {
  background: rgba(212, 168, 75, 0.85);
  border-color: rgba(212, 168, 75, 0.95);
}

.home-focus__nav--prev { left: 16px; }
.home-focus__nav--next { right: 16px; }

.home-focus__nav--prev::before,
.home-focus__nav--next::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.home-focus__nav--prev::before {
  transform: rotate(-135deg);
  margin-left: 16px;
}

.home-focus__nav--next::before {
  transform: rotate(45deg);
  margin-left: 12px;
}

.home-focus__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.home-focus__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}

.home-focus__dot.is-on {
  width: 28px;
  border-radius: 4px;
  background: var(--home-sand);
}

.home-focus--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(160deg, #0c1a24 0%, #1e3a4c 55%, #132636 100%),
    radial-gradient(ellipse at 30% 20%, rgba(212, 168, 75, 0.2), transparent 55%);
}

.home-focus__empty-inner {
  width: 100%;
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.home-hero__brand {
  font-family: var(--home-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(24px);
  animation: homeFadeUp 1s ease 0.2s forwards;
}

.home-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 32px;
  opacity: 0;
  transform: translateY(24px);
  animation: homeFadeUp 1s ease 0.45s forwards;
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--home-sand);
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--home-radius);
  transition: background .25s ease, transform .25s ease;
  opacity: 0;
  transform: translateY(24px);
  animation: homeFadeUp 1s ease 0.7s forwards;
}

.home-hero__cta:hover {
  background: var(--home-sand-soft);
  color: var(--home-ink);
  transform: translateY(-2px);
}

.home-hero__scroll {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.12em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: homeBob 2.4s ease-in-out infinite;
  pointer-events: none;
}

.home-hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent);
}

@keyframes homeFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes homeBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- 第二屏 资讯图文 ---------- */
.home-news__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.home-news__feature {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 420px;
  background: var(--home-deep);
  border-radius: var(--home-radius);
}

.home-news__feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  transition: transform 0.7s ease;
}

.home-news__feature:hover img {
  transform: scale(1.04);
}

.home-news__feature-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 28px 28px;
  background: linear-gradient(180deg, transparent, rgba(12, 26, 36, 0.88));
  color: #fff;
}

.home-news__feature-meta .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--home-sand-soft);
  margin-bottom: 10px;
}

.home-news__feature-meta h3 {
  font-family: var(--home-display);
  font-size: clamp(22px, 2.5vw, 28px);
  margin: 0 0 10px;
  line-height: 1.35;
}

.home-news__feature-meta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  overflow: hidden;
}

.home-news__item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--home-line);
  transition: background .25s ease;
}

.home-news__item:last-child {
  border-bottom: none;
}

.home-news__item:hover {
  background: var(--home-mist);
}

.home-news__item-thumb {
  width: 128px;
  height: 86px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--home-mist);
}

.home-news__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.home-news__item:hover .home-news__item-thumb img {
  transform: scale(1.06);
}

.home-news__item-body h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.4;
  color: var(--home-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news__item-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--home-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news__empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--home-muted);
}

/* ---------- 第三屏 首页推荐区推荐 ---------- */
.home-cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-case {
  display: block;
  background: transparent;
}

.home-case__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--home-deep);
  border-radius: var(--home-radius);
}

.home-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-case:hover .home-case__media img {
  transform: scale(1.05);
}

.home-case__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 26, 36, 0.75));
  opacity: 0.85;
  transition: opacity .3s ease;
}

.home-case:hover .home-case__overlay {
  opacity: 1;
}

.home-case__vr {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--home-ink);
  background: var(--home-sand);
  padding: 4px 8px;
  border-radius: 2px;
}

.home-case__info {
  padding: 14px 2px 0;
}

.home-case__info h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.4;
  color: var(--home-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-case__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--home-muted);
}

.home-case__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- 第四屏 合作伙伴 ---------- */
.home-partners {
  background: #fff;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-partners .home-head {
  margin-bottom: 36px;
}

.home-partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 28px;
  align-items: stretch;
}

.home-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 20px;
  box-sizing: border-box;
  background: transparent;
  border: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-partners__item img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-partners__item:hover {
  transform: translateY(-2px);
}

.home-partners__item:hover img {
  opacity: 1;
  transform: scale(1.03);
}

/* ---------- 第五屏 关于我们 ---------- */
.home-about {
  padding-bottom: 40px;
}

.home-about__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.home-about__text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--home-muted);
  margin: 0 0 20px;
}

.home-about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.home-about__fact {
  padding: 20px 16px;
  background: #fff;
  border-top: 2px solid var(--home-sand);
}

.home-about__fact strong {
  display: block;
  font-family: var(--home-display);
  font-size: 28px;
  color: var(--home-ink);
  line-height: 1.2;
  margin-bottom: 6px;
}

.home-about__fact span {
  font-size: 13px;
  color: var(--home-muted);
}

.home-about__panel {
  background: var(--home-deep);
  color: #fff;
  padding: 36px 32px;
  border-radius: var(--home-radius);
  position: relative;
  overflow: hidden;
}

.home-about__panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.25), transparent 70%);
  pointer-events: none;
}

.home-about__panel h3 {
  font-family: var(--home-display);
  font-size: 22px;
  margin: 0 0 24px;
  position: relative;
}

.home-about__row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
}

.home-about__row dt {
  flex: 0 0 56px;
  color: var(--home-sand-soft);
  font-weight: 500;
}

.home-about__row dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.home-about__cta {
  display: inline-flex;
  margin-top: 12px;
  padding: 12px 22px;
  background: var(--home-sand);
  color: var(--home-ink);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--home-radius);
  transition: background .25s ease;
  position: relative;
}

.home-about__cta:hover {
  background: var(--home-sand-soft);
  color: var(--home-ink);
}

/* 入场动效 */
.home-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .home-cases__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-partners__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 20px;
  }

  .home-news__grid,
  .home-about__grid {
    grid-template-columns: 1fr;
  }

  .home-news__feature {
    min-height: 280px;
  }

  .home-news__feature img {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .home-sec {
    padding: 48px 0;
  }

  .home-wrap {
    padding: 0 16px;
  }

  .home-hero {
    height: 56vw;
    min-height: 200px;
    max-height: 380px;
  }

  .home-focus__nav {
    display: none;
  }

  .home-focus__cap {
    padding: 28px 16px 52px;
    font-size: 16px;
  }

  .home-focus__dots {
    bottom: 14px;
    gap: 8px;
  }

  .home-hero__brand {
    font-size: 28px;
  }

  .home-hero__sub {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .home-hero__scroll {
    display: none;
  }

  .home-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .home-h2 {
    font-size: 24px;
  }

  .home-news__item {
    grid-template-columns: 96px 1fr;
    padding: 14px 14px;
    gap: 12px;
  }

  .home-news__item-thumb {
    width: 96px;
    height: 72px;
  }

  .home-cases__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .home-partners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
  }

  .home-partners__item {
    min-height: 72px;
    padding: 12px 10px;
  }

  .home-partners__item img {
    max-height: 40px;
  }

  .home-about__facts {
    grid-template-columns: 1fr;
  }

  .home-about__panel {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .home-cases__grid {
    grid-template-columns: 1fr;
  }

  .home-partners__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-case__media {
    aspect-ratio: 16 / 10;
  }

  .home-news__feature {
    min-height: 220px;
  }

  .home-news__feature img {
    min-height: 220px;
  }
}
