/* 欣期日营销站 · 全站唯一样式表（中英两页共用）· 深色基调 */
/* 🔴 字号档位＝全站唯一真源（用户要求全局字号稳定统一，2026-09-24）：各处只引用变量，不写字面值、不随视口缩放。
   只有 h1/h2 大标题、装饰数字、地图标签随屏幕缩放。中文每档比英文大一号（中文最小字号提升一档的旧要求） */
:root { --fs-meta: 13px; --fs-small: 14px; --fs-body: 16px; --fs-h3: 18px; --fs-lead: 20px; }
html[lang="zh-CN"] { --fs-meta: 14px; --fs-small: 15px; --fs-body: 17px; --fs-h3: 18px; --fs-lead: 21px; }
:root {
  /* 2026-09-25 深海军蓝（用户方案）：从“接近黑色”调成清晰的深海军蓝；开屏保持原深度（--hero-rgb） */
  --bg: #08101f;                            /* 主底色；导航、页脚也用它，作全站最深的锚点 */
  --bg-rgb: 8 16 31;
  --bg-2: #0d1930;                          /* 交替屏、信息密集屏（服务总览、六步流程、术语、常见问题等） */
  --bg-2-rgb: 13 25 48;
  --hero-rgb: 6 11 24;                      /* 开屏视频与各页首屏的压暗色，保持原深度 */
  --img-op: .25;                            /* 各屏背景图可见度（原 .22） */
  --panel: rgba(255,255,255,.065);          /* 普通轻面板 */
  --panel-strong: rgba(255,255,255,.085);   /* 项目卡、客户卡、服务/品类总览卡、需求表：边界靠明度差，不靠加金边 */
  --line: rgba(255,255,255,.14);            /* 普通分隔线、卡片描边 */
  --line-strong: rgba(255,255,255,.17);     /* 输入框、重点描边 */
  --ink: #f1f4fa;
  --ink-soft: #bcc6d8;                      /* 正文、卡片说明、表格内容 */
  --ink-muted: #8792a5;                     /* 占位字、页脚、辅助标签、“适合” */
  --gold: #d9aa52;
  --gold-rgb: 217 170 82;                   /* 金色半透明一律 rgb(var(--gold-rgb) / a) 或下面三个语义变量，别写字面值 */
  --gold-soft: #e9c77f;
  --gold-line: rgba(217,170,82,.46);        /* 金色描边 */
  --gold-fill: rgba(217,170,82,.07);        /* 金色浅底 */
  --gold-glow: rgba(217,170,82,.16);        /* 金色光晕 */
  --on-gold: #080b12;                       /* 金底上的字 */
  --field-bg: rgba(2,6,15,.42);             /* 输入框底 */
  --blue: #6688c7;
  --radius: 18px;
  --wrap: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: only dark; /* 🔴 only：禁止浏览器、App 内置浏览器的“强制网页深色／夜览”改色（用户要求配色固定，不随系统变）；与 <head> 的 meta 同值 */
}

/* 英文站字体：Nunito Sans 变量子集（借自 nomadwiki public/fonts，24KB，wght 200–1000，只含拉丁字符、无中文字形）。
   只在英文页启用；夹在英文页里的中文（如“中文”切换按钮）缺字自动回退系统字体。
   🔴 变量字体默认实例是 200（ExtraLight），body 必须显式给 font-weight: 400，否则没写字重的地方会过细。 */
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunitosans-subset.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
/* 编号数字字体：Montserrat ExtraLight 子集（A-Z/a-z/0-9，6KB），取自 24qb（public/fonts/montserrat.woff2，同用于其区块序号 01/02…）。
   只用在流程步骤、项目阶段的大号编号（实心细字，替代原先的描边空心字），中英页都加载 */
@font-face { font-family: "XQ Ordinal"; src: url("fonts/montserrat-extralight-subset.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
html[lang="en"] { --font: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
/* 一滚一屏：对齐 WestDiary 桌面端，纯 CSS scroll-snap；≤900px 退回普通滚动（见文末） */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-snap-type: y mandatory; }
body { font-family: var(--font); font-weight: 400; color: var(--ink); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* 顶栏：首屏上透明，滚动后变实 */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgb(var(--bg-rgb) / .82); backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
/* 字标：中文页用“欣期日”、英文页用双线 XINQIRI；两者视觉重量不同，高度分开调 */
.brand { display: flex; align-items: center; }
.brand img { width: auto; }
.brand-zh img { height: 28px; }
.brand-en img { height: 21px; }
.nav-links { display: flex; gap: clamp(16px, 2vw, 30px); font-size: var(--fs-small); color: var(--ink-soft); white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.on { color: var(--gold); } /* 当前页 */
/* “成为买家”：进买家端注册，用细边胶囊（形状）与栏目区分，不用颜色——金色只表示当前页（用户定）；高度与语言切换器胶囊同为 32px（用户定），导航整行竖向居中 */
.nav-links { align-items: center; }
.nav-links a.nav-buyer { display: inline-flex; align-items: center; box-sizing: border-box; height: 32px; margin-left: clamp(4px, .6vw, 10px); padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); transition: color .2s, border-color .2s; }
.nav-links a.nav-buyer:hover { border-color: var(--gold); color: var(--gold); }
/* 语言切换：“圆形国旗 ZH”“圆形国旗 EN”两项＋滑动胶囊（2026-09-27 对齐 WestDiary），当前语言高亮、另一个可点 */
:root { --lang-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
/* 🔴 语言切换器在中英两页位置、大小完全一致（2026-09-26 用户要求）：内容都是拉丁字母“ZH / EN”，不跟页面语言换字体、字号
   （中文页 --fs-meta 大一档、字体是中文栈，原先框宽高差 4/2px、切语言会跳）；两项定宽（--lang-w）、字重统一 500（只给选中项加粗会让中英两页差几像素） */
.lang { --fs-meta: 13px; --lang-w: 64px; position: relative; display: inline-flex; align-items: center; gap: 2px; font-family: var(--lang-font); font-size: var(--fs-meta); font-weight: 500; line-height: 1; letter-spacing: .06em; white-space: nowrap; }
/* 滑动胶囊（对齐 WestDiary）：只有一个，默认停在当前语言（位置由 data-active 给，纯 CSS）；悬停另一项时滑过去预览、移开滑回；点击即跳转 */
.lang-pill { position: absolute; z-index: 0; left: 0; top: 0; width: var(--lang-w); height: 100%; border: 1px solid var(--line-strong); border-radius: 999px; pointer-events: none; transition: transform .28s cubic-bezier(.4, 0, .2, 1); }
.lang[data-active="en"] .lang-pill, .lang-seg[data-lang="en"]:hover ~ .lang-pill { transform: translateX(calc(var(--lang-w) + 2px)); }
.lang-seg[data-lang="zh"]:hover ~ .lang-pill { transform: none; }
.lang-seg { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: var(--lang-w); padding: 7px 0; color: var(--ink-muted); transition: color .25s; }
.lang-seg.on { color: var(--ink); }
a.lang-seg:hover { color: var(--gold); }
/* 圆形国旗；未选中半透明（不去色，去色后认不出） */
.lang-flag { width: 18px; height: 18px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.15); opacity: .45; transition: opacity .25s; }
.lang-seg.on .lang-flag, a.lang-seg:hover .lang-flag { opacity: 1; }
@media (max-width: 1100px) { .nav-links { display: none; } }

/* 首屏：整屏集装箱轮视频 + 细粗对比大标题 */
.hero { padding: 0; position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.82); }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 45%, rgb(var(--hero-rgb) / 0) 0%, rgb(var(--hero-rgb) / .45) 75%),
              linear-gradient(90deg, rgb(var(--hero-rgb) / .7) 0%, rgb(var(--hero-rgb) / .25) 55%, rgb(var(--hero-rgb) / 0) 100%),
              linear-gradient(0deg, var(--bg) 0%, rgb(var(--hero-rgb) / 0) 28%); }
/* 标题区占满底栏以外的空间并在其中垂直居中；底栏在正常流里排在它下面 —— 窗口再矮两者也不会重叠 */
.hero > .wrap { position: relative; z-index: 1; width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 96px; padding-bottom: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-meta); letter-spacing: .28em; text-transform: uppercase; color: rgba(238,242,250,.85); font-weight: 400; margin-bottom: 30px; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(30px, min(5.4vw, 8.2vh), 76px); line-height: 1.06; letter-spacing: -.02em; text-shadow: 0 2px 30px rgb(var(--bg-rgb) / .35); }
.hero h1 .thin { display: block; font-weight: 300; color: rgba(238,242,250,.92); }
.hero h1 .bold { display: block; font-weight: 800; }
.hero h1 .bold i { font-style: normal; color: var(--gold); }
.hero p { font-size: var(--fs-body); color: rgba(238,242,250,.78); max-width: 620px; margin-top: 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px; font-weight: 500; font-size: var(--fs-small); transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: var(--ink); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; }
.arrow { transition: transform .2s; }
:is(.btn, .svc-card, .stage):hover .arrow { transform: translateX(3px); } /* 按钮、可点卡片悬停时箭头右移 */
@media (max-width: 767px) {
  .hero-video { object-position: 68% center; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgb(var(--hero-rgb) / .55) 40%, rgb(var(--hero-rgb) / .35) 100%); }
  .eyebrow { letter-spacing: .16em; gap: 8px; } .eyebrow::before { width: 22px; }
}

/* 首屏底栏：滚动提示 + 视频暂停 */
.hero-bar { position: relative; z-index: 1; padding-bottom: clamp(18px, 3.4vh, 34px); }
.hero-bar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 0; padding-bottom: 0; }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-size: var(--fs-meta); letter-spacing: .22em; text-transform: uppercase; color: rgba(238,242,250,.6); }
.scroll-cue span { position: relative; width: 1px; height: 44px; background: rgba(255,255,255,.2); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 100%; } }
.video-toggle { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgb(var(--bg-rgb) / .3); color: var(--ink); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: border-color .2s; }
.video-toggle:hover { border-color: #fff; }
.video-toggle svg { width: 14px; height: 14px; }
/* 播放进度环：叠在按钮边框上，从 12 点顺时针走满一圈＝播完一轮 */
.video-toggle svg.ring { position: absolute; inset: -1px; width: 44px; height: 44px; transform: rotate(-90deg); pointer-events: none; }
.video-toggle .ring circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: butt; } /* butt：进度为 0 时不留圆点 */
.video-toggle .i-play { display: none; }
.video-toggle.paused .i-play { display: block; }
.video-toggle.paused .i-pause { display: none; }

/* 通用版块 */
/* 每个 section 就是一屏：高 = 视口，顶部让出 72px 固定导航，内容垂直居中；scroll-snap-stop 保证一次只翻一屏 */
section { position: relative; height: 100vh; height: 100svh; padding: 72px 0 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
section > .wrap { width: 100%; }
.alt { background: var(--bg-2); }
/* 深浅两种底色交替的屏，交界处原是一道硬色差线：浅色屏的底色在上下 160px 内用与背景图羽化同一条缓动曲线过渡回 --bg，交界两侧同色、接缝消失，屏中间仍是 --bg-2 */
section.alt { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 0%, var(--bg)) calc(160px * 0.000), color-mix(in srgb, var(--bg-2) 3%, var(--bg)) calc(160px * 0.125), color-mix(in srgb, var(--bg-2) 10%, var(--bg)) calc(160px * 0.250), color-mix(in srgb, var(--bg-2) 22%, var(--bg)) calc(160px * 0.375), color-mix(in srgb, var(--bg-2) 38%, var(--bg)) calc(160px * 0.500), color-mix(in srgb, var(--bg-2) 56%, var(--bg)) calc(160px * 0.625), color-mix(in srgb, var(--bg-2) 74%, var(--bg)) calc(160px * 0.750), color-mix(in srgb, var(--bg-2) 90%, var(--bg)) calc(160px * 0.875), color-mix(in srgb, var(--bg-2) 100%, var(--bg)) calc(160px * 1.000), color-mix(in srgb, var(--bg-2) 100%, var(--bg)) calc(100% - 160px * 1.000), color-mix(in srgb, var(--bg-2) 90%, var(--bg)) calc(100% - 160px * 0.875), color-mix(in srgb, var(--bg-2) 74%, var(--bg)) calc(100% - 160px * 0.750), color-mix(in srgb, var(--bg-2) 56%, var(--bg)) calc(100% - 160px * 0.625), color-mix(in srgb, var(--bg-2) 38%, var(--bg)) calc(100% - 160px * 0.500), color-mix(in srgb, var(--bg-2) 22%, var(--bg)) calc(100% - 160px * 0.375), color-mix(in srgb, var(--bg-2) 10%, var(--bg)) calc(100% - 160px * 0.250), color-mix(in srgb, var(--bg-2) 3%, var(--bg)) calc(100% - 160px * 0.125), color-mix(in srgb, var(--bg-2) 0%, var(--bg)) calc(100% - 160px * 0.000)); }
.sec-head { max-width: 760px; margin-bottom: clamp(22px, 4.5vh, 56px); }
.sec-head p { color: var(--ink-soft); margin-top: clamp(10px, 2vh, 18px); font-size: var(--fs-body); } /* 标题下的一句引言 */
.kicker { font-size: var(--fs-meta); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: clamp(10px, 1.8vh, 16px); }
/* 字重：只有大标题（h1、各屏 h2）用粗体，其余小标题、按钮、标签一律 500 以下（客户要求减少字重使用） */
h3, h4 { font-weight: 500; }
h2 { font-size: clamp(24px, min(2.9vw, 4.2vh), 37px); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; } /* 折行时两行长度均衡，避免末尾单词落单 */
html[lang="zh-CN"] h2 { word-break: keep-all; } /* 中文标题只在“，”或 content 里标的 \u200b 处折行，不会断成“寻找产 / 品” */
.nw { white-space: nowrap; } /* 标题里的一句，不在句中间折行 */
@media (max-width: 600px) { .nw { white-space: normal; } }
h2.display { font-size: clamp(28px, min(3.7vw, 5.5vh), 50px); line-height: 1.1; }
.prose p { color: var(--ink-soft); font-size: var(--fs-body); line-height: 1.75; }
.prose p + p { margin-top: clamp(8px, 1.4vh, 14px); }
.prose .lead { color: var(--ink); font-size: var(--fs-lead); line-height: 1.5; }
.prose .hl { color: var(--gold); font-weight: 500; }
.icon { width: 48px; height: 48px; border-radius: 13px; background: var(--gold-fill); color: var(--gold); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }

/* 各屏背景图：灰度实拍，低透明度叠在底色上，再用同色渐变把上下边缘融进底色；
   哪屏用哪张图在 content/site.mjs 的 screenBgs，build.mjs 按页把 url 写进 <head> 的 <style>；
   site.js 在临近视口时加 .bg-on 才开始下载，不拖首屏；内容层在上 */
section { --sec-bg: var(--bg); }
section.alt { --sec-bg: var(--bg-2); }
section.photo-bg::before { content: ""; position: absolute; inset: 0; z-index: 0; background: center / cover no-repeat; opacity: var(--img-op); transition: opacity 1s ease; pointer-events: none; }
/* 上下羽化：图本身用缓动曲线（smoothstep 近似、九个色标）遮罩淡出 160px，露出本屏底色（深浅两种底色交替也适用）。
   原先是盖一层线性渐变（按屏高 14%/18%），线性渐变的起止点人眼会看出一道“切线”。只有桌面铺背景图 */
section.photo-bg::before { --feather: linear-gradient(180deg, rgba(0,0,0,0) calc(160px * 0.000), rgba(0,0,0,0.03) calc(160px * 0.125), rgba(0,0,0,0.1) calc(160px * 0.250), rgba(0,0,0,0.22) calc(160px * 0.375), rgba(0,0,0,0.38) calc(160px * 0.500), rgba(0,0,0,0.56) calc(160px * 0.625), rgba(0,0,0,0.74) calc(160px * 0.750), rgba(0,0,0,0.9) calc(160px * 0.875), rgba(0,0,0,1) calc(160px * 1.000), rgba(0,0,0,1) calc(100% - 160px * 1.000), rgba(0,0,0,0.9) calc(100% - 160px * 0.875), rgba(0,0,0,0.74) calc(100% - 160px * 0.750), rgba(0,0,0,0.56) calc(100% - 160px * 0.625), rgba(0,0,0,0.38) calc(100% - 160px * 0.500), rgba(0,0,0,0.22) calc(100% - 160px * 0.375), rgba(0,0,0,0.1) calc(100% - 160px * 0.250), rgba(0,0,0,0.03) calc(100% - 160px * 0.125), rgba(0,0,0,0) calc(100% - 160px * 0.000));
  -webkit-mask-image: var(--feather); mask-image: var(--feather); }
section.photo-bg > * { position: relative; z-index: 1; }
section.photo-bg:not(.bg-on)::before { opacity: 0; }
/* 有背景图的屏：卡片、表单、公司卡加半透明深底 + 轻模糊（毛玻璃），背景纹理不透到字下面 */
section.photo-bg .company { background-color: rgb(var(--bg-2-rgb) / .52); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
section.photo-bg .client { background-color: var(--panel-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* 背景图调亮后，正文、标题加一圈同底色的柔和光晕，压在繁杂画面上也好读 */
section.photo-bg :is(h2, h3, p, li, .step-no) { text-shadow: 0 0 12px var(--sec-bg), 0 0 3px var(--sec-bg); }
/* 左右分栏：左标题（+正文），右正文或组件 */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split-head h2 + .prose { margin-top: clamp(16px, 3vh, 28px); }

/* 业务范围页：每项服务独占一屏，左标题 + 标语，右正文 + 标签 */
.svc-screen .split-head h2 { font-size: clamp(28px, min(3.5vw, 5.2vh), 46px); }
.svc-lead { font-size: var(--fs-lead); font-weight: 500; color: var(--gold-soft); line-height: 1.45; margin-top: clamp(12px, 2.4vh, 22px); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 3.4vh, 32px); }
.chips li { border: 1px solid var(--gold-line); background: var(--gold-fill); color: var(--gold-soft); border-radius: 999px; padding: 7px 16px; font-size: var(--fs-small); }

/* 可点卡片（服务、品类总览卡，客户卡，项目阶段卡）共用：面板底、细边、悬停上浮变金；上浮距离各自定。
   🔴 上浮用独立的 translate 属性、不用 transform：这些卡片都带入场动画，.reveal.in 的 transform: none 优先级更高，写 transform 会被压住、永远浮不起来（曾如此） */
:is(.svc-card, .client, .stage) { border-radius: var(--radius); background: var(--panel-strong); border: 1px solid var(--line); transition: translate .3s ease, border-color .3s, background .3s; }
:is(.svc-card, .client, .stage):hover { border-color: var(--gold-line); background: var(--gold-fill); }

/* 业务范围页：适合谁 + 开篇总览 3×2 */
.svc-fit { color: var(--ink-muted); font-size: var(--fs-small); margin-top: clamp(10px, 1.8vh, 16px); padding-left: 12px; border-left: 2px solid var(--gold-line); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { display: flex; flex-direction: column; padding: clamp(18px, 3vh, 26px) 22px; }
.svc-card:hover { translate: 0 -4px; }
.svc-card-no { font-family: "XQ Ordinal", var(--font); font-size: var(--fs-lead); line-height: 1; letter-spacing: .02em; color: var(--gold); font-weight: 400; } /* 编号数字统一用子集细体（同流程步骤、项目阶段）；字号取最大一档，不进字号白名单 */
.svc-card h3 { font-size: var(--fs-h3); margin: clamp(8px, 1.4vh, 12px) 0 6px; }
.svc-card p { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.6; flex: 1; }
.svc-card .stage-link { margin-top: clamp(10px, 1.8vh, 16px); }

/* 合作流程：3×2 */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 4.5vh, 44px) clamp(24px, 3vw, 48px); }
.step { position: relative; padding-top: clamp(14px, 2.4vh, 22px); border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--gold); }
.step-no { display: block; font-family: "XQ Ordinal", var(--font); font-size: clamp(30px, min(3vw, 5.4vh), 44px); font-weight: 400; line-height: 1; letter-spacing: .02em; color: var(--gold); } /* 细体实心编号（原描边空心，用户定改 24qb 同款） */
.step h3 { font-size: var(--fs-h3); margin: clamp(8px, 1.6vh, 14px) 0 6px; }
.step p { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.65; }
.step .step-out { margin-top: 8px; color: var(--gold-soft); font-size: var(--fs-meta); }
.step-out b { font-weight: 500; color: var(--gold); }

/* 合作流程页“一个窗口”：你 — 欣期日 — 各方 */
.hub-diagram { --wire: rgb(var(--gold-rgb) / .6); display: grid; grid-template-columns: auto 1fr auto 40px auto; align-items: center; }
/* 🔴 “你”与“欣期日”两个节点同高、同样式（2026-09-25 用户定：平等，不能高人一等）：欣期日不加大、不加亮边、不加光晕，只靠字标区分；
   “你”宽度取一半（只有一个字／一个词，同宽太胖） */
.hub-node { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 150px; height: 52px; border-radius: 999px; border: 1px solid var(--gold-line); padding: 0 14px; font-size: var(--fs-body); font-weight: 500; white-space: nowrap; color: var(--ink); background: rgb(var(--bg-rgb) / .5); }
/* 你（轻）┄ 欣期日（光晕）│ 四方：与 H5 同一套视觉——虚线＝沟通、实线分支＝协调、支线末端金点、四方带图标 */
.hub-you { width: 75px; }
.hub-us img { height: 20px; width: auto; } /* 英文字标 120 宽，装进 150 宽的框 */
.hub-us .logo-zh { height: 26px; }
.hub-link { height: 1px; min-width: 40px; margin: 0 12px; background: repeating-linear-gradient(90deg, var(--wire) 0 4px, transparent 4px 8px); }
.hub-fan { grid-column: 5; display: grid; gap: 12px; position: relative; padding-left: 28px; }
.hub-diagram::after { content: ""; grid-column: 4; grid-row: 1; height: 1px; background: var(--wire); }
.hub-fan .hub-party { position: relative; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px 10px 12px; font-size: var(--fs-small); background: rgb(var(--bg-2-rgb) / .55); white-space: nowrap; }
/* 主干分段画：首项从中线往下、末项画到中线，中间项贯通（gap 12px 的一半 + 1px 边框＝7px），拼成 ┌├├└ */
.hub-fan .hub-party::before { content: ""; position: absolute; left: -29px; top: -7px; bottom: -7px; width: 1px; background: var(--wire); }
.hub-fan .hub-party:first-child::before { top: 50%; }
.hub-fan .hub-party:last-child::before { bottom: 50%; }
/* 支线：主干 → 卡片左缘，末端金点 */
.hub-fan .hub-party::after { content: ""; position: absolute; left: -29px; top: calc(50% - 3px); width: 28px; height: 6px; pointer-events: none;
  background: radial-gradient(circle at calc(100% - 3px) 50%, var(--gold) 2.5px, transparent 3px), linear-gradient(var(--wire), var(--wire)) left center / 100% 1px no-repeat; }
.hub-ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; color: var(--gold); background: var(--gold-fill); border: 1px solid rgb(var(--gold-rgb) / .25); }
.hub-ico svg { width: 18px; height: 18px; }

/* 联系页常见问题 2×2 */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.6vh, 24px) 32px; }
.faq-item { border-top: 1px solid var(--line); padding-top: clamp(12px, 2.2vh, 18px); }
.faq-item dt { font-size: var(--fs-h3); font-weight: 500; margin-bottom: 8px; }
.faq-item dd { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.7; }

/* 客户：5 列 */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.client { padding: clamp(22px, 4vh, 34px) 24px; }
.client:hover { translate: 0 -6px; }
.client h3 { font-size: var(--fs-h3); margin: clamp(14px, 2.6vh, 22px) 0 8px; }
.client p { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.65; }

/* 首页“项目阶段”：4 张入口卡，整卡可点 */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stage { display: flex; flex-direction: column; padding: clamp(22px, 4vh, 32px) 24px; }
.stage:hover { translate: 0 -6px; }
.stage-no { font-family: "XQ Ordinal", var(--font); font-size: clamp(28px, min(2.6vw, 4.6vh), 38px); font-weight: 400; line-height: 1; letter-spacing: .02em; color: var(--gold); }
.stage h3 { font-size: var(--fs-h3); margin: clamp(14px, 2.6vh, 22px) 0 8px; }
.stage p { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.65; flex: 1; }
.stage-link { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(14px, 2.4vh, 22px); color: var(--gold); font-size: var(--fs-small); font-weight: 500; }
@media (max-width: 1100px) { .stages { grid-template-columns: repeat(2, 1fr); } .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stages, .svc-grid, .faq { grid-template-columns: 1fr; } .hub-diagram { grid-template-columns: 1fr; gap: 12px; } .hub-link, .hub-diagram::after { display: none; } .hub-fan { grid-column: 1; } }

/* 为什么选择：右侧 2×3 要点 */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2.6vh, 24px) 28px; }
.point { padding: clamp(14px, 2.4vh, 20px) 0 0; border-top: 1px solid var(--line); }
.point h3 { font-size: var(--fs-h3); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.point h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.point p { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.65; }

/* 中国 × 欧洲：点阵地图满屏作背景，文字压在右上，国家胶囊在左下；点胶囊切换右侧国家卡、地图上该国点高亮（无航线、无上海） */
.map-screen { justify-content: stretch; }
.map-bg { position: absolute; inset: 72px 0 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.map-stage { position: relative; width: 100%; max-height: 100%; } /* 宽高比由 build.mjs 按 tools/map-geo.mjs 写在行内 */
.map-dots, .map-outline, .map-fx, .map-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 遮罩夹在点阵与点位层之间：只压暗点阵，国家点位不受影响。右上压在文字后面，底部压在胶囊后面 */
.map-scrim { background:
  radial-gradient(ellipse 42% 60% at 79% 22%, rgb(var(--bg-2-rgb) / .94) 0%, rgb(var(--bg-2-rgb) / .7) 50%, rgb(var(--bg-2-rgb) / 0) 100%),
  linear-gradient(0deg, rgb(var(--bg-2-rgb) / .9) 0%, rgb(var(--bg-2-rgb) / 0) 24%),
  linear-gradient(180deg, rgb(var(--bg-2-rgb) / .95) 0%, rgb(var(--bg-2-rgb) / 0) 12%); } /* 顶部：地图北缘在北纬 65° 切平，渐隐掉切线 */
/* 点位：不做循环脉冲，选中时该国点轻亮一次（site.js 加 .flash） */
.map-fx .pin-dot { fill: var(--blue); transition: fill .24s; transform-box: fill-box; transform-origin: center; }
.map-fx .pin.primary .pin-dot { fill: var(--gold); }
.map-fx .pin.on .pin-dot { fill: var(--gold-soft); }
.map-fx .pin.flash .pin-dot { animation: pinFlash .4s ease-out; }
/* 选中国家的聚焦环（2026-09-25 用户要求）：点外一圈金色细环（选中时由小放大出现），外加一圈慢速外扩的淡涟漪；只有选中的点有，别的点保持静止。
   系统开了“减少动态效果”时涟漪由全局规则停掉，只留静态细环 */
.map-fx .pin-ring, .map-fx .pin-ripple { fill: none; stroke: var(--gold); stroke-width: 1; transform-box: fill-box; transform-origin: center; opacity: 0; pointer-events: none; }
.map-fx .pin-ring { transform: scale(.4); transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1); }
.map-fx .pin.on .pin-ring { opacity: .9; transform: none; }
.map-fx .pin.on .pin-ripple { animation: pinRipple 2.4s ease-out .4s infinite; }
@keyframes pinRipple { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes pinFlash { 0% { opacity: .5; transform: scale(.8); } 45% { opacity: 1; transform: scale(1.7); } 100% { opacity: 1; transform: scale(1); } }
/* 国名：描一圈背景色光晕（paint-order: stroke 让描边画在字底下），把压在字下的点阵推开，字形干净；字色提亮拉开与点阵的对比 */
.map-fx text { font-family: var(--font); font-size: 13px; font-weight: 500; fill: var(--ink-soft); paint-order: stroke; stroke: var(--bg-2); stroke-width: 5px; stroke-linejoin: round; transition: fill .3s; }
.map-fx .pin.on text { fill: var(--ink); font-size: 15px; }
.map-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(24px, 5vh, 56px); padding-bottom: clamp(24px, 5vh, 52px); }
.map-text { max-width: 620px; margin-left: auto; }
.map-text .prose { margin-top: clamp(12px, 2.4vh, 22px); }
.map-text .prose p { font-size: var(--fs-body); }
.map-text h2, .map-text .prose p { text-shadow: 0 0 14px var(--bg-2), 0 0 4px var(--bg-2); }
/* 右侧国家卡：同一格叠放、只切透明度（240ms），高度取最高一张，切换时版面不跳 */
.mkt-cards { display: grid; margin-top: clamp(14px, 2.6vh, 24px); }
.mkt-card { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility 0s linear .24s; }
.mkt-card.on { opacity: 1; visibility: visible; transition: opacity .24s ease, visibility 0s; }
.mkt-title { display: flex; align-items: center; gap: 10px; font-size: var(--fs-h3); font-weight: 500; color: var(--ink); }
.mkt-title img { width: 21px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); flex: none; }
.mkt-title .mkt-x { color: var(--gold); margin: 0 2px; } /* 两国同一字色、各带国旗，中间金色 × */
.mkt-facts { margin-top: clamp(10px, 1.8vh, 16px); }
.mkt-facts > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: clamp(8px, 1.5vh, 12px) 0; }
.mkt-facts > div + div { border-top: 1px solid var(--line); }
html[lang="en"] .mkt-facts > div { grid-template-columns: 9.5em 1fr; }
.mkt-facts dt { color: var(--ink-muted); font-size: var(--fs-meta); padding-top: 2px; }
.mkt-facts dd { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.6; }
.mkt-facts dd b { color: var(--gold-soft); font-size: var(--fs-lead); font-weight: 500; margin-right: 4px; }
.mkt-facts ul { list-style: none; display: grid; gap: 4px; }
.mkt-facts li { position: relative; padding-left: 14px; }
.mkt-facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.mkt-src { margin-top: 10px; font-size: var(--fs-meta); color: var(--ink-muted); opacity: .8; } /* 国家卡下方唯一一处数据来源注脚，不随切换变 */
.map-text .mkt-card :is(p, dt, dd) { text-shadow: 0 0 14px var(--bg-2), 0 0 4px var(--bg-2); }
.map-hint { font-size: var(--fs-meta); letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 12px; }
.markets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; } /* 8 国胶囊排成一行、整排在页面居中（用户定） */
.map-pick .map-hint { text-align: center; }
.market { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: var(--fs-small); color: var(--ink-soft); background: transparent; border: 1px solid var(--gold-line); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
:is(.market img, .fact-flag) { width: 16px; height: 16px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.15); flex: none; } /* 圆形国旗（长方形国旗居中裁成圆）：地图国家胶囊、中欧两地事实表共用 */
.market:hover { border-color: var(--gold); color: var(--ink); }
.market.on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 500; }

/* 关于：公司卡 */
.mission { color: var(--ink) !important; font-size: var(--fs-lead) !important; font-weight: 500; line-height: 1.45 !important; border-left: 2px solid var(--gold); padding-left: 18px; margin-top: clamp(14px, 2.6vh, 24px) !important; }
.company { border-radius: var(--radius); padding: clamp(28px, 5vh, 48px); background: linear-gradient(160deg, rgb(var(--gold-rgb) / .12), rgb(var(--gold-rgb) / .02) 60%); border: 1px solid rgb(var(--gold-rgb) / .35); }
.company-logos { display: flex; align-items: center; gap: 28px; margin-bottom: clamp(24px, 4.5vh, 44px); }
.company-logos .logo-en { height: 26px; width: auto; }
.company-logos .logo-zh { height: 40px; width: auto; }
.company-label { font-size: var(--fs-meta); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 10px; }
.company-name { font-size: var(--fs-h3); font-weight: 500; line-height: 1.5; }

/* 发起项目：需求表 */
.rfq-form { position: relative; border-radius: var(--radius); padding: clamp(20px, 3.6vh, 34px) clamp(22px, 2.4vw, 34px); background: var(--panel-strong); border: 1px solid var(--line); }
section.photo-bg .rfq-form { background-color: var(--panel-strong); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.rfq-form h3 { font-size: var(--fs-h3); margin-bottom: clamp(10px, 2vh, 18px); }
#rfq .split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; } /* 表单占宽，短字段排三列才装得进一屏；两栏顶部对齐（2026-09-24 用户定：左栏标题与表单顶部齐平） */
/* 需求表：颜色全部保持本站深色；输入控件只在圆角、内边距、聚焦光晕、下拉与上传的形态上对齐 24qb；校验气泡沿用 24qb 的白底原生样式 */
.fields, .dsel-pop { --f-bg: var(--field-bg); --f-ink: var(--ink); --f-ink-soft: var(--ink-soft); --f-line: var(--line-strong); --f-faint: var(--ink-muted); --f-hover: rgba(255,255,255,.06); --f-pop: #0c1428; --f-err: #e2685f; }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vh, 18px) 16px; }
.field { position: relative; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label { display: block; margin-bottom: 6px; font-size: var(--fs-meta); color: var(--ink-soft); }
.field > label b { margin-left: 2px; color: var(--gold); font-weight: 600; }
.field input:not([type=hidden]):not([type=file]), .field textarea, .fsel-btn { width: 100%; font: inherit; font-size: var(--fs-small); color: var(--f-ink); background: var(--f-bg); border: 1px solid var(--f-line); border-radius: 12px; padding: clamp(8px, 1.3vh, 12px) 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--f-faint); }
.field input:focus, .field textarea:focus, .fsel-btn:focus-visible, .fsel.open .fsel-btn { border-color: rgb(var(--gold-rgb) / .6); box-shadow: 0 0 0 3px var(--gold-glow); }
.field textarea { resize: vertical; min-height: 64px; line-height: 1.5; display: block; }
.field .invalid, .field .invalid .fsel-btn { border-color: var(--f-err) !important; }
/* FlagSelect：国旗＋名称，可搜索 */
.fsel { position: relative; }
.fsel-btn { display: flex; align-items: center; gap: 8px; cursor: pointer; text-align: left; }
.fsel-btn img, .fsel-pop img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.fsel-other { display: inline-grid; place-items: center; width: 20px; height: 14px; flex: none; border-radius: 2px; background: rgba(255,255,255,.1); box-shadow: 0 0 0 1px rgba(255,255,255,.18); color: rgba(238,242,250,.7); font-size: 11px; line-height: 1; letter-spacing: -.05em; } /* “其他”灰色空白旗块，尺寸与国旗一致 */
.fsel-val { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; }
.fsel-val span { overflow: hidden; text-overflow: ellipsis; }
.fsel-val.is-empty { color: var(--f-faint); }
.fsel-btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--f-faint); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.fsel.open .fsel-btn svg { transform: rotate(180deg); }
.fsel-pop { position: absolute; left: 0; min-width: 100%; width: max-content; max-width: 18rem; z-index: 30; background: var(--f-pop); border: 1px solid var(--f-line); border-radius: 10px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.7); overflow: hidden; top: calc(100% + 6px); }
.fsel.up .fsel-pop { top: auto; bottom: calc(100% + 6px); }
.fsel-search { padding: 6px; border-bottom: 1px solid var(--f-line); }
/* 搜索框：无框、透明，只留文字和光标（用户要求）；选择器要压过 .field input:not(…) 的通用输入框样式 */
.field .fsel .fsel-search input, .field .fsel .fsel-search input:focus { width: 100%; font: inherit; font-size: var(--fs-small); color: var(--f-ink); background: transparent; border: 0; border-radius: 0; padding: 6px 8px; outline: none; box-shadow: none; }
.fsel-pop ul { list-style: none; margin: 0; padding: 6px 0; max-height: 240px; overflow: auto; }
.fsel-pop li button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 14px; font: inherit; font-size: var(--fs-small); color: var(--f-ink); background: none; border: 0; text-align: left; cursor: pointer; }
.fsel-pop li button:hover, .fsel-pop li button:focus-visible { background: var(--f-hover); outline: none; }
.fsel-pop li button[aria-selected=true] { background: var(--f-hover); color: var(--gold); }
.fsel-none { padding: 12px 14px; text-align: center; font-size: var(--fs-small); color: var(--f-faint); }
/* 日历：触发框同国家下拉，弹出面板同款深色；周一开头 */
.dsel { position: relative; }
.dsel-btn svg { transform: none !important; }
.dsel-pop { position: fixed; z-index: 30; width: 260px; padding: 10px 10px 8px; background: var(--f-pop); border: 1px solid var(--f-line); border-radius: 10px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.7); }
.dsel-head { display: flex; align-items: center; gap: 2px; margin-bottom: 4px; font-size: var(--fs-small); color: var(--f-ink); }
.dsel-head .dsel-title { flex: 1; padding-left: 4px; font-weight: 500; }
.dsel-head button { width: 26px; height: 26px; border: 0; border-radius: 6px; background: none; color: var(--f-ink-soft); font-size: 16px; cursor: pointer; }
.dsel-head button:hover:not(:disabled) { background: var(--f-hover); color: var(--gold); }
.dsel-head button:disabled { opacity: .25; cursor: default; }
.dsel-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.dsel-grid .wd { font-size: var(--fs-meta); color: var(--f-faint); padding: 2px 0 4px; }
.dsel-grid button { height: 28px; border: 0; border-radius: 6px; background: none; color: var(--f-ink); font: inherit; font-size: 13px; cursor: pointer; }
.dsel-grid button:hover:not(:disabled) { background: var(--f-hover); }
.dsel-grid button:disabled { color: rgba(238,242,250,.2); cursor: default; }
.dsel-grid button.today { box-shadow: inset 0 0 0 1px var(--gold-line); }
.dsel-grid button[aria-selected=true] { background: var(--gold); color: var(--on-gold); font-weight: 600; }
.dsel-head .dsel-clear { width: auto; padding: 0 6px; font-size: var(--fs-meta); margin-right: 4px; }
/* DocumentUploader：虚线按钮 */
.upl-btn { width: 100%; font: inherit; font-size: var(--fs-small); color: var(--f-ink-soft); background: var(--f-bg); border: 1px dashed var(--line-strong); border-radius: 10px; padding: clamp(8px, 1.3vh, 12px) 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.upl-btn:hover { border-color: rgb(var(--gold-rgb) / .6); color: var(--gold); }
.field > label .upl-hint { margin-left: 10px; font-size: var(--fs-meta); color: var(--ink-muted); }
/* 目标价格：只收欧元，左侧固定金色 €，细竖线隔开数字 */
.price { position: relative; }
.cur { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); padding-right: 12px; border-right: 1px solid var(--line); color: var(--gold); font-size: var(--fs-small); line-height: 1; pointer-events: none; }
.field .price input:not([type=hidden]) { padding-left: 46px; }
/* 桌面每屏定高（1280×720 下表单没选文件时只剩 10px 余量）：选了文件后按钮缩到文字宽、文件横排在按钮右侧同一行，
   表单高度不变；长文件名省略（悬停看全名）。H5 不受屏高限制，在 h5-chrome.css 改回按钮通栏、文件竖排 */
.upl.has-files { display: flex; align-items: center; gap: 16px; }
.upl.has-files .upl-btn { flex: none; width: auto; padding-left: 18px; padding-right: 18px; }
.upl-list { list-style: none; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-meta); color: var(--ink-soft); min-width: 0; }
.upl.has-files .upl-list { margin-top: 0; }
.upl-list:empty { display: none; }
/* 已选文件：文件名（过长省略）＋ 圆形“X”单独删除 */
.upl-list li { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 11em; }
.upl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.upl-x { flex: none; display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-soft); cursor: pointer; transition: color .2s, border-color .2s; }
.upl-x svg { width: 8px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.upl-x:hover, .upl-x:focus-visible { color: var(--gold); border-color: rgb(var(--gold-rgb) / .6); outline: none; }
/* ValidationTip：仿浏览器原生“请填写此项”气泡 */
.v-tip { position: absolute; left: 16px; top: 100%; margin-top: 8px; z-index: 20; width: max-content; max-width: 16rem; }
.v-tip::before { content: ""; position: absolute; left: 12px; top: -4px; width: 8px; height: 8px; transform: rotate(45deg); background: #fff; border-left: 1px solid var(--ink-soft); border-top: 1px solid var(--ink-soft); }
.v-tip span { display: flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: var(--fs-meta); color: #1e2f41; background: #fff; border: 1px solid var(--ink-soft); border-radius: 6px; box-shadow: 0 8px 24px -8px rgba(30,47,65,.4); }
.v-tip img { width: 15px; height: 15px; flex: none; }
.rfq-form .btn { margin-top: clamp(14px, 2.4vh, 22px); border: 0; cursor: pointer; font-family: inherit; }
.form-status { font-size: var(--fs-meta); color: var(--gold-soft); margin-top: 10px; min-height: 1em; }
.form-status.is-error { color: #f0a08c; }
/* 蜜罐：移出视口而不是 display:none（部分机器人会跳过 display:none 的字段） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 提交成功：表单字段收起，只留标题下的这段确认 */
.rfq-form.is-done .fields, .rfq-form.is-done > .btn, .rfq-form.is-done .form-status { display: none; }
.rfq-done p { color: var(--ink-soft); font-size: var(--fs-small); margin-top: 8px; }

/* 联系页需求入口卡片（C.rfq.mode='account'）：一个“提交需求”按钮进买家端登录页（带 next），下方小字提示可在下一页注册；沿用需求表卡片外框 */
.rfq-entry .rfq-entry-body { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.75; }
.rfq-entry-points { list-style: none; margin: clamp(12px, 2vh, 18px) 0 0; padding: 0; display: grid; gap: 8px; }
.rfq-entry-points li { position: relative; padding-left: 18px; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.6; }
.rfq-entry-points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.rfq-entry-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3vh, 28px); }
.rfq-entry-actions .btn { margin-top: 0; }
.rfq-entry .rfq-entry-note { margin-top: 10px; color: var(--ink-muted); font-size: var(--fs-meta); line-height: 1.6; }
.rfq-form.is-done > h3 { display: none; }

/* 联系：航拍货轮背景，上半联系、下半页脚 */
.contact { justify-content: flex-start; background: var(--bg) image-set(url("img/contact-ship.webp") type("image/webp"), url("img/contact-ship.jpg") type("image/jpeg")) center / cover no-repeat; } /* 全局灰度、只留货轮原色（tools/colorkeep.py 的 contact-ship 预设）；图在 CSS 里直接引用不带哈希，换图必须改文件名 */
.contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgb(var(--bg-rgb) / .76) 30%, rgb(var(--bg-rgb) / .9) 100%); }
.contact-main { position: relative; flex: 1; display: flex; align-items: center; }
.contact-main h2 { max-width: 900px; }
.contact-main p { color: var(--ink-soft); font-size: var(--fs-body); max-width: 680px; margin-top: clamp(12px, 2vh, 18px); }
.contact-main .cta { align-items: center; margin-top: clamp(20px, 4vh, 40px); gap: 26px; }

/* 分栏目页的矮页脚：贴在最后一屏底部，只有版权与备案号；最后一屏底部让出它的高度 */
section > footer.foot-mini { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgb(var(--bg-rgb) / .92); border-top: 1px solid var(--line); color: var(--ink-muted); }
.foot-mini .foot-bar { border-top: 0; padding: 22px 32px; line-height: 22.4px; align-items: center; } /* 页脚高 67.4px（22＋22.4＋22＋1px 上边线），对齐 WestDiary 桌面页脚；行高写死，中英字号不同也同高 */
/* 左侧金色竖线（对齐 WestDiary 页脚：3×22 色条） */
.foot-copy { display: inline-flex; align-items: center; }
.foot-copy::before { content: ""; width: 3px; height: 22px; background: var(--gold); margin-right: 14px; flex: none; }
section.has-foot-mini { padding-bottom: 70px; } /* 让出页脚高度（67.4px）＋少许余量 */
@media (max-width: 900px) { section > footer.foot-mini { position: relative; margin-top: 40px; } section.has-foot-mini { padding-bottom: 0; } }

/* 页脚底行（全站矮页脚复用）：居左版权、居右备案号 */
.foot-bar { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: var(--fs-meta); }
.foot-bar a:hover { color: var(--ink); }
/* 右侧：凤栖标（运营主体江苏凤栖，同 nomadwiki 页脚：高 20px、不透明度 .9）＋备案号 */
.foot-right { display: inline-flex; align-items: center; gap: 22px; }
.foot-credit { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; } /* “技术支持”与凤栖标一组：组内 8px、与备案号 22px，读作一个整体 */
.foot-mark { height: 20px; width: auto; opacity: .9; flex: none; }

/* 矮屏（笔记本 720–760 高）：再收一档，保证每屏装得下 */
@media (min-width: 901px) and (max-height: 760px) {
  .hero > .wrap { padding-top: 84px; }
  .hero .cta { margin-top: 28px; }
  .hero p { margin-top: 18px; }
  .eyebrow { margin-bottom: 18px; }
  .step p, .client p, .point p, .stage p { line-height: 1.55; }
  .chips li { padding: 5px 12px; }
  .field textarea { min-height: 48px; }
  .field > label { margin-bottom: 4px; } /* 统一字号后标签变大，矮屏上收紧标签与输入框的间距，表单才装得进一屏 */
}

/* ≤1100px：五列/三列降级 */
@media (max-width: 1100px) {
  .clients { grid-template-columns: repeat(3, 1fr); }
}

/* ≤900px：同 WestDiary，放弃整屏吸附，每屏高度随内容；分栏改单栏 */
@media (max-width: 900px) {
  html { scroll-snap-type: y proximity; }
  section { height: auto; min-height: 0; padding: 104px 0 72px; scroll-snap-stop: normal; }
  .hero { min-height: 100vh; min-height: 100svh; padding: 0; }
  .split, #rfq .split { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .contact { padding-bottom: 0; }
  .contact-main { padding: 20px 0 60px; }
  .map-bg { position: relative; inset: auto; order: 2; margin: 24px 0; }
  .map-screen { display: flex; flex-direction: column; }
  .map-content { display: contents; }
  .map-text { order: 1; margin: 0; padding: 0 16px; }
  .map-pick { order: 3; padding: 0 16px; }
}
@media (max-width: 600px) {
  .steps, .clients, .points, .fields { grid-template-columns: 1fr; }
}

/* 中文页：最小字号统一提升一档（≤13px → 14px，13.5–14.5px → 15px），英文页不变；
   小标签的宽字距（.18–.28em）是给英文大写字母用的，中文用了显得字字散开，收到 .06em */
html[lang="zh-CN"] :is(.eyebrow, .scroll-cue, .kicker, .map-hint, .company-label) { letter-spacing: .06em; }
/* 中文正文两端对齐（2026-09-24 用户定，桌面与 H5 同一份）：只作用于成段正文，标题、标签、胶囊、按钮不动；末行照常左对齐；英文页不做（英文两端对齐会拉出大词距） */
html[lang="zh-CN"] :is(.prose p, .sec-head p, .hero p, .contact-main p, .stage p, .client p, .svc-card p, .step p, .point p, .faq-item dd, .term dd, .fact dd, .mkt-facts dd, .mkt-facts li, .pit-row p, .rfq-done p, .svc-fit, .worries-end) { text-align: justify; text-justify: inter-character; }

/* 滚动入场（无 JS 时不隐藏） */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; --rd: .1s; } .js .reveal.d2 { transition-delay: .2s; --rd: .2s; } .js .reveal.d3 { transition-delay: .3s; --rd: .3s; }
/* 桌面可点卡片：入场的 transition 会整条盖掉卡片自己的，这里合成一条——入场照旧错峰（--rd），悬停上浮、变金不带延迟 */
.js body:not(.h5) .reveal:is(.svc-card, .client, .stage) { transition: opacity .8s ease var(--rd, 0s), transform .8s ease var(--rd, 0s), translate .3s ease, border-color .3s ease, background .3s ease; }
/* 中国 × 欧洲这屏不做复杂开场：地图直接显示，文字与胶囊只一起淡入 350ms、不位移 */
.js .map-screen .reveal { transform: none; transition: opacity .35s ease; transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 合作流程页“风险对照”：两列对照表 */
.pit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: clamp(10px, 1.9vh, 16px) 0; }
.pit-row + .pit-row { border-top: 1px solid var(--line); }
.pit-row p { font-size: var(--fs-small); line-height: 1.6; }
.pit-head span { font-size: var(--fs-meta); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.pit-head span + span { color: var(--gold); }
.pit-risk { color: var(--ink-muted); }
.pit-fix { position: relative; padding-left: 22px; color: var(--ink-soft); }
.pit-fix::before { content: "→"; position: absolute; left: 0; color: var(--gold); }

/* 合作流程页“常用术语”：4×2 */
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.6vh, 24px) 24px; }
.term { border-top: 1px solid var(--line); padding-top: clamp(12px, 2.2vh, 18px); }
.term dt { font-size: var(--fs-h3); font-weight: 500; color: var(--gold); margin-bottom: 8px; }
.term dd { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.65; }

/* 关于我们页“公司概况”：左项名、右内容 */
.fact { display: grid; grid-template-columns: 7.5em 1fr; gap: 20px; padding: clamp(11px, 2vh, 16px) 0; }
.fact + .fact { border-top: 1px solid var(--line); }
.fact dt { color: var(--ink-muted); font-size: var(--fs-meta); }
.fact dd { color: var(--ink); font-size: var(--fs-body); line-height: 1.6; }
.fact dd.has-flag { display: flex; align-items: center; gap: 8px; }
.fact-flag + .fact-flag { margin-left: -4px; } /* 两面旗并排（欧盟＋葡萄牙）时靠近一些，读作一组 */ /* 行首圆形国旗与文字垂直居中；gap 同时充当地址与邮编之间的空格 */
.fact-note { font-size: var(--fs-small); } /* 事实表行尾补充（如邮编）：比正文小一号 */
html[lang="zh-CN"] .fact dd { word-break: keep-all; } /* 公司概况的中文字段值只在标点处折行，国名不被拆成两行（如“捷\n克”） */

/* 联系页“准备资料”：3×2 */
.points-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) { .terms { grid-template-columns: 1fr 1fr; } .points-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pit-row, .terms, .points-3 { grid-template-columns: 1fr; } .pit-row { gap: 6px; } .pit-head { display: none; } .fact { grid-template-columns: 1fr; gap: 4px; } }

/* 产品品类页 */
.ind-grid { grid-template-columns: repeat(2, 1fr); }
.ind-groups { display: flex; flex-direction: column; gap: clamp(16px, 3.2vh, 30px); }
.ind-group h4 { font-size: var(--fs-meta); letter-spacing: .1em; color: var(--gold); font-weight: 500; margin-bottom: 10px; }
.ind-group .chips { margin-top: 0; }
/* 桌面品类屏（2026-09-25 用户定：胶囊太密）：三组不用胶囊，改“金色竖线＋文字”（与 H5 同款）；每组顶一条细线分隔，
   条目固定两列网格、三组共用同一列宽，上下各组左边缘对齐、读起来像一张表。H5 另有自己的写法（h5-chrome.css），这里不动 */
body:not(.h5) .ind-groups { gap: clamp(14px, 2.8vh, 26px); }
body:not(.h5) .ind-group + .ind-group { border-top: 1px solid var(--line); padding-top: clamp(12px, 2.2vh, 18px); }
body:not(.h5) .ind-group h4 { margin-bottom: clamp(10px, 1.8vh, 14px); }
body:not(.h5) .ind-group .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.5vh, 12px) 28px; }
body:not(.h5) .ind-group .chips li { border: 0; border-left: 2px solid var(--gold); border-radius: 0; background: none; padding: 0 0 0 12px; font-size: var(--fs-body); line-height: 1.4; color: var(--ink); }

/* 业务范围页“欧洲准入”底部免责小字 */
.fine-note { margin-top: clamp(16px, 3vh, 28px); font-size: var(--fs-meta); color: var(--ink-soft); }

/* 业务范围总览 9 张卡：去掉“了解详情”行，箭头挂在标题后，卡片收紧装进一屏 */
.svc-grid-9 { gap: 12px 16px; }
.svc-grid-9 .svc-card { padding: clamp(12px, 2vh, 20px) 20px; }
.svc-grid-9 .svc-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 4px; }
.svc-grid-9 .svc-card h3 .arrow { color: var(--gold); font-weight: 400; }

/* 内容保护：规则在 assets/protect.css（全站唯一一份，营销站与 portal 共用） */

/* 首页“欧洲买家最担心的”：五个问题一行一个，金色问号 */
.worry-list { list-style: none; display: grid; gap: 0; }
.worry-list li + li { border-top: 1px solid var(--line); }
.worry-list li { display: flex; gap: 14px; align-items: baseline; padding: clamp(12px, 2.2vh, 18px) 0; font-size: var(--fs-h3); color: var(--ink); }
.worry-list li::before { content: "?"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: var(--fs-meta); font-weight: 600; color: var(--gold); border: 1px solid var(--gold-line); transform: translateY(-2px); }
.worries-end { margin-top: clamp(16px, 3vh, 26px); padding-left: 14px; border-left: 2px solid var(--gold); color: var(--gold-soft); font-size: var(--fs-lead); line-height: 1.5; }

/* 窗口过窄提示（对齐 WestDiary vp-guard）：只对宽屏设备（html.wd-wide，屏宽 ≥1280）生效；窄屏设备已被分流到 H5 手机壳 */
.vp-guard { display: none; }
@media (max-width: 1179px) {
  html.wd-wide .vp-guard { display: flex; position: fixed; inset: 0; z-index: 99999; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; background: var(--bg); }
  html.wd-wide body { overflow: hidden; }
  .vp-guard svg { width: 74px; height: 74px; color: var(--gold); opacity: .7; }
  .vp-guard h2 { font-size: 26px; font-weight: 500; }
  .vp-guard p { font-size: var(--fs-body); color: var(--ink-soft); line-height: 1.75; max-width: min(94vw, 720px); }
}

/* 联系方式：标签｜区号小字＋号码。联系页左栏竖排；首页联系屏横排 */
.contact-list { list-style: none; display: grid; gap: 10px; margin-top: clamp(18px, 3.4vh, 30px); }
.contact-list li { display: flex; align-items: baseline; gap: 14px; font-size: var(--fs-small); }
.ci-label { flex: none; min-width: 5.5em; color: var(--ink-soft); font-size: var(--fs-meta); }
.contact-list a, .ci-value { color: var(--ink); letter-spacing: .02em; }
.contact-list a:hover { color: var(--gold); }
.contact-list small { font-size: var(--fs-meta); color: var(--ink-soft); margin-right: 5px; }
/* 首页末屏：与内容列同为左对齐；细线分隔 + 上标签下号码的两行式，三项并排（不做胶囊：不可点击，胶囊会像按钮） */
.contact-list-row { display: flex; flex-wrap: wrap; gap: 16px clamp(32px, 4.4vw, 64px); width: fit-content; max-width: 100%; margin-top: clamp(26px, 4.6vh, 44px); padding-top: clamp(16px, 2.8vh, 24px); }
.contact-list-row li { flex-direction: column; align-items: flex-start; gap: 6px; padding-left: 14px; border-left: 2px solid var(--gold); }
.contact-list-row .ci-label { min-width: 0; letter-spacing: .08em; }
.contact-list-row .ci-value { font-size: var(--fs-body); }

/* ══ 列表分隔线（2026-09-27 用户定，全站统一）：细线只画在条目之间，列表最上、最下都不画 ══
   单列列表用“相邻条目 + 条目”上边线（事实表、国家卡、风险对照、买家担心、品类分组，见各自规则）；
   多列网格（要点、术语、常见问题）每条都有上边线，第一行设为透明——列数随屏宽变，下面按断点重设第一行。
   🔴 例外：流程步骤（.step）每步都保留“淡横线＋金色短线”，金线编号必须带淡横线（用户定），不参与第一行去线 */
.points > .point:nth-child(-n+2), .points-3 > .point:nth-child(-n+3), .terms > .term:nth-child(-n+4), .faq > .faq-item:nth-child(-n+2) { border-top-color: transparent; }
@media (max-width: 900px) {
  .points-3 > .point:nth-child(3), .terms > .term:nth-child(3), .terms > .term:nth-child(4) { border-top-color: var(--line); }
}
@media (max-width: 600px) {
  :is(.points > .point, .terms > .term, .faq > .faq-item):not(:first-child) { border-top-color: var(--line); }
  .pit-head + .pit-row { border-top: 0; } /* 窄屏表头隐藏，第一条数据行就是列表第一条 */
}

/* 隐私政策长文页：不做一滚一屏，屏高自适应、正文限宽（body.page-privacy） */
html:has(body.page-privacy) { scroll-snap-type: none; }
body.page-privacy section.legal { height: auto; min-height: 100vh; padding: 120px 0 90px; justify-content: flex-start; overflow: visible; scroll-snap-align: none; scroll-snap-stop: normal; }
.legal-wrap { max-width: 820px; }
body:not(.h5) .legal-wrap { max-width: var(--wrap); }
body:not(.h5) .legal-sec { display: flex; flex-direction: column; gap: 18px; position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
body:not(.h5) .legal-sec::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--gold); }
body:not(.h5) .legal-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
body:not(.h5) .legal-heading h3 { margin: 0; font-size: var(--fs-body); font-weight: 700; color: var(--ink-soft); }
.legal-sec { margin-top: clamp(26px, 4vh, 40px); }
.legal-sec h3 { font-size: var(--fs-h3); color: var(--ink); margin-bottom: 10px; }
.legal-sec p, .legal-sec li { font-size: var(--fs-small); line-height: 1.85; color: var(--ink-soft); }
.legal-sec p + p { margin-top: 10px; }
.legal-sec ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal-sec li { position: relative; padding-left: 18px; }
.legal-sec li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* PC公安备案：默认灰度，悬停/键盘聚焦恢复警徽彩色。 */
.foot-right { flex-wrap: wrap; justify-content: flex-end; }
.foot-police { display: inline-flex; align-items: center; vertical-align: middle; gap: 0; white-space: nowrap; transition: color .2s; }
.foot-police img { display: block; flex: 0 0 16px; width: 16px; height: 16px; margin-right: 3px; align-self: center; filter: grayscale(1); transition: filter .2s; }
.foot-police:hover img, .foot-police:focus-visible img { filter: grayscale(0); }

.product-chip { display: inline-flex; align-items: center; gap: 8px; }
.product-chip > svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
.chips li.product-chip::before { display: none; }
.wd-mobile-toggle .menu-close-icon { display: none; }
.wd-mobile-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.wd-mobile-toggle[aria-expanded="true"] .menu-close-icon { display: block; }
.wd-mobile-toggle svg { width: 24px; height: 24px; }

svg.lucide { stroke-width: 1.6; }

/* PC与手机壳外页脚共用；两者仅外层定位方式不同。 */
.foot-mini:has(.foot-desktop-bar), #wd-shell-foot { background: #08101f; color: #9ea9bb; border-top: 1px solid rgba(255,255,255,.10); --gold: #d9aa52; --ink: #f1f4fa; }
.foot-bar.foot-desktop-bar { box-sizing: border-box; width: 100%; max-width: var(--wrap, 1200px); margin: 0 auto; padding: 22px 32px; line-height: 22.4px; align-items: center; font-size: var(--fs-meta); }
.foot-desktop-bar .foot-mark { height: 20px; }
.foot-desktop-bar .foot-copy::before { height: 22px; margin-right: 14px; }

.foot-police > span { display: block; line-height: 20px; }

.icon-heading { display: flex; align-items: center; gap: 10px; }
.icon-heading > svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.point .icon-heading::before { display: none; }

.svc-grid-9 .svc-card .icon-heading { justify-content: flex-start; gap: 10px; }
.svc-grid-9 .svc-card .icon-heading .arrow { margin-left: auto; }
