/* ============================================================
   亚北时代科技 · 企业官网全局样式
   风格：简约大气 / 商务沉稳
   主色：深蓝 #1a3a5c  强调色：科技蓝 #2f6bff
   ============================================================ */

:root {
  --c-primary: #1a3a5c;      /* 深蓝主色 */
  --c-primary-dark: #122a43;
  --c-primary-deep: #0d2136; /* 更深藏青 */
  --c-accent: #2f6bff;       /* 科技蓝强调 */
  --c-accent-dark: #2357d1;
  --c-gold: #c9a45c;         /* 鎏金点缀 */
  --c-gold-light: #e6c98a;
  --c-text: #2b3340;         /* 正文 */
  --c-text-light: #6b7480;   /* 次要文字 */
  --c-bg: #ffffff;
  --c-bg-soft: #f6f8fb;      /* 浅灰蓝底 */
  --c-border: #e8edf2;
  --c-white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(26,58,92,.06);
  --shadow-md: 0 8px 30px rgba(26,58,92,.10);
  --shadow-lg: 0 16px 50px rgba(26,58,92,.14);
  --shadow-xl: 0 28px 70px rgba(13,33,54,.22);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1200px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--c-text);
  line-height: 1.7;
  font-size: 16px;
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--c-bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--c-gold);
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold));
}
.section-head .eyebrow::after { background: linear-gradient(90deg, var(--c-gold), transparent); }
.section-head h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, var(--c-gold), var(--c-accent));
  border-radius: 3px;
}
.section-head p { color: var(--c-text-light); font-size: 17px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47,107,255,.25);
}
.btn--primary:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47,107,255,.35); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn--outline:hover { background: var(--c-primary); color: #fff; }

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  z-index: 1000;
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { height: 34px; width: auto; }
.nav__brand span {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 1px;
}
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--c-accent);
  transition: width .25s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--c-accent); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__cta .btn { padding: 10px 22px; font-size: 15px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-primary);
  transition: all .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  background: #050b14;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/hero-earth.jpg');
  background-size: cover;
  background-position: center right;
  pointer-events: none;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,11,20,.88) 0%, rgba(5,11,20,.62) 40%, rgba(10,26,46,.25) 70%, rgba(5,11,20,.35) 100%);
}
.hero__globe {
  display: none;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px; right: -180px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(47,107,255,.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,164,92,.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
/* 网格科技纹理 */
.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, rgba(0,0,0,.5), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, rgba(0,0,0,.5), transparent 75%);
  pointer-events: none;
}
/* 星点夜空 */
.hero__grid-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.8), transparent 100%),
    radial-gradient(1px 1px at 28% 12%, rgba(255,255,255,.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 42% 30%, rgba(255,255,255,.6), transparent 100%),
    radial-gradient(1px 1px at 55% 14%, rgba(255,255,255,.4), transparent 100%),
    radial-gradient(2px 2px at 68% 26%, rgba(201,164,92,.7), transparent 100%),
    radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 22%, rgba(255,255,255,.6), transparent 100%),
    radial-gradient(1px 1px at 8% 46%, rgba(255,255,255,.45), transparent 100%),
    radial-gradient(1.5px 1.5px at 22% 52%, rgba(201,164,92,.5), transparent 100%),
    radial-gradient(1px 1px at 48% 48%, rgba(255,255,255,.4), transparent 100%),
    radial-gradient(1.5px 1.5px at 74% 44%, rgba(255,255,255,.5), transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 780px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(201,164,92,.4);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--c-gold-light);
  margin-bottom: 28px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 8px var(--c-gold); }
.hero h1 {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero h1 .highlight {
  color: #6ea1ff;
  background: linear-gradient(120deg, #6ea1ff, var(--c-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__desc {
  font-size: 19px;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
  max-width: 640px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  margin-top: 64px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.hero__stat {
  position: relative;
  padding-right: 40px;
}
.hero__stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 44px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.3), transparent);
}
.hero__stat .num {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero__stat .num span {
  color: var(--c-gold-light);
  font-size: 32px;
}
.hero__stat .label { font-size: 15px; color: rgba(255,255,255,.7); margin-top: 8px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition: all .3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-accent));
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #d6e2f5;
}
.card:hover::before { opacity: 1; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__img {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card__img img { transform: scale(1.06); }
.card h3 { font-size: 20px; color: var(--c-primary); margin-bottom: 12px; font-weight: 700; }
.card p { color: var(--c-text-light); font-size: 15px; line-height: 1.7; }

/* ---------- 服务特色列表 ---------- */
.feature-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--c-text-light);
  font-size: 15px;
  align-items: flex-start;
}
.feature-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(47,107,255,.12);
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

/* ---------- 时间轴 ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 22px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-accent), var(--c-primary));
  opacity: .35;
}
.timeline__item {
  position: relative;
  width: 100%;
  padding: 0;
}
.timeline__item:nth-child(even) { left: 0; padding: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), var(--c-accent));
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(47,107,255,.25), 0 4px 10px rgba(201,164,92,.35);
  z-index: 2;
}
.timeline__item:nth-child(even)::before { right: auto; left: 0; }
.timeline__year {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin: 34px 0 16px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-accent) 55%, var(--c-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.timeline__card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all .3s ease;
}
.timeline__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #d6e2f5;
}
.timeline__card h4 { color: var(--c-primary); font-size: 17px; margin-bottom: 10px; line-height: 1.4; }
.timeline__card p { color: var(--c-text-light); font-size: 14px; line-height: 1.7; }

/* ---------- 客户logo墙 ---------- */
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.logo-wall .client {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  min-width: 200px;
  padding: 22px 34px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  font-size: 20px;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: .5px;
  transition: all .3s ease;
  gap: 10px;
  position: relative;
  box-shadow: 0 2px 10px rgba(18,42,67,.04);
}
.logo-wall .client::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
  border-radius: 0 0 14px 14px;
}
.logo-wall .client:hover {
  color: var(--c-primary);
  border-color: var(--c-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(18,42,67,.12);
}
.logo-wall .client:hover::after { transform: scaleX(1); }
.logo-wall .client img { height: 52px; width: auto; transition: transform .3s ease; }
.logo-wall .client svg { height: 52px; width: 52px; transition: transform .3s ease; }
.logo-wall .client:hover img,
.logo-wall .client:hover svg { transform: scale(1.06); }
.logo-wall .client .client-name { line-height: 1.3; font-size: 22px; }

/* ---------- 分支分布 ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.branch-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px;
  background: linear-gradient(135deg, var(--c-primary-deep, #122a43) 0%, var(--c-primary) 55%, #24507e 100%);
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all .3s ease;
}
.branch-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-accent));
  opacity: 0;
  transition: opacity .3s ease;
}
.branch-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.branch-item:hover::before { opacity: 1; }
.branch-item .pin {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), #e8a33c);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201,164,92,.35);
}
.branch-item .pin svg { width: 20px; height: 20px; }
.branch-item .name { font-weight: 700; color: #fff; font-size: 16px; }
.branch-item .type { font-size: 13px; color: rgba(255,255,255,.72); margin-top: 3px; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand img {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
}
.footer__brand p { font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.5;
}
.footer__contact li + li { margin-top: 12px; }
.footer__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #7ba8ff;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer__bottom a { color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: #fff; }

/* ---------- 页面内页 hero（子页标题） ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  background: linear-gradient(135deg, #0d2136 0%, #1a3a5c 60%, #24507e 100%);
  color: #fff;
  text-align: center;
}
.page-hero h1 { font-size: 42px; font-weight: 700; margin-bottom: 16px; letter-spacing: 1px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.breadcrumb a:hover { color: #fff; }

/* ---------- 关于页企业文化 ---------- */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.culture-quote {
  position: relative;
  max-width: 720px;
  margin: -8px auto 48px;
  text-align: center;
  padding: 40px 48px 36px;
  background: linear-gradient(135deg, #0d2136 0%, #1a3a5c 60%, #24507e 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.culture-quote::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,164,92,.35) 0%, transparent 70%);
  border-radius: 50%;
}
.culture-quote::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(47,107,255,.25) 0%, transparent 70%);
  border-radius: 50%;
}
.culture-quote__mark {
  position: relative;
  font-size: 64px;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(201,164,92,.7);
  margin-bottom: 8px;
}
.culture-quote__text {
  position: relative;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
  letter-spacing: 1px;
}
.culture-quote__src {
  position: relative;
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(201,164,92,.95);
}
.culture-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-align: left;
  transition: all .3s ease;
  overflow: hidden;
}
.culture-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-accent));
  opacity: 0;
  transition: opacity .3s ease;
}
.culture-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #dcc896;
}
.culture-item:hover::before { opacity: 1; }
.culture-item .num {
  flex: none;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, "Times New Roman", serif;
}
.culture-item .body { flex: 1; }
.culture-item .txt { color: var(--c-primary); font-weight: 700; font-size: 17px; line-height: 1.4; margin-bottom: 8px; }
.culture-item .sub { color: var(--c-text-light); font-size: 14px; line-height: 1.7; }

/* ---------- 资质证书 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.cert-card {
  position: relative;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all .3s ease;
}
.cert-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-accent));
  opacity: 0;
  transition: opacity .3s ease;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #d6e2f5; }
.cert-card:hover::before { opacity: 1; }
.cert-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
}
.cert-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(47,107,255,.25);
}
.cert-card__icon svg { width: 24px; height: 24px; }
.cert-card__title { font-size: 18px; font-weight: 700; color: var(--c-primary); line-height: 1.2; }
.cert-card__sub {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 4px;
  font-weight: 600;
}
.cert-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.cert-card__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.5;
}
.cert-card__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), #e8a33c);
  flex-shrink: 0;
  transform: translateY(-2px);
}
.cert-card__list em {
  font-style: normal;
  color: var(--c-text-light);
  font-size: 12px;
  letter-spacing: .3px;
}

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}
.contact-info-item .icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(47,107,255,.1);
  color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .icon svg { width: 24px; height: 24px; }
.contact-info-item h4 { color: var(--c-primary); font-size: 17px; margin-bottom: 4px; }
.contact-info-item p { color: var(--c-text-light); font-size: 15px; }

/* ---------- 三地公司联系卡片 ---------- */
.office-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.office-card__head {
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.office-card__head h3 {
  color: var(--c-primary);
  font-size: 18px;
  font-weight: 700;
}
.office-card__list { list-style: none; }
.office-card__list li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.6;
  align-items: flex-start;
}
.office-label {
  flex-shrink: 0;
  width: 52px;
  color: var(--c-text-light);
  font-size: 14px;
}
.office-card__list a { color: var(--c-accent); }
.office-card__list a:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--c-text);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(47,107,255,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---------- 占位提示 ---------- */
.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: #fff7e6;
  border: 1px dashed #e8b35c;
  color: #a87b20;
  font-size: 14px;
}

/* ---------- 数据看板横带 ---------- */
.stats-band {
  position: relative;
  background: linear-gradient(135deg, var(--c-primary-deep) 0%, var(--c-primary) 60%, #24507e 100%);
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 200px;
  background: radial-gradient(ellipse, rgba(47,107,255,.25), transparent 70%);
  pointer-events: none;
}
.stats-band .container { position: relative; z-index: 2; }
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-band__item .num {
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--c-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-band__item .num span { font-size: 36px; }
.stats-band__item .label {
  margin-top: 14px;
  font-size: 16px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.82);
}

/* ---------- 核心优势 ---------- */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- 全国服务网络 数据卡 ---------- */
.network-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.network-stat {
  background: linear-gradient(155deg, var(--c-primary-dark), var(--c-primary));
  border: 1px solid rgba(201,164,92,.22);
  border-radius: var(--radius-lg);
  padding: 36px 22px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.network-stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
}
.network-stat .ic { margin-bottom: 14px; }
.network-stat .ic svg { width: 30px; height: 30px; stroke: var(--c-gold); }
.network-stat .num {
  font-size: 42px;
  font-weight: 800;
  color: var(--c-gold-light);
  line-height: 1;
  letter-spacing: .5px;
}
.network-stat .num .plus { font-size: 26px; vertical-align: super; }
.network-stat .label {
  margin-top: 14px;
  color: #d6e0ec;
  font-size: 13px;
  line-height: 1.6;
}
.network-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.advantage-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: all .3s ease;
  overflow: hidden;
}
.advantage-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-accent));
  opacity: 0;
  transition: opacity .3s ease;
}
.advantage-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #d6e2f5;
}
.advantage-item:hover::before { opacity: 1; }
.advantage-item .icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(26,58,92,.25);
}
.advantage-item .icon svg { width: 30px; height: 30px; }
.advantage-item h3 {
  color: var(--c-primary);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}
.advantage-item p {
  color: var(--c-text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 服务流程 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  transition: all .3s ease;
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #d6e2f5;
}
.process-step .num {
  width: 48px; height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), #b8914a);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(201,164,92,.35);
}
.process-step h3 {
  color: var(--c-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--c-text-light);
  font-size: 14px;
  line-height: 1.7;
}
.process-step .arrow {
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  color: var(--c-gold);
  z-index: 2;
}
.process-step:last-child .arrow { display: none; }
.process-step .arrow svg { width: 20px; height: 20px; }

/* ---------- 页内 hero 增强 ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 88px;
  background: linear-gradient(135deg, #0d2136 0%, #1a3a5c 60%, #24507e 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(47,107,255,.3), transparent 70%);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 46px; font-weight: 800; margin-bottom: 16px; letter-spacing: 2px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .network-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step .arrow { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 28px; }
  .hero h1 { font-size: 36px; }
  .hero__stats { gap: 32px; }
  .hero__stat .num { font-size: 32px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .branch-grid, .culture-grid, .cert-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 32px; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid, .process-grid { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: 1fr; }
  .hero__stat { padding-right: 0; }
  .hero__stat:not(:last-child)::after { display: none; }

  /* 移动端导航 */
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--c-border); width: 100%; }
  .nav__links a::after { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }

  /* 时间轴改单列 */
  .timeline { grid-template-columns: 1fr; gap: 24px; padding-top: 0; padding-left: 20px; }
  .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: none; }
  .timeline__item, .timeline__item:nth-child(even) {
    width: 100%;
    left: 0;
    padding: 0 0 12px 12px;
  }
  .timeline__item::before, .timeline__item:nth-child(even)::before {
    left: -5px; right: auto;
  }
  .timeline__year { margin: 0 0 12px; }
}

@media (max-width: 768px) {
  .logo-wall { gap: 12px; }
  .logo-wall .client { height: 84px; min-width: 150px; padding: 14px 20px; }
  .logo-wall .client img { height: 38px; }
  .logo-wall .client svg { height: 38px; width: 38px; }
  .logo-wall .client .client-name { font-size: 17px; }
  .hero__globe { display: none; }
  .hero__bg { background-position: center; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
}

/* ============================================================
   移动端适配补丁（2026-09-04）
   修复：iOS 输入框自动放大、flex 换行参差、横向溢出、留白过大
   ============================================================ */

/* ---------- 全局兜底：禁止横向滚动 + 长内容断行 ---------- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  overflow-wrap: break-word;   /* 仅在长英文/URL 无法换行时强制断行 */
  word-break: keep-all;        /* 中文不拆字 */
}
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }

/* ---------- Grid 经典坑修复：防止子内容撑开列宽 ---------- */
.grid > *,
.grid--2 > *,
.grid--3 > *,
.grid--4 > *,
.contact-grid > *,
.branch-grid > *,
.culture-grid > *,
.cert-grid > *,
.network-grid > *,
.advantage-grid > *,
.process-grid > * {
  min-width: 0;
}
.contact-form,
.office-card,
.card,
.process-step {
  max-width: 100%;
  overflow: hidden;
}
/* 表单控件不允许超出父容器 */
.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button { max-width: 100%; }

/* Hero 高度适配手机浏览器地址栏（避免底部内容被遮） */
@supports (min-height: 100svh) {
  .hero { min-height: 100svh; }
}

/* ---------- 平板竖屏 / 大屏手机 ---------- */
@media (max-width: 992px) {
  /* 客户 LOGO 墙：平板 3 列网格，消除 flex 换行参差 */
  .logo-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
  }
  .logo-wall .client {
    min-width: 0;
    width: 100%;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  /* 容器收紧，为内容争取横向空间 */
  .container { padding: 0 20px; }

  /* Hero 统计：flex 换行参差 → 改 2×2 网格，整齐对齐 */
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    margin-top: 44px;
    justify-items: center;
    text-align: center;
    width: 100%;
  }
  .hero__stat { padding-right: 0; }

  /* 客户 LOGO 墙：flex 换行参差 → 改 2 列网格，等高对齐 */
  .logo-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
  }
  .logo-wall .client {
    min-width: 0;
    width: 100%;
  }
  /* LOGO 总数为奇数时，最后一个跨列居中，避免末行空半格 */
  .logo-wall .client:last-child:nth-child(odd) {
    grid-column: span 2;
    justify-self: center;
    max-width: calc(50% - 6px);
  }

  /* 卡片留白收紧 */
  .card { padding: 26px 22px; }
  .process-step { padding: 28px 20px; }

  /* 表单：关键 —— 输入框 ≥16px 防止 iOS 聚焦时自动放大页面 */
  .contact-form { padding: 24px 20px; }
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    padding: 14px;
    min-height: 46px;
  }
  .form-group textarea { min-height: 120px; }
  .contact-grid { gap: 32px; }

  /* 三地联系卡：留白收紧 */
  .office-card { padding: 20px 18px; }
  .office-label { width: 46px; }

  /* 统计带：2 列时数字缩小，避免挤压 */
  .stats-band__grid { gap: 28px 16px; }
  .stats-band__item .num { font-size: 40px; }

  /* 页脚：单列时间距收紧 */
  .footer { padding: 48px 0 24px; }
  .footer__grid { gap: 32px; }

  /* 移动端菜单：触控目标 ≥44px */
  .nav__links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px 0;
  }
}

/* ---------- 主力手机（375 / 390 / 414）---------- */
@media (max-width: 768px) {
  /* 导航：隐藏品牌副标题 span（logo 图已含品牌名），避免窄屏挤压换行 */
  .nav__brand span { display: none; }
  .nav__brand img { height: 32px; }
  .nav__toggle { width: 36px; height: 36px; padding: 0; align-items: center; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Hero 标题分档，防止长标题撑破；中文不拆字 */
  .hero h1 { font-size: 24px; line-height: 1.36; letter-spacing: .3px; word-break: keep-all; }
  .hero__desc { font-size: 16px; margin-bottom: 28px; }
  .hero__badge { font-size: 12px; padding: 8px 14px; margin-bottom: 20px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 15px; }

  /* 按钮：允许换行，防止长文案按钮撑破屏幕 */
  .btn {
    padding: 13px 24px;
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }

  /* Hero 统计数字缩小 */
  .hero__stat .num { font-size: 28px; }
  .hero__stat .num span { font-size: 20px; }
  .hero__stat .label { font-size: 13px; }

  /* LOGO 墙：窄屏再收一档，保证 2 列整齐不挤 */
  .logo-wall { gap: 10px; }
  .logo-wall .client { height: 76px; padding: 12px 10px; gap: 8px; }
  .logo-wall .client img { height: 32px; }
  .logo-wall .client svg { height: 32px; width: 32px; }
  .logo-wall .client .client-name { font-size: 15px; }

  /* 卡片与流程步骤 */
  .card { padding: 22px 18px; }
  .card h3 { font-size: 18px; }
  .card p { font-size: 14px; }
  .process-step { padding: 24px 18px; }
  .process-step .num { width: 42px; height: 42px; font-size: 20px; }

  /* 区块标题 */
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 15px; }

  /* 表单与联系卡 */
  .contact-form { padding: 20px 16px; }
  .office-card { padding: 18px 16px; }
  .contact-info-item { gap: 14px; margin-bottom: 22px; }
  .contact-info-item .icon { width: 44px; height: 44px; }
  /* 三地联系卡：mobile 用 grid 双列让 label/value 严格分列，value 内部自然换行 */
  .office-card__list li {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 10px;
    padding: 6px 0;
    align-items: start;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
  .office-card__list li .office-label {
    display: inline-block;
    vertical-align: top;
    color: var(--c-text-light);
    font-size: 14px;
  }

  /* 统计带 */
  .stats-band__item .num { font-size: 34px; }

  /* 页脚 */
  .footer__brand p { max-width: 100%; }
  .footer__brand img { height: 44px; }
  .footer { padding: 40px 0 20px; }
}
