/* ==========================================================================
   首页视觉增强层（仅 index.html 引入，放在 style.css 之后）
   方向：旅行杂志编辑风 —— 更强的字号层级、更大的留白、图片优先、克制点缀
   约束：保留品牌色 #347C46 / #3991C8，卡片 8px、按钮 6px
   ========================================================================== */

/* ---------- 版面节奏与标题层级 ---------- */
.section { padding: 96px 0; }
.section.gray { background: #F6F8F6; }
.hero + .section { padding-top: 48px; }

.section-head { margin-bottom: 54px; position: relative; }
.section-head::before {
  content: "";
  display: block;
  width: 48px; height: 3px;
  margin: 0 auto 20px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-blue));
}
.section-head.left::before { margin-left: 0; }

.section-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: .6px;
}
.section-title span { letter-spacing: 1px; }
.section-sub { margin-top: 14px; font-size: 15px; line-height: 1.8; }

/* ---------- 首屏 ---------- */
.hero {
  min-height: 660px;
  background-attachment: scroll;
}
.hero::after {
  background:
    linear-gradient(90deg, rgba(10, 30, 19, .90) 0%, rgba(10, 30, 19, .62) 44%, rgba(10, 30, 19, .18) 82%, rgba(10, 30, 19, .34) 100%),
    linear-gradient(180deg, rgba(10, 30, 19, .34) 0%, rgba(10, 30, 19, 0) 42%, rgba(10, 30, 19, .52) 100%);
}
.hero .container { padding-top: 56px; padding-bottom: 56px; }

.hero-tag {
  padding: 6px 15px;
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 11px;
  letter-spacing: 2.5px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: .5px;
  max-width: 780px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .28);
}
.hero h1 em {
  color: #C8EECF;
  background-image: linear-gradient(180deg, transparent 64%, rgba(122, 199, 143, .34) 64%);
}

.hero-desc {
  margin-top: 20px;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .86);
}

.hero-actions { margin-top: 34px; gap: 12px; }
.hero-actions .btn-primary {
  height: 48px;
  padding: 0 28px;
  box-shadow: 0 8px 22px rgba(20, 60, 36, .38);
}
.hero-actions .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(20, 60, 36, .46); }
.hero-actions .btn-ghost { height: 48px; padding: 0 26px; }

.hero-stats {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 740px;
  padding: 20px 6px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-card);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-stats li {
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}
.hero-stats li:last-child { border-right: 0; }
.hero-stats li b { font-size: 26px; letter-spacing: .6px; line-height: 1.3; }
.hero-stats li span { margin-top: 5px; display: block; font-size: 12px; letter-spacing: .5px; color: rgba(255, 255, 255, .72); }

/* ---------- 业务边界提示 ---------- */
.notice {
  background: #fff;
  border-left: 3px solid var(--c-blue);
  box-shadow: var(--shadow-card);
  padding: 16px 20px;
}
.notice-icon {
  color: var(--c-blue);
  font-style: normal;
  font-weight: 700;
  text-align: center;
  line-height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}

/* ---------- 项目介绍侧栏 ---------- */
.side-card {
  box-shadow: none;
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-primary);
  padding: 22px 22px 20px;
}
.side-card:last-child { border-top-color: var(--c-blue); }
.side-title {
  font-size: 15px;
  letter-spacing: .5px;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 14px;
}
.side-title::after {
  content: "";
  display: block;
  width: 28px; height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--c-primary);
}
.side-card:last-child .side-title::after { background: var(--c-blue); }
.side-list li { padding: 10px 0; font-size: 13.5px; }
.side-list li em { min-width: 62px; display: inline-block; }

/* ---------- 环线亮点卡片 ---------- */
.feature {
  position: relative;
  border: 1px solid var(--c-line);
  padding: 30px 24px 26px;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.feature:hover { transform: translateY(-4px); }
.feature:hover::before { transform: scaleX(1); }
.feature-ico {
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 21px;
  margin-bottom: 18px;
}
.feature:nth-child(2n) .feature-ico { background: var(--c-blue-light); }
.feature h3 { font-size: 18px; letter-spacing: .3px; }
.feature p { margin-top: 10px; font-size: 13px; line-height: 1.85; }

/* ---------- 7 天行程画廊 ---------- */
.preview-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.preview-strip::-webkit-scrollbar { height: 6px; }
.preview-strip::-webkit-scrollbar-track { background: var(--c-line); border-radius: 3px; }
.preview-strip::-webkit-scrollbar-thumb { background: #C6D2C9; border-radius: 3px; }

.preview-item {
  flex: none;
  width: 244px;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.preview-item img { transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.preview-item:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 0, 0, .16); }
.preview-item:hover img { transform: scale(1.07); }
.preview-item span {
  padding: 42px 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82));
  font-size: 12px;
  letter-spacing: .3px;
}
.preview-item b { font-size: 15px; margin-bottom: 3px; letter-spacing: .5px; }

/* ---------- 合作机构 ---------- */
.partner {
  border: 1px solid var(--c-line);
  box-shadow: none;
  padding: 22px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.partner:hover { border-color: rgba(52, 124, 70, .4); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.partner-logo { background: var(--c-primary-light); border-color: transparent; }
.partner-info h3 { font-size: 16px; }
.partner-info p { font-size: 12.5px; line-height: 1.75; }

/* ---------- 咨询 CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 52px 48px;
  background: linear-gradient(125deg, #2A6639 0%, #347C46 46%, #2E7B88 100%);
  box-shadow: 0 14px 34px rgba(42, 102, 57, .20);
}
.cta::after {
  content: "";
  position: absolute;
  right: -110px; top: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 66%);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h3 { font-size: 27px; letter-spacing: .5px; line-height: 1.4; }
.cta p { margin-top: 10px; font-size: 13.5px; line-height: 1.85; }
.cta .btn { height: 46px; padding: 0 30px; }

/* ---------- 滚动进入动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .preview-item, .preview-item img, .feature { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (min-width: 1025px) {
  .hero { background-attachment: fixed; }
}

@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .section-title { font-size: 28px; }
  .hero h1 { font-size: 38px; }
  .hero { min-height: 560px; }
  .preview-item { width: 210px; }
}

@media (max-width: 820px) {
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head::before { margin-bottom: 16px; }
  .section-title { font-size: 23px; }
  .section-sub { margin-top: 10px; font-size: 13.5px; }

  .hero { min-height: 520px; }
  .hero .container { padding-top: 30px; padding-bottom: 40px; }
  .hero h1 { font-size: 27px; line-height: 1.34; }
  .hero-tag { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 16px; }
  .hero-desc { margin-top: 14px; font-size: 13.5px; line-height: 1.85; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { height: 44px; padding: 0 20px; font-size: 14px; }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 16px 4px;
    margin-top: 30px;
    max-width: 100%;
  }
  .hero-stats li { padding: 10px 16px; border-right: 0; }
  .hero-stats li:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .14); }
  .hero-stats li:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .hero-stats li b { font-size: 20px; }
  .hero-stats li span { font-size: 11px; }

  .feature { padding: 24px 20px 22px; }
  .preview-item { width: 168px; }
  .preview-item b { font-size: 13px; }
  .preview-item span { padding: 30px 10px 12px; }

  .cta { padding: 32px 24px; }
  .cta h3 { font-size: 20px; }
  .cta p { font-size: 13px; }
  .cta .btn { margin-top: 20px; width: 100%; }
}
