/* 首页 · 对照 01-首页-0909改版 像素稿；动效对照华康 www.whhksj.com */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  background: #F5F5F5;
  color: #111;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; }
img { display: block; max-width: 100%; }
.h-home { overflow-x: hidden; }

.h-wrap { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }
.h-sec { padding: 72px 0 56px; }
.h-sec-white { background: #fff; }
.h-sec-gray { background: #F5F5F5; }
.h-sec-gray .h-ico { background: #fff; }
.h-sec-gray .h-logo-box { background: #fff; }
.h-sec-gray .h-map { background: #fff; }
.h-kicker { font-size: 12px; letter-spacing: .18em; color: #888; }
.h-h2 { font-size: 28px; font-weight: 700; margin-top: 6px; }
.h-line { width: 32px; height: 2px; background: #111; margin: 12px 0 0; }
.h-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.h-head > .h-more { display: none; }
.h-tabs { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: #888; justify-content: flex-end; }
.h-tabs a, .h-tabs button {
  color: #888;
  font-size: 13px;
  padding: 0 0 6px;
  border: 0;
  background: none;
  cursor: pointer;
  white-space: nowrap;
}
.h-tabs .is-on { color: #111; font-weight: 600; border-bottom: 2px solid #111; }

.h-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.h-reveal.is-in { opacity: 1; transform: none; }

/* HERO — 华康 e_bannerA：横滑 600ms，自动 4s，首屏滚轮切帧 */
.h-hero {
  position: relative;
  height: 800px;
  overflow: hidden;
  color: #fff;
  background: #111;
}
.h-hero-track {
  display: flex;
  height: 100%;
  transition: transform .6s ease;
  will-change: transform;
}
.h-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.h-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  max-width: none;
}
.h-hero-scrim { position: absolute; inset: 0; background: rgba(17,17,17,.42); }
.h-hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 80px;
}
.h-hero-en { font-size: 13px; letter-spacing: .28em; color: rgba(255,255,255,.78); margin-bottom: 18px; }
.h-hero h1 { font-size: 48px; font-weight: 700; line-height: 1.25; margin: 0; }
.h-hero p { margin-top: 16px; font-size: 16px; color: rgba(255,255,255,.86); }
.h-hero-more {
  margin-top: 28px;
  height: 40px;
  padding: 0 22px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}
.h-hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.h-hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.h-hero-dots button.is-on { width: 22px; border-radius: 4px; background: #fff; }
.h-hero-wheel {
  position: absolute;
  right: 40px;
  bottom: 28px;
  font-size: 11px;
  color: rgba(255,255,255,.7);
  letter-spacing: .08em;
  z-index: 2;
  animation: h-scroll-hint 1.6s ease-in-out infinite;
}
@keyframes h-scroll-hint {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* INTRO */
.h-intro { display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: center; }
.h-intro p { margin-top: 18px; font-size: 14px; line-height: 1.9; color: #555; }
.h-stats { display: flex; gap: 28px; margin-top: 32px; }
.h-stat b { display: block; font-size: 26px; }
.h-stat span { font-size: 12px; color: #888; }
.h-video { position: relative; height: 320px; overflow: hidden; display: none; }
.h-video img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); max-width: none; }
.h-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 64px;
  height: 64px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* OVERSEAS */
.h-overseas { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.h-overseas p { margin-top: 16px; font-size: 14px; line-height: 1.9; color: #555; }
.h-ov-list { margin-top: 28px; }
.h-ov-item { margin-bottom: 22px; }
.h-ov-item:last-child { margin-bottom: 0; }
.h-ov-top { display: flex; align-items: baseline; gap: 8px; }
.h-ov-top b { font-size: 28px; line-height: 1; }
.h-ov-top em { font-style: normal; font-size: 16px; font-weight: 700; }
.h-ov-item p { margin-top: 8px; font-size: 13px; color: #888; line-height: 1.6; }
.h-map { position: relative; height: 380px; background: #F5F5F5; }
.h-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-map-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #BBB;
  font-size: 14px;
  letter-spacing: .2em;
}
.h-pin {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
  outline: 4px solid #DDD;
}
.h-pin em {
  position: absolute;
  left: 14px;
  top: -6px;
  font-style: normal;
  font-size: 12px;
  color: #111;
  white-space: nowrap;
}

/* PRODUCTS */
.h-pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.h-pcard { background: #fff; border: 1px solid #E5E5E5; }
.h-pcard img { width: 100%; height: 168px; object-fit: cover; max-width: none; }
.h-pcard .h-b { padding: 16px 16px 18px; }
.h-pcard h3 { font-size: 16px; margin: 0; font-weight: 600; }
.h-pcard em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: #888; }
.h-pcard .h-more { margin-top: 12px; font-size: 12px; color: #111; }

/* SOLUTIONS — 华康 ul>li 0.5s 宽度过渡 */
.h-sol-head { padding: 56px 0 16px; }
.h-sol-head .h-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.h-sol-head .h-more { font-size: 13px; color: #888; }
.h-strip { display: flex; height: 560px; }
.h-col {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,.15);
  transition: flex .5s ease;
  color: #fff;
}
.h-col.is-on { flex: 2.15 1 0; }
.h-col img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.h-col-mask { position: absolute; inset: 0; background: rgba(17,17,17,.38); transition: background .5s ease; }
.h-col.is-on .h-col-mask { background: rgba(17,17,17,.22); }
.h-col-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 16px;
  color: #fff;
}
.h-col-name {
  writing-mode: vertical-rl;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  transition: font-size .5s ease;
}
.h-col.is-on .h-col-name {
  writing-mode: horizontal-tb;
  font-size: 22px;
  letter-spacing: 0;
}
.h-col-sub {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,.86);
}
.h-col.is-on .h-col-sub { display: block; }
.h-col-go {
  display: none;
  margin-top: 16px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #fff;
  font-size: 12px;
  align-items: center;
}
.h-col.is-on .h-col-go { display: inline-flex; }

/* PROCESS */
.h-sec-process { padding: 96px 0 100px; }
.h-sec-process .h-lead { margin-top: 16px; font-size: 16px; color: #555; }
.h-steps { display: flex; margin-top: 64px; }
.h-step { flex: 1; text-align: center; position: relative; }
.h-step::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 62%;
  right: -38%;
  height: 1px;
  background: #E5E5E5;
}
.h-step:last-child::after { display: none; }
.h-ico {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: #F5F5F5;
  color: #111;
  border: 1px solid #E8E8E8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.h-ico svg { width: 44px; height: 44px; stroke: #111; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.h-step b { display: block; margin-top: 20px; font-size: 16px; font-weight: 700; }
.h-step span { display: block; margin-top: 8px; font-size: 13px; color: #888; line-height: 1.5; }

/* CASES */
.h-cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.h-ccard img { width: 100%; height: 168px; object-fit: cover; max-width: none; }
.h-ccard h3 { margin-top: 10px; font-size: 14px; line-height: 1.45; font-weight: 400; }

/* CNAS | AI */
.h-dual { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.h-tile { position: relative; height: 320px; overflow: hidden; color: #fff; }
.h-tile img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.h-tile .h-m { position: absolute; inset: 0; background: rgba(17,17,17,.48); }
.h-tile .h-c { position: absolute; left: 32px; right: 32px; bottom: 28px; }
.h-tile h3 { font-size: 24px; margin: 0; }
.h-tile p { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.86); line-height: 1.7; }
.h-tile .h-btn {
  display: inline-flex;
  margin-top: 14px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #fff;
  font-size: 12px;
  align-items: center;
}

/* NEWS */
.h-news { margin-top: 20px; }
.h-nrow {
  display: grid;
  grid-template-columns: 88px 168px 1fr 96px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #EEE;
}
.h-ndate { font-size: 22px; font-weight: 700; line-height: 1; }
.h-ndate small { display: block; margin-top: 8px; font-size: 12px; font-weight: 400; color: #888; }
.h-ndate i { display: block; width: 16px; height: 2px; background: #111; margin-top: 8px; }
.h-nrow img { width: 168px; height: 96px; object-fit: cover; max-width: none; }
.h-nrow h3 { font-size: 16px; line-height: 1.45; margin: 0; font-weight: 600; }
.h-nrow p { margin-top: 8px; font-size: 13px; color: #888; line-height: 1.6; }
.h-nmore {
  height: 36px;
  padding: 0 16px;
  border: 1px solid #111;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-self: end;
}

.h-dl {
  margin-top: 40px;
  background: #F5F5F5;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.h-dl b { font-size: 18px; }
.h-dl span { display: block; margin-top: 6px; font-size: 13px; color: #666; }
.h-dl a {
  height: 40px;
  padding: 0 18px;
  background: #111;
  color: #fff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}

.h-logos { display: grid; grid-template-columns: repeat(auto-fill, 150px); gap: 12px; margin-top: 24px; }
.h-logo-box {
  width: 150px;
  height: 80px;
  border: 1px solid #E5E5E5;
  color: #BBB;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.h-logo-box img { width: 100%; height: 100%; object-fit: cover; }
.n-empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; color: #999; font-size: 14px; }

.h-fade { transition: opacity .35s ease; }
.h-fade.is-out { opacity: 0; }

.h-sol-m { display: none; }
.h-tabs-m, .h-tabs-grid { display: none; }

@media (max-width: 1199px) {
  .h-wrap { width: calc(100% - 32px); }
  .h-sec { padding: 40px 0 32px; }
  .h-kicker { font-size: 11px; letter-spacing: .16em; }
  .h-h2 { font-size: 22px; }
  .h-line { width: 28px; margin-top: 10px; }
  .h-hero { height: 420px; }
  .h-hero-copy { padding: 0 24px; }
  .h-hero-en { font-size: 11px; letter-spacing: .22em; margin-bottom: 12px; }
  .h-hero h1 { font-size: 26px; line-height: 1.3; }
  .h-hero p { margin-top: 10px; font-size: 12px; line-height: 1.6; }
  .h-hero-more { margin-top: 18px; height: 36px; padding: 0 16px; font-size: 12px; }
  .h-hero-dots { bottom: 16px; gap: 6px; }
  .h-hero-dots button { width: 6px; height: 6px; }
  .h-hero-dots button.is-on { width: 16px; border-radius: 3px; }
  .h-hero-wheel { display: none; }

  .h-intro { display: block; }
  .h-intro p { margin-top: 14px; font-size: 13px; line-height: 1.85; }
  .h-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px 0;
    margin-top: 24px;
    text-align: center;
  }
  .h-stat { grid-column: span 2; }
  .h-stat:nth-child(4) { grid-column: 2 / span 2; }
  .h-stat:nth-child(5) { grid-column: 4 / span 2; }
  .h-stat b { font-size: 22px; }
  .h-stat span { font-size: 11px; }
  .h-video { height: 200px; margin-top: 24px; }
  .h-play { width: 52px; height: 52px; }

  .h-overseas { display: block; }
  .h-ov-top b { font-size: 24px; }
  .h-map { height: 210px; margin-top: 8px; }

  .h-head .h-tabs { display: none; }
  .h-tabs-m {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    margin-top: 16px;
    font-size: 12px;
    color: #888;
    -webkit-overflow-scrolling: touch;
  }
  .h-tabs-m a, .h-tabs-m button { flex: none; white-space: nowrap; padding-bottom: 4px; }
  .h-tabs-m .is-on { color: #111; font-weight: 600; border-bottom: 2px solid #111; }
  .h-head > .h-more { display: inline; font-size: 12px; color: #888; white-space: nowrap; }

  .h-pgrid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .h-pcard img { height: 110px; }
  .h-pcard .h-b { padding: 10px; }
  .h-pcard h3 { font-size: 13px; line-height: 1.4; }
  .h-pcard em { font-size: 11px; margin-top: 6px; }

  .h-sol-head { padding: 40px 0 0; }
  .h-sol-head .h-wrap { width: calc(100% - 32px); }
  .h-cgrid .h-ccard:nth-child(n + 3) { display: none; }
  .h-strip { display: none; }
  .h-sol-m {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 16px;
    padding: 0 16px 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .h-scol {
    position: relative;
    flex: none;
    width: 248px;
    height: 320px;
    overflow: hidden;
    color: #fff;
    scroll-snap-align: start;
  }
  .h-scol img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
  .h-scol .h-m { position: absolute; inset: 0; background: rgba(17,17,17,.36); }
  .h-scol .h-f { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
  .h-scol .h-n { font-size: 16px; font-weight: 700; }
  .h-scol .h-s { margin-top: 8px; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.86); }
  .h-scol .h-g {
    display: inline-flex;
    margin-top: 12px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid #fff;
    font-size: 11px;
    align-items: center;
  }

  .h-sec-process { padding: 40px 0 32px; }
  .h-sec-process .h-lead { font-size: 13px; line-height: 1.8; }
  .h-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 8px; margin-top: 28px; }
  .h-step::after { display: none; }
  .h-ico { width: 72px; height: 72px; }
  .h-ico svg { width: 36px; height: 36px; }
  .h-step b { margin-top: 10px; font-size: 14px; }
  .h-step span { display: none; }

  .h-head .h-tabs-pc { display: none; }
  .h-tabs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    margin-top: 24px;
    padding-bottom: 8px;
    font-size: 13px;
    color: #888;
  }
  .h-tabs-grid .is-on { color: #111; font-weight: 600; }
  .h-tabs-grid .is-on::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: #111;
    margin-top: 6px;
  }
  .h-tabs-grid .h-all { grid-column: 1 / -1; text-align: center; color: #888; padding: 10px 0 6px; }
  .h-cgrid { display: block; margin-top: 0; }
  .h-ccard { display: block; margin-top: 28px; }
  .h-ccard + .h-ccard { margin-top: 32px; }
  .h-ccard img { height: 188px; }
  .h-ccard h3 { margin-top: 14px; font-size: 15px; line-height: 1.5; }

  .h-dual { display: block; }
  .h-tile { height: 200px; margin-bottom: 10px; }
  .h-tile:last-child { margin-bottom: 0; }
  .h-tile .h-c { left: 16px; right: 16px; bottom: 16px; }
  .h-tile h3 { font-size: 20px; }
  .h-tile p { font-size: 12px; }
  .h-tile .h-btn { height: 30px; padding: 0 12px; font-size: 11px; margin-top: 10px; }

  .h-nrow {
    display: block;
    padding: 16px 0;
  }
  .h-ndate { font-size: 20px; }
  .h-nrow img { width: 100%; height: 140px; margin: 12px 0; }
  .h-nrow h3 { font-size: 15px; }
  .h-nrow p {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .h-nmore { display: none; }

  .h-dl { display: block; padding: 18px 16px; margin-top: 24px; }
  .h-dl b { font-size: 16px; }
  .h-dl a { margin-top: 12px; height: 36px; padding: 0 14px; font-size: 12px; }

  .h-logos { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .h-logo-box { width: 100%; height: auto; aspect-ratio: 150 / 80; font-size: 12px; }
}

