/* ==========================================================================
   gandehao.cn 首页专属样式 · index.css
   依赖：global.css（在 <head> 中先于本文件引入）
   独有签名：全屏 Banner 斜切主视觉 + 文字逐行动画 + 错位胶带卡片带
   ========================================================================== */

/* ---------- ① 全屏 Banner ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  overflow: hidden;
  background: var(--c-mint);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(34,56,58,.82) 0%, rgba(34,56,58,.55) 42%, rgba(34,56,58,.18) 72%, rgba(60,143,104,.16) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1180px, 92%); margin: 0 auto;
  padding: 120px 0 140px;
  color: #fff;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 18px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  font-size: 14px; letter-spacing: 1.5px; color: #EAF6EF;
  margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8FE0B8; }
.hero-title { font-size: clamp(32px, 5.2vw, 60px); line-height: 1.22; color: #fff; font-weight: 800; letter-spacing: .5px; }
.hero-title b { color: #8FE0B8; font-weight: 800; }
.ht-line { display: block; overflow: hidden; }
.ht-line b { position: relative; }
.ht-line b::after {
  content: ""; position: absolute; left: 0; bottom: 6px; width: 100%; height: 12px;
  background: rgba(95,185,140,.38); z-index: -1; border-radius: 4px;
}
.ht-1 { animation: htIn .9s cubic-bezier(.2,.7,.2,1) both; }
.ht-2 { animation: htIn .9s .25s cubic-bezier(.2,.7,.2,1) both; }
@keyframes htIn {
  from { opacity: 0; transform: translateY(46px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub { margin-top: 22px; font-size: 17px; color: rgba(255,255,255,.94); line-height: 1.9; animation: htIn .9s .5s both; max-width: 660px; text-shadow: 0 1px 8px rgba(34,56,58,.55); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; animation: htIn .9s .68s both; }
.hero-points {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px;
  animation: htIn .9s .85s both;
}
.hero-points li {
  padding: 6px 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.4);
  font-size: 13.5px; color: #EAF6EF;
}
.hero-tape { top: 26px; right: 60px; width: 150px; height: 34px; }

/* ---------- ② 数据条 ---------- */
.idx-stats { margin-top: -1px; }
.idx-stats .stat-grid { padding: clamp(30px, 4vw, 52px) 0 clamp(44px, 5vw, 64px); }

/* ---------- ③ 核心优势：错位胶带卡片带 ---------- */
.adv-board {
  position: relative; margin-top: 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
}
.adv-card { position: relative; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: 30px 28px; box-shadow: var(--sh-sm); transition: transform .3s ease, box-shadow .3s ease; }
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.adv-card h3 { font-size: 19px; margin: 16px 0 8px; }
.adv-card p { font-size: 14.5px; color: var(--c-muted); }
.adv-c1 { transform: rotate(-1.2deg); }
.adv-c2 { transform: rotate(.9deg) translateY(18px); }
.adv-c3 { transform: rotate(-.6deg) translateY(8px); }
.adv-c4 { transform: rotate(1.1deg); }
.adv-card:hover { transform: rotate(0deg) translateY(-6px); }

/* ---------- ④ 服务卡 ---------- */
.svc-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.svc-card .card-media { height: 190px; }
.svc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-body h3 { margin: 0; }
.svc-body p { font-size: 14px; }
.svc-more { margin-top: auto; color: var(--c-green-deep); font-size: 14px; font-weight: 600; }
.svc-card:hover .svc-more { color: var(--c-blue-deep); }
.idx-more { text-align: center; margin-top: 40px; }

/* ---------- ⑤ 行业双列图卡 ---------- */
.ind-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ind-item { position: relative; border-radius: var(--r-xl); overflow: hidden; display: block; box-shadow: var(--sh-sm); }
.ind-media { height: 240px; }
.ind-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ind-item:hover .ind-media img { transform: scale(1.05); }
.ind-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 18px; background: linear-gradient(transparent, rgba(34,56,58,.82)); color: #fff; }
.ind-info h3 { color: #fff; font-size: 18px; margin-bottom: 2px; }
.ind-info p { font-size: 13.5px; color: rgba(255,255,255,.85); }

/* ---------- ⑥ 城市列表：便签网格 ---------- */
.city-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.city-list a {
  display: block; text-align: center; padding: 13px 10px;
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-md); font-size: 14.5px; font-weight: 600; color: var(--c-ink);
  transition: all .25s ease; position: relative;
}
.city-list a::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 46px; height: 12px; background: var(--tape-g); border-radius: 2px;
}
.city-list a:hover { background: var(--c-green); color: #fff; transform: translateY(-4px); box-shadow: var(--sh-md); }
.city-list a:hover::before { background: var(--tape-b); }

/* ---------- ⑦ 增值业务标签 ---------- */
.value-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.value-tags .tag { font-size: 14px; padding: 7px 16px; }

/* ---------- ⑧ 流程条 ---------- */
.process-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.proc-step { position: relative; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 26px 20px; box-shadow: var(--sh-sm); }
.proc-num { font-size: 26px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.6px var(--c-green); }
.proc-step:nth-child(even) { transform: translateY(16px); }
.proc-step h3 { font-size: 16.5px; margin: 10px 0 6px; }
.proc-step p { font-size: 13px; color: var(--c-muted); }

/* ---------- ⑨ 资讯卡片 ---------- */
.idx-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.idx-news-card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.idx-news-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.idx-news-media { height: 150px; }
.idx-news-media img { width: 100%; height: 100%; object-fit: cover; }
.idx-news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.idx-news-body h3 { font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.idx-news-body p { font-size: 13.5px; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.idx-news-body time { margin-top: auto; font-size: 12.5px; color: var(--c-blue-deep); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .adv-board, .ind-row { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .proc-step:nth-child(even) { transform: none; }
  .idx-news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero { min-height: 82vh; }
  .hero-content { padding: 100px 0 110px; }
  .hero-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-points li { text-align: center; }
  .process-strip, .idx-news-grid { grid-template-columns: 1fr; }
}
