:root {
  --brand: #1668dc;
  --brand-dark: #0f4fa8;
  --brand-soft: #e8f2ff;
  --brand-line: #cfe0fa;
  --ink: #161b26;
  --ink-2: #4b5566;
  --ink-3: #8692a6;
  --line: #e7ecf3;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 27, 43, .04);
  --shadow-md: 0 12px 28px rgba(16, 27, 43, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

a { color: inherit; text-decoration: none; }

/* 键盘可达性：聚焦时给出清晰轮廓 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; }

p { margin: 0; }

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 11px; }

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 16px; font-weight: 700; letter-spacing: .3px; }
.logo-text em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  color: var(--ink-3);
}

.nav-links { display: flex; align-items: center; gap: 34px; }

.nav-links a {
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color .18s;
}

.nav-links a:hover { color: var(--brand); }

.nav-links a.is-active { color: var(--brand); font-weight: 500; }

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.nav-tools { display: flex; align-items: center; gap: 16px; }

.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; }

.lang-switch button {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 2px 4px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-3);
  transition: color .18s;
}

.lang-switch button:hover { color: var(--brand); }
.lang-switch button.is-active { color: var(--brand); font-weight: 600; }
.lang-sep { color: #d3dae5; }

.burger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.burger span {
  display: block;
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 88px;
  background: radial-gradient(1100px 460px at 88% -12%, #eef5ff 0%, rgba(238, 245, 255, 0) 62%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 46px;
  line-height: 1.28;
  letter-spacing: -.5px;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 520px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-art { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(22, 104, 220, .22);
}

.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 0, 0, .14); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }

.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; margin-bottom: 54px; }

.section-title { font-size: 32px; margin-bottom: 12px; }

.section-sub { font-size: 16px; color: var(--ink-3); }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-line);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }

.card p { font-size: 14.5px; line-height: 1.78; color: var(--ink-2); }

/* ---------- Points ---------- */
.point { padding: 4px 4px 0; }

.point-no {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: #b9d3f7;
  margin-bottom: 14px;
  letter-spacing: .5px;
}

.point h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }

.point p { font-size: 14.5px; line-height: 1.78; color: var(--ink-2); }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step { position: relative; padding-right: 16px; }

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 60px;
  right: -4px;
  height: 1px;
  background: #dde6f2;
}

.step-dot {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }

.step p { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, #1668dc 0%, #0f4fa8 100%);
  color: #fff;
  padding: 62px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-title { font-size: 28px; margin-bottom: 8px; }

.cta-sub { font-size: 15px; color: rgba(255, 255, 255, .86); }

/* ---------- Placeholder page ---------- */
.page-ph { padding: 110px 0 130px; text-align: center; }
.page-ph-title { font-size: 30px; margin-bottom: 14px; }
.page-ph-text { color: var(--ink-3); margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #101826; color: #a8b4c7; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  padding: 62px 24px 46px;
}

.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text em { color: #6f7d92; }

.footer-slogan { margin-top: 18px; font-size: 14.5px; line-height: 1.8; color: #8d9bb0; }

.footer-col h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 18px; }

.footer-col a, .footer-col p {
  display: block;
  font-size: 14.5px;
  margin-bottom: 10px;
  color: #a8b4c7;
}

.footer-col a { transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-col .muted { color: #6f7d92; font-size: 13.5px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  font-size: 13px;
  color: #6f7d92;
}

.footer-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* ---------- Reveal ---------- */
/* 默认（含 JS 禁用）可见；仅 JS 可用时先隐藏，由脚本入场点亮 */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-header { position: relative; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 6px 24px 12px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open { display: flex; }

  .nav-links a { padding: 13px 0; border-bottom: 1px solid #f2f5f9; }
  .nav-links a.is-active::after { display: none; }
  .burger { display: flex; }
  .lang-switch { margin-left: auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .contact-form-wrap { padding: 22px 18px; }
  .hero { padding: 52px 0 62px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 15.5px; }
  .btn { height: 44px; padding: 0 20px; font-size: 14.5px; }
  .section { padding: 62px 0; }
  .section-title { font-size: 25px; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-title { font-size: 23px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 46px 18px 34px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; }
}

/* ---------- Sub page hero ---------- */
.page-hero {
  padding: 72px 0 64px;
  background: radial-gradient(1000px 420px at 85% -15%, #eef5ff 0%, rgba(238, 245, 255, 0) 60%);
  border-bottom: 1px solid var(--line);
}
.page-hero .hero-badge { margin-bottom: 18px; }
.page-hero-title {
  font-size: 38px;
  line-height: 1.3;
  letter-spacing: -.4px;
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 720px;
  line-height: 1.85;
}

/* ---------- About intro ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.section-title.left { text-align: left; margin-bottom: 18px; }
.about-intro-copy p { color: var(--ink-2); margin-bottom: 14px; font-size: 15.5px; }
.about-cap { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about-cap li {
  position: relative;
  padding: 14px 16px 14px 46px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink);
}
.about-cap li::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 2px var(--brand);
}
.about-cap li::after {
  content: "";
  position: absolute;
  left: 21px; top: 50%;
  width: 5px; height: 9px;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: translateY(-60%) rotate(45deg);
}

/* ---------- Team ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-line); }
.team-avatar {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.team-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 14.5px; line-height: 1.78; color: var(--ink-2); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.tl-item {
  position: relative;
  padding: 22px 26px 22px 120px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 96px; top: 30px; bottom: 30px;
  width: 2px;
  background: var(--brand-line);
}
.tl-year {
  position: absolute;
  left: 22px; top: 24px;
  font-size: 14px; font-weight: 600;
  color: #fff;
  background: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.tl-item h3 { font-size: 17px; margin-bottom: 8px; }
.tl-item p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Service detail ---------- */
.svc-detail {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  width: 100%;
}
.svc-detail:first-of-type { border-top: 0; }
.svc-detail.reverse { flex-direction: row-reverse; }
.svc-detail-icon {
  width: 96px; height: 96px;
  border-radius: 22px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-detail-icon svg { width: 44px; height: 44px; }
.svc-detail-body {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}
.svc-tag {
  display: inline-block;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 1px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.svc-detail-body h2 { font-size: 26px; margin-bottom: 12px; word-break: normal; overflow-wrap: break-word; }
.svc-detail-lead { font-size: 16px; color: var(--ink-2); margin-bottom: 22px; word-break: normal; overflow-wrap: break-word; }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-bottom: 18px; }
.svc-cols > div { min-width: 0; }
.svc-cols h4 { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; font-weight: 600; }
.svc-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc-cols li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.75; word-break: normal; overflow-wrap: break-word; }
.svc-cols li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--brand);
}
.svc-deliver {
  font-size: 13.5px;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  word-break: normal; overflow-wrap: break-word;
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: start; }
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: #e36a6a;
}
.contact-form .btn { justify-self: start; }
.form-tip { font-size: 14px; min-height: 20px; }
.form-tip.is-ok { color: #1f9d55; }
.form-tip.is-err { color: #d24b4b; }

.contact-info {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.contact-info h3 { font-size: 18px; margin-bottom: 18px; }
.info-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; font-size: 14.5px; }
.info-k { color: var(--ink-3); }
.info-v { color: var(--ink); }
.qr-box { border-top: 1px solid var(--line); padding-top: 20px; text-align: center; }
.qr-placeholder {
  width: 120px; height: 120px;
  margin: 0 auto 12px;
  border-radius: 12px;
  border: 1px dashed var(--brand-line);
  background: #fff;
  color: var(--brand);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  line-height: 1.4;
}
.qr-tip { font-size: 12.5px; color: var(--ink-3); }
.map-placeholder {
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-3);
  font-size: 14.5px;
}

/* ---------- Responsive add-ons ---------- */
@media (max-width: 980px) {
  .about-intro { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .svc-cols { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 52px 0 44px; }
  .page-hero-title { font-size: 28px; }
  .svc-detail { flex-direction: column; gap: 18px; }
  .svc-detail.reverse { flex-direction: column; }
  .svc-detail-body h2 { font-size: 22px; }
  .tl-item { padding: 18px 18px 18px 96px; }
  .tl-year { left: 16px; top: 18px; }
  .tl-item::before { left: 74px; }
}
