@charset "utf-8";
/* ==========================================================================
   HENGLI · 基础层  (reset / 变量 / 排版 / 通用组件)
   主色 #1082e3  点缀 #dc9d3e  全站无渐变
   ========================================================================== */

:root {
  --c-main: #1082e3;
  --c-main-d: #0b5fae;
  --c-main-l: #e8f3fd;
  --c-accent: #dc9d3e;
  --c-accent-d: #b87d25;
  --c-ink: #0c1c2c;
  --c-ink-2: #16304a;
  --c-ink-3: #1d3a56;
  --c-text: #33465a;
  --c-mut: #6e8093;
  --c-line: #e4eaf1;
  --c-soft: #f4f7fa;
  --c-white: #fff;
  --wrap: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 吸顶头部会遮住锚点，留出偏移 */
  scroll-padding-top: 140px;
  /* 关闭滚动锚定：吸顶头部收放会改变文档高度，锚定补偿会和阈值判断打架导致抖动 */
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; color: var(--c-ink); line-height: 1.3; }
p, figure, figcaption, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, textarea { font-family: inherit; font-size: inherit; outline: none; border: 0; }
em, i { font-style: normal; }
table { border-collapse: collapse; }

::selection { background: var(--c-main); color: #fff; }

/* 滚动条（桌面） */
@media (min-width: 992px) {
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: #eef1f5; }
  ::-webkit-scrollbar-thumb { background: #c2ccd8; }
  ::-webkit-scrollbar-thumb:hover { background: var(--c-main); }
}

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  /* 裁掉进场动画的横向位移，避免撑大页面宽度（不影响纵向溢出） */
  overflow-x: clip;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 区块标题 ---------- */
.sec-head { margin-bottom: 44px; }

.sec-en {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-main);
  line-height: 1;
}
.sec-en i {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--c-accent);
}

.sec-title {
  position: relative;
  margin-top: 16px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-ink);
}
/* 没有英文小标的区块标题不再预留上间距 */
.sec-title:first-child { margin-top: 0; }

/* 标题 + 右侧灰色副标题 */
.sec-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.sec-title-row .sec-title { margin-top: 0; }
.sec-sub {
  position: relative;
  padding-left: 19px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .06em;
  color: #94a3b4;
  line-height: 1.6;
}
.sec-sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 1px;
  height: 1em;
  background: #d5dee8;
}

.sec-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 26px;
  height: 3px;
  background: var(--c-main);
}

.sec-desc {
  margin-top: 30px;
  max-width: 640px;
  font-size: 14px;
  color: var(--c-mut);
  line-height: 1.9;
}

.sec-head-center { text-align: center; }
.sec-head-center .sec-title::after { left: 50%; transform: translateX(-50%); }
.sec-head-center .sec-desc { margin-left: auto; margin-right: auto; }
.sec-head-center .sec-en { justify-content: center; }

.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
}
.sec-head-row .sec-head { margin-bottom: 0; }

.sec-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  white-space: nowrap;
  padding-bottom: 6px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--c-mut);
  border-bottom: 1px solid var(--c-line);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.sec-more i { font-size: 11px; transition: transform .3s var(--ease); }
.sec-more:hover { color: var(--c-main); border-color: var(--c-main); }
.sec-more:hover i { transform: translateX(4px); }

/* ---------- 进场动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 通用按钮 ---------- */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  font-size: 14px;
  letter-spacing: .06em;
  color: #fff;
  background: var(--c-main);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn-line:hover { background: var(--c-ink); color: #fff; }
.btn-line i { font-size: 12px; }

/* ---------- 无障碍焦点 ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--c-main);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
