/* ============================================================
   方案一：按 xg-nb.com 版式一比一复刻（亮蓝 #008CE8）
   ============================================================ */
:root {
  --blue: #008ce8;
  --orange: #d1491c;
  --ink: #212121;
  --gray: #666;
  --muted: #777;
  --line: #e6e6e6;
  --w: 1454px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
  min-width: 1454px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { border: 0; display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }

.wrap { width: var(--w); margin: 0 auto; position: relative; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  height: 80px; background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .07);
}
.header-inner { height: 80px; display: flex; align-items: center; }
.logo img { height: 58px; width: auto; }

.main-nav { display: flex; height: 80px; margin-left: 111px; }
.main-nav a {
  width: 140px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #353535;
  transition: background .2s, color .2s;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { background: var(--blue); color: #fff; }

.header-tools {
  margin-left: auto; margin-right: -26px;
  display: flex; align-items: center; gap: 18px; color: #7a7a7a;
}
.header-tools .ico { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.header-tools .ico:hover { color: var(--blue); }
.lang {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid #e3e3e3; border-radius: 3px; padding: 3px 8px 3px 5px;
}
.lang .flag { width: 22px; height: 15px; border-radius: 2px; background: #de2910; position: relative; overflow: hidden; }
.lang .flag::before { content: ""; position: absolute; left: 2px; top: 2px; width: 7px; height: 7px; background: #ffde00; border-radius: 50%; }
.lang .caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #666; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; height: 600px;
  background: #0d1b26 url(../img/hero.jpg) center 58% / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .34) 42%, rgba(0, 0, 0, .05) 72%, rgba(0, 0, 0, 0) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 220px; }
.hero h1 { font-size: 48px; line-height: 64px; color: #fff; letter-spacing: 1px; }
.hero .sub { margin-top: 24px; font-size: 30px; line-height: 40px; color: #fff; }
.btn-hero {
  display: inline-block; margin-top: 42px;
  background: #fff; color: var(--blue);
  font-size: 20px; line-height: 26px; padding: 9px 26px;
  transition: background .2s, color .2s;
}
.btn-hero:hover { background: var(--blue); color: #fff; }

/* ---------------- about ---------------- */
.about { position: relative; height: 828px; background: #fff; overflow: hidden; }
.about::before {
  content: ""; position: absolute; right: 0; top: 0; width: 1080px; height: 100%;
  background: url(../img/about.jpg) right top / cover no-repeat;
  opacity: .12;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .9) 55%, #000 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .9) 55%, #000 100%);
}
.about .wrap { height: 100%; }
.about .photo { position: absolute; left: 0; top: 92px; width: 759px; height: 399px; overflow: hidden; }
.about .photo img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { position: absolute; left: 793px; top: 83px; font-size: 48px; line-height: 64px; color: #000; }
.about .bar { position: absolute; left: 793px; top: 153px; width: 110px; height: 4px; background: var(--blue); }
.about .desc {
  position: absolute; left: 790px; top: 196px; width: 640px;
  font-size: 20px; line-height: 34px; color: var(--ink); text-indent: 2em;
}

.stats { position: absolute; left: 788px; top: 398px; width: 640px; display: flex; justify-content: space-between; }
.stat { text-align: center; }
.stat .num { font-size: 52px; line-height: 66px; height: 66px; color: var(--blue); }
.stat .num span { font-size: 24px; color: var(--muted); margin-left: 2px; }
.stat .label { margin-top: 10px; font-size: 16px; line-height: 21px; color: var(--muted); }

.slogan { position: absolute; left: 19px; top: 512px; font-size: 36px; line-height: 56px; color: #5e5e5e; letter-spacing: 1px; }
.slogan .hl { font-size: 42px; font-weight: 700; color: var(--blue); }
.slogan .line2 { margin-left: 288px; margin-top: 21px; }

.btn-more {
  position: absolute; left: 1293px; top: 590px;
  display: inline-block; min-width: 96px; text-align: center;
  padding: 9px 12px; font-size: 24px; line-height: 26px; color: #000;
  border: 1px solid #141414; background: rgba(255, 255, 255, .6);
  transition: all .2s;
}
.btn-more:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------------- service ---------------- */
.service { position: relative; height: 900px; background: #fff; overflow: hidden; }
.service::before {
  content: ""; position: absolute; inset: 0;
  background: url(../img/band.jpg) center / cover no-repeat; opacity: .16;
}
.service::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 55%, rgba(255,255,255,.82) 100%);
}
.service .wrap { position: relative; z-index: 2; }
.service h2 { padding-top: 67px; text-align: center; font-size: 48px; line-height: 64px; color: #000; }
.service .sub { margin: 23px 0 0; text-align: center; font-size: 14px; line-height: 19px; color: #666; }
.service .sub + .sub { margin-top: 14px; }

.cards { margin-top: 82px; display: flex; justify-content: space-between; }
.card { position: relative; width: 294px; height: 492px; }
.card .thumb { position: absolute; left: 0; width: 294px; height: 210px; object-fit: cover; border-radius: 6px; }
.card .rule { position: absolute; left: 0; top: 245px; width: 294px; height: 2px; background: var(--blue); }
.card .tri { position: absolute; left: 50%; margin-left: -9px; width: 0; height: 0; }
.card .cap { position: absolute; left: 0; width: 294px; text-align: center; font-size: 24px; line-height: 31px; color: #000; }

.card.a .thumb { top: 0; }
.card.a .cap { top: 282px; }
.card.a .tri { top: 247px; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 8px solid var(--blue); }

.card.b .thumb { top: 282px; }
.card.b .cap { bottom: 291px; }
.card.b .rule { background: var(--orange); }
.card.b .tri { top: 222px; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 8px solid var(--orange); }

/* ---------------- footer ---------------- */
.site-footer { position: relative; background: #333; color: #fff; padding: 46px 0 55px; }
.footer-cols { display: flex; padding: 0 41px; }
.footer-col { flex: 0 0 245px; }
.footer-col.news { flex: 0 0 186px; }
.footer-col.contact { flex: 1 1 auto; }
.footer-col h4 { font-size: 16px; line-height: 21px; margin: 0 0 30px; color: #fff; }
.footer-col li { margin-bottom: 25px; line-height: 19px; }
.footer-col li a { font-size: 14px; color: #a9a9a9; white-space: nowrap; }
.footer-col li a:hover { color: #fff; }

.contact-body { display: block; }
.c-bottom { display: flex; gap: 16px; align-items: flex-start; }
.c-rows { flex: 0 0 200px; }
.addr { margin-bottom: 44px; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 25px; font-size: 14px; line-height: 19px; color: #a9a9a9; }
.contact-row .ci { flex: 0 0 22px; height: 19px; display: flex; align-items: center; justify-content: center; color: #a9a9a9; }
img.qr { width: 120px; height: 120px; border: 1px solid #e6e6e6; background: #fff; padding: 3px; }
.footer-bottom { padding: 26px 0 0; text-align: center; white-space: nowrap; font-size: 14px; color: #777; }

/* ---------------- inner pages ---------------- */
.page-banner {
  position: relative; height: 430px; display: flex; align-items: center; justify-content: center;
  background: #1a2430 url(../img/banner.jpg) center 55% / cover no-repeat;
}
.page-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.page-banner .inner { position: relative; z-index: 2; text-align: center; color: #fff; }
.page-banner h1 { font-size: 48px; line-height: 64px; letter-spacing: 4px; }
.page-banner .sub { margin-top: 14px; font-size: 18px; letter-spacing: 2px; opacity: .92; }

.subnav { background: #4a4a4a; }
.subnav ul { display: flex; justify-content: center; }
.subnav a { display: block; padding: 16px 34px; font-size: 18px; color: #fff; }
.subnav a.active, .subnav a:hover { background: var(--blue); }

.section { padding: 90px 0; background: #fff; }
.section.gray { background: #f8f8f8; }
.section h2 { text-align: center; font-size: 48px; line-height: 64px; color: #000; margin-bottom: 40px; }
.section .lead { width: 1200px; margin: 0 auto; font-size: 16px; line-height: 34px; color: var(--gray); text-align: justify; }
.section .lead p { margin: 0 0 14px; }
.gallery { width: 1200px; margin: 46px auto 0; display: flex; gap: 30px; }
.gallery figure { flex: 1 1 0; margin: 0; overflow: hidden; }
.gallery img { width: 100%; height: 210px; object-fit: cover; }
.gallery-note { width: 1200px; margin: 16px auto 0; font-size: 13px; color: var(--muted); }

.product-grid { width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.product { background: #fff; border: 1px solid #eee; transition: box-shadow .25s, transform .25s; }
.product:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.product img { width: 100%; height: 220px; object-fit: cover; }
.product .pbody { padding: 22px 24px 26px; }
.product h3 { font-size: 22px; line-height: 30px; margin-bottom: 10px; }
.product p { font-size: 14px; line-height: 26px; color: var(--gray); }

.news-wrap { width: 1200px; margin: 0 auto; }
.news-item { display: flex; gap: 34px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.news-date { flex: 0 0 120px; text-align: center; border-right: 1px solid var(--line); padding-right: 24px; }
.news-date .d { font-size: 40px; line-height: 46px; color: var(--blue); font-weight: 700; }
.news-date .m { font-size: 14px; color: var(--muted); }
.news-body h3 { font-size: 20px; line-height: 30px; margin-bottom: 8px; }
.news-body p { font-size: 14px; line-height: 28px; color: var(--gray); }

.contact-wrap { width: 1200px; margin: 0 auto; display: flex; gap: 60px; }
.contact-info { flex: 1 1 auto; }
.contact-info .row { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px dashed var(--line); font-size: 16px; line-height: 30px; color: var(--gray); }
.contact-info .row .k { flex: 0 0 90px; color: var(--ink); font-weight: 700; }
.contact-card { flex: 0 0 340px; background: #f8f8f8; padding: 34px; text-align: center; }
.contact-card img { width: 180px; height: 180px; margin: 0 auto 18px; }
.contact-card p { font-size: 14px; color: var(--muted); line-height: 26px; }

.timeline { width: 1200px; margin: 0 auto; }
.tl-item { display: flex; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tl-year { flex: 0 0 150px; font-size: 28px; font-weight: 700; color: var(--blue); }
.tl-text { flex: 1 1 auto; font-size: 16px; line-height: 30px; color: var(--gray); }

/* ---------------- 客户分布（v1） ---------------- */
.geo-wrap {
  width: 1200px; margin: 36px auto 0;
  display: flex; gap: 36px; align-items: center;
}
.geo-map {
  flex: 1 1 auto; height: 470px;
  background: linear-gradient(135deg, #0b1a2b 0%, #12314a 100%);
  border-radius: 6px; overflow: hidden;
}
.geo-side { flex: 0 0 260px; }
.geo-big { font-size: 42px; line-height: 1; color: var(--blue); font-weight: 700; }
.geo-big span { font-size: 13px; color: #777; font-weight: 400; margin-left: 8px; }
.geo-regions { margin-top: 18px; border-top: 1px solid #e6e6e6; }
.geo-regions li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid #e6e6e6; font-size: 14px;
}
.geo-regions li b { color: #212121; }
.geo-regions li span { color: #777; font-size: 13px; }
.geo-note { margin-top: 16px; font-size: 13px; line-height: 22px; color: #777; }

/* 联系我们 · 信息卡（无二维码） */
.contact-card {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 220px; align-self: center;
}
.contact-card p { text-align: center; }

/* 客户分布 · 侧栏文字版 */
.geo-big { font-size: 34px; letter-spacing: 2px; }
.geo-sub { font-size: 13px; color: #7b8a84; margin: 8px 0 18px; }
