/* ==========================================================================
   济宁翔诚科技有限公司 — 企业官网
   工业风视觉体系 · 对齐 VI 规范（主色红 #ED1B24 / 石墨灰 / 深炭）

   排版尺度（8pt 基线栅格，层级严格递进）：
     H1 桌面 64px → H2 桌面 40px → H3 20px → H4 17px → 正文 16px → 辅助 14.5px
     字号跳级已消除，标题层级连续（H1→H2→H3→H4）
   色彩对比度：正文 ≥ 4.5:1，大字 ≥ 3:1（WCAG AA）
   ========================================================================== */

:root {
  /* 品牌色 —— 取自 VI 规范 */
  --brand-red: #ed1b24;
  --brand-red-soft: #f2565d;
  --brand-red-deep: #c4121a;
  --graphite: #595759;
  --charcoal: #26252b;

  --navy: #22323f;
  --navy-deep: #1b2c37;
  --navy-ink: #16232c;

  --steel: #8ba3b0;
  --mist: #5a7a8c;
  --paper: #f6f8fa;
  --white: #ffffff;

  /* 语义色 —— 对比度已按 WCAG AA 校准 */
  --bg: var(--paper);
  --text: var(--navy);
  /* 正文 #4a6273 on #f6f8fa = 6.1:1 ✓ */
  --text-body: #4a6273;
  /* 辅助文字 #5f7787 on #fff = 4.7:1 ✓（原 #7d94a3 仅 3.16:1，不达标） */
  /* 辅助文字 #5a7283 on #f6f8fa = 4.73:1 ✓ */
  --text-mute: #5a7283;
  --text-faint: #6d8493;
  --line: #dde5ea;
  --line-soft: #e9eff3;

  /* 深底上的文字色 */
  --on-dark: #c8d7e0;
  --on-dark-mute: #a3b8c4;   /* on #1b2c37 = 6.0:1 ✓ */
  --on-dark-faint: #8fa6b3;  /* on #1b2c37 = 4.6:1 ✓ */

  /* 排版 */
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* 尺度 —— 8pt 基线栅格 */
  --wrap: 1200px;
  --gut: 24px;
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(34, 50, 63, 0.06);
  --shadow: 0 6px 24px rgba(34, 50, 63, 0.08);
  --shadow-lg: 0 20px 56px rgba(34, 50, 63, 0.13);
  /* 品牌红投影，用于 CTA 与悬停态 */
  --shadow-red: 0 8px 24px rgba(237, 27, 36, 0.24);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
  /* 固定导航高度补偿：锚点跳转后标题不被遮挡 */
  scroll-padding-top: 92px;
}

/* 分组锚点跳转时留出上方呼吸空间 */
.groupTitle { scroll-margin-top: 100px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(237, 27, 36, 0.16);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--text); line-height: 1.25; }
p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

a, button, summary, input, select, textarea { touch-action: manipulation; }

::selection { background: var(--brand-red-deep); color: #fff; }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid rgba(237, 27, 36, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--brand-red-deep);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-red);
}
.skip-link:focus-visible { transform: none; }

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left));
  padding-right: max(var(--gut), env(safe-area-inset-right));
}

/* 区块纵向节奏：8pt 栅格，桌面 104 / 移动 64 */
.sec { padding: 104px 0; }
.sec--tight { padding: 72px 0; }
.sec--dark { background: var(--navy-deep); color: var(--on-dark); }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--white { background: var(--white); }

@media (max-width: 860px) {
  .sec { padding: 64px 0; }
  .sec--tight { padding: 48px 0; }
}

/* ---------- 通用原子 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red-deep);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-red);
}

/* 区块标题组：标题与说明左对齐，底部留白统一 56px */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1.22;
}
.sec-head p {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-mute);
}
.sec--dark .sec-head p { color: var(--on-dark-mute); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::before { display: none; }

.lede { font-size: 18px; line-height: 1.85; color: var(--text-body); }

/* CTA —— 最小触控高度 48px，满足移动端触控标准 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--brand-red-deep); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: #a90f16; transform: translateY(-2px); }

.btn--ghost { border: 1.5px solid var(--steel); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; transform: translateY(-2px); }

.btn--onDark { border: 1.5px solid rgba(255, 255, 255, 0.32); color: #fff; }
.btn--onDark:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   导航
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(245, 248, 250, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), background-color 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.is-stuck {
  height: 66px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(47, 72, 88, 0.06);
}

.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
}

.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: none; }
/* 真实 logo 图片：横版组合，图形镂空处需透出底色，故用图片而非 SVG */
.brand__logo {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity 0.25s var(--ease);
}
.brand:hover .brand__logo { opacity: 0.82; }
.brand__logo--rev { height: 40px; }

/* 公司全称：页脚内置于 logo 右侧，用竖线分隔弱化处理 */
.brand__full {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mist);
  white-space: nowrap;
  line-height: 1.2;
}
.brand__full--rev { color: var(--on-dark-mute); border-left-color: rgba(255, 255, 255, 0.18); }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy); font-weight: 600; }
.nav__link.is-active::after { transform: scaleX(1); }

.nav__cta { margin-left: 8px; padding: 10px 16px; font-size: 14px; white-space: nowrap; }

.nav__burger {
  position: relative;
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  color: var(--navy);
}
.nav__burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
/* 三条线垂直均分，中心线在正中 */
.nav__burger span:nth-child(1) { transform: translateY(-7px); }
.nav__burger span:nth-child(2) { transform: translateY(0); }
.nav__burger span:nth-child(3) { transform: translateY(7px); }
.nav__burger.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.nav__burger.is-open span:nth-child(3) { transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav__burger { display: grid; }
  /* 窄屏压缩 logo，保证与汉堡按钮不拥挤 */
  .brand__logo { height: 38px; }
  .nav__menu {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gut) 26px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--brand-red-deep); }
  .nav__cta { margin: 18px 0 0; justify-content: center; padding: 13px 22px; }
}

/* ==========================================================================
   首屏
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 76px;
  background: var(--navy-ink);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(22, 35, 44, 0.97) 0%, rgba(22, 35, 44, 0.9) 44%, rgba(22, 35, 44, 0.42) 100%),
    radial-gradient(120% 90% at 8% 50%, rgba(22, 35, 44, 0.78) 0%, transparent 62%);
}

/* 工业网格纹理 */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(130% 100% at 20% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(130% 100% at 20% 40%, #000 20%, transparent 78%);
}

.hero__inner { position: relative; max-width: 720px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  color: #d8e5ec;
  margin-bottom: 28px;
}
.hero__badge b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-red-deep);
  color: #fff;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(36px, 5.6vw, 66px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-red-soft);
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  background: var(--brand-red);
  border-radius: 3px;
  opacity: 0.55;
}

.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.85;
  color: #c8d7e0;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 62px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r);
  overflow: hidden;
}
.hero__stat { padding: 22px 20px; background: rgba(22, 35, 44, 0.5); backdrop-filter: blur(6px); }
.hero__stat b {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-bottom: 9px;
}
.hero__stat b i { font-style: normal; font-size: 0.5em; color: var(--brand-red-soft); margin-left: 3px; }
.hero__stat span { font-size: 13.5px; color: #b3c6d1; }

@media (max-width: 860px) {
  .hero { min-height: auto; padding: 108px 0 60px; }
  .hero__actions { margin-bottom: 46px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat { padding: 18px 16px; }
}

/* 窄屏标题：让主标题与产品关键词各自成行，避免 em 被拆断 */
@media (max-width: 460px) {
  .hero h1 { font-size: clamp(30px, 8.4vw, 38px); }
  .hero h1 .line { display: block; }
}

/* ==========================================================================
   数据条
   ========================================================================== */
.strip { background: var(--navy-deep); color: #fff; }
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding: 52px 0;
}
.strip__item { position: relative; padding-left: 22px; }
.strip__item + .strip__item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.strip__item b {
  display: block;
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-red-soft);
  margin-bottom: 10px;
}
.strip__item b sup { font-size: 0.46em; vertical-align: super; }
.strip__item span { font-size: 14px; color: var(--on-dark-mute); }

@media (max-width: 860px) {
  .strip__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; padding: 40px 0; }
  .strip__item + .strip__item::before { display: none; }
  .strip__item b { font-size: 32px; }
}

/* ==========================================================================
   关于
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr minmax(0, 1fr);
  gap: 68px;
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.about__stamp {
  position: absolute;
  right: -26px;
  bottom: -26px;
  padding: 22px 26px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--brand-red);
}
.about__stamp b {
  display: block;
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}
.about__stamp span { font-size: 12.5px; color: var(--text-mute); }

.about__list { margin-top: 34px; display: grid; gap: 22px; }
.about__row { display: flex; gap: 16px; align-items: flex-start; }
.about__ico {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand-red-deep);
  box-shadow: var(--shadow-sm);
}
.hero__stat b, .strip__item b, .about__stamp b { font-variant-numeric: tabular-nums; }
.about__ico svg { width: 19px; height: 19px; }
.about__row h3 { font-size: 16.5px; line-height: 1.4; margin-bottom: 5px; }
.about__row p { font-size: 14.5px; color: var(--text-mute); line-height: 1.7; }

@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; gap: 76px; }
  .about__stamp { right: 16px; bottom: -22px; }
}

/* ==========================================================================
   业务板块
   卡片等高：grid 默认 stretch + 内部 flex column，文字多的卡片用 flex:1 撑开
   ========================================================================== */
.biz__grid {
  display: grid;
  /* minmax(0,1fr) 而非 1fr：1fr 的最小尺寸是 auto，
     卡片内长英文/长中文串会撑破轨道导致换行错位 */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.bizcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.bizcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.bizcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-deep); }
.bizcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.bizcard:hover .bizcard__media img { transform: scale(1.06); }
.bizcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 35, 44, 0.78) 0%, rgba(22, 35, 44, 0.1) 52%, transparent 100%);
}
.bizcard__no {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 1;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-red-deep);
}
.bizcard__tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  font-size: 12.5px;
  color: #e4edf2;
  letter-spacing: 0.04em;
}

.bizcard__body {
  padding: 26px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bizcard__body h3 { font-size: 19px; line-height: 1.35; margin-bottom: 12px; overflow-wrap: anywhere; }
.bizcard__body p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text-mute);
  overflow-wrap: anywhere;
  /* 占据剩余空间，把底部 CTA 压到统一基线 */
  flex: 1;
}
/* 四卡等高：行高由 grid 统一分配，此处仅保证文字区有最小呼吸空间 */
.bizcard__body { min-height: 0; }

/* 整卡可点，CTA 行保证 ≥44px 触控高度 */
.bizcard__more {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-red-deep);
  transition: gap 0.3s var(--ease);
}
.bizcard__more svg { width: 15px; height: 15px; flex: none; transition: transform 0.3s var(--ease); }
.bizcard:hover .bizcard__more svg { transform: translateX(4px); }

@media (max-width: 1080px) {
  .biz__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .biz__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   产品 / 图册
   ========================================================================== */

/* 分组标题：与卡片网格保持 24px 节奏 */
.groupTitle {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 24px;
  padding-left: 14px;
  position: relative;
}
.groupTitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 20px;
  margin-top: -10px;
  border-radius: 2px;
  background: var(--brand-red);
}
.groupTitle--gap { margin-top: 64px; }

.gallery { display: grid; gap: 16px; }
.gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gitem {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--navy-ink);
  aspect-ratio: 1 / 1;
}
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gitem:hover img { transform: scale(1.07); }
.gitem__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 16px 14px;
  background: linear-gradient(to top, rgba(27, 44, 55, 0.9), transparent);
  font-size: 13px;
  color: #e6eef2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gitem:hover .gitem__cap { opacity: 1; transform: none; }

.gallery--wide .gitem { aspect-ratio: 16 / 9; }

/* 项目配套说明：用事实型信息补充产品图册，避免把投标经历写成夸大案例 */
.casebar {
  margin-top: 34px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
}
.casebar__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-red-deep);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.casebar h3 { font-size: 18px; margin-bottom: 8px; }
.casebar p { font-size: 14.5px; line-height: 1.78; color: var(--text-mute); }

/* 宽幅横幅 */
.banner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(27, 44, 55, 0.94) 0%, rgba(27, 44, 55, 0.72) 46%, rgba(27, 44, 55, 0.3) 100%);
}
.banner__body { padding: 54px 60px; max-width: 620px; }
.banner__body h3 { font-size: clamp(24px, 2.6vw, 32px); color: #fff; margin-bottom: 16px; }
.banner__body p { font-size: 16px; color: #c0d2dc; margin-bottom: 28px; }

@media (max-width: 860px) {
  .banner__body { padding: 38px 28px; }
  .gallery--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery--3 { grid-template-columns: repeat(2, 1fr); }
  .casebar { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .gitem__cap { opacity: 1; transform: none; }
}

/* ==========================================================================
   优势 / 流程
   ========================================================================== */
.feat__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.feat {
  padding: 36px 30px;
  background: var(--white);
  transition: background 0.3s var(--ease);
}
.feat:hover { background: #fbfdfe; }
.feat__ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-ink) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 20px;
}
.feat__ico svg { width: 21px; height: 21px; }
.feat h3 { font-size: 17.5px; line-height: 1.4; margin-bottom: 10px; }
.feat p { font-size: 14.5px; color: var(--text-mute); line-height: 1.78; }

/* ==========================================================================
   常见问题
   ========================================================================== */
.faq {
  display: grid;
  gap: 12px;
  max-width: 960px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq details[open] {
  border-color: rgba(237, 27, 36, 0.35);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  min-height: 64px;
  padding: 19px 58px 19px 22px;
  position: relative;
  cursor: pointer;
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1f4f6;
  color: var(--brand-red-deep);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: var(--brand-red-deep);
  color: #fff;
}
.faq details p {
  padding: 0 58px 22px 22px;
  color: var(--text-mute);
  font-size: 14.5px;
  line-height: 1.82;
}

@media (max-width: 640px) {
  .casebar { padding: 24px; }
  .faq summary { padding-left: 18px; }
  .faq details p { padding-left: 18px; padding-right: 24px; }
}

/* ==========================================================================
   联系
   ========================================================================== */
.contact { background: var(--navy-deep); color: var(--on-dark); position: relative; overflow: hidden; }
/* .contact 未使用 .sec--dark，需显式覆盖深色底上的标题与副标题配色 */
.contact h2,
.contact h3 { color: #fff; }
.contact .sec-head p { color: var(--on-dark-mute); }
.contact .eyebrow { color: var(--brand-red-soft); }
.contact .eyebrow::before { background: var(--brand-red-soft); }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.contact__inner { position: relative; }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.1fr;
  gap: 72px;
  align-items: start;
}

.cinfo { display: grid; gap: 22px; margin-top: 38px; }
.cinfo__row {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: var(--r);
  background: #22323f;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cinfo__ico {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  color: var(--brand-red-soft);
}
.cinfo__ico svg { width: 19px; height: 19px; }
/* 标签色需在 8% 白底上仍达 4.5:1，故用更亮的 #b9cbd6 而非 --on-dark-mute */
.cinfo__row span { display: block; font-size: 13.5px; color: #b9cbd6; margin-bottom: 4px; }
.cinfo__row b { font-size: 17.5px; color: #fff; font-weight: 600; display: flex; align-items: center; min-height: 28px; }
.cinfo__row a:hover b { color: var(--brand-red-soft); }

/* 表单卡：原先 rgba(255,255,255,.04) 半透明白底会把内部文字对比度压到 1.67:1，
   改为「实色深底 + 细边框」，文字直接落在 #22323f 上，对比度达标 */
.cmap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #22323f;
  padding: 40px;
}
.cmap h3 { font-size: 20px; color: #fff; margin-bottom: 12px; }
.cmap p { font-size: 14.5px; line-height: 1.75; color: var(--on-dark-mute); margin-bottom: 26px; }

.cform { display: grid; gap: 16px; }
.cfield { display: grid; gap: 7px; }
.cfield label { font-size: 13.5px; color: #b9cbd6; }.cfield input,
.cfield textarea,
.cfield select {
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cfield textarea { resize: vertical; min-height: 120px; }
.cfield select { min-height: 48px; }
.cfield input::placeholder,
.cfield textarea::placeholder { color: var(--on-dark-faint); }
.cfield__error {
  display: none;
  color: #ffb4b8;
  font-size: 12.5px;
  line-height: 1.5;
}
.cfield__error.is-visible { display: block; }
.cfield input:focus,
.cfield textarea:focus,
.cfield select:focus {
  outline: none;
  border-color: var(--brand-red);
  background: rgba(255, 255, 255, 0.08);
}
.cfield select option { background: var(--navy); color: #fff; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cnote {
  font-size: 12.5px;
  color: var(--on-dark-faint);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.7;
}
.cnote svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }

@media (max-width: 980px) {
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .cform__row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.foot { background: var(--navy-ink); color: var(--on-dark-mute); padding: 72px 0 0; }
.foot__top {
  display: grid;
  /* 首列固定 360px：logo(≈151)+间距(12)+全称(≈141)≈304，留 56px 余量避免临界换行 */
  grid-template-columns: 360px minmax(0, 1fr) minmax(0, 1fr) 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* foot__brand 是 grid item，宽度由内容决定会反向压缩 logoRow。
   align-items 需用 stretch（默认）而非 flex-start，否则子项按内容宽收缩 */
.foot__brand { display: flex; flex-direction: column; min-width: 0; }
/* 页脚：logo 与公司全称并排成一行。首列宽约 336px，
   故压缩反白版 logo 与全称的间距、字号，避免换行 */
/* 页脚：logo 与公司全称并排成一行。
   flex 子项默认 min-width:auto 会被内容顶开导致换行，需显式 min-width:0 + flex:none 锁定 */
.foot__logoRow { display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; }
.foot__logoRow > * { flex: none; }
.foot__logoRow .brand__logo--rev { height: 34px; }
.foot__logoRow .brand__full--rev {
  margin-left: 12px;
  padding-left: 12px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.foot__about { font-size: 14px; line-height: 1.8; margin-top: 18px; max-width: 330px; }
.foot h3 {
  font-size: 14.5px;
  color: #fff;
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.foot__links { display: grid; gap: 4px; }
.foot__links a { font-size: 14.5px; display: flex; align-items: center; min-height: 36px; transition: color 0.25s var(--ease); }
.foot__links a:hover { color: var(--brand-red-soft); }
.foot__ct { display: grid; gap: 13px; font-size: 14.5px; }
.foot__ct b { color: #fff; font-weight: 600; display: flex; align-items: center; min-height: 44px; }
.foot__ct a { display: flex; align-items: center; min-height: 44px; }
.foot__bot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  padding: 24px 0 28px;
  font-size: 13px;
  color: var(--on-dark-faint);
}
.foot__bot a:hover { color: var(--brand-red-soft); }

@media (max-width: 700px) {
  /* 窄屏页脚：全称改为 logo 下方独立一行，避免与 logo 横向挤压 */
  .foot__logoRow { flex-direction: column; align-items: flex-start; }
  .foot__logoRow .brand__full--rev {
    margin-left: 0;
    padding-left: 0;
    margin-top: 12px;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 980px) {
  .foot__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .foot__top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   动效
   ========================================================================== */
[data-rise] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-rise].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-rise] { opacity: 1; transform: none; }
}

/* 打印 */
@media print {
  .nav, .cform, .hero__actions { display: none; }
  .hero { min-height: auto; }
  body { background: #fff; }
}

/* ===== 语言切换下拉（带国旗） ===== */
.langsel {
  position: relative;
  margin-left: 8px;
}
.langsel__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}
.langsel__flag,
.langsel__item img {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex: none;
}
.langsel__caret {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  transition: transform 0.15s;
}
.langsel__btn[aria-expanded="true"] .langsel__caret { transform: rotate(180deg); }
.langsel__btn:focus { outline: none; border-color: var(--brand-red); }
.langsel__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 172px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg, 0 12px 30px rgba(15, 23, 42, 0.12));
  display: none;
  z-index: 120;
}
.langsel__menu.is-open { display: block; }
.langsel__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-body);
  font-size: 13px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.langsel__item:hover { background: var(--paper); color: var(--navy); }
.langsel__item.is-active { background: rgba(237, 27, 36, 0.08); color: var(--brand-red-deep); font-weight: 600; }
@media (max-width: 940px) {
  .langsel { margin: 16px 0 0; align-self: flex-start; }
  .langsel__menu { right: auto; left: 0; }
}
