/* ==========================================================================
   gandehao.cn 外贸网站建设页专属样式 · waimao-wangzhan.css
   依赖：global.css
   独有签名：左图右文 Hero（港口大图在左 + 顶部蓝色饰带）+ 语言标签行 + 横向时间轴
   ========================================================================== */

/* ---------- Hero：左图右文 + 顶部斜切饰带 ---------- */
.wm-hero {
  padding: clamp(80px, 10vw, 130px) 0 clamp(70px, 9vw, 110px);
  background: var(--c-white);
}
.wm-hero-band {
  position: absolute; top: 0; left: 0; right: 0; height: 10px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-green));
}
.wm-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.wm-hero-media {
  position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
}
.wm-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.wm-hero-grid h1 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.4; margin: 14px 0 16px; }
.wm-hero-grid > div > p { color: var(--c-muted); font-size: 16px; line-height: 1.9; }
.wm-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 语言标签行（签名布局） ---------- */
.lang-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px;
}
.lang-tag {
  padding: 8px 22px; border-radius: var(--r-pill);
  background: var(--c-blue-soft); color: var(--c-blue-deep);
  font-size: 14px; font-weight: 700; letter-spacing: 1px;
  border: 1px solid rgba(111,168,220,.4);
  transition: transform .25s ease, background .25s, color .25s;
}
.lang-tag:hover { transform: translateY(-4px) rotate(-2deg); background: var(--c-blue); color: #fff; }
.lang-tag:nth-child(even) { background: var(--c-green-soft); color: var(--c-green-deep); border-color: rgba(95,185,140,.4); }
.lang-tag:nth-child(even):hover { background: var(--c-green); color: #fff; }

/* ---------- 海外访问清单 ---------- */
.wm-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 26px; }
.wm-list li {
  position: relative; padding: 12px 18px 12px 44px;
  background: var(--c-white); border: 1px solid var(--c-line); border-left: 4px solid var(--c-blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 14.5px; line-height: 1.8; box-shadow: var(--sh-sm);
}
.wm-list li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--c-blue);
}

/* ---------- 横向时间轴（签名布局） ---------- */
.wm-timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative; margin-top: 20px;
}
.wm-timeline::before {
  content: ""; position: absolute; top: 12px; left: 8%; right: 8%; height: 3px;
  background: linear-gradient(90deg, var(--c-green), var(--c-blue)); border-radius: 3px;
}
.wm-timeline .tl-item { position: relative; padding: 40px 16px 0; text-align: center; }
.wm-timeline .tl-item::before {
  content: ""; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-white); border: 4px solid var(--c-green); box-shadow: var(--sh-sm);
}
.wm-timeline .tl-time { font-size: 12.5px; font-weight: 700; color: var(--c-blue-deep); }
.wm-timeline h3 { font-size: 16px; margin: 6px 0 8px; }
.wm-timeline p { font-size: 13.5px; color: var(--c-muted); line-height: 1.8; }
.wm-timeline a { color: var(--c-blue-deep); text-decoration: underline; }

/* ---------- 案例卡（左图右文横排） ---------- */
.wm-case { background: var(--c-sky); }
.case-wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-md);
}
.case-wrap .case-media { overflow: hidden; height: 100%; }
.case-wrap .case-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.case-wrap .case-body { padding: 36px 36px 36px 8px; }
.case-wrap .case-body h3 { font-size: 22px; margin: 14px 0 10px; }
.case-wrap .case-body p { font-size: 14.5px; color: var(--c-muted); line-height: 1.9; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .wm-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .wm-timeline { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .wm-timeline::before { display: none; }
  .wm-timeline .tl-item { padding: 0; text-align: left; }
  .wm-timeline .tl-item::before { display: none; }
  .case-wrap { grid-template-columns: 1fr; }
  .case-wrap .case-body { padding: 24px; }
  .case-wrap .case-media img { min-height: 240px; }
}
