@charset "utf-8";
/* ==========================================================================
   垂杨科技官网 · 基础样式 v3
   规范：墨蓝主色 / 铜橙单一强调 / 系统字体栈 / 内容 1200px
        4px 圆角 / 区块留白 96px（移动端 56px）
   约束：无渐变、无 web font、无 !important
   校验：文字对比度均 ≥ 4.5:1，数字统一 tabular-nums，字重 400/500/600/700 四档
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  /* 墨蓝主色系 */
  --ink: #0C1825;
  --ink-card: #14293F;
  --ink-line: #1B3F66;

  /* 强调色：铜橙（色块 / 按钮底 / 深底大字） */
  --accent: #E07B39;
  /* 铜橙文字版：浅底上做文字与描边时使用，纸 4.63:1 / 白 5.49:1 */
  --accent-ink: #A85018;

  /* 中性色（三档文字均通过 AA） */
  --white: #FFFFFF;
  --paper: #E9ECEF;
  --rule: #D7DEE5;
  --t1: #16202B;   /* 16.5:1 标题 / 正文 */
  --t2: #46566A;   /*  7.5:1 次要正文 */
  --t3: #5A6774;   /*  5.7:1 meta / 标签 */

  /* 深色底上的文字 */
  --on-ink: #E8EDF2;   /* 15.2:1 */
  --on-ink-2: #93A4B5; /*  7.0:1 */

  --maxw: 1248px;
  --r: 4px;
  --r-md: 10px;
  --r-lg: 16px;
  --sec: 96px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}

/* ---------- 2. 重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--t1);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure, table {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* 焦点态：双层环；浅底用深铜橙，深底用亮铜橙 */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero a:focus-visible,
.hero button:focus-visible,
.band a:focus-visible,
.site-foot a:focus-visible {
  outline-color: var(--accent);
}

/* ---------- 3. 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--sec) 0;
}

.section--paper {
  background: var(--paper);
}

section[id] {
  scroll-margin-top: 108px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 4. 排版 ---------- */
.kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--t2);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-wrap: balance;
}

.kicker--inv {
  color: var(--on-ink-2);
}

.h1 {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.h1--inv {
  color: var(--white);
}

.h2 {
  font-size: 34px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lede {
  color: var(--t2);
  font-size: 17px;
  line-height: 1.85;
  max-width: 640px;
}

/* 案例导语是行业罗列，宽度收到 600 才能在顿号处换行 */
.lede--list {
  max-width: 600px;
}

.lede--inv {
  color: var(--on-ink-2);
}

.sec-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.sec-head .lede {
  margin-top: 14px;
}

/* ---------- 5. 按钮与链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s,
              transform 0.12s;
}

.btn:active {
  transform: translateY(1px);
}

/* 主按钮：墨蓝字 on 铜橙 = 5.95:1（白字仅 2.97，不达标） */
.btn--primary {
  background: var(--accent);
  color: var(--ink);
}

.btn--primary:hover {
  background: #C96A2C;
  color: var(--ink);
}

.btn--ghost {
  border-color: var(--ink-line);
  color: var(--on-ink);
}

.btn--ghost:hover {
  border-color: var(--on-ink-2);
  background: var(--ink-card);
}

/* 浅底描边按钮：白/纸底上的次级操作 */
.btn--line {
  border-color: var(--rule);
  background: var(--white);
  color: var(--ink);
}

.btn--line:hover {
  border-color: var(--t3);
  background: var(--white);
}

.btn--line:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
  transition: border-color 0.18s, color 0.18s;
}

.text-link:hover {
  color: var(--accent-ink);
  border-color: var(--accent-ink);
}

.text-link--inv {
  color: var(--on-ink);
  border-color: var(--ink-line);
}

.text-link--inv:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- 6. 导航 ---------- */
/* 悬浮圆角导航条：脱离文档流，浮在内容之上 */
.site-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(var(--maxw), calc(100% - 32px));
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(12, 24, 37, 0.08);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 28px rgba(12, 24, 37, 0.07);
  transition: box-shadow 0.22s ease, background-color 0.22s ease;
}

/* 不支持毛玻璃时用几乎不透明的白，避免文字叠在内容上 */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-nav {
    background: rgba(255, 255, 255, 0.97);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 0 24px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__logo {
  height: 54px;
  width: auto;
}

.menu {
  display: flex;
  flex: 1 1 auto;
  align-self: stretch;
  align-items: center;
  justify-content: space-evenly;
  gap: 2px;
}

.menu > li {
  position: relative;
}

.nav-link,
.nav-parent {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--r);
  color: var(--t1);
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.18s;
}

.nav-link::after,
.nav-parent::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-parent:hover {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-parent:hover::after,
.has-sub:focus-within > .nav-parent::after,
.has-sub.is-open > .nav-parent::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"]::after,
.nav-parent[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"],
.nav-parent[aria-current="page"] {
  color: var(--ink);
}

/* 当前栏目的子项也做一点提示，避免「进了产品页但看不出在哪」 */
.has-sub[aria-current] > .nav-parent .chev,
.has-sub > .nav-parent[aria-current="page"] .chev {
  transform: rotate(180deg);
}

.chev {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s;
}

.has-sub:hover .chev,
.has-sub:focus-within .chev {
  transform: rotate(225deg) translateY(-2px);
}

/* 让父级菜单项撑满导航高度：下拉面板才能以“导航底边”为基准对齐 */
.has-sub {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 12px;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s, visibility 0.16s;
  z-index: 110;
}

.has-sub:hover > .dropdown,
.has-sub:focus-within > .dropdown,
.has-sub.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
}

.has-sub.is-open .chev {
  transform: rotate(225deg) translateY(-2px);
}

.dropdown__panel {
  min-width: 196px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: 0 14px 32px rgba(12, 24, 37, 0.10);
}

.dropdown__panel a {
  display: block;
  padding: 9px 14px;
  border-radius: 2px;
  color: var(--t2);
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}

.dropdown__panel--rich {
  min-width: 340px;
  padding: 10px;
}

.dropdown__panel--rich a {
  padding: 11px 14px;
  white-space: normal;
}

.dropdown__panel--rich strong {
  display: block;
  color: var(--t1);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.dropdown__panel--rich span {
  display: block;
  margin-top: 3px;
  color: var(--t3);
  font-size: 14px;
  line-height: 1.6;
}

.dropdown__panel--rich a:hover strong {
  color: var(--ink);
}

/* 三级菜单：CAD 二次开发下的 4 个平台 */
.dropdown__panel .dd-sub {
  margin: 2px 0 8px 14px;
  padding-left: 12px;
  border-left: 1px solid var(--rule);
}

.dropdown__panel .dd-sub a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--r);
  color: var(--t2);
  font-size: 14px;
  line-height: 1.55;
  white-space: normal;
  transition: color 0.15s, background-color 0.15s;
}

.dropdown__panel .dd-sub a:hover {
  color: var(--ink);
  background: var(--paper);
}

.dropdown__panel a:hover {
  color: var(--ink);
  background: var(--paper);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
}

.nav-cta {
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
}

/* 滚动后阴影加深，悬浮感更强 */
.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(12, 24, 37, 0.1);
  box-shadow: 0 12px 34px rgba(12, 24, 37, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0 11px;
  border-radius: var(--r);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  flex: 0 0 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.18s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer {
  display: none;
  position: fixed;
  inset: 92px 16px auto;
  max-height: calc(100vh - 108px);
  z-index: 99;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: 0 16px 40px rgba(12, 24, 37, 0.16);
  overflow-y: auto;
  padding: 8px 0 32px;
}

.drawer.is-open {
  display: block;
}

.drawer > ul {
  padding: 0 24px;
}

.drawer > ul > li {
  border-bottom: 1px solid var(--rule);
}

.drawer a,
.drawer summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: var(--t1);
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.drawer summary::-webkit-details-marker {
  display: none;
}

.drawer summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--t3);
  border-bottom: 1.5px solid var(--t3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s;
}

.drawer details[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.drawer details ul {
  padding: 0 0 8px 12px;
}

.drawer details ul a {
  padding: 12px 0;
  color: var(--t2);
  font-size: 15px;
  border-bottom: 1px solid var(--paper);
}

.drawer details ul li:last-child a {
  border-bottom: 0;
}

/* 抽屉里的三级列表 */
.drawer .drawer-sub {
  margin: 0 0 8px 10px;
  padding-left: 12px;
  border-left: 1px solid var(--rule);
}

.drawer .drawer-sub a {
  padding: 9px 0;
  color: var(--t3);
  font-size: 15px;
  border-bottom: 0;
}

.drawer .btn {
  margin-top: 24px;
  width: 100%;
}

/* ---------- 7. 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 162px 0 80px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}

.hero__copy {
  max-width: 560px;
}

.hero__h1 {
  margin-bottom: 24px;
}

.hero__lede {
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* 首屏右侧：真实产品窗口 */
.hero__visual {
  position: relative;
}

.shot {
  position: relative;
  background: var(--ink-card);
  border: 1px solid #24405F;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 45%;
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  box-shadow: inset 0 0 0 1px rgba(150, 180, 210, 0.18);
  pointer-events: none;
}

.shot__tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #31567C;
  border-radius: 3px;
  background: rgba(10, 20, 32, 0.82);
  backdrop-filter: blur(8px);
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.shot__tag::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.shot__tag--tl { top: 16px; left: 16px; }
.shot__tag--br { right: 16px; bottom: 16px; }

.shot__cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--on-ink-2);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* 数据条 */
.stats {
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats__list li {
  padding: 30px 0;
  text-align: center;
  border-left: 1px solid var(--ink-line);
}

.stats__list li:first-child {
  border-left: 0;
}

.stats__n {
  display: block;
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stats__t {
  margin-top: 6px;
  color: var(--on-ink-2);
  font-size: 14px;
  line-height: 1.6;
}

/* 流程画廊：六张真实界面 */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 24px;
}

.g-item .shot {
  border-color: var(--rule);
  box-shadow: 0 10px 26px rgba(12, 24, 37, 0.07);
}

.g-num {
  display: block;
  margin-top: 16px;
  color: var(--t3);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.g-item h3 {
  margin: 6px 0 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.g-item p {
  color: var(--t2);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- 8b. 四大核心能力（左文右图，4 组纵向排列） ---------- */
.caps-band .h2 {
  color: var(--white);
}

.caps {
  border-top: 1px solid var(--ink-line);
}

.cap {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--ink-line);
}

.cap:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* 双数行镜像：图左文右，形成左右交替的节奏 */
.cap:nth-child(even) {
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
}

.cap:nth-child(even) .cap__copy {
  order: 2;
}

.cap:nth-child(even) .cap__media {
  order: 1;
}

.cap__copy h3 {
  color: var(--white);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.cap__copy p {
  margin-top: 16px;
  max-width: 380px;
  color: var(--on-ink-2);
  font-size: 15px;
  line-height: 1.95;
}

.cap__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #24405F;
  border-radius: var(--r);
  overflow: hidden;
  background: #08111C;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
  cursor: zoom-in;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.cap__media:hover {
  transform: translateY(-4px);
  border-color: #35597F;
  box-shadow: 0 34px 68px rgba(0, 0, 0, 0.52);
}

.cap__media:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 悬停时右下角出现放大提示 */
.cap__hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(150, 180, 210, 0.28);
  border-radius: var(--r);
  background: rgba(6, 12, 20, 0.78);
  color: #E8EDF2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cap__hint svg {
  width: 16px;
  height: 16px;
}

.cap__media:hover .cap__hint,
.cap__media:focus-visible .cap__hint {
  opacity: 1;
}

.cap__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* 图片放大预览 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 20, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox__panel {
  position: relative;
  width: min(1560px, 100%);
  transform: scale(0.985);
  transition: transform 0.18s ease;
}

.lightbox.is-open .lightbox__panel {
  transform: scale(1);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.lightbox__title {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lightbox__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(150, 180, 210, 0.28);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(150, 180, 210, 0.5);
}

.lightbox__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.lightbox__img {
  display: block;
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border: 1px solid #24405F;
  border-radius: var(--r);
  background: #08111C;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

/* ---------- 9. 案例（紧凑 2×2） ---------- */
.case-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.case-card2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 30px 26px;
  background: var(--white);
  transition: background-color 0.18s;
}

.case-card2:hover {
  background: #FAFBFD;
}

.case-card2__tag {
  color: var(--t3);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.case-card2 h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.case-card2 p {
  color: var(--t2);
  font-size: 15px;
  line-height: 1.75;
}

.case-card2__go {
  margin-top: auto;
  padding-top: 10px;
  color: var(--t3);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s;
}

.case-card2:hover .case-card2__go {
  color: var(--accent-ink);
}

.cases-foot {
  margin-top: 32px;
}

/* ---------- 10. 数字（尺度锚点 + 对比横条） ---------- */
.band {
  background: var(--ink);
  padding: var(--sec) 0;
}

.band__head {
  margin-bottom: 56px;
}

.band__head .h2 {
  color: var(--white);
  max-width: 820px;
}

/* 深色区块内的标准区块头（sec-head）也要用浅色字，
   否则 .h2 会沿用全局的深墨蓝，在深底上完全不可见 */
.band .sec-head .h2 {
  color: var(--white);
}

.band .sec-head .lede {
  color: var(--on-ink-2);
}

.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
  align-items: center;
}

.big-number {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.big-number__num {
  color: var(--accent);
  font-size: 148px;
  line-height: 0.86;
  font-weight: 700;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.big-number__unit {
  padding-top: 12px;
  color: var(--on-ink-2);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.bars {
  border-top: 1px solid var(--ink-line);
}

.bars__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 104px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-line);
}

.bars__label {
  color: var(--on-ink-2);
  font-size: 14px;
  font-weight: 500;
}

.bars__track {
  height: 8px;
  background: #16283C;
  border-radius: 1px;
  overflow: hidden;
}

.bars__bar {
  height: 100%;
  border-radius: 1px;
}

.bars__bar--full {
  width: 100%;
  background: #5A87B8;
}

.bars__bar--tiny {
  width: 2.1%;
  min-width: 6px;
  background: var(--accent);
}

.bars__val {
  color: var(--on-ink);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.band__foot {
  margin-top: 40px;
}

/* ---------- 11. 产品（三栏，浅色） ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.pcol {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 6px 0;
  border-right: 1px solid var(--rule);
}

.pcol:last-child {
  padding-right: 0;
  border-right: 0;
}

.pcol:not(:first-child) {
  padding-left: 28px;
}

.pcol h3 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pcol__en {
  margin-bottom: 16px;
  color: var(--t3);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.pcol__claim {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--t1);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.pcol ul {
  margin-bottom: 20px;
}

.pcol li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  color: var(--t2);
  font-size: 14px;
  line-height: 1.75;
}

.pcol li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 1px;
  background: var(--t3);
}

.pcol .text-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
}

.pnote {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--t2);
  font-size: 14px;
  line-height: 1.85;
}

.pnote b {
  color: var(--t1);
  font-weight: 600;
}

/* ---------- 12. 功能（三栏） ---------- */
.feat3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}

.feat3__head {
  padding-bottom: 14px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  color: var(--t1);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.feat3__item {
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
}

.feat3__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feat3__item h4 {
  margin: 0 0 5px;
  color: var(--t1);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.feat3__item p {
  color: var(--t2);
  font-size: 14px;
  line-height: 1.75;
  min-height: 3.5em; /* 固定占两行，保证三栏分隔线齐平 */
}

/* ---------- 13. 合作伙伴（浅底原色，按老站方式） ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 8px;
}

.partner-grid li {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 14px 10px;
}

.partner-grid img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

/* ---------- 14. 新闻 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
}

.news-card {
  display: block;
  transition: opacity 0.18s;
}

.news-card .news-card__thumb {
  margin-bottom: 16px;
}

.news-card:hover {
  opacity: 0.72;
}

.news-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper);
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__date {
  display: block;
  margin-bottom: 4px;
  color: var(--t3);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.news-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--t1);
}

.news-card p {
  color: var(--t2);
  font-size: 15px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 15. 联系我们 ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.contact__list {
  margin-top: 36px;
}

.contact__row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.contact__row:first-child {
  border-top: 1px solid var(--rule);
}

.contact__label {
  color: var(--t3);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.contact__value {
  color: var(--t1);
  font-size: 15px;
  line-height: 1.9;
  word-break: break-all;
}

.contact__value a:hover {
  color: var(--accent-ink);
}

.form {
  padding-top: 4px;
}

.form__head {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--t2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #CBD4DC;
  border-radius: 0;
  color: var(--t1);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color 0.18s;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--t3);
}

.field input:hover,
.field textarea:hover {
  border-bottom-color: var(--t3);
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
  outline: 2px solid var(--accent-ink);
  outline-offset: 2px;
}

.form__note {
  margin-top: 18px;
  color: var(--t3);
  font-size: 14px;
  line-height: 1.8;
}

.form .btn {
  min-width: 200px;
}

/* ---------- 16. 页脚 ---------- */
.site-foot {
  padding: 72px 0 28px;
  background: var(--ink);
  color: var(--on-ink-2);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(0, 1.2fr);
  gap: 48px;
}

.foot-brand__logo {
  height: 46px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.foot-slogan {
  margin-bottom: 24px;
  color: var(--on-ink);
  font-size: 14px;
  line-height: 1.8;
}

.foot-qr {
  display: flex;
  gap: 20px;
}

.foot-qr figure {
  text-align: center;
}

.foot-qr img {
  width: 84px;
  height: 84px;
  padding: 3px;
  background: var(--white);
  border-radius: 2px;
  object-fit: cover;
}

.foot-qr figcaption {
  margin-top: 8px;
  color: var(--on-ink-2);
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
}

.foot-col h4 {
  margin: 0 0 16px;
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.foot-col li {
  margin-bottom: 10px;
}

.foot-col a,
.foot-col p {
  color: var(--on-ink-2);
  font-size: 14px;
  line-height: 1.9;
  transition: color 0.18s;
}

.foot-col a:hover {
  color: var(--white);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  color: var(--on-ink-2);
  font-size: 14px;
  line-height: 1.8;
}

.foot-bottom a:hover {
  color: var(--white);
}

/* ---------- 17. 断点（PC 优先） ---------- */
.br-sm {
  display: none;
}

/* 1199 及以下 */
@media (max-width: 1199px) {
  .h2 { font-size: 30px; }
  .big-number__num { font-size: 120px; }
  .hero { padding: 154px 0 72px; }
  .hero__inner { gap: 40px; }
  .band__grid { gap: 56px; }
  .h1 { font-size: 40px; }
  .brand__logo { height: 46px; }
}

/* 1079 及以下 */
@media (max-width: 1079px) {
  .h1 { font-size: 36px; }
  .h2 { font-size: 30px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; }
  .hero__copy { max-width: 100%; }
  .hero__visual { max-width: 420px; margin-left: auto; }

  /* 中等宽度收窄菜单，避免右侧按钮贴边 */
  .nav-link,
  .nav-parent {
    padding: 10px 11px;
    font-size: 15px;
  }

  .nav-link::after,
  .nav-parent::after {
    left: 11px;
    right: 11px;
  }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .band__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .big-number__num { font-size: 112px; }

  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .pcol,
  .pcol:not(:first-child),
  .pcol:last-child { padding: 28px 0 6px; border-right: 0; }
  .pcol + .pcol { border-top: 1px solid var(--rule); }

  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

/* 960 及以下：单列 + 抽屉 */
@media (max-width: 960px) {
  :root { --sec: 72px; }

  .h1 { font-size: 34px; }
  .h2 { font-size: 26px; }
  .big-number__num { font-size: 96px; }

  .menu { display: none; }
  .nav-tools { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { gap: 16px; height: 64px; }

  .cap,
  .cap:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 40px 0;
  }

  .cap .cap__copy,
  .cap:nth-child(even) .cap__copy {
    order: 1;
  }

  .cap .cap__media,
  .cap:nth-child(even) .cap__media {
    order: 2;
  }

  .cap__copy p {
    max-width: 100%;
  }

  .cap__copy h3 {
    font-size: 23px;
  }

  .drawer { inset: 86px 12px auto; max-height: calc(100vh - 100px); }
  .brand__logo { height: 44px; }

  .hero { padding: 142px 0 64px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero__copy { max-width: 100%; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats__list li:nth-child(3),
  .stats__list li:nth-child(4) { border-top: 1px solid var(--ink-line); }

  .sec-head { margin-bottom: 36px; }
  .band__head { margin-bottom: 36px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 44px; }

  .case-grid2 { grid-template-columns: minmax(0, 1fr); }
  .feat3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
}

/* 720 及以下 */
@media (max-width: 720px) {
  :root { --sec: 56px; }

  .kicker {
    font-size: 15px;
    letter-spacing: 0.1em;
  }

  .h1 { font-size: 30px; }
  .h2 { font-size: 23px; }
  .big-number__num { font-size: 76px; }
  .big-number__unit { font-size: 19px; padding-top: 6px; }

  .case-card2 { padding: 24px 20px; }
  .feat3 { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .bars__row { grid-template-columns: 76px minmax(0, 1fr); gap: 8px 14px; }
  .bars__val { grid-column: 2; text-align: left; }

  .pcol,
  .pcol:not(:first-child),
  .pcol:last-child { padding: 24px 0 6px; }

  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .news-grid { gap: 28px; }

  .form__head { margin-bottom: 22px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-bottom { flex-direction: column; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .g-item h3 { font-size: 15px; }
  .g-item p { font-size: 14px; }
}

/* 480 及以下 */
@media (max-width: 480px) {
  .kicker {
    font-size: 14px;
    letter-spacing: 0.05em;
  }

  .gallery { grid-template-columns: minmax(0, 1fr); }
  .h1 { font-size: 27px; }

  .wrap,
  .nav-inner { padding: 0 20px; }

  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid img { max-height: 64px; }
  .hero__cta .btn { width: 100%; }
  .form .btn { width: 100%; }
}

/* 380 及以下 */
@media (max-width: 380px) {
  .br-sm { display: inline; }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
  }

  .cap__media:hover {
    transform: none;
  }
}
