/* =============================================================================
   jiashihua.com — 嘉世华集团 官网样式表
   视觉基调：深海里海军蓝 + 亮青 + 金；Apple 式极简、大留白、结构化
   ---------------------------------------------------------------------------
   目录
   01  字体
   02  变量 / 重置
   03  通用组件（按钮、标签、容器、栅格）
   04  顶部导航 + 抽屉
   05  HERO · 3D 海面首屏
   06  货运区块 · 滚动驱动（白底 + 黑带）
   07  航线网络
   08  铁路区块 · 全屏定场
   09  服务总览
   10  集团与技术（AI / 本地部署 / 独立站 / 建站）
   11  数据与合作
   12  询价表单
   13  页脚
   14  动效 / 响应式
   ========================================================================== */

/* ---------------------------------------------------------------- 01 字体 */
@font-face {
  font-family: 'Anton';
  src: url('../fonts/anton.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122;
}
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald.woff2') format('woff2');
  font-weight: 200 700; font-style: normal; font-display: block;
  ascent-override: 99.9%; descent-override: 20.1%; line-gap-override: 0%;
}

/* ------------------------------------------------------- 02 变量 / 重置 */
:root {
  --navy-900: #ffffff;
  --navy-800: #f7f9fb;
  --navy-700: #0b2a4a;
  --navy-600: #123a5f;
  --ink: #0a1a2a;
  --cyan: #1a63a8;
  --cyan-dim: #14507f;
  --gold: #8a94a3;
  --white: #0a1a2a;
  --paper: #f5f7fa;
  --line: #e3e8ef;
  --line-dark: #dfe5ec;
  --muted: #5a6675;
  --muted-dark: #5a6675;

  --cjk: 'PingFang SC', 'HarmonyOS Sans SC', 'MiSans', 'Noto Sans SC', 'Source Han Sans SC', 'Microsoft YaHei UI', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-display: 'Archivo', 'Helvetica Neue', Arial, var(--cjk);
  --font-head: 'Archivo', 'Helvetica Neue', Arial, var(--cjk);
  --font-ui: 'Archivo', system-ui, -apple-system, 'Segoe UI', var(--cjk);
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --u: min(100vw / 1440, 100vh / 900);
  --pad: clamp(20px, 5.6vw, 88px);
  --maxw: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 固定页头滚动后收为 66px；偏移取同一值，锚点落位才刚好贴在页头下沿，
     不会在页头与区块之间露出一条上一区块的深色边。 */
  scroll-padding-top: 66px;
  -webkit-text-size-adjust: 100%;
  /* 封边只放在根节点：body 上写 overflow 会让 body 变成滚动容器，
     导致 .f-scene 的 position: sticky 失效（货运区滚到中段整屏变白）。 */
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--cyan); color: var(--navy-900); }

/* 跳转链接：不能用 left:-9999px —— RTL 下负右溢出会被计入 html.scrollWidth，
   浏览器把绘制原点锚到右侧后整个首屏会变成纯背景色。用 clip 隐藏，聚焦时还原。 */
.skip {
  position: absolute; top: 0; left: 0; z-index: 999;
  padding: 12px 20px; background: var(--cyan); color: var(--navy-900); font-weight: 700;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  clip: auto; clip-path: none;
  top: 12px; left: 12px;
}

/* ------------------------------------------------------- 03 通用组件 */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7;
}
.eyebrow.on-dark { color: var(--cyan); }
.eyebrow.on-light { color: var(--cyan-dim); }

.btn {
  --bg: var(--cyan);
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 56px; padding: 0 26px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-900); background: var(--bg);
  border: 1px solid var(--bg);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); flex: none; }
.btn:hover { background: transparent; color: var(--bg); }
.btn:hover svg { transform: translateX(5px); }
.btn.ghost {
  --bg: rgba(10, 26, 42, .92);
  background: transparent; color: var(--white); border-color: rgba(10, 26, 42, .34);
}
.btn.ghost:hover { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.btn.dark { --bg: var(--navy-700); color: var(--white); }
.btn.dark:hover { background: transparent; color: var(--navy-700); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 14px;
  border: 1px solid rgba(10, 26, 42, .24); border-radius: 999px;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(10, 26, 42, .78);
}
.pill::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(63, 198, 242, .18);
}

.section { position: relative; padding: clamp(72px, 11vh, 132px) 0; }
.section-head { display: grid; gap: 18px; max-width: 760px; }
.section-head h2 {
  font-size: clamp(30px, 4.1vw, 58px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.section-head .lede {
  max-width: 60ch; color: var(--muted); font-size: clamp(14px, 1.15vw, 16px); line-height: 1.75;
}

/* ------------------------------------------------------- 04 导航 */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; padding: 0 var(--pad);
  transition: background .5s var(--ease), height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  height: 66px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: rgba(10, 26, 42, .08);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
/* 飞鸟标：原图自带 4% 留白，负边距把它视觉对齐 */
.brand .mark {
  width: 36px; height: 36px; flex: none; object-fit: contain;
  margin: -3px -2px -3px 0;
  filter: drop-shadow(0 1px 3px rgba(10, 26, 42, .12));
}
.brand .word {
  font-family: var(--font-ui); font-weight: 700; font-size: 17px; letter-spacing: -.005em;
  line-height: 1; white-space: nowrap;
}
.brand .word b { font-weight: inherit; }
.brand .word small {
  display: block; margin-top: 5px;
  font-family: var(--font-mono); font-weight: 400; font-size: 7.5px; letter-spacing: .2em;
  color: rgba(10, 26, 42, .46); text-transform: uppercase; white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); }
.nav-links a {
  position: relative; font-size: 13px; font-weight: 500; color: rgba(10, 26, 42, .72);
  transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -7px; height: 1px; width: 0;
  background: var(--cyan); transition: width .4s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; }

/* ---- 语言切换：自绘按钮 + 下拉面板（13 语种） ---- */
.lang { position: relative; display: inline-flex; align-items: center; }
.lang select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; }

.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 11px;
  background: transparent; border: 1px solid rgba(10, 26, 42, .18);
  color: rgba(10, 26, 42, .82); cursor: pointer;
  font-family: var(--font-ui); font-size: 11.5px; font-weight: 500; letter-spacing: .01em;
  line-height: 1; white-space: nowrap;
  transition: border-color .3s, color .3s, background .3s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] {
  border-color: rgba(63, 198, 242, .6); color: var(--ink); background: rgba(63, 198, 242, .08);
}
.lang-btn .globe { width: 14px; height: 14px; flex: none; opacity: .7; }
.lang-btn .caret { width: 8px; height: 5px; flex: none; opacity: .55; transition: transform .3s var(--ease); }
.lang-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 276px;
  display: flex; flex-direction: column;
  max-height: min(70vh, 520px);
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(10, 26, 42, .14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right;
  pointer-events: none; z-index: 120;
  transition: opacity .22s var(--ease), transform .28s var(--ease);
  overflow: hidden;
}
.lang-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }

/* 搜索框固定在顶部，列表自己滚 */
.lang-search {
  flex: none;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(10, 26, 42, .09);
  background: rgba(10, 26, 42, .02);
}
.lang-search svg { width: 14px; height: 14px; flex: none; color: rgba(10, 26, 42, .38); }
.lang-search input {
  flex: 1; min-width: 0; height: 26px;
  background: transparent; border: 0; outline: none;
  color: var(--ink); font-family: var(--font-ui); font-size: 12.5px;
}
.lang-search input::placeholder { color: rgba(10, 26, 42, .3); }
.lang-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.lang-list { overflow-y: auto; padding: 6px; scrollbar-width: thin; }
.lang-list::-webkit-scrollbar { width: 6px; }
.lang-list::-webkit-scrollbar-thumb { background: rgba(10, 26, 42, .14); border-radius: 3px; }

.lang-group {
  padding: 10px 11px 5px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(10, 26, 42, .32);
  position: sticky; top: 0; z-index: 1;
  background: #ffffff;
}
.lang-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 8px 11px; cursor: pointer; outline: none;
  transition: background .18s, color .18s;
}
.lang-item:hover, .lang-item:focus-visible { background: rgba(63, 198, 242, .12); }
.lang-item b {
  font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.25;
}
.lang-item em {
  font-family: var(--font-mono); font-size: 8.5px; font-style: normal;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(10, 26, 42, .34);
  white-space: nowrap;
}
.lang-item[aria-selected="true"] { background: rgba(63, 198, 242, .16); }
.lang-item[aria-selected="true"] b { color: var(--cyan); }
.lang-empty {
  margin: 0; padding: 22px 12px; text-align: center;
  font-size: 12px; color: rgba(10, 26, 42, .4);
}

/* 手机抽屉里的语言网格 */
.drawer-lang {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(10, 26, 42, .1);
  max-height: 38vh; overflow-y: auto; scrollbar-width: thin;
}
.drawer-lang button {
  padding: 11px 6px; background: rgba(10, 26, 42, .04);
  border: 1px solid rgba(10, 26, 42, .1); color: rgba(10, 26, 42, .74);
  font-family: var(--font-ui); font-size: 11.5px; line-height: 1.2; cursor: pointer;
  transition: all .25s;
}
.drawer-lang button.is-on {
  border-color: var(--cyan); color: var(--cyan); background: rgba(63, 198, 242, .12);
}

.nav .cta {
  height: 42px; padding: 0 20px; min-height: 0; font-size: 11.5px; letter-spacing: .1em;
}
.menu-btn {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid rgba(10, 26, 42, .18);
}
.menu-btn span { display: block; width: 16px; height: 1px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after {
  content: ''; position: absolute; left: 0; width: 16px; height: 1px; background: var(--ink);
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.drawer {
  position: fixed; inset: 0; z-index: 95;
  display: grid; align-content: start; gap: 4px;
  padding: 96px var(--pad) 40px;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(10px);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .6s var(--ease), opacity .4s;
}
.drawer.is-open { transform: none; opacity: 1; pointer-events: auto; }
.drawer a {
  padding: 16px 0; border-bottom: 1px solid rgba(10, 26, 42, .08);
  font-family: var(--font-head); font-size: 24px; font-weight: 500;
}
.drawer .close {
  position: absolute; top: 24px; right: var(--pad); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}

/* ------------------------------------------------------- 05 HERO · 浅色海面 */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 96px 0 62px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 40%, #eaf1f7 100%);
  isolation: isolate;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}
.hero-photo {
  position: absolute; z-index: 1;
  right: max(0px, calc(var(--pad) * -.2));
  bottom: 9vh;
  width: min(44vw, 640px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .74;
  filter: grayscale(.22) saturate(.6) contrast(.97) brightness(1.04);
  border-radius: 2px;
  /* 三向羽化：左、上、下都不留硬边，照片才像"融进"白色海面而不是贴了张图 */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.28) 26%, #000 58%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 20%, #000 48%, #000 76%, transparent 100%);
      mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.28) 26%, #000 58%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 20%, #000 48%, #000 76%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  pointer-events: none;
}
/* RTL：文字换到右侧，照片镜像到左侧，避免压字 */
html[dir="rtl"] .hero-photo {
  right: auto;
  left: max(0px, calc(var(--pad) * -.2));
  transform: scaleX(-1);
}
html[dir="rtl"] .hero h1 { margin-left: auto; }
html[dir="rtl"] .hero-meta > div { border-left: 0; border-right: 1px solid #e9edf3; }
html[dir="rtl"] .hero-meta > div:first-child { border-right: 0; }
html[dir="rtl"] .hero-scroll { right: auto; left: var(--pad); }

.hero-glow {
  position: absolute; z-index: 1; inset: auto 0 0 0; height: 42vh;
  background: radial-gradient(120% 80% at 50% 110%, rgba(26, 99, 168, .10), transparent 64%);
  pointer-events: none;
}
.hero-veil {
  position: absolute; z-index: 2; inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .55) 26%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(0deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .30) 10%, rgba(255, 255, 255, 0) 26%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(16px, 3.4vh, 40px) var(--pad) 0;
}
/* 中文字面几乎撑满 em 框，h1 行高 1.05 时字顶会贴住上一行说明文字 */
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 {
  max-width: 15ch;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.05;
  letter-spacing: -.032em;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}
.hero-sub {
  margin-top: clamp(18px, 2.4vh, 28px);
  max-width: 48ch;
  font-size: clamp(14px, 1.22vw, 17px);
  line-height: 1.75;
  color: #56636f;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3vh, 30px); }

.hero-meta {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(22px, 4vh, 42px);
  border-top: 1px solid #e3e8ef;
  border-bottom: 1px solid #e3e8ef;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.hero-meta > div {
  padding: 22px;
  border-left: 1px solid #e9edf3;
}
.hero-meta > div:first-child { border-left: 0; }
.hero-meta strong {
  display: block;
  font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 38px); font-weight: 600;
  line-height: 1; letter-spacing: -.025em; color: var(--ink);
}
.hero-meta strong { white-space: nowrap; }
.hero-meta strong i { font-style: normal; font-size: .5em; color: var(--cyan); margin-left: 1px; vertical-align: .28em; }
.hero-meta span {
  display: block; margin-top: 8px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #7c8794;
}

.hero-scroll {
  position: absolute; z-index: 4; right: var(--pad); bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: #9aa4b1;
}
.hero-scroll i {
  display: block; width: 1px; height: 22px; background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}

/* 矮屏（笔记本 1366×768 / 1440×900 缩放）压缩首屏竖向节奏，保证数据条完整可见 */
@media (min-width: 981px) and (max-height: 840px) {
  .hero { padding-top: 78px; padding-bottom: 46px; }
  .hero-inner { padding-top: 8px; }
  .hero h1 { font-size: clamp(32px, 4.3vw, 62px); }
  .hero-sub { margin-top: 14px; font-size: 15px; line-height: 1.65; }
  .hero-actions { margin-top: 20px; }
  .hero-meta { margin-top: 24px; }
  .hero-meta > div { padding: 16px 22px; }
  .hero-meta strong { font-size: clamp(22px, 2.2vw, 32px); }
}

/* ------------------------------------------- 06 货运区块 · 滚动驱动 */
.freight-track {
  position: relative;
  background: #fff;
  /* 高度由 JS 写入 */
  /* 注意：这里绝对不能加 overflow / overflow-x —— 任何非 visible 值都会让后代
     .f-scene 的 position: sticky 失效（sticky 会以该元素为滚动容器，不再跟着视口走），
     表现为滚到中段整屏变白。横带溢出由 .f-scene 自身的 overflow: hidden 收住。 */
}
.f-scene {
  position: sticky; top: 0;
  height: 100vh; height: 100lvh;
  overflow: hidden;
  direction: ltr;     /* 货运横带是物理的"从右推入"，不受 RTL 影响 */
  background: #fff;
  --edge-px: 66%;
  --clip-top: 0px;
}
/* 地面线以下补黑：视频没覆盖到的地方 */
.f-scene::before {
  content: '';
  position: absolute; left: 0; right: 0; top: var(--edge-px); bottom: 0;
  background: #0b2a4a;
  z-index: 0;
}

.f-video {
  position: absolute;
  z-index: 1;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  will-change: auto;
}

/* 巨型字母：只在白色区域显示 → 天然被卡车 / 集装箱遮住 */
.f-giant {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: calc(100% - var(--edge-px));
  padding: 0;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 250px;
  font-size: calc(var(--u) * 250);
  line-height: .8;
  letter-spacing: -.005em;
  color: #e9e9e9;
  white-space: nowrap;
  mix-blend-mode: darken;
  will-change: transform;
  user-select: none;
  pointer-events: none;
}

/* 车速读数 */
.f-readout {
  position: absolute;
  z-index: 4;
  left: 26px; top: 52px;
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; font-size: calc(var(--u) * 10.5);
  letter-spacing: .1em; text-transform: uppercase; color: #111;
  opacity: .28;
  transition: opacity .5s var(--ease);
}
.f-scene.is-settled .f-readout { opacity: .82; }
.f-readout span { color: rgba(17, 17, 17, .45); }

/* 深色带 */
.f-band {
  position: absolute; z-index: 3;
  left: 0; right: 0; top: var(--edge-px); bottom: 0;
  overflow: hidden;
  background: #0b2a4a;
}
.f-strip {
  position: absolute;
  left: 0; top: 76px; top: calc(var(--u) * 76);
  display: flex; align-items: flex-start;
  gap: 120px; gap: calc(var(--u) * 120);
  width: max-content;
  padding-right: 10vw;
  will-change: transform;
  transform: translate3d(100vw, 0, 0);
}

.f-lead {
  display: flex; align-items: flex-start;
  gap: 64px; gap: calc(var(--u) * 64);
  flex: none;
}
.f-lead h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 64px; font-size: calc(var(--u) * 64);
  line-height: .98; letter-spacing: .002em;
  color: #fff; margin: 0;
}
.f-lead h3 .l, .f-lead h3 .accent { display: block; }
.f-lead h3 .accent { color: #8fc0e6; }
.f-lead-copy {
  width: 250px; width: calc(var(--u) * 250);
  display: grid; gap: 14px; gap: calc(var(--u) * 14);
  padding-top: 6px;
}
.f-lead-copy p {
  font-family: var(--font-ui);
  font-size: 12px; font-size: calc(var(--u) * 12);
  line-height: 1.62;
  color: rgba(255, 255, 255, .62);
}

/* 卡片 */
.f-cards-row {
  display: flex; align-items: flex-start;
  gap: 0;
  flex: none;
}
.f-card {
  flex: 0 0 auto;
  width: 300px; width: calc(var(--u) * 300);
  padding: 0 30px 0 30px; padding: 0 calc(var(--u) * 30);
  border-left: 1px solid rgba(255, 255, 255, .12);
  display: grid; align-content: start; gap: 16px; gap: calc(var(--u) * 16);
}
.f-card:first-of-type { border-left: 0; }
.f-card .ico { width: 38px; height: 38px; width: calc(var(--u) * 38); height: calc(var(--u) * 38); }
.f-card .ico path, .f-card .ico circle, .f-card .ico rect, .f-card .ico line, .f-card .ico polyline {
  stroke: #fff; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.f-card h4 {
  margin: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: 25px; font-size: calc(var(--u) * 25);
  line-height: 1.0;
  letter-spacing: .005em;
  color: #fff;
}
.f-card h4 span { display: block; }
.f-card h4 em {
  display: block; margin-top: 5px; font-style: normal;
  font-size: .76em; letter-spacing: .02em;
  color: rgba(255, 255, 255, .9);
}
.f-card p {
  font-family: var(--font-ui);
  font-size: 12.4px; font-size: calc(var(--u) * 12.4);
  line-height: 1.6;
  color: #fff;
}

/* 蓝 → 白 扫入：
   白色正文 + 绝对定位的青色副本，副本用 mask 做硬边渐变，
   由 JS 推 --sweep（0→100%），扫过后副本变透明、露出白字。 */
.sweep { position: relative; display: block; }
.sweep::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: var(--cyan);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--sweep, 100%) - 12%), transparent var(--sweep, 100%));
          mask-image: linear-gradient(90deg, #000 calc(var(--sweep, 100%) - 12%), transparent var(--sweep, 100%));
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
/* 扫完（--sweep ≥ 125%）后副本彻底关闭，避免渐变量化的残余色块 */
.f-card .sweep.done::after { display: none; }

/* 底部胶囊 */
.f-pill {
  position: absolute; z-index: 4;
  left: 50%; bottom: 36px; bottom: calc(var(--u) * 36);
  transform: translate(-50%, 24px); opacity: 0;
  display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  font-family: var(--font-ui); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(17, 17, 17, .3);
  backdrop-filter: blur(4px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), background .3s, color .3s;
  pointer-events: none;
  white-space: nowrap;
}
.f-pill::after {
  content: '→'; font-size: 13px; letter-spacing: 0;
}
.f-scene.is-settled .f-pill { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.f-pill:hover { background: #fff; color: #111; border-color: #fff; }

/* 白色区里的辅助标尺 */
.f-ruler {
  position: absolute; z-index: 2; left: 26px; left: calc(var(--u) * 26); bottom: 30px;
  display: grid; gap: 6px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(17, 17, 17, .38);
}
.f-ruler b { color: #111; font-weight: 700; }

/* ------------------------------------------- 07 航线网络 */
.routes {
  position: relative;
  background: var(--navy-900);
  padding-top: clamp(60px, 9vh, 110px);
  padding-bottom: clamp(60px, 9vh, 110px);
  overflow: hidden;
}
.routes::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 18% 0%, rgba(26, 99, 168, .06), transparent 60%),
    radial-gradient(60% 70% at 92% 100%, rgba(26, 99, 168, .04), transparent 62%);
  pointer-events: none;
}
.routes .wrap { position: relative; z-index: 1; }
.routes-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(28px, 5vw, 80px); align-items: end;
  padding-bottom: clamp(30px, 5vh, 54px);
  border-bottom: 1px solid rgba(10, 26, 42, .09);
}
.routes-top h2 {
  font-size: clamp(32px, 4.6vw, 66px); line-height: 1.0; letter-spacing: -.025em;
  margin-top: 18px;
}
.routes-top .lede { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 46ch; }
.routes-top .lede b { color: var(--ink); font-weight: 600; }

.map-shell {
  position: relative;
  margin-top: clamp(26px, 4vh, 44px);
  border: 1px solid rgba(10, 26, 42, .07);
  background: #ffffff;
  overflow: hidden;
}
#routeMap { width: 100%; height: auto; display: block; }
.map-node circle.core { fill: var(--cyan); stroke: #ffffff; stroke-width: 1.4; }
.map-node circle.halo { fill: rgba(26, 99, 168, .10); }
.map-node text {
  fill: rgba(10, 26, 42, .62);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  /* 白色描边当光晕，标签压在陆地或海岸线上都不糊 */
  paint-order: stroke;
  stroke: #ffffff; stroke-width: 2.4px; stroke-linejoin: round;
}
.map-node.is-hub text { font-size: 12px; fill: var(--ink); font-weight: 600; }
.map-node.is-hub circle.core { stroke-width: 1.8; }
.map-arc {
  fill: none; stroke: rgba(26, 99, 168, .42); stroke-width: 1;
  stroke-dasharray: 2 5;
}
.map-arc.is-live { stroke: var(--cyan); stroke-width: 1.4; }

.route-legend {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(10, 26, 42, .09);
}
.route-legend > div { padding: 22px clamp(14px, 2vw, 26px); border-left: 1px solid rgba(10, 26, 42, .07); }
.route-legend > div:first-child { border-left: 0; padding-left: 0; }
.route-legend strong {
  display: block; font-family: var(--font-head); font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px); line-height: 1; letter-spacing: -.02em;
  white-space: nowrap;
}
.route-legend strong i { font-style: normal; color: var(--cyan); font-size: .46em; margin-left: 1px; vertical-align: .28em; }
.route-legend span {
  display: block; margin-top: 7px; font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(10, 26, 42, .42);
}

/* 港口数据条 */
.ports {
  position: relative; background: var(--navy-800);
  border-top: 1px solid rgba(10, 26, 42, .07);
  padding: clamp(48px, 7vh, 88px) 0;
}
.ports-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin-bottom: 30px;
}
.ports-head h3 { font-size: clamp(22px, 2.5vw, 34px); font-weight: 500; letter-spacing: -.02em; }
.ports-head p { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.port-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(10, 26, 42, .08);
}
.port {
  padding: clamp(18px, 2.2vw, 28px);
  border-left: 1px solid rgba(10, 26, 42, .08);
  display: grid; gap: 18px; align-content: space-between;
  transition: background .4s var(--ease);
}
.port:first-child { border-left: 0; }
.port:hover { background: rgba(63, 198, 242, .05); }
.port .code {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--cyan);
}
.port h4 { font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; margin-top: 4px; }
.port dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0; }
.port dt { color: rgba(10, 26, 42, .46); font-size: 12px; }
.port dd { margin: 0; font-family: var(--font-mono); font-size: 12px; color: var(--ink); text-align: right; }
.port .bar { height: 2px; background: rgba(10, 26, 42, .1); overflow: hidden; }
.port .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--gold)); width: 0; transition: width 1.4s var(--ease); }
.port.is-in .bar i { width: var(--w, 60%); }

/* ------------------------------------------- 08 铁路区块 · 全屏定场 */
.rail-hero {
  position: relative;
  height: 100vh; height: 100svh;
  overflow-x: clip;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
  /* 定场舞台等比缩放（1280×800 基准）：宽度取 93%，高度由图稿区反推
     —— transform 里不能出现视口单位，所以缩放值由下面几档断点直接给出 */
  --s: .93;
  --th: calc(800px * var(--s));
  --rb: 48.4px;
  --rg: 59.5px;
}
/* 矮视口：以高度为准收一档，保证标题不被导航压住 */
@media (min-width: 1200px) and (max-height: 820px) {
  .rail-hero { --s: .8; --rb: 41.6px; --rg: 51.2px; --th: 640px; }
}
@media (min-width: 768px) and (max-width: 1199px) and (max-height: 820px) {
  .rail-hero { --s: .66; --rb: 34.3px; --rg: 42.2px; --th: 528px; }
}
/* 竖屏平板：再收一档，保证两侧文字不出界 */
@media (min-width: 768px) and (max-aspect-ratio: 1/1) {
  .rail-hero { --s: .62; --rb: 32.2px; --rg: 39.7px; --th: 496px; }
}
@media (min-width: 768px) and (max-height: 700px) {
  .rail-hero { --s: .68; --rb: 35.4px; --rg: 43.5px; --th: 544px; }
}
/* 超宽屏不再放大，避免两侧特征块被拉得过散 */
@media (min-width: 1700px) {
  .rail-hero { --s: 1.06; --rb: 55.1px; --rg: 67.8px; --th: 848px; }
}
@media (min-width: 2400px) {
  .rail-hero { --s: 1.22; --rb: 63.4px; --rg: 78px; --th: 976px; }
}
.rail-frame { position: absolute; inset: 0; overflow: hidden; background: #0a0b0c; }
.rail-frame video.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  background: #0a0b0c;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.rail-frame video.bg.is-ready { opacity: 1; }
/* 视频未就绪时的静态海面替代帧 */
.rail-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(63, 198, 242, .18), transparent 60%),
    linear-gradient(180deg, #04090f 0%, #071523 52%, #0a1a2b 100%);
  opacity: 1; transition: opacity 1s;
}
.rail-frame video.bg.is-ready ~ .rail-fallback { opacity: 0; }

.rail-tint {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(3, 7, 15, .62) 0%,
    rgba(3, 7, 15, .46) 11%,
    rgba(3, 7, 15, .34) 20%,
    rgba(3, 7, 15, .30) 29%,
    rgba(3, 7, 15, .14) 37.5%,
    rgba(3, 7, 15, .16) 46%,
    rgba(3, 7, 15, .28) 55%,
    rgba(3, 7, 15, .38) 64%,
    rgba(3, 7, 15, .44) 73%,
    rgba(3, 7, 15, .54) 81%,
    rgba(3, 7, 15, .62) 90%,
    rgba(3, 7, 15, .70) 100%);
}

/* 舞台高度只到数据条上沿，避免特征块压住底部数字 */
.rail-stage {
  position: absolute; left: 50%; top: 66px;
  margin-left: calc(var(--s) * -640px);
  width: 1280px; height: 800px;
  margin-top: max(var(--rg), calc((100vh - var(--rb) - var(--th)) / 2));
  transform: scale(var(--s)); transform-origin: 0 0;
  color: #fff;
  font-family: var(--font-ui);
}

/* 眉标 */
.r-eyebrow {
  position: absolute; left: 0; top: 22px; width: 1280px; margin: 0;
  font: 700 10px/10px var(--font-ui);
  letter-spacing: .28em; text-indent: .28em; text-align: center; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
.r-eyebrow b { color: var(--cyan); font-weight: 700; }

/* 标题 */
.r-head { position: absolute; inset: 0; margin: 0; font-weight: 600; }
/* 标题语义用 h2，视觉仍由 .r-head span 控制 */
.r-title { position: absolute; inset: 0; margin: 0; font: inherit; letter-spacing: inherit; }
.r-head span {
  position: absolute; left: 0; display: block; width: 1280px; white-space: nowrap;
  text-align: center; text-transform: uppercase;
  font-family: var(--font-head); font-weight: 600;
  font-size: 72px; line-height: 1;
  letter-spacing: -.018em;
  color: #fff;
  text-shadow: 0 15px 36px rgba(0, 0, 0, .50);
}
.r-hl1 { top: 52px; }
.r-hl2 { top: 124px; }
.r-hl3 { top: 196px; }
.r-hl4 { top: 268px; }
.r-hl4 em { font-style: normal; color: var(--cyan); }
.r-head .lede {
  position: absolute; left: 50%; top: 420px; transform: translateX(-50%);
  width: 620px; text-align: center; white-space: normal;
  font-family: var(--font-ui); font-weight: 400; font-size: 15px; line-height: 1.7;
  letter-spacing: 0; text-transform: none;
  color: rgba(255, 255, 255, .70); text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.r-head .r-cta {
  position: absolute; left: 50%; top: 490px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 14px; height: 44px; padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .34);
  font-family: var(--font-ui); font-weight: 500; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(3, 7, 15, .18); backdrop-filter: blur(3px);
  transition: background .3s, color .3s, border-color .3s;
}
.r-head .r-cta:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

/* 中央装饰标 */
.r-mark { position: absolute; left: 50%; top: 548px; transform: translateX(-50%); width: 42px; height: 42px; overflow: visible; }

/* 左右镜像特征块 · 中线 640px 对称 */
.r-feat { position: absolute; top: 618px; width: 380px; }
.r-feat.f-left { right: 690px; text-align: right; }
.r-feat.f-right { left: 690px; text-align: left; }
.r-feat.f-left p { margin-left: auto; }
.r-feat .icon { display: block; width: 34px; height: 36px; margin-bottom: 10px; }
.r-feat.f-left .icon { margin-left: auto; margin-right: -4px; }
.r-feat.f-right .icon { margin-left: -3px; }
.r-feat h2 {
  font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.1;
  letter-spacing: -.005em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.r-feat p {
  margin-top: 8px;
  max-width: 290px;
  font-size: 13px; line-height: 1.6; font-weight: 400;
  color: rgba(255, 255, 255, .76);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.r-feat .kpi {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
}
.r-feat.f-left .kpi { flex-direction: row-reverse; }

/* 底部铁路数据条 */
.rail-band {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(3, 7, 15, .35), rgba(3, 7, 15, .82));
  backdrop-filter: blur(6px);
}
/* 数据条内部按 --s 同步缩放，字号与舞台一致 */
.rail-band .wrap {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1246px, calc(100% - 48px));
  margin: 0 auto;
}
.rail-band .cell {
  padding: 8px 20px; border-left: 1px solid rgba(255, 255, 255, .08);
}
.rail-band .cell:first-child { border-left: 0; padding-left: 0; }
.rail-band strong {
  display: block; font-family: var(--font-head); font-weight: 500; font-size: 19px; line-height: 1;
  letter-spacing: -.01em; white-space: nowrap;
}
.rail-band span {
  display: block; margin-top: 5px; font-family: var(--font-mono); font-size: 8.5px;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .46);
}

/* ------------------------------------------- 09 服务总览 */
.services { background: var(--paper); color: var(--ink); }
.services .section-head h2 { color: var(--ink); }
.services .lede { color: var(--muted-dark); }
.svc-grid {
  margin-top: clamp(32px, 5vh, 56px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.svc {
  position: relative;
  padding: clamp(22px, 2.4vw, 34px);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  display: grid; gap: 14px; align-content: start;
  background: #fff;
  transition: background .45s var(--ease), transform .45s var(--ease);
}
.svc:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(7, 17, 32, .35); }
.svc .num {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--cyan-dim);
}
.svc .ico { width: 34px; height: 34px; }
.svc .ico path, .svc .ico circle, .svc .ico rect, .svc .ico line, .svc .ico polyline {
  stroke: var(--navy-700); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.svc h3 { font-size: clamp(19px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.015em; }
.svc p { font-size: 13.5px; line-height: 1.7; color: var(--muted-dark); }
.svc ul { display: grid; gap: 6px; margin-top: 2px; }
.svc li {
  position: relative; padding-left: 14px; font-size: 12px; color: rgba(7, 17, 32, .62);
}
.svc li::before {
  content: ''; position: absolute; left: 0; top: .62em; width: 4px; height: 4px;
  border-radius: 50%; background: var(--gold);
}
.svc .go {
  position: absolute; right: clamp(18px, 2vw, 28px); top: clamp(18px, 2vw, 28px);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(7, 17, 32, .32);
  transition: color .3s, transform .3s;
}
.svc:hover .go { color: var(--cyan-dim); transform: translateX(3px); }

/* ------------------------------------------- 10 集团与技术 */
.group { background: var(--navy-900); overflow: hidden; }
.group-shell {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.group-copy h2 {
  margin-top: 18px;
  font-size: clamp(30px, 3.9vw, 54px); line-height: 1.04; letter-spacing: -.025em;
}
.group-copy h2 em { font-style: normal; color: var(--cyan); }
.group-copy p { margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 52ch; }
.group-copy p + p { margin-top: 14px; }
.group-copy .facts {
  margin-top: 28px; display: grid; gap: 0;
  border-top: 1px solid rgba(10, 26, 42, .1);
}
.group-copy .facts > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(10, 26, 42, .08);
  font-size: 13px;
}
.group-copy .facts b {
  font-family: var(--font-mono); font-weight: 400; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(10, 26, 42, .4);
  padding-top: 3px;
}
.group-copy .facts span { color: rgba(10, 26, 42, .78); }

.cap-list { display: grid; gap: 0; border-top: 1px solid rgba(10, 26, 42, .1); }
.cap {
  position: relative;
  display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid rgba(10, 26, 42, .08);
  transition: padding-left .5s var(--ease);
}
.cap:hover { padding-left: 10px; }
.cap .idx {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  color: rgba(10, 26, 42, .32); padding-top: 5px;
}
.cap h3 { font-size: clamp(18px, 1.75vw, 24px); font-weight: 600; letter-spacing: -.015em; }
.cap p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 46ch; }
.cap .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cap .tags span {
  padding: 3px 9px; border: 1px solid rgba(10, 26, 42, .14);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(10, 26, 42, .6);
}
.cap .arw {
  width: 26px; height: 26px; border: 1px solid rgba(10, 26, 42, .16); border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; color: rgba(10, 26, 42, .6);
  transition: background .3s, color .3s, border-color .3s;
}
.cap:hover .arw { background: var(--cyan); border-color: var(--cyan); color: var(--navy-900); }

/* ------------------------------------------- 11 数据与合作 */
.figures {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-top: 1px solid rgba(10, 26, 42, .07);
}
.fig-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(10, 26, 42, .1);
}
.fig {
  padding: clamp(24px, 3vw, 38px) clamp(16px, 2vw, 28px);
  border-left: 1px solid rgba(10, 26, 42, .08);
  display: grid; gap: 8px;
}
.fig:first-child { border-left: 0; padding-left: 0; }
.fig strong {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 62px); line-height: .92; letter-spacing: -.03em;
  color: var(--ink);
}
.fig strong { white-space: nowrap; }
.fig strong i { font-style: normal; color: var(--gold); font-size: .48em; margin-left: 1px; }
.fig span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(10, 26, 42, .44);
}
.fig small { font-size: 12.5px; line-height: 1.6; color: rgba(10, 26, 42, .55); }

.about-strip {
  margin-top: clamp(36px, 6vh, 64px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
  padding-top: clamp(30px, 5vh, 52px);
  border-top: 1px solid rgba(10, 26, 42, .09);
}
.about-strip h2 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.022em; }
.about-strip p { margin-top: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.about-strip .addr {
  margin-top: 22px; padding: 18px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(10, 26, 42, .03);
  font-size: 13px; line-height: 1.8; color: rgba(10, 26, 42, .72);
}
.about-strip .addr b { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-family: var(--font-mono); }

/* ------------------------------------------- 12 询价表单 */
.contact { background: var(--paper); color: var(--ink); }
.contact-shell {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.contact-copy h2 {
  margin-top: 18px; color: var(--ink);
  font-size: clamp(30px, 4vw, 54px); line-height: 1.02; letter-spacing: -.025em;
}
.contact-copy p { margin-top: 18px; color: var(--muted-dark); font-size: 15px; line-height: 1.8; max-width: 44ch; }
.contact-list { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.contact-list a, .contact-list div {
  display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 14px; color: var(--ink);
  transition: color .3s, padding-left .4s var(--ease);
}
.contact-list a:hover { color: var(--cyan-dim); padding-left: 6px; }
.contact-list b {
  font-family: var(--font-mono); font-weight: 400; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(7, 17, 32, .42);
}

.form {
  padding: clamp(22px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 80px -60px rgba(7, 17, 32, .45);
  display: grid; gap: 16px;
}
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(7, 17, 32, .5);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(7, 17, 32, .14); background: #fff; color: var(--ink);
  font-size: 14px; transition: border-color .3s, box-shadow .3s;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan-dim);
  box-shadow: 0 0 0 3px rgba(63, 198, 242, .16);
}
.form .btn { min-height: 52px; --bg: var(--navy-700); color: #fff; }
.form .btn:hover { background: transparent; color: var(--navy-700); }
.form .note { font-size: 11.5px; color: rgba(7, 17, 32, .44); line-height: 1.6; }
/* 蜜罐字段：用 clip 隐藏而非负向 left，避免 RTL 下 left 被镜像成 right 撐破页面宽度 */
.form .hp {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}.form-msg { font-size: 13px; line-height: 1.6; display: none; }
.form-msg.is-ok { display: block; color: #12805c; }
.form-msg.is-err { display: block; color: #b3261e; }

/* ------------------------------------------- 13 页脚 */
.foot {
  background: var(--navy-900);
  border-top: 1px solid rgba(10, 26, 42, .08);
  padding: clamp(48px, 7vh, 80px) 0 0;
}
.foot-top {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr));
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: clamp(34px, 5vh, 56px);
}
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; line-height: 1.8; max-width: 40ch; }
.foot-brand .mail {
  display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 12px;
  color: var(--cyan); border-bottom: 1px solid rgba(63, 198, 242, .4); padding-bottom: 2px;
}
.foot-col h4 {
  font-family: var(--font-mono); font-weight: 400; font-size: 9.5px;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(10, 26, 42, .38);
  margin-bottom: 16px;
}
.foot-col a, .foot-col li {
  display: block; padding: 6px 0; font-size: 13px; color: rgba(10, 26, 42, .72);
  transition: color .3s, transform .3s;
}
.foot-col a:hover { color: var(--cyan); transform: translateX(3px); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid rgba(10, 26, 42, .08);
  font-size: 11.5px; color: rgba(10, 26, 42, .38);
}
.foot-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--ink); }

/* ------------------------------------------- 14 动效 */
@keyframes scrollPulse {
  0%   { transform: scaleY(.3); opacity: .2; transform-origin: top; }
  45%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(.3); opacity: .2; transform-origin: bottom; }
}

/* 入场：只在滚动进入时播一次，不循环 */
[data-in] { will-change: transform, opacity; }
/* 只有拿到 JS 才隐藏待入场元素：脚本挂了或被拦截时内容照常显示，
   不会被 opacity:0 藏成空白页（对抓取与可访问性都更安全） */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-in] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0s);
  }
  html.js [data-in].is-in { opacity: 1; transform: none; }
}

/* 铁路区块一次性入场（1.8s 序列，结束即静止） */
@media (prefers-reduced-motion: no-preference) {
  .rail-hero .r-eyebrow { animation: rRise .55s cubic-bezier(.33, .9, .35, 1) .15s both; }
  .rail-hero .r-head span { animation: rLine .9s cubic-bezier(.16, 1, .3, 1) both; }
  .rail-hero .r-hl1 { animation-delay: .28s; }
  .rail-hero .r-hl2 { animation-delay: .37s; }
  .rail-hero .r-hl3 { animation-delay: .46s; }
  .rail-hero .r-hl4 { animation-delay: .55s; }
  .rail-hero .r-head .lede { animation: rRise .7s var(--ease) .72s both; }
  .rail-hero .r-head .r-cta { animation: rRise .7s var(--ease) .82s both; }
  .rail-hero .r-mark { animation: rMark .7s cubic-bezier(.2, .9, .25, 1) .9s both; }
  .rail-hero .f-left { animation: rInL .75s cubic-bezier(.16, 1, .3, 1) 1s both; }
  .rail-hero .f-right { animation: rInR .75s cubic-bezier(.16, 1, .3, 1) 1.08s both; }

  @keyframes rRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes rLine {
    0%   { opacity: 0; transform: translateY(.26em); clip-path: inset(100% -30% 0% -30%); }
    35%  { opacity: 1; }
    90%  { clip-path: inset(0% -30% -100% -30%); }
    100% { opacity: 1; transform: none; clip-path: inset(-80% -30% -100% -30%); }
  }
  @keyframes rMark { from { opacity: 0; transform: translateX(-50%) scale(.88); } to { opacity: 1; transform: translateX(-50%); } }
  @keyframes rInL { from { opacity: 0; transform: translate(-12px, 8px); } to { opacity: 1; transform: none; } }
  @keyframes rInR { from { opacity: 0; transform: translate(12px, 8px); } to { opacity: 1; transform: none; } }
}

/* ------------------------------------------- 响应式 */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-shell { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .8fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .routes-top { grid-template-columns: 1fr; align-items: start; }
  .route-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig:nth-child(3) { border-left: 0; padding-left: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid rgba(10, 26, 42, .08); }
  .about-strip { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .port:nth-child(3) { border-left: 0; }
  .port:nth-child(n+3) { border-top: 1px solid rgba(10, 26, 42, .08); }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-meta > div:nth-child(3) { border-left: 0; }
  .hero-meta > div:nth-child(n+3) { border-top: 1px solid rgba(10, 26, 42, .08); }
}

/* --- 铁路区块：竖屏平板（规格保留，仅做安全区适配） --- */
@media (min-width: 768px) and (max-aspect-ratio: 1/1) {
  .rail-hero { --s: .62; }
  .rail-band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-band .cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .rail-band .cell:nth-child(n+3) { border-top: 1px solid rgba(10, 26, 42, .08); }
}

/* --- 手机 --- */
@media (max-width: 767px) {
  :root { --u: min(100vw / 430, 3.2px); --pad: 22px; }
  html { scroll-padding-top: 60px; }
  .nav { height: 66px; }
  .nav.is-solid { height: 60px; }
  /* 手机：品牌英文副行会把语言/菜单挤出屏幕，直接收起英文副行并允许品牌收缩 */
  .brand { min-width: 0; gap: 8px; }
  .brand .word { font-size: 16px; overflow: hidden; text-overflow: ellipsis; }
  .brand .word small { display: none; }
  .nav-right { gap: 8px; flex: none; }
  .brand svg { width: 26px; height: 26px; }
  .nav .cta { display: none; }
  .lang select { height: 32px; font-size: 10px; padding: 0 24px 0 10px; }

  .hero { padding-top: 88px; padding-bottom: 34px; }
  .hero h1 { font-size: clamp(38px, 12.2vw, 62px); }
  .hero-photo { width: 92vw; bottom: 26vh; opacity: .2; }
  .hero-meta { margin-top: 26px; }
  .hero-meta > div { padding: 16px; }
  .hero-meta strong { font-size: 26px; }
  .hero-scroll { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }

  /* 货运区块：手机重排 */
  .f-readout { left: 20px; top: 22px; font-size: 11px; }
  .f-giant { font-size: 180px; font-size: calc(var(--u) * 180); }
  .f-strip {
    top: 44px; top: calc(var(--u) * 44);
    gap: 56px; gap: calc(var(--u) * 56);
    padding-left: 22px; padding-right: 40px;
    flex-direction: column;
    align-items: stretch;
  }
  .f-lead { flex-direction: column; gap: 16px; width: calc(100vw - 44px); }
  .f-lead h3 { font-size: 46px; font-size: calc(var(--u) * 46); }
  .f-lead-copy { width: 300px; max-width: 82vw; gap: 10px; }
  .f-lead-copy p { font-size: 13px; }
  .f-card {
    width: 250px; width: calc(var(--u) * 250);
    padding: 0 22px 0 0; border-left: 0;
    grid-template-columns: 1fr;
  }
  .f-card h4 { font-size: 26px; font-size: calc(var(--u) * 26); }
  .f-card p { font-size: 13px; }
  .f-cards-row {
    display: flex; gap: 22px; width: max-content;
    padding-bottom: 90px;
  }
  .f-pill { bottom: 18px; height: 40px; font-size: 10px; letter-spacing: .12em; padding: 0 18px; }
  .f-ruler { display: none; }

  /* 铁路：phone —— 改为纵向流式，不再整段压缩进一屏 */
  .rail-hero {
    height: auto; min-height: 100svh;
    padding-top: 74px; padding-bottom: 112px;
  }
  .rail-stage {
    position: relative; left: 0; top: 0;
    width: 100%; height: auto; margin: 0; transform: none;
    display: block;
    padding: 18px 22px 120px;
  }
  .r-eyebrow {
    position: static; width: 100%; text-align: left;
    font-size: 9.5px; letter-spacing: .28em; text-indent: 0; margin-bottom: 14px;
    color: rgba(10,26,42,.9);
  }
  .r-head { position: static; }
  .r-title { position: static; }
  .r-head span {
    position: static; width: 100%; text-align: left;
    font-size: clamp(30px, 9.4vw, 46px); line-height: 1.02; letter-spacing: -.015em;
  }
  .r-head { font-size: 0; }
  .r-head span + span { margin-top: 2px; }
  .r-head .lede {
    position: static; transform: none; width: 100%; text-align: left;
    margin-top: 18px; font-size: 13.5px; line-height: 1.72;
    color: rgba(10,26,42,.82);
  }
  .r-head .r-cta { position: static; transform: none; margin-top: 20px; height: 44px; }
  .r-mark { display: none; }
  .r-feat {
    position: static; width: 100%; margin-top: 30px;
    display: block;
    border-top: 1px solid rgba(10,26,42,.14); padding-top: 18px;
  }
  .r-feat.f-left { text-align: left; }
  .r-feat .icon { display: block; width: 30px; height: 32px; margin: 0 0 12px; }
  .r-feat.f-left .icon, .r-feat.f-right .icon { margin: 0 0 12px; }
  .r-feat h2 { font-size: 17px; }
  .r-feat p { font-size: 12.5px; max-width: none; line-height: 1.68; }
  .r-feat .kpi { margin-top: 8px; }
  .r-feat.f-left .kpi { flex-direction: row; }

  .rail-band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 36px); }
  .rail-band .cell { padding: 12px 14px; }
  .rail-band .cell:first-child { padding-left: 14px; }
  .rail-band .cell:nth-child(3) { border-left: 0; }
  .rail-band .cell:nth-child(n+3) { border-top: 1px solid rgba(10, 26, 42, .08); }
  .rail-band strong { font-size: 17px; }
  .rail-band span { font-size: 8px; }

  .svc-grid { grid-template-columns: 1fr; }
  .route-legend { grid-template-columns: 1fr; }
  .route-legend > div { border-left: 0; border-top: 1px solid rgba(10, 26, 42, .07); padding-left: 0; }
  .route-legend > div:first-child { border-top: 0; }
  .port-grid { grid-template-columns: 1fr; }
  .port { border-left: 0; border-top: 1px solid rgba(10, 26, 42, .08); }
  .port:first-child { border-top: 0; }
  .fig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .cap { grid-template-columns: 34px 1fr; }
  .cap .arw { display: none; }
}

/* ------------------------------------------- 手机端货运：纵向叙事（is-compact）
   宽屏是一条横带被推进屏幕；手机改成从上到下读的三段：
   ① 白场（78vh）视频 + 巨型字母  ② 黑带（标题 + 服务卡竖排）  ③ 交给下一区块 */
.is-compact .freight-track { background: #fff; height: auto; }

.is-compact .f-scene {
  position: static;
  height: auto;
  overflow: visible;
  background: #fff;
}
.is-compact .f-scene::before { display: none; }

/* ① 白场：视频占 78vh，地面线落在下沿 */
.is-compact .f-stage {
  position: relative;
  height: 78vh; height: 78svh;
  overflow: hidden;
  background: #fff;
  --edge-px: 62%;
  isolation: isolate;
}
.is-compact .f-stage::after {
  content: '';
  position: absolute; left: 0; right: 0; top: var(--edge-px); bottom: 0;
  background: #0b2a4a;
  z-index: 0;
}
.is-compact .f-giant { z-index: 1; font-size: 148px; bottom: calc(100% - var(--edge-px) + 4px); color: #e9e9e9; }
.is-compact .f-readout { top: 84px; left: 22px; z-index: 3; }
.is-compact .f-readout [data-kmh] { font-size: 32px; }
.is-compact .f-ruler { display: none; }

/* ② 黑带 */
.is-compact .f-band {
  position: relative;
  top: auto; bottom: auto; left: auto; right: auto;
  height: auto;
  overflow: visible;
  background: #0b2a4a;
}
.is-compact .f-strip {
  position: static;
  display: block;
  width: 100%;
  padding: 38px 22px 40px;
  transform: none !important;
  will-change: auto;
}
.is-compact .f-lead {
  display: block;
  width: 100%;
  padding: 0;
  opacity: calc(.45 + var(--in, 0) * .55);
  transform: translateY(calc((1 - var(--in, 0)) * 14px));
}
.is-compact .f-lead h3 {
  font-family: var(--font-display);
  font-size: 38px; line-height: .98; letter-spacing: -.002em;
  font-weight: 400; text-transform: uppercase;
  color: var(--ink);
}
.is-compact .f-lead h3 .l { display: block; }
.is-compact .f-lead h3 .accent { display: block; color: var(--cyan); }
.is-compact .f-lead-copy {
  margin-top: 22px; width: auto;
  display: grid; gap: 12px; padding-top: 0;
}
.is-compact .f-lead-copy p {
  font-size: 13.5px; line-height: 1.72; color: rgba(10,26,42,.62);
}

.is-compact .f-cards-row {
  display: block;
  width: 100%;
  flex: 0 1 auto;
  margin-top: 34px;
  border-top: 1px solid rgba(10,26,42,.12);
}
.is-compact .f-card {
  display: block;
  width: auto;
  flex: 0 1 auto;
  box-sizing: border-box;
  padding: 24px 0 24px var(--sk, 0px);
  border-left: 0;
  border-bottom: 1px solid rgba(10,26,42,.09);
  opacity: calc(.42 + var(--in, 0) * .58);
  transform: translateY(calc((1 - var(--in, 0)) * 18px));
}
.is-compact .f-card .ico { width: 30px; height: 30px; margin: 0; }
.is-compact .f-card .ico path, .is-compact .f-card .ico circle,
.is-compact .f-card .ico rect, .is-compact .f-card .ico line {
  stroke-width: 1.9;
}
.is-compact .f-card h4 {
  margin: 12px 0 0;
  font-size: 29px; line-height: 1; letter-spacing: .004em;
}
.is-compact .f-card h4 em {
  display: block; margin-top: 7px;
  font-family: var(--cjk); font-style: normal;
  font-size: 12px; letter-spacing: .16em;
  color: rgba(10,26,42,.52);
}
.is-compact .f-card p {
  margin: 12px 0 0;
  font-size: 13px; line-height: 1.7;
  color: rgba(10,26,42,.86);
}
.is-compact .f-card .sweep::after { display: none; }
.is-compact .f-card .sweep { color: rgba(10,26,42,.92); }

/* 胶囊：黑带内居左的常规按钮，压在白底之上 */
.is-compact .f-pill {
  position: relative;
  left: auto; bottom: auto;
  transform: none; opacity: 1; pointer-events: auto;
  display: inline-flex;
  margin: 0 22px 34px;
  background: #0b2a4a; color: #ffffff;
  border-color: rgba(255, 255, 255, .28);
}
.is-compact .f-pill::before { content: ''; }

/* 极窄屏 */
@media (max-width: 380px) {
  .f-lead h3 { font-size: 40px; }
  .rail-band strong { font-size: 15px; }
}

/* =============================================================================
   15 多语言排版 / RTL
   ---------------------------------------------------------------------------
   Anton / Oswald / Archivo 只有拉丁字形，中日韩泰阿等语言必须回落到系统字体，
   否则会出现方块。这里按 <html lang> / [data-lang] 精确切换字族与字重节奏。
   ========================================================================== */

/* ---- 通用回退栈：覆盖掉 --cjk 里默认的中文优先 ----
   注意：这里的栈尾部必须写死字体名，不能写 var(--cjk)，
   否则 --cjk: var(--font-jp) 会和 --font-jp: ... var(--cjk) 形成循环引用，
   浏览器判定为无效值后整个变量被置空，标题会掉回 Times New Roman。 */
:root {
  --font-jp: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'YuGothic',
             'Meiryo', 'Noto Sans JP', 'Noto Sans CJK JP', 'Microsoft YaHei',
             'PingFang SC', 'Noto Sans SC', sans-serif;
  --font-kr: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Noto Sans CJK KR',
             'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', sans-serif;
  --font-th: 'Thonburi', 'Leelawadee UI', 'Sukhumvit Set', 'Noto Sans Thai',
             'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', sans-serif;
  --font-ar: 'Geeza Pro', 'Segoe UI Historic', 'Noto Naskh Arabic', 'Noto Sans Arabic',
             'Dubai', 'Tahoma', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --font-in: 'Archivo', system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

/* 日语：字面较宽，标题收紧字距、行高抬高一点 */
html[lang="ja"] {
  --cjk: var(--font-jp);
  --font-ui: 'Archivo', var(--font-jp);
  --font-head: 'Archivo', 'Helvetica Neue', Arial, var(--cjk);
  --font-display: 'Archivo', 'Helvetica Neue', Arial, var(--cjk);
}
html[lang="ja"] h1, html[lang="ja"] .r-head span, html[lang="ja"] .section-head h2 {
  letter-spacing: -.02em; line-height: 1.14;
}
html[lang="ja"] .hero h1 { line-height: 1.1; }

/* 韩语 */
html[lang="ko"] {
  --cjk: var(--font-kr);
  --font-ui: 'Archivo', var(--font-kr);
  --font-head: 'Archivo', 'Helvetica Neue', Arial, var(--cjk);
  --font-display: 'Archivo', 'Helvetica Neue', Arial, var(--cjk);
}
html[lang="ko"] h1, html[lang="ko"] .r-head span, html[lang="ko"] .section-head h2 {
  letter-spacing: -.022em; line-height: 1.14;
}

/* 泰语：无空格分词，必须给足行高，否则上下标叠在一起 */
html[lang="th"] {
  --cjk: var(--font-th);
  --font-ui: 'Archivo', var(--font-th);
  --font-head: 'Archivo', 'Helvetica Neue', Arial, var(--cjk);
  --font-display: 'Archivo', 'Helvetica Neue', Arial, var(--cjk);
}
html[lang="th"] h1, html[lang="th"] .r-head span, html[lang="th"] .section-head h2 {
  line-height: 1.32; letter-spacing: 0;
}
html[lang="th"] p, html[lang="th"] li, html[lang="th"] .lede { line-height: 1.85; }
html[lang="th"] .f-card h4, html[lang="th"] .svc h3, html[lang="th"] .cap h3 { line-height: 1.35; }

/* 阿拉伯语：连写 + 从右往左 */
html[dir="rtl"] {
  --cjk: var(--font-ar);
  --font-ui: 'Archivo', var(--font-ar);
  --font-head: 'Archivo', 'Helvetica Neue', Arial, var(--cjk);
  --font-display: 'Archivo', 'Helvetica Neue', Arial, var(--cjk);
}
/* Chrome 里 RTL 的负向右溢出会计入 html.scrollWidth，根节点必须 hidden 才真正封住 */
html[dir="rtl"] { overflow-x: hidden; }
/* 注意：body 上不能写 overflow —— body 一旦成为滚动容器，.f-scene 的 sticky 会以 body 为参照，
   body 自己跟着页面滚，sticky 就永远不触发（货运区整段变白）。封边只放在 html 上。 */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] h1, html[dir="rtl"] .r-head span, html[dir="rtl"] .section-head h2 {
  line-height: 1.42; letter-spacing: 0;
}
html[dir="rtl"] p, html[dir="rtl"] li, html[dir="rtl"] .lede { line-height: 1.9; }
html[dir="rtl"] .f-lead-copy, html[dir="rtl"] .hero-sub { line-height: 1.95; }
/* 图标方向：箭头镜像 */
html[dir="rtl"] .btn svg, html[dir="rtl"] .go, html[dir="rtl"] .arw { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(5px); }
/* 导航与页脚基线对齐 */
html[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
html[dir="rtl"] .port dd { text-align: left; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; transform-origin: top left; }
html[dir="rtl"] .foot-bottom, html[dir="rtl"] .legal { direction: rtl; }
/* 铁路镜像版式在 RTL 下不再左右翻转（列车中轴是物理的左/右） */
html[dir="rtl"] .r-feat.f-left, html[dir="rtl"] .r-feat.f-right { direction: rtl; }

/* 拉丁语系长词（德语尤甚）防止撑破卡片 */
html[lang="de"] .f-card h4, html[lang="de"] .svc h3, html[lang="de"] .cap h3 {
  hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
html[lang="de"] .btn, html[lang="de"] .nav-links a { letter-spacing: 0; }

/* 俄语 / 西语 / 葡语 / 意语 / 法语 / 越南语：拉丁字形但更宽，微调字距 */
html[lang="ru"] h1, html[lang="ru"] .r-head span,
html[lang="vi"] h1, html[lang="vi"] .r-head span { letter-spacing: -.025em; }
html[lang="fr"] .nav-links a, html[lang="es"] .nav-links a,
html[lang="pt"] .nav-links a, html[lang="it"] .nav-links a { letter-spacing: 0; }

/* 标题字宽：13ch 是按拉丁数字宽的估算，阿拉伯/泰/日/韩字形更窄，需放宽上限，
   否则同一句会被拆成 5~6 行，把首屏撑到 1200px 以上导致正文全掉出视口 */
html[lang="ja"] .hero h1, html[lang="ko"] .hero h1 { max-width: 15ch; }
html[lang="th"] .hero h1, html[lang="ar"] .hero h1 { max-width: 16ch; }
html[lang="de"] .hero h1, html[lang="ru"] .hero h1 { max-width: 15ch; }
html[lang="ar"] .hero h1 { letter-spacing: 0; }

/* 首屏内容必须落在视口内：拉丁长译文降字号并放宽字宽。
   宁可 2~3 行宽标题，也不要 6 行窄标题把按钮与数据条顶出首屏。 */
html[lang="ar"] .hero h1, html[lang="th"] .hero h1 {
  font-size: clamp(30px, 4.2vw, 58px); line-height: 1.18; max-width: 20ch; letter-spacing: 0;
}
html[lang="de"] .hero h1, html[lang="ru"] .hero h1,
html[lang="es"] .hero h1, html[lang="pt"] .hero h1,
html[lang="fr"] .hero h1, html[lang="it"] .hero h1,
html[lang="vi"] .hero h1, html[lang="ja"] .hero h1, html[lang="ko"] .hero h1 {
  font-size: clamp(28px, 3.5vw, 54px); line-height: 1.14; max-width: 24ch; letter-spacing: -.02em;
}
html[lang="ja"] .hero-sub { line-height: 1.8; }

/* 铁路巨型标题在非英文语种下略微降字号，避免溢出 1280 舞台 */
html:not([lang="zh-CN"]):not([lang="en"]) .r-head span { font-size: 66px; }
html[lang="de"] .r-head span, html[lang="ru"] .r-head span { font-size: 60px; }
html[dir="rtl"] .r-head span { font-size: 56px; }

/* 货运巨字 OUR SERVICES 是图形元素，任何语言下都保持英文原样 */
.f-giant { text-transform: uppercase; }

/* 语言切换时的轻微淡入，避免整页硬闪 */
html.is-switching body { animation: i18nFade .32s var(--ease); }
@keyframes i18nFade { from { opacity: .55; } to { opacity: 1; } }

/* ==========================================================================
   16 承运商导航中心
   ========================================================================== */
.carriers {
  position: relative;
  padding: clamp(72px, 9vw, 132px) 0 clamp(64px, 7vw, 104px);
  background: var(--navy-900);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
/* 极淡的纵向栅格，给深色区一点结构感，不抢内容 */
.carriers::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(10,26,42,.035) 1px, transparent 1px);
  background-size: 120px 100%;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.carriers .wrap { position: relative; z-index: 1; }

.car-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.car-head h2 {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.car-head .lede {
  margin: 0;
  font-size: clamp(13.5px, 1.05vw, 15px);
  line-height: 1.85;
  color: var(--muted);
  max-width: 52ch;
}

/* ---------------------------------------------------------------- 工具条 */
.car-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 20px;
}
.car-search,
.car-ctn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #dfe5ec;
  border-radius: 3px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.car-search:focus-within,
.car-ctn:focus-within {
  border-color: rgba(63, 198, 242, .55);
  background: rgba(63, 198, 242, .05);
}
.car-search svg { width: 16px; height: 16px; flex: none; color: rgba(10,26,42,.42); }
.car-search input,
.car-ctn input {
  flex: 1; min-width: 0;
  height: 100%;
  background: none; border: 0; outline: none;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: .01em;
}
.car-search input::placeholder,
.car-ctn input::placeholder { color: #98a2af; }
.car-search input::-webkit-search-cancel-button { display: none; }
.car-clear {
  flex: none; width: 22px; height: 22px; line-height: 1;
  background: rgba(10,26,42,.1); border: 0; border-radius: 50%;
  color: rgba(10,26,42,.7); font-size: 15px; cursor: pointer;
}
.car-clear:hover { background: rgba(10,26,42,.2); }

.car-ctn { padding-inline-end: 6px; }
.car-ctn input { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.car-ctn .btn { min-height: 42px; padding: 0 18px; font-size: 12.5px; }

/* ---------------------------------------------------------------- 分组筛选 */
.car-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}
.car-chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(10,26,42,.66);
  font-family: var(--font-ui);
  font-size: 12.5px;
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.car-chip em {
  font-family: var(--font-mono);
  font-style: normal; font-size: 10px;
  color: rgba(10,26,42,.34);
}
.car-chip:hover { color: var(--ink); border-color: rgba(10,26,42,.3); }
.car-chip.is-on {
  background: var(--cyan); border-color: var(--cyan); color: var(--navy-900);
}
.car-chip.is-on em { color: rgba(3,7,15,.55); }

.car-count {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(10,26,42,.34);
}
.car-count b { color: var(--cyan); font-weight: 600; }

/* ---------------------------------------------------------------- 卡片网格 */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.car {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  background: var(--navy-900);
  transition: background .28s var(--ease), transform .28s var(--ease);
}
.car:hover { background: #071524; }
.car-mono {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.25;
  color: var(--cyan);
  text-align: start;
  overflow-wrap: anywhere;
}
.car-body { min-width: 0; display: grid; gap: 2px; }
.car-body b {
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.car-body em {
  font-style: normal;
  font-size: 10.5px; line-height: 1.4;
  color: rgba(10,26,42,.44);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.car-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.car-tags i {
  font-style: normal;
  font-size: 9px; line-height: 1;
  padding: 3px 6px;
  border: 1px solid rgba(10,26,42,.13);
  border-radius: 2px;
  color: rgba(10,26,42,.46);
  white-space: nowrap;
}
.car-arw {
  width: 16px; height: 16px;
  color: rgba(10,26,42,.26);
  transition: color .28s, transform .28s var(--ease);
}
.car:hover .car-arw { color: var(--cyan); transform: translateX(3px); }

.car-empty {
  margin: 28px 0 0;
  font-size: 13.5px; color: var(--muted);
}
.car-note {
  margin: 20px 0 0;
  font-size: 11.5px; line-height: 1.7;
  color: rgba(10,26,42,.3);
  max-width: 74ch;
}

/* 箱号提示 */
.car-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 999;
  transform: translate(-50%, 16px);
  max-width: min(92vw, 460px);
  padding: 12px 20px;
  background: var(--cyan); color: var(--navy-900);
  font-size: 13px; font-weight: 600;
  border-radius: 3px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.car-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.car-toast.is-err { background: #f2b8b5; }

@media (max-width: 900px) {
  .car-head { grid-template-columns: 1fr; align-items: start; }
  .car-tools { grid-template-columns: 1fr; }
  .car-ctn { height: 54px; }
  .car-grid { grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); }
}
@media (max-width: 560px) {
  .car-grid { grid-template-columns: 1fr; }
  .car { grid-template-columns: 46px minmax(0,1fr) 16px; padding: 13px 13px; }
  .car-ctn .btn { padding: 0 12px; }
}

/* RTL：卡片箭头镜像 */
html[dir="rtl"] .car-arw { transform: scaleX(-1); }
html[dir="rtl"] .car:hover .car-arw { transform: scaleX(-1) translateX(3px); }

/* ==========================================================================
   17 船舶跟踪与定位
   ========================================================================== */
.tracking {
  position: relative;
  padding: clamp(72px, 9vw, 132px) 0 clamp(64px, 7vw, 104px);
  background:
    radial-gradient(1200px 600px at 78% 12%, rgba(63,198,242,.07), transparent 62%),
    var(--navy-800);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.tracking .wrap { position: relative; z-index: 1; }

.trk-head-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(26px, 3vw, 44px);
}
.trk-head-wrap h2 {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.trk-lede {
  margin: 0;
  font-size: clamp(13.5px, 1.05vw, 15px);
  line-height: 1.85;
  color: var(--muted);
  max-width: 54ch;
}

.trk-wrap {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 26px);
  align-items: start;
}

/* ---------------------------------------------------------------- 左侧面板 */
.trk-panel {
  background: rgba(10, 26, 42, .028);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(18px, 2vw, 24px);
}
.trk-label {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.trk-input-row { display: flex; gap: 9px; }
#trkInput {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .01em;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #dfe5ec;
  border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
}
#trkInput::placeholder { color: rgba(10, 26, 42, .3); letter-spacing: 0; }
#trkInput:focus {
  outline: none;
  border-color: rgba(26, 99, 168, .55);
  box-shadow: 0 0 0 3px rgba(26, 99, 168, .10);
}
#trkGo {
  height: 48px;
  padding: 0 20px;
  white-space: nowrap;
  font-size: 13.5px;
  border-radius: 6px;
}

.trk-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
}
.trk-quick button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--cyan);
  background: transparent;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  padding: 5px 11px;
  background: #ffffff;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.trk-quick button:hover { background: #f2f7fc; border-color: var(--cyan); }

/* ---------------------------------------------------------------- 查询结果 */
.trk-result { display: none; margin-top: 18px; }
.trk-result.is-on { display: block; animation: trkIn .28s ease both; }
@keyframes trkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.trk-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.trk-badge {
  font-size: 10.5px;
  letter-spacing: .1em;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(63, 198, 242, .12);
  border: 1px solid rgba(63, 198, 242, .3);
}
.trk-q {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: .02em;
  word-break: break-all;
}

.trk-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trk-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
.trk-link b { font-size: 12.5px; font-weight: 600; color: var(--white); }
.trk-link i {
  font-style: normal;
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--muted);
}
.trk-link:hover {
  border-color: rgba(63, 198, 242, .65);
  background: rgba(63, 198, 242, .07);
  transform: translateY(-1px);
}

.trk-carrier {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  margin-bottom: 9px;
  border-radius: 9px;
  text-decoration: none;
  border: 1px solid rgba(227, 184, 92, .38);
  background: rgba(227, 184, 92, .09);
  transition: background .2s, border-color .2s;
}
.trk-carrier span { font-size: 13px; font-weight: 600; color: var(--gold); }
.trk-carrier em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: rgba(227, 184, 92, .72);
}
.trk-carrier:hover { background: rgba(227, 184, 92, .16); border-color: var(--gold); }

.trk-note,
.trk-tip {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
  margin: 13px 0 0;
}
.trk-tip { margin-top: 14px; opacity: .78; }

/* ---------------------------------------------------------------- 地图 */
.trk-map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy-900);
  aspect-ratio: 1000 / 492;
  min-height: 260px;
}
.wm-host { position: absolute; inset: 0; }
.wm-svg { width: 100%; height: 100%; display: block; }

.wm-port { cursor: pointer; }
.wm-port .wm-halo { opacity: .55; transition: opacity .2s; }
.wm-port:hover .wm-halo,
.wm-port.is-on .wm-halo { opacity: 1; }
.wm-port:hover circle:last-of-type { fill: var(--gold); }

.wm-pin { animation: wmPin 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes wmPin {
  0%   { opacity: .85; transform: scale(.7); }
  70%  { opacity: 0;   transform: scale(1.5); }
  100% { opacity: 0;   transform: scale(1.5); }
}

.wm-legend {
  position: absolute;
  left: 14px;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, .88);
  border: 1px solid #e3e8ef;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.wm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.wm-legend b { font-weight: 500; }
.wm-legend .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(63, 198, 242, .62);
}
.wm-legend .dot.hub { background: var(--cyan); box-shadow: 0 0 0 3px rgba(26, 99, 168, .14); }
.wm-legend .line {
  width: 17px; height: 0;
  border-top: 1px dashed rgba(26, 99, 168, .55);
}

.wm-note {
  position: absolute;
  right: 14px;
  top: 13px;
  max-width: 300px;
  margin: 0;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 10.5px;
  line-height: 1.6;
  text-align: right;
  color: var(--muted);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1100px) {
  .trk-wrap { grid-template-columns: minmax(0, 1fr); }
  .trk-map { aspect-ratio: 1000 / 470; }
}
@media (max-width: 900px) {
  .trk-head-wrap { grid-template-columns: minmax(0, 1fr); }
  .trk-map { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .trk-input-row { flex-direction: column; }
  #trkGo { width: 100%; }
  .trk-links { grid-template-columns: 1fr; }
  .wm-legend { gap: 11px; font-size: 9.5px; padding: 6px 10px; }
  .wm-note { display: none; }
}

/* RTL */
[dir="rtl"] .wm-note { right: auto; left: 14px; text-align: left; }
[dir="rtl"] .wm-legend { left: auto; right: 14px; }
[dir="rtl"] .trk-q,
[dir="rtl"] #trkInput { direction: ltr; unicode-bidi: plaintext; }

/* ==========================================================================
   18  SEO 区块：起运口岸 / 常见问题 / 页脚锚文本
   对应模板 template-parts/section-origin.php、section-faq.php
   ========================================================================== */

/* ---------------------------------------------------------------- 起运口岸 */
.origin {
  position: relative;
  padding: clamp(72px, 9vw, 132px) 0 clamp(64px, 7vw, 104px);
  background:
    radial-gradient(1100px 520px at 18% 0%, rgba(63, 198, 242, .06), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.origin .section-head h2 { color: var(--white); }
.origin .lede { color: var(--muted); }

.org-grid {
  margin-top: clamp(32px, 5vh, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.org {
  background: #ffffff;
  padding: clamp(22px, 2.2vw, 32px);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: background .5s var(--ease);
}
.org:hover { background: #f7fafd; }
.org-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.org-badge {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(26, 99, 168, .28);
  padding: 3px 8px; white-space: nowrap;
}
.org-code {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  color: rgba(10, 26, 42, .32);
}
.org h3 {
  font-size: clamp(18px, 1.7vw, 23px); font-weight: 600;
  letter-spacing: -.015em; color: var(--white); line-height: 1.35;
}
.org-en {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cyan-dim);
}
.org-intro { font-size: 13.5px; line-height: 1.78; color: var(--muted); }
.org-lanes { display: grid; border-top: 1px solid var(--line); }
.org-lanes li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: rgba(10, 26, 42, .72);
}
.org-lanes b {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  color: var(--cyan); white-space: nowrap;
}
.org-terms { display: flex; flex-wrap: wrap; gap: 6px; }
.org-terms i {
  font-style: normal; font-size: 10px; letter-spacing: .1em;
  color: rgba(10, 26, 42, .58); border: 1px solid var(--line); padding: 3px 7px;
}

.org-creds {
  margin-top: clamp(24px, 3vw, 36px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.org-creds li { background: #f7f9fb; padding: 18px 20px; display: grid; gap: 5px; }
.org-creds b {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}
.org-creds span { font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.org-note { margin-top: 18px; font-size: 11.5px; color: rgba(10, 26, 42, .34); }

/* ---------------------------------------------------------------- 常见问题 */
.faq {
  padding: clamp(72px, 9vw, 132px) 0 clamp(64px, 7vw, 104px);
  background: #ffffff;
  color: var(--ink);
  border-top: 1px solid var(--line-dark);
}
.faq-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.faq-head h2 {
  color: var(--ink); margin-top: 14px;
  font-size: clamp(26px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.02em;
}
.faq-head .lede { color: var(--muted-dark); }

.faq-list { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-q { margin: 0; }
.faq-q button {
  width: 100%; display: flex; align-items: baseline; gap: 16px;
  padding: 22px 0; background: none; border: 0; cursor: pointer;
  text-align: left; font-family: inherit; letter-spacing: -.01em;
  font-size: clamp(15.5px, 1.35vw, 19px); font-weight: 600; color: var(--ink);
  transition: color .3s var(--ease);
}
.faq-q button:hover { color: var(--cyan-dim); }
.faq-q .n {
  flex: none; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .1em; color: var(--cyan-dim);
}
.faq-q .t { flex: 1; }
.faq-q .pm { flex: none; width: 13px; height: 13px; position: relative; align-self: center; }
.faq-q .pm::before,
.faq-q .pm::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px;
  background: currentColor; transform: translateY(-50%);
}
.faq-q .pm::after { transform: translateY(-50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq-item.is-open .pm::after { transform: translateY(-50%) rotate(0deg); }

.faq-a { overflow: hidden; }
html.js .faq-a { max-height: 0; transition: max-height .42s var(--ease); }
.faq-item.is-open .faq-a { max-height: 480px; }
.faq-a p {
  padding: 0 0 26px 30px; max-width: 960px;
  font-size: 13.8px; line-height: 1.9; color: var(--muted-dark);
}

.sec-en { margin-top: 14px; font-size: 12px; }
.sec-en a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; opacity: .72; }
.sec-en a:hover { opacity: 1; }
.origin .sec-en a { color: var(--cyan); }
.faq .sec-en a { color: var(--cyan-dim); }

/* ---------------------------------------------------------- 页脚关键词条 */
.foot-seo {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  padding: 18px 0; margin-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.foot-seo a { color: rgba(10, 26, 42, .52); text-decoration: none; transition: color .3s var(--ease); }
.foot-seo a:hover { color: var(--cyan); }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1024px) {
  .org-grid { grid-template-columns: 1fr; }
  .org-creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 560px) {
  .org-creds { grid-template-columns: 1fr; }
  .faq-a p { padding-left: 0; }
  .faq-q button { gap: 11px; }
}

/* RTL */
[dir="rtl"] .faq-q button { text-align: right; }
[dir="rtl"] .faq-a p { padding: 0 30px 26px 0; }

/* ==========================================================================
   19  英文落地页 page-en.php
   ========================================================================== */
.lp-hero {
  position: relative;
  padding: clamp(120px, 15vh, 190px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 460px at 82% 8%, rgba(63, 198, 242, .10), transparent 62%),
    linear-gradient(180deg, #02060c 0%, #04101e 46%, #071a2e 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.lp-hero h1 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--white);
}
.lp-lede {
  margin-top: 20px;
  max-width: 720px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.8;
  color: var(--muted);
}
.lp-lede.dark { color: var(--muted-dark); }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.lp-wa { font-size: 13px; color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(63, 198, 242, .4); padding-bottom: 2px; }
.lp-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; margin-top: clamp(34px, 5vw, 56px);
  background: var(--line); border: 1px solid var(--line);
}
.lp-facts li { background: rgba(10, 26, 42, .02); padding: 18px 20px; display: grid; gap: 4px; }
.lp-facts b { font-family: var(--font-display); font-size: 22px; letter-spacing: .02em; color: var(--cyan); }
.lp-facts span { font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }

.lp-sec { padding: clamp(64px, 8vw, 112px) 0; background: #ffffff; color: var(--ink); }
.lp-sec h2 {
  margin: 14px 0 0;
  font-size: clamp(23px, 2.6vw, 40px);
  line-height: 1.16; letter-spacing: -.02em; font-weight: 600; color: var(--ink);
}
.lp-sec--dark {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.lp-sec--dark h2 { color: var(--white); }
.lp-sec--paper { background: var(--paper); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }

.lp-grid {
  margin-top: clamp(26px, 3.6vw, 44px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark);
}
.lp-card { background: #fff; padding: clamp(20px, 2vw, 30px); display: grid; gap: 9px; align-content: start; }
.lp-card h3 { font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; letter-spacing: -.01em; }
.lp-card p { font-size: 13px; line-height: 1.75; color: var(--muted-dark); }

.lp-grid--3 { background: var(--line); border-color: var(--line); }
.lp-origin { background: rgba(10, 26, 42, .022); padding: clamp(20px, 2vw, 30px); display: grid; gap: 10px; align-content: start; }
.lp-origin h3 { font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; color: var(--white); }
.lp-origin p { font-size: 13px; line-height: 1.75; color: var(--muted); }
.lp-code { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--gold); }
.lp-origin ul { display: grid; border-top: 1px solid var(--line); }
.lp-origin li {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  font-size: 12px; color: rgba(10, 26, 42, .7);
}
.lp-origin b { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--cyan); white-space: nowrap; }
.lp-note { margin-top: 18px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.lp-sec:not(.lp-sec--dark) .lp-note { color: var(--muted-dark); }

.lp-table { margin-top: clamp(24px, 3vw, 38px); overflow-x: auto; border: 1px solid var(--line-dark); }
.lp-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.lp-table th, .lp-table td {
  padding: 14px 18px; text-align: left; font-size: 13px; line-height: 1.65;
  border-bottom: 1px solid var(--line-dark); color: var(--muted-dark);
}
.lp-table th {
  background: var(--paper); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); font-weight: 600;
}
.lp-table td:first-child { color: var(--ink); font-weight: 500; width: 26%; }

.lp-steps { margin-top: clamp(24px, 3vw, 38px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.lp-steps li { background: #fff; padding: 22px; display: grid; gap: 7px; align-content: start; }
.lp-steps b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--cyan-dim); }
.lp-steps h3 { font-size: 14px; font-weight: 600; }
.lp-steps p { font-size: 12.5px; line-height: 1.7; color: var(--muted-dark); }

.lp-faq { margin-top: clamp(24px, 3vw, 38px); border-top: 1px solid var(--line-dark); }

@media (max-width: 1024px) {
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-steps { grid-template-columns: minmax(0, 1fr); }
}
