/* ============================================================
   幻仟控股官网 · 全站样式（v2：大气方向）
   参考 GitHub 高星开源企业模板的共性处理：
   深色页头 + 全幅深色 Hero + 居中区标题 + 大留白 + 胶囊按钮
   浅色内容区 + 石墨/深蓝文字，红色少量点缀（品牌素材确认后统一更新）
   ============================================================ */

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #1d2733;
  --muted: #5a6875;
  --primary: #153e63;
  --primary-ink: #0e2c47;
  --header-bg: rgba(14, 30, 48, 0.96);
  --navy-deep: #0b1a2b;
  --accent: #c2372f;
  --line: #e2e6ea;
  --line-strong: #cfd6dc;
  --radius: 0px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 32, 0.05);
  --shadow: 0 4px 10px rgba(16, 24, 32, 0.07), 0 18px 40px rgba(16, 24, 32, 0.1);
  --maxw: 1160px;
  /* 页头总高（含底边线），供首屏 Hero 自适应计算 */
  --header-h: 71px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* v2.8.1 关键修正：proximity（此前 mandatory 会把正文区所有滚动强制拉回两个吸附点，
     导致下方页面无法正常滑动）；proximity 只在接近首屏交界时吸附，正文区自由滚动 */
  scroll-snap-type: y proximity;
}

[id] {
  scroll-margin-top: 80px;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
}

main { flex: 1; }

img, svg, video { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.3; }

p a,
li a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(21, 62, 99, 0.35);
  text-underline-offset: 3px;
}
p a:hover,
li a:hover { text-decoration-color: currentColor; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid #7fb2e5;
  outline-offset: 2px;
  border-radius: 4px;
}
.section :focus-visible,
.page-head :focus-visible,
.site-footer :focus-visible { outline-color: var(--primary); }

::selection { background: rgba(21, 62, 99, 0.16); }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: #fff;
  color: var(--primary-ink);
  padding: 8px 16px;
  border-radius: 0;
}
.skip-link:focus { left: 8px; }

/* ---------- 页头（深色，粘性） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: #dce8f2; }

.brand-mark {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 3.5px;
  width: 16px;
}
.nav-toggle-box span {
  height: 1.8px;
  border-radius: 2px;
  background: #fff;
}

/* 右上角 OA 入口 */
.btn-oa {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border: none;
  border-radius: 0;
  background: #fff;
  color: var(--primary-ink);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}
.btn-oa:hover {
  background: #e6edf3;
  color: var(--primary-ink);
}
.btn-oa[data-pending="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 0;
  color: #ccd8e2;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 600;
}

/* ---------- v2.7.8 首页透明页头（覆盖 Hero 图，滚动后转实心；内页始终实心） ---------- */
.site-header--overlay {
  background: linear-gradient(180deg, rgba(11, 26, 43, 0.55), rgba(11, 26, 43, 0));
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header--overlay.is-solid,
.nav-open .site-header--overlay {
  background: var(--header-bg);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* 首页 Hero 上提到页头之下，图顶到屏幕边缘 */
.page-home .hero {
  margin-top: calc(-1 * var(--header-h));
  min-height: calc(100vh);
  min-height: calc(100svh);
}
.page-home .hero-inner {
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 48px));
}
/* v2.8.1 首页两个吸附点：全屏 Hero / 正文首区；吸附动画走 scroll-behavior:smooth */
.page-home .hero { scroll-snap-align: start; }
.page-home .home-intro {
  scroll-snap-align: start;
  scroll-margin-top: var(--header-h);
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0e1e30;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 36px rgba(5, 12, 20, 0.35);
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px clamp(16px, 4vw, 32px) 16px;
  }
  .site-nav li + li { border-top: 1px solid rgba(255, 255, 255, 0.09); }
  .site-nav a {
    display: block;
    padding: 14px 6px;
    font-size: 16px;
    border-radius: 0;
  }
}

@media (max-width: 420px) {
  :root { --header-h: 63px; }
  .header-inner { min-height: 62px; }
  .btn-oa { padding: 5px 12px; font-size: 13px; }
  .nav-toggle .nav-toggle-label { display: none; }
}

/* ---------- 首页主视觉（全幅深色 Hero，自适应填满首屏） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  /* 首屏自适应：视口高度减去页头，深色铺满第一屏，下一屏浅色区块不露头 */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1100px 540px at 84% -12%, rgba(74, 128, 186, 0.38), transparent 62%),
    radial-gradient(820px 440px at -12% 118%, rgba(194, 55, 47, 0.14), transparent 56%),
    linear-gradient(158deg, #17324e 0%, #0f2338 56%, #0b1a2b 100%);
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* v2.7.7：企业楼宇底图（低透明度融入深蓝渐变，保持大字可读；装饰用，非公司自有资产） */
.hero-photo {
  position: absolute;
  inset: 0;
  /* Q4：优先 WebP（构建生成），旧环境回退 JPG */
  background-image: url("/assets/images/hero.jpg");
  background-image: image-set(
    url("/assets/images/hero.webp") type("image/webp"),
    url("/assets/images/hero.jpg") type("image/jpeg")
  );
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.32;
  transform: scaleX(-1); /* 镜像：规避原图中的第三方标识，纯氛围用图 */
}
@media (max-width: 720px) {
  .hero-photo { opacity: 0.22; background-position: center 20%; }
}
.hero-rings {
  position: absolute;
  right: -140px;
  top: 50%;
  width: 720px;
  height: 720px;
  transform: translateY(-52%);
  opacity: 0.55;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.orb--a {
  right: 4%;
  top: -12%;
  width: 380px;
  height: 380px;
  background: rgba(96, 148, 205, 0.3);
}
.orb--b {
  left: -6%;
  bottom: -30%;
  width: 320px;
  height: 320px;
  background: rgba(194, 55, 47, 0.16);
}

.hero-inner {
  position: relative;
  /* v2.6：DeepMind/xAI 式居中构图——巨型标题居中，占据条带以外全部剩余高度 */
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 96px);
  max-width: 980px;
}

.eyebrow {
  margin: 0;
  color: #a9bccd;
  font-size: 14.5px;
  letter-spacing: 0.18em;
}

.hero-title {
  margin: 26px 0 20px;
  font-size: clamp(48px, 8.4vw, 96px);
  line-height: 1.08;
  letter-spacing: 0.05em;
}

.hero-lede {
  max-width: 620px;
  margin: 0 auto 36px;
  color: #b7c7d6;
  font-size: clamp(17px, 2.2vw, 21px);
}
.hero-lede + .hero-sub { margin-top: -22px; }
.hero-sub {
  max-width: 640px;
  margin: 0 auto 36px;
  color: #9eb0c1;
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Hero 底部业务线入口 */
.hero-strip {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}
.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 22px;
  color: #fff;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.16s ease;
}
.hero-strip-inner .strip-item:first-child { border-left: 0; }
.strip-item:hover { background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.strip-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.strip-desc { color: #9fb2c2; font-size: 13.5px; }

@media (max-width: 720px) {
  .hero-rings { right: -260px; opacity: 0.5; }
  .strip-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px clamp(16px, 4vw, 32px);
  }
  .hero-strip-inner .strip-item:first-child { border-top: 0; }
}

/* ---------- 区块 ---------- */
.section { padding-block: clamp(60px, 8.5vw, 116px); }
.section--surface { background: var(--surface); }

.section-head {
  max-width: 780px;
  margin-bottom: clamp(28px, 4.5vw, 46px);
}
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.section-head--center {
  margin-inline: auto;
  max-width: 760px;
  text-align: center;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(27px, 3.8vw, 40px);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.section-head .lede {
  margin: 0;
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.text-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section-more {
  margin: 30px 0 0;
  text-align: center;
}

.lede { color: var(--muted); }

.prose { max-width: 780px; }
.prose p { margin: 0 0 14px; }

/* 关于页导语（v2.6 策划稿长简介） */
.about-lead { max-width: 820px; margin-inline: auto; }
.about-lead p { font-size: 17.5px; line-height: 1.9; color: var(--ink); }

/* ---------- 子页页头 ---------- */
.page-head {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border-bottom: 1px solid var(--line);
  padding: 30px 0 40px;
}
.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  letter-spacing: 0.02em;
}
.page-head .lede {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
.crumb-sep { color: var(--line-strong); }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  background: var(--surface);
  transition: background 0.16s ease;
}
.card:hover { background: #f6f9fb; }
.section--surface .card { background: #f7f9fa; }
.section--surface .card:hover { background: #eef2f5; }

.card h3 {
  margin: 0;
  font-size: 18.5px;
  letter-spacing: 0.01em;
}
.card h3 a {
  color: inherit;
  text-decoration: none;
}
.card h3 a:hover { color: var(--primary); }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-tag {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.card-text {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.card-meta { margin-top: 4px; }
.card--case .card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card--case figure { margin: 0; }
.card--case { padding: 18px 18px 22px; }

.more {
  margin: auto 0 0;
  font-size: 14.5px;
}
.more a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.more a:hover { text-decoration: underline; text-underline-offset: 4px; }

.card--planned {
  background: #f2f5f7;
}
.card--planned:hover {
  background: #f2f5f7;
}
.section--surface .card--planned { background: #f2f5f7; }

/* 规划主体条 */
.planned-strip {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}
.planned-title {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
}
.planned-note {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- 徽标与占位 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 10px;
  border-radius: 0;
  font-size: 12.5px;
  line-height: 1.7;
  white-space: nowrap;
}
.badge--planned {
  color: #a32c26;
  background: #f7ebea;
}
.section .badge--planned,
.section--surface .badge--planned,
.page-head .badge--planned,
.card .badge--planned,
.planned-strip .badge--planned {
  color: #a32c26;
  background: #f7ebea;
}
.badge--sample {
  color: #7a5a16;
  background: #fdf7e8;
}

.ph {
  display: inline-block;
  padding: 1px 9px;
  border: 1px dashed #b3bdc6;
  border-radius: 0;
  background: #fafbfc;
  color: var(--muted);
  font-size: 13px;
}

/* 图片占位 */
.figure-ph {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: linear-gradient(135deg, #eef1f5 0%, #e3e8ee 55%, #eef1f5 100%);
  color: var(--muted);
  font-size: 13px;
}
.figure-ph--culture {
  background: linear-gradient(135deg, #e9f0f8 0%, #d9e6f2 55%, #eaf1f8 100%);
}
.figure-ph--manufacturing {
  background: linear-gradient(135deg, #edeff2 0%, #dee3e9 55%, #eef0f3 100%);
}
.figure-ph--international-trade {
  background: linear-gradient(135deg, #f4f0e9 0%, #eae3d6 55%, #f5f1ea 100%);
}
.ph-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- 字段列表 ---------- */
.field-list {
  max-width: 780px;
}
.field-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 6px 16px;
  padding: 13px 18px;
}
.field-row + .field-row { border-top: 1px solid var(--line); }
.field-label { color: var(--muted); font-size: 14px; }
.field-value { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 2px; padding: 11px 14px; }
}

.optional-row { border-top: 1px solid var(--line); }

/* ---------- 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: none;
  border-radius: 0;
  background: #f7f9fa;
  counter-increment: step;
  font-size: 15px;
}
.step::before {
  content: counter(step);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- 提示与空状态 ---------- */
.note {
  max-width: 780px;
  margin: 18px 0 0;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--line-strong);
  color: var(--muted);
  font-size: 14px;
}

.empty {
  max-width: 780px;
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

/* ---------- 行动条 ---------- */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding: clamp(30px, 5vw, 48px);
  border-radius: 0;
  background:
    radial-gradient(700px 300px at 88% -20%, rgba(96, 148, 205, 0.35), transparent 60%),
    linear-gradient(135deg, #16436b 0%, #0e2c47 100%);
  color: #c3d2df;
}
.cta h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(21px, 3vw, 27px);
  letter-spacing: 0.02em;
}
.cta p { margin: 0; }

/* ---------- 按钮（胶囊） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border: 1px solid var(--primary);
  border-radius: 0;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn:hover { background: var(--primary-ink); border-color: var(--primary-ink); }

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--primary-ink);
}
.btn--light:hover { background: #e6edf4; border-color: #e6edf4; color: var(--primary-ink); }

.btn--outline-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: transparent;
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.24); border-color: transparent; color: #fff; }

.btn--ghost {
  background: #eef3f8;
  color: var(--primary);
  border-color: transparent;
}
.btn--ghost:hover {
  background: #e2eaf1;
  border-color: transparent;
  color: var(--primary);
}

.btn--invert {
  background: #fff;
  border-color: #fff;
  color: var(--primary-ink);
}
.btn--invert:hover { background: #e8eef4; border-color: #e8eef4; color: var(--primary-ink); }

.btn[disabled],
.btn[disabled]:hover {
  background: #e7eaee;
  border-color: #e7eaee;
  color: #8a97a3;
  cursor: not-allowed;
}

/* ---------- 案例页 ---------- */
.case-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 0;
  background: #f2f5f8;
  font-size: 13.5px;
  color: var(--muted);
}
.meta-chip a { color: var(--primary); text-decoration: none; font-weight: 600; }
.meta-chip a:hover { text-decoration: underline; text-underline-offset: 3px; }

.figure-row { margin-top: 20px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.filter-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.filter-btn:hover { color: var(--primary); background: #f2f5f8; }
.filter-btn[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
}

.back-link { margin: 0; }
.back-link a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.back-link a::before { content: "← "; }
.back-link a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 关于页/详情页两栏 ---------- */
.about-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 28px;
  align-items: start;
}

/* ---------- 联系页表单 ---------- */
.form {
  display: grid;
  gap: 16px;
  max-width: 640px;
  padding: 26px 24px;
  border: none;
  border-radius: 0;
  background: #fafbfc;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.form textarea { resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}
.form-note {
  margin: 0;
  padding: 10px 14px;
  border: none;
  border-radius: 0;
  background: #fdf7e8;
  color: #7a5a16;
  font-size: 13.5px;
}
.form p { margin: 0; }

/* ---------- 提示浮层（未配置动作的明确反馈） ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 100;
  transform: translate(-50%, 14px);
  max-width: min(92vw, 520px);
  padding: 11px 20px;
  border-radius: 0;
  background: #0e1e30;
  color: #fff;
  font-size: 14px;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0d151e;
  color: #b9c4ce;
  font-size: 14.5px;
}
/* v2.6：大厂式超大低对比字标（纯装饰，读屏隐藏） */
.footer-wordmark {
  overflow: hidden;
  padding: 0 clamp(16px, 4vw, 32px);
  margin-top: 8px;
  text-align: center;
  font-size: clamp(72px, 13vw, 170px);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.055);
  white-space: nowrap;
  user-select: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 34px;
  padding-block: 52px 44px;
}
.footer-col h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.footer-col p { margin: 0 0 8px; }
.foot-muted { color: #7f909e; font-size: 13px; }
.foot-label { color: #7f909e; }
.foot-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-links a {
  color: #cfd9e2;
  text-decoration: none;
}
.foot-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.brand--footer { color: #fff; font-size: 17px; margin-bottom: 6px; letter-spacing: 0.06em; }
.foot-en-name {
  margin: 0 0 10px;
  color: #9eb0c1;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* 页脚相关企业清单（v2.7.4） */
.foot-entities-title {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.foot-entities {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: #cfd9e2;
}
.foot-entities .badge--planned {
  margin-left: 8px;
  font-size: 11.5px;
  padding: 0 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  font-size: 13px;
  color: #7f909e;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 0;
  background: #16324e;
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.16s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--primary-ink); }

/* ---------- 案例翻页 ---------- */
.case-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.case-pager > :first-child { justify-self: start; }
.case-pager > :last-child { justify-self: end; text-align: right; }
.pager-link {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.pager-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pager-dir { color: var(--muted); font-size: 12.5px; font-weight: 400; }
.pager-link.is-disabled { color: #aeb9c2; font-weight: 400; }
.pager-all {
  align-self: center;
  flex-direction: row;
  padding: 8px 18px;
  border: none;
  border-radius: 0;
  background: #f2f5f8;
  font-size: 14px;
  color: var(--ink);
}
a.pager-all:hover { background: #e6ecf1; color: var(--primary); text-decoration: none; }
@media (max-width: 640px) {
  .case-pager { grid-template-columns: 1fr; }
  .case-pager > :last-child { justify-self: start; text-align: left; }
  .pager-all { justify-self: start; order: 3; }
}

/* ---------- 业务交叉链接 ---------- */
.cross-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.cross-label { color: var(--muted); font-size: 14px; margin-right: 4px; }
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: none;
  border-radius: 0;
  background: #f2f5f8;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}
.pill-link:hover { background: #e6ecf1; color: var(--primary); text-decoration: none; }

/* 首页精简元素 */
.planned-line {
  margin: 24px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}
.planned-line .badge--planned { margin-right: 6px; }

.about-brief {
  max-width: 640px;
  margin: 0 auto 4px;
  text-align: center;
  color: var(--muted);
}

.contact-band { justify-content: space-between; }
.contact-band p { margin: 0; }
.contact-band-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-dark {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease;
}
.pill-dark:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- 首页贸易规划横条 + 联系页（v3 合并） ---------- */
.trade-band {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 28px 32px;
  background: #eef2f5;
}
.trade-band h3 { margin: 0 0 4px; }
.trade-band p { margin: 0; color: var(--muted); font-size: 14.5px; }
.trade-band .text-link { margin-left: auto; white-space: nowrap; }

.contact-topics .card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.contact-topics .card h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.contact-topics .card:target {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.field-row--head {
  border-top: 1px solid var(--line);
  background: #f7f9fa;
}
.field-row--head .field-label { font-weight: 600; color: var(--ink); }
.field-row--head .field-value { color: var(--muted); font-size: 13px; }

.contact-details { margin-top: 56px; }
.contact-details h2 { margin: 0 0 14px; font-size: 22px; }
.contact-details .field-row:first-child { border-top: 1px solid var(--line); }
.contact-details .field-row { background: var(--surface); }
.contact-pending { margin: 0; color: var(--muted); }
.contact-note {
  margin: 12px 0 0;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--line-strong);
  color: var(--muted);
  font-size: 13.5px;
}
.field-value a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.field-value a:hover { text-decoration: underline; text-underline-offset: 4px; }
.channel-extra {
  font-size: 13px;
  font-weight: 600;
}
.foot-links .channel-extra { color: #cfd9e2; font-size: 13px; }
.foot-links .channel-extra:hover { color: #fff; }

@media (max-width: 700px) {
  .trade-band { flex-wrap: wrap; padding: 24px; gap: 14px; }
  .trade-band .text-link { margin-left: 0; width: 100%; }
  .contact-details { margin-top: 40px; }
}

/* ---------- 业务架构图（v2.7，直角纯平树状） ---------- */
.org-chart { max-width: 980px; margin: 0 auto; }
.org-root {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto;
  padding: 16px 34px;
  background: var(--primary-ink);
  color: #fff;
}
.org-root-name { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
.org-root-tag {
  padding: 1px 10px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.org-trunk {
  width: 2px;
  height: 26px;
  margin: 0 auto;
  background: var(--line-strong);
}
/* 三列顶部的共享横线（对齐首/末列竖线中心；须计入 gap，否则两端断开） */
.org-columns {
  --org-gap: 22px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--org-gap);
  padding-top: 26px;
}
.org-columns::before {
  content: "";
  position: absolute;
  top: 0;
  /* 3 列等宽：首末列中心距边缘 = (100% - 2*gap) / 6；外扩 1px 与 2px 竖线闭合 */
  left: calc((100% - 2 * var(--org-gap)) / 6 - 1px);
  right: calc((100% - 2 * var(--org-gap)) / 6 - 1px);
  height: 2px;
  background: var(--line-strong);
}
.org-col { position: relative; }
/* 每列从横线垂下的竖线 */
.org-col::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 50%;
  width: 2px;
  height: 26px;
  transform: translateX(-50%);
  background: var(--line-strong);
}
.org-seg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: #e9eef3;
}
.org-col--planned .org-seg { background: #f2f5f7; }
.org-seg-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-ink);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
a.org-seg-link:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.org-seg-text { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
/* 板块到企业的短竖线 */
.org-node {
  position: relative;
  display: block;
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
}
.org-node::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 2px;
  height: 14px;
  transform: translateX(-50%);
  background: var(--line-strong);
}
a.org-node:hover { background: #f2f6f9; color: var(--primary); }
.org-node-name { display: block; }
.org-node-legal {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.org-node--planned {
  background: #f6f8fa;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: none;
}
.org-note {
  max-width: 780px;
  margin: 26px auto 0;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 13.5px;
}

@media (max-width: 820px) {
  .org-columns { grid-template-columns: 1fr; padding-top: 0; gap: 26px; }
  .org-columns::before { display: none; }
  .org-col::before { display: none; }
  .org-col { padding-left: 14px; border-left: 2px solid var(--line-strong); }
  .org-node { margin-top: 12px; }
  .org-node::before { top: -12px; height: 12px; left: -15px; transform: none; }
}

/* ---------- 服务客户（v2.8.2 德增福客户墙） ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 18px;
}
.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 130px;
  padding: 22px 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.section--surface .client-card { background: #fff; }
.client-card--mono,
.section--surface .client-card--mono {
  /* v2.8.9：白色标志（征和/提迪凯）不再用深底卡——
     brightness(0) 转黑色剪影，与其他彩色 logo 统一浅底展示 */
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.client-logo {
  max-width: 100%;
  height: 48px; /* v2.10.3：块状 logo 统一高度 */
  width: auto;
  object-fit: contain;
}
/* v2.10.3：超宽字标（长宽比≥4）统一按宽度缩放，视觉重量与块状 logo 平衡 */
.client-logo--word {
  width: 150px;
  max-width: 100%;
  height: auto;
  max-height: none;
}
.client-card--mono .client-logo {
  filter: brightness(0); /* 白色标志转黑 */
}
.client-fallback {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}
.client-name {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
  line-height: 1.5;
}
.client-card--mono .client-name { color: var(--muted); }
.clients-grid + .note { max-width: none; }
.clients-group { margin-top: 28px; }
.clients-group > h3 { margin: 0 0 14px; font-size: 1.05rem; }
.clients-group .clients-grid { margin-bottom: 0; }


/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(40px, 8vw, 90px); }
.notfound-code {
  margin: 0 0 8px;
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #d3dae1;
  line-height: 1;
}
.notfound h1 { margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 32px); }
.notfound .lede { margin: 0 0 26px; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 0; }

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .card:hover { transform: none; }
}
.company-space { margin: 0; }
.company-space img { display: block; width: 100%; height: auto; }
.founder-section { background: #172536; color: #f6f7f8; }
.founder-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.founder-kicker { color: #e1a9a4; font-size: 1rem; letter-spacing: .12em; margin: 0 0 1.25rem; }
.founder-identity h2 { color: #fff; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.1; margin: 0; }
.founder-en { color: #c5ced6; font-size: 1rem; letter-spacing: .05em; margin: .6rem 0 1.75rem; }
.founder-title { color: #e4e9ed; font-size: 1.125rem; line-height: 1.7; margin: 0; }
.founder-content { color: #d9e0e6; font-size: 1rem; line-height: 1.9; max-width: 47rem; }
.founder-content p { margin: 0 0 1.25rem; }
.founder-content .founder-intro { color: #fff; font-size: 1.375rem; line-height: 1.75; }
.founder-content .founder-source { color: #b9c6d0; font-size: .8125rem; margin: 1.75rem 0 0; }
@media (max-width: 700px) { .founder-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
