/* ============================================================
   虞谷机器人 YooGo ROBOT — 企业官网样式  v1.0
   设计基调：船舶工业 · 深蓝主色 × 橙红强调 × 亮黄点缀
   技术栈：纯静态 HTML + 手写 CSS（无框架 / 无构建）
   配色依据：深蓝取自 Logo 实测 #0D397F；橙红/亮黄取自产品机身色
   ============================================================ */

:root {
  /* ---------- 强制浅色主题声明 ----------
     官网只有浅色主题。未声明时，Chromium 内核浏览器（百度浏览器 / 部分国产
     安卓浏览器）的「强制暗色 / 夜间模式」会整体反色：
     白底被翻成深灰、深蓝 Hero 变成灰白、Hero 白色大标题翻成浅灰几乎不可见。
     声明 color-scheme: light 后，UA 的自动暗色算法会把整棵子树标记为
     「已处理」，从而不再反色。与微信、华为浏览器等本就正常的端无任何副作用。 */
  color-scheme: light;

  /* ---------- 品牌三色（换肤只改这里） ----------
     换肤规则：只改下面 3 个主色值（--brand / --flame / --accent）及其 hover 阶，
     全站 39 处半透明底纹均由 color-mix 从主色实时派生，不会出现
     「主色改了、rgba 三元组忘了同步」的割色问题（已实测验证）。 */
  --brand:        #0D397F;   /* 主色·深蓝，Logo 实测色 */
  --brand-hover:  #0A2C63;   /* 悬停压深 */
  --brand-deep:   #021A4C;   /* 深色区块底 */
  --brand-lift:   #2F6FD0;   /* 主色提亮阶（图标底渐变用） */
  --navy:         #021A4C;   /* Hero / 数据带 / 页脚 */
  --navy-2:       #0A2A63;   /* 深底渐变阶 */
  --navy-3:       #04174A;   /* 深底渐变起始阶 */
  --navy-deep:    #010B1F;   /* 页脚最深处 */
  --flame:        #E8452C;   /* 橙红·强调 */
  --flame-hover:  #C6361F;
  --accent:       #F5B914;   /* 亮黄·点缀（仅深底上使用） */
  --on-dark:      #E8F0FC;   /* 深底上的浅色文字 */
  --on-dark-2:    #C6DDFF;   /* 深底渐变文字色 */

  /* ---------- 中性色 ---------- */
  --bg:      #F5F8FC;
  --surface: #FFFFFF;
  --ink:     #14213D;
  --ink-2:   #56657E;
  --ink-3:   #8794A8;
  --line:    #DFE7F2;
  --ok:      #35C28F;

  /* ---------- 尺度 / 阴影 / 动效 ---------- */
  --radius: 14px;
  --shadow-s: 0 2px 10px rgba(2, 26, 76, .07);
  --shadow-m: 0 14px 40px rgba(2, 26, 76, .12);
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
  --font-num: "Barlow Condensed", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

::selection { background: var(--brand); color: #fff; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), height .4s var(--ease), background .4s var(--ease);
}
.site-header.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 24px rgba(2, 26, 76, .08);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo —— 图片自带中英文字，无需 .logo-text */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 46px; width: auto; transition: opacity .3s; }
.site-header.scrolled .logo-img { height: 38px; }
.logo:hover .logo-img { opacity: .82; }

/* 主导航 */
.main-nav > ul { display: flex; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 10px;
  transition: color .25s, background .25s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--brand); }
.main-nav > ul > li > a.active { background: color-mix(in srgb, var(--brand) 07%, transparent); }
.caret { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; transition: transform .25s; }
li.open > a .caret { transform: rotate(225deg) translateY(-1px); }

/* 下拉菜单 */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-m);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
@media (hover: hover) {
  .main-nav > ul > li:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .main-nav > ul > li:hover > a .caret { transform: rotate(225deg) translateY(-1px); }
}
.main-nav li.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 14px;
  border-radius: 10px;
  transition: background .25s;
}
.dropdown a:hover { background: color-mix(in srgb, var(--brand) 06%, transparent); }
.dropdown a b { font-size: 14.5px; font-weight: 600; }
.dropdown a span { font-size: 12.5px; color: var(--ink-3); }

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--flame);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  transition: background .25s, transform .25s var(--ease);
}
.header-cta:hover { background: var(--flame-hover); transform: translateY(-1px); }

/* 移动端菜单按钮 */
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: none; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-btn i { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.menu-btn.open i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open i:nth-child(2) { opacity: 0; }
.menu-btn.open i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 520px at 78% 18%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%),
    radial-gradient(700px 460px at 12% 88%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 60%),
    linear-gradient(158deg, var(--navy-3) 0%, var(--navy) 52%, var(--navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 180, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1200px 800px at 60% 40%, #000 30%, transparent 78%);
}
/* 漩涡风格装饰线（呼应 Logo 环形） */
.hero-ring {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(660px, 54vw);
  opacity: .5;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 140px 0 120px; max-width: 720px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 15px;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(120deg, #ffffff 30%, var(--on-dark-2) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin-top: 15px;
  max-width: 560px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(206, 224, 250, .85);
  line-height: 1.6;
}
.hero-actions { margin-top: 25px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s, color .3s;
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
/* 主按钮用橙红 —— 三色体系中橙红承担 CTA */
.btn-primary { background: var(--flame); color: #fff; box-shadow: 0 12px 32px color-mix(in srgb, var(--flame) 38%, transparent); }
.btn-primary:hover { background: var(--flame-hover); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-2px); }

/* 滚动指示 */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  z-index: 2;
}
.scroll-hint::after {
  content: "";
  position: absolute; left: 50%; top: 9px;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: wheel 1.8s infinite var(--ease);
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* 数据带 */
.stats-band { position: relative; z-index: 3; margin-top: -72px; }
.stats-band .container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-m);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat { padding: 34px 20px 30px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; height: 48%; width: 1px; background: var(--line); }
.stat b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}
.stat b em { font-style: normal; font-size: .55em; margin-left: 3px; }
.stat span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); letter-spacing: 1px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: clamp(72px, 9vw, 118px) 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 auto clamp(44px, 5vw, 64px); text-align: center; }
.section-head .en {
  display: block;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: 1px; line-height: 1.3; }
.section-head p { margin-top: 9px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* ---------------- 产品线卡片 ---------------- */
/* [line-grid-4] 产品线卡片由 3 列改自适应
   原因：新增漆龙 YG-CZ 后共 4 款产品，固定 3 列会出现「3+1」孤行、版面不齐。
   改用 auto-fit + minmax：宽屏 4 列、中屏 2 列、窄屏 1 列由容器宽度自然决定。 */
.line-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 16px; }
.line-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.line-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
/* 卡片顶条：深蓝 → 橙红渐变 */
.line-card::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--flame));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.line-card:hover::after { transform: scaleX(1); }
.line-card .ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 12%, transparent), color-mix(in srgb, var(--accent) 14%, transparent));
  color: var(--brand);
  margin-bottom: 11px;
}
.line-card .ic svg { width: 28px; height: 28px; }
.line-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.line-card .en-name { font-family: var(--font-num); font-size: 12px; letter-spacing: 1.6px; color: var(--flame); font-weight: 600; }
.line-card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-top: 7px; }
.line-card .go {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
}
.line-card .go svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.line-card:hover .go svg { transform: translateX(4px); }

/* ---------------- 明星产品系列 ---------------- */
.series-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}
.series-card + .series-card { margin-top: 16px; }
.series-card .fig {
  background:
    radial-gradient(420px 260px at 70% 30%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 65%),
    linear-gradient(160deg, var(--navy-2), var(--navy));
  border-radius: 16px;
  padding: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(140, 180, 255, .14);
}
.series-card .fig img { width: 100%; height: auto; border-radius: 12px; }
.series-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--flame);
  background: color-mix(in srgb, var(--flame) 08%, transparent);
  border-radius: 6px;
  padding: 5px 12px;
  margin-bottom: 10px;
}
.series-card h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: 1px; }
.series-card .desc { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.series-items { margin-top: 11px; display: flex; flex-direction: column; gap: 8px; }
.series-items li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink);
  /* 行高显式化：::before 的垂直居中公式依赖此值，两者必须联动修改 */
  line-height: 1.5;
}
.series-items li::before {
  content: "";
  position: absolute; left: 0;
  /* 与首行文字垂直居中：top = (line-height*em - 10px) / 2，⚠ 与 li 行高联动 */
  top: calc((1.5em - 10px) / 2);
  width: 10px; height: 10px;
  border: 2px solid var(--flame);
  border-radius: 3px;
}
.series-card .link {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand);
  font-size: 15px;
}
.series-card .link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.series-card:hover .link svg { transform: translateX(4px); }

/* ---------------- 解决方案（编号式） ---------------- */
.sol-list { counter-reset: sol; }
.sol-row {
  display: grid;
  grid-template-columns: 170px 1fr 130px;
  gap: clamp(20px, 3.5vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.4vw, 42px) 8px;
  border-top: 1px solid var(--line);
  transition: background .3s;
}
.sol-row:last-child { border-bottom: 1px solid var(--line); }
.sol-row:hover { background: color-mix(in srgb, var(--brand) 035%, transparent); }
.sol-num {
  font-family: var(--font-num);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px color-mix(in srgb, var(--brand) 45%, transparent);
  transition: color .35s var(--ease);
}
.sol-row:hover .sol-num { color: var(--brand); -webkit-text-stroke-color: var(--brand); }
.sol-body h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; margin-bottom: 4px; }
.sol-body p { color: var(--ink-2); font-size: 14.5px; max-width: 640px; line-height: 1.6; }
.sol-go {
  justify-self: end;
  width: 54px; height: 54px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--brand);
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.sol-go svg { width: 18px; height: 18px; }
.sol-row:hover .sol-go { background: var(--flame); border-color: var(--flame); color: #fff; transform: translate(3px, -3px); }

/* ---------------- 核心技术 ---------------- */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tech-card {
  position: relative;
  background: linear-gradient(165deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(140, 180, 255, .16);
  border-radius: 18px;
  padding: 38px 34px;
  color: var(--on-dark);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.tech-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 5%, transparent); }
.tech-card::before {
  content: attr(data-idx);
  position: absolute;
  right: 22px; top: 6px;
  font-family: var(--font-num);
  font-size: 88px;
  font-weight: 700;
  color: rgba(140, 180, 255, .1);
  line-height: 1;
}
.tech-card h3 { font-size: 20px; font-weight: 700; color: #fff; }
.tech-card .en { font-family: var(--font-num); font-size: 13px; letter-spacing: 2px; color: var(--accent); margin-top: 4px; }
.tech-card p { margin-top: 9px; font-size: 14.5px; color: rgba(206, 224, 250, .78); line-height: 1.6; }

/* ---------------- 应用场景 ---------------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene-card {
  position: relative;
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  min-height: 210px;
  background:
    radial-gradient(340px 200px at 85% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.scene-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.scene-card .no {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink-3);
}
.scene-card h3 { margin-top: 46px; font-size: 20px; font-weight: 700; }
.scene-card p { margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ---------------- 关于 / CTA ---------------- */
.about-band { position: relative; overflow: hidden; background: linear-gradient(158deg, var(--navy-3), var(--navy)); color: #fff; }
.about-band .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-band h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: 1px; }
.about-band .en { font-family: var(--font-num); letter-spacing: 5px; font-size: 13px; color: var(--accent); font-weight: 600; display: block; margin-bottom: 8px; }
.about-band p { margin-top: 10px; color: rgba(206, 224, 250, .82); font-size: 15.5px; line-height: 1.6; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-item {
  border: 1px solid rgba(140, 180, 255, .2);
  border-radius: 14px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, .03);
  transition: background .3s, border-color .3s;
}
.value-item:hover { background: rgba(255, 255, 255, .06); border-color: color-mix(in srgb, var(--accent) 5%, transparent); }
.value-item b { display: block; font-size: 17px; color: #fff; }
.value-item span { display: block; margin-top: 4px; font-size: 13px; color: rgba(206, 224, 250, .65); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--navy-deep); color: rgba(206, 224, 250, .72); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 26px; border-bottom: 1px solid rgba(140, 180, 255, .14); }
.footer-brand p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; }
.footer-brand .logo-img { height: 46px; width: auto; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 10px; letter-spacing: 1px; }
.site-footer li { margin-bottom: 6px; font-size: 13.5px; }
.site-footer li a { transition: color .25s; }
.site-footer li a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; margin-top: 5px; color: var(--accent); flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 15px; font-size: 12.5px; color: rgba(206, 224, 250, .45); flex-wrap: wrap; }
.site-ver { font-family: var(--font-num); letter-spacing: .5px; color: rgba(140, 180, 255, .75); }

/* ---------------- 产品详情页 ---------------- */
.page-hero {
  position: relative;
  padding: 190px 0 90px;
  color: #fff;
  background:
    radial-gradient(760px 420px at 82% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    linear-gradient(158deg, var(--navy-3), var(--navy));
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 180, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 60% 30%, #000 20%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 10px; font-size: 13px; color: rgba(206, 224, 250, .6); margin-bottom: 15px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: 1.5px; }
.page-hero .sub { margin-top: 9px; max-width: 640px; color: rgba(206, 224, 250, .8); font-size: 15.5px; line-height: 1.6; }

/* 产品锚点条 */
.product-nav {
  position: sticky;
  top: 64px;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.product-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.product-nav ul::-webkit-scrollbar { display: none; }
.product-nav a {
  display: block;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color .25s, border-color .25s;
}
.product-nav a:hover, .product-nav a.active { color: var(--brand); border-bottom-color: var(--brand); }

/* 产品详情区块 */
.product-block { padding: clamp(56px, 7vw, 92px) 0; }
.product-block:nth-of-type(odd) { background: var(--surface); }
.product-block .block-head { margin-bottom: 22px; }
.product-block .block-head h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; line-height: 1.3; }
.product-block .block-head h2 small { font-family: var(--font-num); font-size: .48em; letter-spacing: 2px; color: var(--ink-3); font-weight: 600; }
.product-block .block-head .pos { margin-top: 6px; color: var(--flame); font-weight: 600; font-size: 14.5px; letter-spacing: .5px; }

.product-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.product-fig {
  position: sticky;
  top: 140px;
  background:
    radial-gradient(400px 240px at 70% 25%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 65%),
    linear-gradient(160deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(140, 180, 255, .14);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  place-items: center;
}
.product-fig img { width: 100%; height: auto; border-radius: 12px; }
.product-fig figcaption { margin-top: 9px; font-size: 12.5px; letter-spacing: 2px; color: rgba(206, 224, 250, .5); text-align: center; }

/* 特性卡 */
.feature-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.feature-item:hover { border-color: color-mix(in srgb, var(--brand) 4%, transparent); transform: translateX(4px); box-shadow: var(--shadow-s); }
.feature-item .dot {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 12%, transparent), color-mix(in srgb, var(--accent) 12%, transparent));
  color: var(--brand);
}
.feature-item .dot svg { width: 21px; height: 21px; }
.feature-item b { display: block; font-size: 15.5px; }
.feature-item p { margin-top: 3px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

.func-row { margin-top: 20px; }
.func-row h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.func-row h3::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, var(--flame), var(--accent)); }
.func-row ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.func-row li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.func-row li::before { content: ""; position: absolute; left: 0; top: calc((1.5em - 7px) / 2); width: 7px; height: 7px; border-radius: 2px; background: var(--flame); opacity: .8; }

/* 参数表 */
.spec-wrap { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.spec-wrap .spec-title {
  padding: 16px 24px;
  font-weight: 700;
  font-size: 15.5px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 08%, transparent), transparent);
  border-bottom: 1px solid var(--line);
}
table.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
table.spec tr { border-bottom: 1px solid var(--line); transition: background .25s; }
table.spec tr:last-child { border-bottom: none; }
table.spec tr:hover { background: color-mix(in srgb, var(--brand) 035%, transparent); }
table.spec th {
  width: 190px;
  text-align: left;
  vertical-align: top;
  padding: 15px 24px;
  font-weight: 600;
  color: var(--brand-deep);
  white-space: nowrap;
  background: color-mix(in srgb, var(--brand) 03%, transparent);
}
table.spec td { padding: 15px 24px; color: var(--ink-2); line-height: 1.6; }

/* 行业对比表 */
.cmp-wrap { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.cmp-wrap .cmp-title {
  padding: 16px 24px;
  font-weight: 700;
  font-size: 15.5px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--flame) 09%, transparent), transparent);
  border-bottom: 1px solid var(--line);
}
table.cmp { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.cmp th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  white-space: nowrap;
}
table.cmp th:nth-child(2) { background: var(--ink-3); }
table.cmp th:nth-child(3) { background: var(--flame); }
table.cmp td { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.55; vertical-align: top; }
table.cmp tr:last-child td { border-bottom: none; }
table.cmp tbody tr { transition: background .25s; }
table.cmp tbody tr:hover { background: color-mix(in srgb, var(--brand) 035%, transparent); }
table.cmp td:first-child { font-weight: 600; color: var(--brand-deep); white-space: nowrap; }
table.cmp td:nth-child(3) { color: var(--ink); background: color-mix(in srgb, var(--flame) 035%, transparent); }
.cmp-note { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }

/* 应用场景图集 */
.yg-scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yg-scene-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.yg-scene-grid figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.yg-scene-grid img { width: 100%; height: 226px; object-fit: cover; display: block; }
.yg-scene-grid figcaption { padding: 16px 20px 18px; }
.yg-scene-grid figcaption b { display: block; font-size: 15.5px; color: var(--brand-deep); letter-spacing: .5px; }
.yg-scene-grid figcaption span { display: block; margin-top: 5px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

/* 资料下载模块 */
.dl-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 26px 30px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 06%, transparent), color-mix(in srgb, var(--accent) 05%, transparent));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  border-radius: 16px;
}
.dl-info { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dl-ic {
  width: 54px; height: 54px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand), var(--brand-lift));
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 3%, transparent);
}
.dl-ic svg { width: 26px; height: 26px; }
.dl-meta b { display: block; font-size: 16.5px; }
.dl-meta span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.dl-btn { height: 46px; padding: 0 26px; font-size: 14.5px; }
.dl-btn .arr { font-weight: 700; }
.dl-qr { display: flex; align-items: center; gap: 14px; }
.dl-qr img { width: 92px; height: 92px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.dl-qr figcaption { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }

/* 页尾 CTA */
.cta-band { background: linear-gradient(120deg, var(--brand-deep), var(--brand)); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 56px 0; }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: 1px; }
.cta-band p { margin-top: 4px; color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.6; }
.btn-white { background: #fff; color: var(--brand); box-shadow: 0 12px 30px rgba(1, 11, 31, .35); }
.btn-white:hover { transform: translateY(-2px); }

/* ---------------- 独立解决方案页 ---------------- */
/* 方案大块：从深色 hero 图文卡 */
.sol-hero {
  position: relative;
  padding: 190px 0 80px;
  color: #fff;
  background:
    radial-gradient(760px 420px at 82% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    linear-gradient(158deg, var(--navy-3), var(--navy));
  overflow: hidden;
}
.sol-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 180, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 60% 30%, #000 20%, transparent 75%);
}
.sol-hero .container { position: relative; z-index: 2; }
.sol-hero h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: 1.5px; }
.sol-hero .sub { margin-top: 10px; max-width: 660px; color: rgba(206, 224, 250, .8); font-size: 15.5px; line-height: 1.6; }

/* 单个方案区块（造船厂/修船厂/船东） */
.sol-block { padding: clamp(56px, 7vw, 88px) 0; }
.sol-block:nth-of-type(odd) { background: var(--surface); }
.sol-block .sol-block-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.sol-block .sol-tag {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--flame);
}
.sol-block h2 { font-size: clamp(25px, 3vw, 36px); font-weight: 700; letter-spacing: 1px; line-height: 1.3; }
.sol-block .lead { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; max-width: 860px; }

/* 痛点 → 方案 两栏 */
.sol-need { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.need-card, .pick-card {
  border-radius: 16px;
  padding: 24px 26px;
  border: 1px solid var(--line);
}
.need-card { background: color-mix(in srgb, var(--flame) 04%, transparent); border-color: color-mix(in srgb, var(--flame) 2%, transparent); }
.pick-card { background: color-mix(in srgb, var(--brand) 04%, transparent); border-color: color-mix(in srgb, var(--brand) 2%, transparent); }
.sol-need h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.need-card h3 { color: var(--flame); }
.pick-card h3 { color: var(--brand); }
.sol-need h3::before { content: ""; width: 5px; height: 18px; border-radius: 3px; background: currentColor; }
.need-card ul, .pick-card ul { display: flex; flex-direction: column; gap: 9px; }
.need-card li, .pick-card li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.need-card li::before, .pick-card li::before { content: ""; position: absolute; left: 0; top: calc((1.6em - 6px) / 2); width: 6px; height: 6px; border-radius: 50%; }
.need-card li::before { background: var(--flame); opacity: .75; }
.pick-card li::before { background: var(--brand); opacity: .75; }

/* 方案配套产品 */
.sol-products { margin-top: 26px; }
.sol-products h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.sol-products h3::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, var(--flame), var(--accent)); }
.sol-pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sol-pick {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.sol-pick:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: color-mix(in srgb, var(--brand) 3%, transparent); }
.sol-pick .pk-ic {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 12%, transparent), color-mix(in srgb, var(--accent) 12%, transparent));
  color: var(--brand);
}
.sol-pick .pk-ic svg { width: 24px; height: 24px; }
.sol-pick b { display: block; font-size: 15.5px; }
.sol-pick .m { font-family: var(--font-num); font-size: 12px; letter-spacing: 1.4px; color: var(--flame); font-weight: 600; }
.sol-pick p { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

/* 方案效益指标 */
.sol-gain { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.gain-item {
  padding: 20px 18px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(140, 180, 255, .16);
}
.gain-item b { display: block; font-family: var(--font-num); font-size: 30px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.gain-item b em { font-style: normal; font-size: .55em; margin-left: 2px; }
.gain-item span { display: block; margin-top: 5px; font-size: 13px; color: rgba(206, 224, 250, .72); line-height: 1.5; }

/* 方案导航（页内锚点） */
.sol-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sol-jump a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.sol-jump a:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: color-mix(in srgb, var(--brand) 3%, transparent); }
.sol-jump .no {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-num);
  font-size: 19px;
  font-weight: 700;
}
.sol-jump b { display: block; font-size: 16.5px; }
.sol-jump span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }

/* ---------------- 动效 ---------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- 百度浏览器「强制暗色」兜底 ----------------
   仅在 main.js 检测到 UA 为百度浏览器（BaiduBrowser / baiduboxapp）时，
   给 <html> 加 .bd-light-fix。本类名不会出现在微信、华为、
   Chrome、Safari 等浏览器上，故对它们零影响。
   目的：当浏览器夜间模式无视 :root{color-scheme:light} 仍整体反色时，
   强制回填本站的关键配色，使页面与其它浏览器完全一致。 */
html.bd-light-fix,
html.bd-light-fix body {
  background: var(--bg);
  color: var(--ink);
}
/* 深底区块（Hero / 数据带 / 页脚等）保持深蓝，不被翻成灰白 */
html.bd-light-fix .hero {
  background:
    radial-gradient(900px 520px at 78% 18%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%),
    radial-gradient(700px 460px at 12% 88%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 60%),
    linear-gradient(158deg, var(--navy-3) 0%, var(--navy) 52%, var(--navy-deep) 100%);
  color: #fff;
}
/* Hero 渐变标题：强制暗色会改写 background-image 导致文字消失。
   这里原样重声明同一渐变，既恢复显示又不改变原有观感。 */
html.bd-light-fix .hero h1 {
  background: linear-gradient(120deg, #ffffff 30%, var(--on-dark-2) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
html.bd-light-fix .hero p { color: rgba(206, 224, 250, .85); }
/* 白底卡片与浅底分区回填为白/浅灰 */
html.bd-light-fix .section.alt,
html.bd-light-fix .spec-wrap,
html.bd-light-fix .cmp-wrap,
html.bd-light-fix .yg-scene-grid figure,
html.bd-light-fix .product-block:nth-of-type(odd),
html.bd-light-fix .sol-block:nth-of-type(odd) {
  background: var(--surface);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .dropdown { min-width: 480px; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .yg-scene-grid { grid-template-columns: 1fr; }
  .sol-jump { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .menu-btn { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    /* 注意：.site-header 的 backdrop-filter 会使其成为 fixed 后代的包含块，
       fixed 定位在这里会塌缩进 76px 高的 header 内导致菜单显示不全。
       header 本身 fixed 于视口顶部，故面板改用 absolute 挂在 header 之下。 */
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    /* 高度策略：由菜单内容自然撑开，不依赖 100vh/dvh/calc——
       部分国产手机浏览器/WebView 对这些组合存在解析怪癖，
       曾导致面板高度塌陷只剩一项。max-height 仅作超长内容的渐进限制。 */
    height: auto;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    background: var(--surface);
    padding: 20px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s .4s;
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .site-header.scrolled .main-nav { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); }
  .main-nav > ul { flex-direction: column; gap: 2px; }
  .main-nav > ul > li > a { font-size: 16.5px; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    grid-template-columns: 1fr;
    border: none;
    box-shadow: none;
    padding: 4px 0 10px;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  /* 桌面全局规则 .main-nav li.open > .dropdown 带 translate(-50%,0)（特异性更高），
     移动端展开时会把 static 下拉内容平移出可视区（表现为空白块），此处必须显式归零 */
  .main-nav li.open > .dropdown { display: grid; transform: none; opacity: 1; visibility: visible; }

  /* 电脑半屏（宽 ≤920px 且有鼠标）时：布局已切移动模式，但桌面 @media(hover:hover)
     的悬停规则 li:hover > .dropdown 仍会触发 translate(-50%,0)，把点击展开的下拉
     再次平移出可视区。仅在 hover 设备上禁用悬停显示/位移；触屏手机 (hover:none) 不匹配本块。 */
  .main-nav > ul > li:hover > .dropdown { display: none; transform: none; opacity: 1; visibility: visible; }
  .main-nav > ul > li:hover > a .caret { transform: rotate(45deg) translateY(-2px); }
  /* 点击展开态优先于悬停禁用：同特异性 (0,3,2)、声明在后 */
  .main-nav > ul > li.open > .dropdown,
  .main-nav > ul > li.open:hover > .dropdown { display: grid; transform: none; opacity: 1; visibility: visible; }

  .series-card { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .product-fig { position: static; }
  .about-band .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sol-row { grid-template-columns: 90px 1fr; }
  .sol-go { display: none; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .line-grid { grid-template-columns: 1fr; }
  .sol-need { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .line-grid, .scene-grid { grid-template-columns: 1fr; }
  .func-row ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  table.spec th { width: 118px; padding: 13px 16px; font-size: 13px; }
  table.spec td { padding: 13px 16px; font-size: 13px; }
  table.cmp th, table.cmp td { padding: 11px 12px; font-size: 12.5px; }
  .stat { padding: 24px 12px; }
  .hero-inner { padding: 120px 0 100px; }
  .page-hero { padding: 130px 0 60px; }
  .sol-hero { padding: 130px 0 60px; }
  .product-fig { padding: 16px; }
  .sol-gain { grid-template-columns: 1fr 1fr; }
}

/* [mobile-hero-tight] Hero 区上下空挡收紧（移动端）
   ⚠ 父容器为 flex + 垂直居中，缩 padding 会被居中抵消，故同时下调 min-height */
@media (max-width: 600px) {
  .hero { min-height: 78vh; }
  .hero-inner { padding: 108px 0 92px; }
  .hero-actions { margin-top: 18px; }
  .hero-kicker { margin-bottom: 11px; }
  .hero-ring { width: 130vw; right: -34%; opacity: .34; }
}

/* [cmp-scroll] 行业对比表窄屏横向滚动
   3 列对比表在手机上直接压缩会挤到不可读，改为容器内横向滚动 */
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-scroll table.cmp { min-width: 620px; }

/* [logo-footer-fix] 页脚白色 Logo 在深底上的高度微调 */
.site-footer .logo-img { height: 44px; }
@media (max-width: 600px) { .site-footer .logo-img { height: 38px; } }

/* [kicker-mobile] Hero kicker 手机端折行修正
   实测 @390：letter-spacing 4px + 文案 24 字符导致「船舶表面作业机器/人」折行，
   视觉上像断句错误。手机端收紧字距并允许自然换行到两行居左，不改字号。 */
@media (max-width: 600px) {
  .hero-kicker { letter-spacing: 1.6px; font-size: 12.5px; line-height: 1.5; max-width: 100%; }
  .hero-kicker::before { width: 20px; }
}

/* [menu-mobile-space] 移动端菜单面板底部留白
   实测 @390：面板内容结束后紧贴数据带视觉拥挤，底部内边距 40px 偏小。 */
@media (max-width: 920px) {
  .main-nav { padding-bottom: 56px; }
}

/* [series-fig] 明星产品系列配图：完整居中展示，禁止裁切
   用户两次反馈产品被截断，根因是三个因素叠加：
     1) 图片侧：壁龙源图背景是 238~251 浅灰噪点（非纯白），固定阈值导致
        连通域退化成全图、产品贴边 → 已改为「亮度自适应阈值」重新框选（见 mkimg3.py）
     2) 样式侧：object-fit: cover 对竖构图产品图（舱龙）二次裁切 → 改 contain
     3) 本块早前加的 transform: scale(1.13) 会把已贴边的图再放大 13%，
        右侧直接溢出容器被切 → **本次已移除 scale**，改由图片侧留白保证视觉大小。
   容器底色改浅色，配合 multiply 混合让白底图与容器无缝融合。 */
.series-card .fig {
  position: relative;
  aspect-ratio: 4 / 3;
  align-self: stretch;
  background:
    radial-gradient(420px 260px at 70% 30%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 68%),
    var(--surface);
  border: 1px solid var(--line);
  padding: 10px;
  display: grid;
  place-items: center;
}
.series-card .fig img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;          /* 完整显示，绝不裁切 */
  object-position: center;      /* 居中 */
  border-radius: 10px;
  mix-blend-mode: multiply;     /* 白底与浅色容器融合，消除接缝 */
}
@media (max-width: 920px) {
  .series-card .fig { aspect-ratio: 16 / 10; }
}

/* [product-fig] 产品详情页主图：完整居中、不裁切
   同样移除 scale —— 产品图已在图片侧带均衡留白，无需再放大
   ⚠ 原 .product-fig（行 620）的深蓝 linear-gradient 需显式覆盖：
   只写 background 会与其 background-image 叠加，实测仍残留深蓝 radial，
   故这里 background 与 background-image 都要给全，确保容器是浅色。 */
.product-fig {
  background-image:
    radial-gradient(400px 240px at 70% 25%, color-mix(in srgb, var(--brand) 6%, transparent), transparent 68%);
  background-color: var(--surface);
  background-repeat: no-repeat;
  border: 1px solid var(--line);
}
.product-fig img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  mix-blend-mode: multiply;
}
.product-fig figcaption { color: var(--ink-3); }
   实测 @1440：点击「造船厂」锚点后，h2 顶部落在 104px，而 .product-nav 底边在 111px，
   标题被遮住。滚动定位需预留「页头 76 + 导航条 ≈ 59 + 呼吸 16」≈ 151px。
   ⚠ 锚点目标不止 .product-block / .sol-block 两种：产品页的 #spec 落在嵌套的
   .spec-wrap 上；且方案页 .sol-block 并未包在 <main> 内，故此处不能只写 main [id]，
   改为对所有可锚定的区块类 + id 元素统一生效。
   ⚠ 移动端页头降至 64px，导航条同步变矮，故断点内镜像下调。 */
[id] { scroll-margin-top: 151px; }
@media (max-width: 920px) {
  [id] { scroll-margin-top: 121px; }
}

/* ============================================================
   [model-title-gap] 型号与型号名称之间的间距（用户反馈间距过小）
   ------------------------------------------------------------
   实测 @1440 两处现状：
     ① 首页 .line-card：h3「爬壁式除锈机器人」margin-bottom 8px
        → 实际净距 9px。改 margin-bottom 8px → 18px（≈2倍）。
     ② 方案页 .sol-block：SOLUTION 03 与 h2「船东 · 机器人解决方案」
        实测净距 **-2px**（几乎贴死）。
        根因：原规则写的是 `.sol-block .sol-block-head`（行 794），
        但实际 DOM 类名是 `.block-head`（`class="block-head reveal"`），
        选择器不匹配 → 该规则从未生效 → sol-tag 与 h2 的 margin 均为 0。
        修法：选择器改为真实类名，并把标签改为块级 + 下边距 10px。
   ============================================================ */
.line-card h3 { margin-bottom: 18px; }

.sol-block .block-head .sol-tag {
  display: block;
  margin-bottom: 10px;
}

/* ============================================================
   [contact-page] 联系页
   ------------------------------------------------------------
   v1.3 起本页面**已移除信息提交表单**，只保留联系方式：
   主区为 3 张可直接点击的联系卡（电话 / 邮箱 / 地址），
   侧栏为「直接联系 / 联系我们之后 / 选型引导」三张说明卡。
   表单相关样式（.lead-form / .field / .btn-submit / .form-status）
   已随表单一并下线，**若日后要恢复表单，需连同 assets/js/contact.js、
   assets/php/api.php 一起启用**，不要只加 HTML。
   ============================================================ */
.contact-main { padding: clamp(48px, 6vw, 76px) 0 clamp(64px, 8vw, 100px); }

/* ---------- 联系方式主卡（整宽三列） ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ctc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 28px 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
a.ctc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-m);
  border-color: color-mix(in srgb, var(--brand) 32%, transparent);
}
.ctc-card .ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  margin-bottom: 5px;
}
.ctc-card .ico svg { width: 22px; height: 22px; }
.ctc-card .k {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--flame);
}
.ctc-card b {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  word-break: break-word;
}
.ctc-card small {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
/* 地址卡不是链接，不做 hover 位移 */
.ctc-card-plain:hover { transform: none; box-shadow: none; }

/* ---------- 说明卡（两列并排） ---------- */
.contact-lower {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.contact-lower .side-card { display: flex; flex-direction: column; }
.contact-lower .side-card-dark { justify-content: flex-start; }
.contact-lower .side-card-dark .btn { align-self: flex-start; margin-top: auto; }


/* ---------- 说明卡 ---------- */
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
}
.side-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-left: 11px;
  border-left: 3px solid var(--flame);
  line-height: 1.3;
}
.side-card-dark {
  background: linear-gradient(158deg, var(--navy-3), var(--navy));
  border-color: color-mix(in srgb, var(--navy) 70%, #000);
}
.side-card-dark h3 { color: #fff; border-left-color: var(--accent); }
.side-card-dark p {
  color: color-mix(in srgb, var(--on-dark) 92%, transparent);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.btn-sm { padding: 11px 20px; font-size: 14px; }


.side-steps { padding-left: 2px; display: grid; gap: 12px; }
.side-steps li {
  position: relative;
  padding-left: 26px;
  font-size: 13.8px;
  line-height: 1.75;
  color: var(--ink-2);
}
.side-steps li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--brand) 34%, transparent);
}
.side-steps li::after {
  content: "";
  position: absolute;
  left: 6.6px; top: 9.4px;
  width: 3px; height: 6px;
  border-right: 1.6px solid var(--brand);
  border-bottom: 1.6px solid var(--brand);
  transform: rotate(42deg);
}
.side-steps b { color: var(--ink); }

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .page-hero { padding: 132px 0 62px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-lower { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ctc-card { padding: 22px 18px 20px; }
  .ctc-card b { font-size: 16.5px; }
}

/* [line-grid-4] 产品线卡片自适应列（配合首页新增漆龙，共 4 款）
   宽屏 ≥1100px 自动 4 列；中屏 2 列；≤920px 与 ≤600px 沿用既有 1 列规则。 */

/* ============================================================
   [footer-contact-center] 页脚联系方式：图标与文字垂直居中对齐
   ------------------------------------------------------------
   实测问题（线上 @1440）：图标中心比文字中心**低 3px**，肉眼可见图标偏下。
   原规则：
     .footer-contact li    { align-items: flex-start; }
     .footer-contact svg   { margin-top: 5px; }
   根因：`margin-top: 5px` 是**写死的经验值**。实测行盒高 20px、图标 15px，
   真正居中需要 margin-top = (20 - 15) / 2 = **2.5px** —— 固定 5px 正好多出 2.5px，
   图标被推下去。字号或行高一变，这个偏移就失准。

   修法：去掉魔法数字，改用 flex 双向居中，让布局自行计算：
     li  { align-items: center; }   图标与文字行盒自动居中
     svg { margin-top: 0; }
   ⚠ 为什么不用 `align-items: center` 一句就够：
     svg 是 inline 元素，与文字基线对齐时会产生额外偏移。
     给 svg 加 `display: block` 后 flex 居中才精确生效。
   ============================================================ */
.footer-contact li { align-items: center; }
.footer-contact svg {
  margin-top: 0;
  display: block;      /* 关键：脱离 inline 基线对齐，flex 居中才精确 */
  flex-shrink: 0;
}

/* ============================================================
   [download-center] 下载中心页面 download.html —— 统一列表版 v3
   ------------------------------------------------------------
   演进过程：
     v1 图标 + 型号标签 + 说明段落 + 2×2 大卡 → 信息冗余、卡片过高
     v2 去掉图标/标签/段落，改单列列表，卡片高度 374 → 187 → 146px
     v3 **取消分区**：公司介绍原本是独立的浅色大卡 + 独立 section，
        与下面 4 张白色产品卡形成「上下割裂的两块」。用户要求去掉分割，
        5 份资料合并进同一个 <ul class="dlc-list">，DOM 与样式完全一致。
        → 随之删除 .dlc-card-lg（大卡）、.dlc-tag / .dlc-tag-flame（角标）
          全部差异化样式，现在 5 张卡片只有一套规则。

   保留项：文件名称链接（可点）、下载按钮、二维码 —— 用户明确要求这三样。
   已彻底移除的类：.dlc-icon / .dlc-icon-flame / .dlc-top / .dlc-desc /
                  .dlc-grid / .notes-grid / .dlc-card-lg / .dlc-tag / .dlc-tag-flame
   ============================================================ */

/* page-hero 内的英文小标签 */
.page-hero .kicker {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: var(--accent);
  margin-bottom: 6px;
}

/* 去掉「公司介绍 / 四大产品线手册」两处区块标题后，section 上下留白同步收紧 */
.dlc-section { padding: clamp(32px, 3.6vw, 48px) 0; }
.dlc-section .section-head { margin-bottom: clamp(20px, 2.2vw, 28px); }

/* ---------- 列表容器 ---------- */
.dlc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

/* ---------- 单条资料 ---------- */
.dlc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-s);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.dlc-card:hover {
  border-color: color-mix(in srgb, var(--brand) 32%, transparent);
  box-shadow: var(--shadow-m);
}
/* 三段式：标题+标签+按钮 | 弹性留白 | 二维码
   中间留一列弹性空隙，二维码始终贴卡片右缘，
   避免长文件名把二维码顶到中间、右侧出现大片空白。 */
.dlc-row {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(24px, 1fr) auto;
  align-items: center;
  gap: 0 20px;
  padding: 9px 16px;
}

.dlc-row > .dlc-info { grid-column: 1; }
.dlc-row > .dlc-qr   { grid-column: 3; }

/* ---------- 文本 ---------- */
.dlc-name {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--brand-deep);
  letter-spacing: .3px;
  word-break: break-word;
}

/* 文件名称即链接：hover 变橙红 + 下划线从左展开 */
.dlc-name a {
  background-image: linear-gradient(var(--flame), var(--flame));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size .4s var(--ease), color .3s var(--ease);
}
.dlc-name a:hover { color: var(--flame); background-size: 100% 2px; }

.dlc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  list-style: none;
}
.dlc-tags li {
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--font-num);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--ink-2);
}

/* 标签 + 按钮 + 详情链接 合并为一行（紧凑版核心） */
.dlc-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.dlc-meta .dlc-tags { margin-top: 0; }

.dlc-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 11px;
}
.dlc-link {
  font-size: 13.5px;
  color: var(--brand);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  padding-bottom: 2px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.dlc-link:hover { color: var(--flame); border-color: var(--flame); }

/* 紧凑版按钮：覆盖产品页 .dl-btn 的 46px 高度 */
.dlc-actions .dl-btn { height: 34px; padding: 0 17px; font-size: 13.5px; }

/* ---------- 二维码 ----------
   ⚠ 图示去掉了下方的「扫码下载」说明文字，卡片高度从 187px → 约 150px（-20%）。
   高度的决定者是二维码容器（157px），不是左侧文字区（88px）——
   所以想压缩卡片必须从二维码下手，但二维码本身已不能再缩（≤112px 扫不出），
   唯一正确的解法就是删掉 figcaption 腾出那22px。
   扫码提示改用 <figure> 上的 aria-label + 图片 alt 承载，
   视觉上不再占位，功能不丢。 */
.dlc-qr {
  display: block;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  flex-shrink: 0;
}
.dlc-qr img {
  display: block;
  width: 112px;
  height: 112px;
  image-rendering: crisp-edges;   /* 保持模块边缘锐利，防止插值糊掉容错区 */
}

/* ---------- 下载说明（紧凑 · 固定 2×2，避免 4 条排成 3+1 不齐） ---------- */
.notes-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.note-card {
  position: relative;
  padding: 20px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .35s var(--ease);
}
.note-card:hover { box-shadow: var(--shadow-m); }
.note-card .no {
  position: absolute;
  top: 10px; right: 18px;
  font-family: var(--font-num);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--brand) 9%, transparent);
}
.note-card h3 { position: relative; font-size: 15.5px; font-weight: 700; color: var(--brand-deep); }
.note-card p { position: relative; margin-top: 7px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  /* 窄屏：二维码移到标题下方横向铺开，仍保证 ≥120px 可扫 */
  .dlc-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px 18px;
  }
  .dlc-row > .dlc-info { grid-column: 1; }
  .dlc-row > .dlc-qr   { grid-column: 1; }
  .notes-list { grid-template-columns: minmax(0, 1fr); }
  .dlc-name { font-size: 16px; }
  .dlc-qr { width: 100%; }
  .dlc-qr img { width: 126px; height: 126px; }
  .dlc-actions { gap: 13px; }
  .dlc-actions .btn { width: 100%; }
}

/* ============================================================
   [contact-link] 联系方式可点击（电话拨号 / 邮箱发信）
   ------------------------------------------------------------
   需求：电话改135-2235-2035、邮箱改 sales@yoogorobot.com，
        并让两者都可点击（tel: / mailto:）。
   ⚠ 深色页脚里若不显式设color: inherit，
     浏览器的 :visited 紫色会让链接在深蓝底上极其刺眼，必须覆盖。
   ============================================================ */
.contact-link { color: inherit; transition: color .25s var(--ease); }
.contact-link:hover { color: var(--accent); }
.footer-contact .contact-link {
  border-bottom: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
  padding-bottom: 1px;
}
.footer-contact .contact-link:visited { color: inherit; }
