/* ==========================================================================
   MOREYCN 英文站样式表
   改配色改 :root 那一段就行，其余都引用变量。
   ========================================================================== */

:root {
  --ink: #16202b;
  --muted: #5b6b7c;
  --navy: #0d2438;
  --brand: #1560bd;
  --brand-ink: #0e4a94;
  --accent: #1f9d55;
  --accent-ink: #17783f;
  --sand: #f5f7fa;
  --line: #e0e6ee;
  --white: #fff;

  --r: 16px;
  --r-sm: 10px;
  --rp: 999px;
  --shadow: 0 1px 2px rgba(13,36,56,.06), 0 8px 24px rgba(13,36,56,.07);
  --shadow-hi: 0 2px 6px rgba(13,36,56,.08), 0 18px 40px rgba(13,36,56,.14);

  --head-h: 72px;
  --f-display: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── 基础 ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--f-display);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .85em; background: #eef2f7; padding: .12em .4em; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .15s ease;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* 编辑模式会渲染出空字段供填写，正常情况不能占位。
   这条放 main.css 而不是 editor.css，是为了即使 editor.css 没加载上也不会漏出空段落。 */
.ed-slot:empty { display: none; }

/* ── 按钮 ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 28px; border-radius: var(--rp);
  font-family: var(--f-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(22,32,43,.25); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(22,32,43,.05); }
.hero .btn-ghost, .band .btn-ghost, .site-foot .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.hero .btn-ghost:hover, .band .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ── 顶栏 ───────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 20px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  background: var(--brand); color: #fff; border-radius: 9px;
  font-family: var(--f-display); font-weight: 800; font-size: 1.25rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.brand-text small { font-family: var(--f-body); font-weight: 500; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.nav {
  display: flex; align-items: center; gap: 26px; align-self: stretch;
  /* 菜单紧跟 logo，只把 CTA 推到最右——菜单项少的时候，
     整条菜单右对齐会在中间留一大片空档，看着像没排好 */
  flex: 1 1 auto; margin-left: clamp(28px, 4vw, 56px);
}
.nav .btn { margin-left: auto; }
.nav > a:not(.btn):not(.lang),
.nav-item > a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav > a:not(.btn):not(.lang):hover,
.nav-item > a:hover { color: var(--brand); text-decoration: none; }
.nav > a[aria-current="page"],
.nav-item > a[aria-current="page"] { color: var(--brand); }

/* Products 的二级分类下拉 */
.nav-item {
  position: relative; display: inline-flex; align-items: center;
  /* 撑满顶栏高度，让 hover 区域的下边缘正好贴住面板上边缘。
     否则触发区只有文字那一行高，鼠标下移时会穿过一段空档导致菜单半路收起 */
  align-self: stretch;
}
.caret {
  display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: middle;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .55;
}
.sub {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 230px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-hi);
  opacity: 0; visibility: hidden; transition: opacity .14s ease, transform .14s ease;
}
.nav-item:hover .sub, .nav-item:focus-within .sub {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
/* 顶栏与下拉之间留的缝隙会让鼠标移过去时中断 hover，用一个透明桥补上 */
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub a {
  display: block; padding: 10px 14px; border-radius: 6px;
  color: var(--ink); font-weight: 600; font-size: .92rem;
}
.sub a:hover { background: var(--sand); color: var(--brand); text-decoration: none; }

/* Products 的信息面板（mega 菜单）。
   面板整体挂在顶栏容器上而不是菜单项上，这样宽度够用又不会溢出屏幕。 */
.head-inner { position: relative; }
/* 面板锚在触发项自己的左边缘，不再钉在顶栏右侧——
   菜单左移后如果还钉右边，悬停点和弹出位置会隔半屏 */
.mega {
  position: absolute; top: 100%; left: 0;
  width: min(380px, calc(100vw - 48px));
  display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-hi);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
}
.nav-item.has-mega:hover .mega, .nav-item.has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: none;
}
/* 顶栏与面板之间的缝隙，垫一条透明带接住鼠标，否则 hover 会断 */
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.mega-col { min-width: 0; }
.mega-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--f-display); font-weight: 800; font-size: .95rem;
  letter-spacing: .02em; text-transform: uppercase; color: var(--brand);
  padding: 12px 12px; margin: -4px -6px; border-radius: var(--r-sm);
  transition: background-color .14s ease;
}
.mega-head:hover { text-decoration: none; background: var(--sand); color: var(--brand-ink); }
.mega-head em {
  font-family: var(--f-body); font-style: normal; font-weight: 600;
  font-size: .72rem; color: var(--muted); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; margin-left: 6px;
}
.mega-arrow {
  flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sand); color: var(--brand); font-size: 1rem; line-height: 1;
  transition: background-color .14s ease, color .14s ease;
}
.mega-head:hover .mega-arrow { background: var(--brand); color: #fff; }

/* ── 联系页 ─────────────────────────────────────────────────────── */
.chero { padding: clamp(56px, 9vw, 104px) 0 clamp(30px, 4vw, 46px); text-align: center; }
.wrap-c { max-width: 760px; }
.chero-title { color: var(--brand); text-transform: uppercase; letter-spacing: .01em; }
.chero-lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink); max-width: 62ch; margin: 0 auto; }
.sec-tight { padding-top: clamp(24px, 3vw, 40px); }
.split-contact { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }

.contact-side { display: grid; gap: 30px; }
.cinfo-label {
  font-size: .95rem; color: var(--ink); margin: 0 0 4px; font-weight: 500;
}
.cinfo-big {
  display: block; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.2;
  letter-spacing: .01em; text-transform: uppercase; color: var(--brand);
  word-break: break-word;
}
.cinfo-big:hover { color: var(--brand-ink); text-decoration: none; }
.cinfo-addr { margin: 4px 0 10px; color: var(--ink); }
.cinfo-dir { font-weight: 600; font-size: .95rem; text-decoration: underline; }
.cinfo-box {
  background: var(--sand); border-radius: var(--r); padding: 24px 26px;
}
.cinfo-box .cinfo-label {
  font-family: var(--f-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.cinfo-box .ticks li { font-size: .93rem; margin-bottom: 8px; }
.cinfo-box .ticks li:last-child { margin-bottom: 0; }
.lang { font-size: .9rem; color: var(--muted); border-left: 1px solid var(--line); padding-left: 22px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after {
  display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease;
}
.bars { position: relative; }
.bars::before { content: ''; position: absolute; top: -7px; }
.bars::after { content: ''; position: absolute; top: 7px; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  /* 想调明暗就改这四个数：
       scrim 越大 → 文字越清楚、底图越暗；越小 → 底图越清晰
       bright 越大 → 照片本身越亮
     建议范围 scrim .55~.85 .74，bright 1.0~1.3 1.18*/
  --hero-scrim: .90;
  --hero-scrim-mid: .46;
  --hero-scrim-end: .16;
  --hero-bright: 1.0;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: #16395c;
  background-image: linear-gradient(135deg, #123252 0%, #1b5f9e 55%, #2a86bd 100%);
  filter: brightness(var(--hero-bright)) saturate(1.06);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(9,25,40, var(--hero-scrim)) 0%,
    rgba(9,25,40, var(--hero-scrim-mid)) 42%,
    rgba(9,25,40, var(--hero-scrim-end)) 78%,
    rgba(9,25,40, 0) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(72px, 13vh, 132px) 24px; max-width: 780px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a8d8ff; margin-bottom: 18px; text-shadow: 0 1px 8px rgba(6,20,34,.65); }
.hero h1 { color: #fff; margin-bottom: 22px; text-shadow: 0 2px 22px rgba(6,20,34,.55), 0 1px 3px rgba(6,20,34,.45); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.88); max-width: 62ch; }
.hero .lede { color: rgba(255,255,255,.95); text-shadow: 0 1px 14px rgba(6,20,34,.6); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 34px 0 0; }
.chips li {
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: 7px 15px; border-radius: var(--rp);
  background: rgba(9,25,40,.4); border: 1px solid rgba(255,255,255,.3); color: #fff;
  backdrop-filter: blur(3px);
}

/* ── 数字条 ─────────────────────────────────────────────────────── */
.stats { background: var(--brand); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 34px 24px; text-align: center; }
.stats-grid b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; }
.stats-grid span { display: block; margin-top: 8px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.82); }

/* ── 区块 ───────────────────────────────────────────────────────── */
.sec { padding: clamp(56px, 8vw, 92px) 0; }
.sec-alt { background: var(--sand); }
.sec h2 { margin-bottom: 12px; }
.sec-lede { color: var(--muted); font-size: 1.05rem; max-width: 68ch; margin-bottom: 34px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head h2 { margin: 0; }
.more { font-weight: 600; white-space: nowrap; }

.page-head { background: var(--sand); border-bottom: 1px solid var(--line); padding: 44px 0 46px; }
.page-head h1 { margin: 10px 0 12px; }
.page-head .lede { color: var(--muted); max-width: 70ch; margin: 0; font-size: 1.08rem; }
.kicker { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0; }
.tagline { font-style: italic; font-size: 1.15rem; color: var(--muted); margin: 0 0 10px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 6px; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #b9c4d1; }
.crumbs a { color: var(--muted); }

/* ── 分类大卡 ───────────────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cat-card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px; box-shadow: var(--shadow); color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-hi); }
.cat-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.cat-card p { color: var(--muted); margin-bottom: 14px; }
.cat-count { font-family: var(--f-display); font-weight: 700; color: var(--brand); font-size: .92rem; }

/* ── 产品卡 ─────────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.card-link { display: block; color: inherit; padding-bottom: 20px; }
.card-link:hover { text-decoration: none; }
.card:hover { box-shadow: var(--shadow-hi); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eef2f7; }
/* 图片容器：data-img 挂在它身上，「换图」按钮才有地方放 */
.imgwrap { display: block; position: relative; overflow: hidden; }
.imgwrap > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 1.05rem; padding: 18px 20px 0; margin: 0 0 6px; }
.card p { color: var(--muted); font-size: .92rem; padding: 0 20px; margin: 0 0 12px; }
.card-cta { display: inline-block; padding: 0 20px; font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.card-cta i { font-style: normal; transition: transform .15s ease; display: inline-block; }
.card-link:hover .card-cta i { transform: translateX(3px); }

/* 图片占位：没放图时不会出现破图或空白 */
.ph {
  display: grid; place-items: center; text-align: center; padding: 16px;
  background-color: #eef2f7;
  background-image: repeating-linear-gradient(135deg, #e6ecf4 0 10px, #eef2f7 10px 20px);
  border-bottom: 1px solid var(--line);
}
.ph span {
  font-family: var(--f-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #94a5b8;
}

/* ── 信任条 ─────────────────────────────────────────────────────── */
.trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.trust-grid li { display: flex; gap: 14px; align-items: flex-start; }
.trust-grid svg { width: 34px; height: 34px; flex: none; color: var(--brand); }
.trust-grid h3 { font-size: 1rem; margin-bottom: 4px; }
.trust-grid p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ── 优势卡 ─────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.why { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.why h3 { margin-bottom: 10px; }
.why p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ── 产品详情 ───────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.split-narrow { grid-template-columns: 1.4fr 1fr; }
.prose .lead-p { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
/* 节内小标题（Highlights 等）：跟全局 h2 同字号，不再单独缩小。
   之前压到 1.3rem 会和 Specifications、Questions 明显不一致，显得像三级标题 */
.prose h2 { margin-top: clamp(38px, 5vw, 52px); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .42em; width: 15px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.pending {
  background: #fff8e6; border: 1px solid #f2d98c; border-left: 4px solid #e0a800;
  border-radius: var(--r-sm); padding: 16px 18px; color: #6b5200; font-size: .95rem;
}
/* 规格表：用 grid 而不是 <table>，这样删除按钮能摆在行的外侧。
   <tr> 不是定位上下文，按钮放进单元格会被当成单元格内容。 */
.specs { max-width: 720px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 38% 1fr; }
.spec-row + .spec-row { border-top: 1px solid var(--line); }
.spec-k { background: var(--sand); font-family: var(--f-display); font-weight: 700; padding: 13px 16px; font-size: .96rem; }
.spec-v { padding: 13px 16px; font-size: .96rem; }

/* 数组项的包裹层。自身不加间距，靠内部元素原有的 margin，
   保证编辑模式开与关时的排版完全一致 */
.ed-p, .chip-item, .tick-item { position: relative; }
body.editing .ed-p, body.editing .tick-item { padding-right: 28px; }
body.editing .chip-item { padding-right: 34px; }
/* ── 产品详情：主视觉区 ─────────────────────────────────────────── */
.p-hero { padding: 26px 0 clamp(40px, 5vw, 62px); }
.p-hero .crumbs { margin-bottom: clamp(20px, 3vw, 34px); }
.p-hero-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
/* 右栏顶部对齐图片顶边；小标行高不同，往下挪一点做视觉基线补偿 */
.p-hero-copy { padding-top: 4px; }
.p-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 14px; }
.p-hero-copy .tagline { color: var(--brand); font-size: 1.22rem; margin-bottom: 18px; }
.p-hero-copy .kicker { margin-bottom: 12px; }
.p-hero-copy .lead-p { color: var(--ink); font-size: 1.05rem; }

/* 纯色底板：抠图产品放上去立刻像「产品图」而不是随手拍。
   矩形照片也会得到一圈同色留白，像加了卡纸，不会难看 */
.p-stage {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.p-stage .card-img { width: 100%; aspect-ratio: 4 / 3; }
/* contain 要落在内层 img 上，容器本身不需要 */
.p-stage .imgwrap > img { object-fit: contain; }
.p-stage .ph { border-bottom: 0; }

/* ── 问答区：双列 + 加号在右 + 底部横线 ─────────────────────────── */
.sec-faq { background: var(--sand); }
.faq-grid { columns: 2; column-gap: 54px; max-width: 1020px; margin: 34px auto 0; }
.faq { break-inside: avoid; border-bottom: 1px solid var(--line); margin: 0 0 2px; padding: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  padding: 18px 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--muted); }
.faq[open] summary::after { content: '2'; }
.faq p { color: var(--muted); margin: 0 0 20px; }
.faq-more { text-align: center; margin-top: clamp(36px, 5vw, 52px); }
.faq-more p { font-size: 1.02rem; margin-bottom: 18px; }

/* ── 表单（胶囊输入框 + 浮动标签） ───────────────────────────── */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }

.field input, .field textarea, .field select {
  display: block; width: 100%;
  padding: 27px 22px 11px;
  font: inherit; font-family: var(--f-body); font-size: 1rem; color: var(--ink);
  background: var(--sand); border: 1px solid transparent; border-radius: 14px;
  appearance: none; -webkit-appearance: none;
  transition: background-color .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.field textarea { min-height: 180px; resize: vertical; }
.field select { cursor: pointer; padding-right: 48px; }
.field input:focus, .field textarea:focus, .field select:focus {
  background: #fff; border-color: var(--brand);
  outline: 0; box-shadow: 0 0 0 3px rgba(21, 96, 189, .16);
}

/* 标签：未填时看起来像占位符，聚焦或已填就缩小上移 */
.field > label {
  position: absolute; left: 22px; top: 19px;
  color: var(--muted); font-size: 1rem; pointer-events: none;
  transform-origin: left top;
  transition: transform .14s ease, color .14s ease;
}
.field select + label {
  top: 8px; font-size: .66rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #8494a5;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-11px) scale(.66);
  color: var(--brand); font-weight: 700;
}
.field input:invalid:not(:placeholder-shown) { border-color: #d80026; }

/* 下拉右侧的箭头 */
.field-sel::after {
  content: ''; position: absolute; right: 24px; top: 50%;
  width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.consent { font-size: .78rem; line-height: 1.6; color: var(--muted); max-width: 52ch; margin: 0; }
.form-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .btn { flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notice { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.notice-warn {
  background: #fff8e6; border-color: #f2d98c; border-left: 4px solid #e0a800;
  color: #6b5200; margin-bottom: 22px;
}
.notice-warn code { background: rgba(224, 168, 0, .15); }
.aside h2 { font-size: 1.2rem; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.facts span { color: var(--muted); }

/* ── CTA 色带 ───────────────────────────────────────────────────── */
.band { background: var(--navy); color: #fff; }
.band-inner { padding: clamp(52px, 7vw, 78px) 24px; text-align: center; max-width: 760px; }
.band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.band p { color: rgba(255,255,255,.82); font-size: 1.05rem; }
.band .btn-row { justify-content: center; }

/* ── 页脚 ───────────────────────────────────────────────────────── */
.site-foot { background: #16202b; color: rgba(255,255,255,.72); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 58px 24px 40px; }
.site-foot h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { color: rgba(255,255,255,.72); }
.site-foot a:hover { color: #fff; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand p { max-width: 42ch; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 20px 24px 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem;
}

/* ── 响应式 ─────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--head-h); right: 0; bottom: 0; z-index: 40;
    width: min(84vw, 340px); margin-left: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 26px 24px; background: var(--white); border-left: 1px solid var(--line);
    box-shadow: -14px 0 40px rgba(13,36,56,.16);
    transform: translateX(100%); transition: transform .22s ease; overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav > a:not(.btn):not(.lang), .nav-item > a { width: 100%; padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  /* 抽屉里不玩 hover，二级分类直接展开成缩进的子项 */
  .nav-item { display: block; width: 100%; align-self: auto; }
  .caret { display: none; }
  .sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; padding: 4px 0 10px 16px; border: 0; box-shadow: none; background: transparent;
  }
  .sub::before { display: none; }
  .sub a { padding: 9px 0; font-size: .95rem; color: var(--muted); }
  .sub a:hover { background: none; color: var(--brand); }
  /* 抽屉里的 mega 面板：不弹层，直接展开成两栏清单 */
  .mega {
    position: static; width: auto; transform: none; opacity: 1; visibility: visible;
    grid-template-columns: 1fr; gap: 4px; padding: 6px 0 14px;
    border: 0; border-radius: 0; box-shadow: none; background: transparent;
  }
  .mega::before { display: none; }
  .mega-arrow { width: 24px; height: 24px; font-size: .95rem; }
  .split-contact { grid-template-columns: 1fr; gap: 36px; }
  .contact-side { gap: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .lang { border-left: 0; padding-left: 0; }
  .nav { flex: 0 0 auto; margin-left: 0; }
  .nav .btn { margin-top: 16px; margin-left: 0; width: 100%; }
  body.nav-open { overflow: hidden; }
  .cat-grid, .stats-grid, .trust-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 26px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-inner { padding-top: 56px; padding-bottom: 64px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-head, .site-foot, .band, .btn { display: none !important; }
}

/* ── 空占位项 ─────────────────────────────────────────────────── */
/* 内容还没填的数组项整块不占位。必须藏外层包裹元素，只藏内层文字是不够的——
   要点列表的绿色对勾是 .ticks li::before 画的，会留下一个孤零零的勾。
   放在文件末尾，靠源码顺序压过 .spec-row 等组件自身的 display 声明。 */
.ed-empty { display: none; }

/* ── 产品详情窄屏调整 ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .p-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .p-title { font-size: clamp(1.9rem, 6.5vw, 2.7rem); }
  .faq-grid { columns: 1; }
  .faq summary { font-size: .95rem; }
}

/* 产品正文列：左对齐到容器边缘（和上方产品图齐平），只限制行长。
   用 .wrap.narrow 居中会在宽 hero 下面形成一块对不齐的文字岛 */
.body-col { max-width: 74ch; }

/* 二级强调标题：参考站的做法——只有解释性/收尾章节用蓝色大写居中，
   内容段的标题保持深色，这样蓝色才是「信号」而不是装饰 */
.h-lead {
  color: var(--brand);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin-bottom: .6em;
}
/* ── 产品视频区 ───────────────────────────────────────────────── */
.sec-video { background: var(--navy); color: #fff; padding: clamp(52px, 8vw, 88px) 0; }
.h-lead.on-dark { color: #fff; }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; max-width: 1000px; margin: 34px auto 0; }
.vid-grid figure { margin: 0; min-width: 0; }
.vid-frame {
  position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center;
  border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  background: #0a1a29 center / cover no-repeat;
}
.vid-frame.vid-native { background: #000; }
.vid-el, .vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vid-play {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--navy);
  font-size: 22px; cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.vid-play:hover { transform: scale(1.07); background: #fff; }
.vid-grid figcaption {
  margin-top: 10px; text-align: center; font-size: .9rem;
  color: rgba(255,255,255,.75); font-family: var(--f-body);
}


/* ── 详情页多图 gallery ────────────────────────────────────────────
   p-stage-multi 是新的容器（替代旧的单图 imgwrap）：
     - 主图占满 4:3 舞台；
     - 下方缩略图条横向排布，超一行可换行；
     - 点击缩略图切换主图（脚本在 pages.js 里内联）。
   编辑器换图按钮仍挂在 p-stage-multi 上（data-img 保留）。
   ─────────────────────────────────────────────────────────────── */
.p-stage-multi { display: block; position: relative; overflow: visible; aspect-ratio: auto; }
.p-stage-multi > .p-stage-main {
  display: block; width: 100%; aspect-ratio: 4 / 3;
  object-fit: contain; background: #fff;
}
.p-thumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px; background: var(--sand);
  border-top: 1px solid var(--line);
}
.p-thumb {
  display: block; padding: 0; border: 2px solid transparent;
  background: #fff; cursor: pointer; border-radius: 4px; overflow: hidden;
  width: 88px; height: 66px;
  transition: border-color .15s ease, transform .15s ease;
}
.p-thumb:hover { border-color: var(--brand); transform: translateY(-1px); }
.p-thumb.is-active { border-color: var(--brand); }
.p-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .p-thumb { width: 64px; height: 48px; }
  .p-thumbs { gap: 6px; padding: 8px; }
}
