/* 首页首屏细化：能力标签降噪、CTA 层级、数据行强化。
   只被 index 页面引用，不动全局 style.css，避免全站重传。 */

/* 亮底图上靠文字投影保可读性，不压暗图片 */
.hero .eyebrow,
.hero h1,
.hero .lead,
.hero .hero-chips a,
.hero .hero-cta .btn,
.hero-meta strong,
.hero-meta div {
  text-shadow: 0 1px 3px rgba(4, 12, 9, 0.85), 0 2px 18px rgba(4, 12, 9, 0.62), 0 0 40px rgba(4, 12, 9, 0.35);
}

/* 文案放右下角：不加暗底，靠投影保证可读 */
@media (min-width: 901px) {
  .hero {
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: clamp(48px, 6vh, 84px);
  }
  .hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    width: auto;
    max-width: 860px;
    margin-left: auto;
    margin-right: clamp(56px, 8vw, 150px);
    background: none;
    border: 0;
    padding: 0;
  }
  .hero .container > * { max-width: 100%; }
  .hero .lead { max-width: 520px; }
  .hero .hero-chips { justify-content: flex-end; }
  .hero .hero-cta { justify-content: flex-end; }
  .hero .hero-meta {
    display: grid; width: 100%; max-width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 18px; margin-top: 26px;
  }
}

/* 首屏内容整体上移：改为垂直居中，底部留白同步加大 */
.hero {
  align-items: center;
  padding-bottom: clamp(72px, 10vh, 120px);
}

/* ---------- 背景构图：裁掉左侧空天空后，机器更靠近文字 ---------- */
.hero {
  background-image: url("../img/hero-factory.jpg");
  background-position: center 46%;
  background-color: #b9c3c6;
}
/* 亮调底图：遮罩同步减淡，左侧保留足够压暗以保证文字对比 */
.hero::after {
  background:
    linear-gradient(313deg, rgba(4, 12, 9, 0.86) 0%, rgba(4, 12, 9, 0.66) 18%, rgba(4, 12, 9, 0.30) 38%, rgba(4, 12, 9, 0.00) 58%),
    linear-gradient(180deg, rgba(4, 12, 9, 0.34) 0%, rgba(4, 12, 9, 0.06) 22%, rgba(4, 12, 9, 0.00) 50%, rgba(4, 12, 9, 0.10) 100%);
}

/* 中窄屏：裁剪后的构图会压到正文，退回原图并右移取景 */
@media (max-width: 1120px) and (min-width: 901px) {
  .hero {
    background-position: 46% center;
  }
}
@media (max-width: 1280px) and (min-width: 1121px) {
  .hero {
    background-position: 64% center;
  }
}

/* 手机：竖屏下裁剪图把机器推到正文背后，退回原图保留右侧剪影 */
@media (max-width: 620px) {
  .hero {
    background-image: url("../img/hero-factory.jpg");
    background-position: 82% 50%;
  }
  /* 竖屏下正文几乎满宽，压深一点保证可读 */
  .hero::after {
    background:
      linear-gradient(180deg, rgba(6, 16, 12, 0.62) 0%, rgba(6, 16, 12, 0.48) 46%, rgba(6, 16, 12, 0.66) 100%);
  }
}

/* 亮底图上小字易发虚，单独提对比 */
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}
.hero-meta div {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- 能力标签：从按钮改成编辑式文字行 ---------- */
.hero-chips {
  column-gap: 22px;
  row-gap: 10px;
  align-items: center;
  margin: 24px 0 28px;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
}
.hero-chips a {
  border: 0;
  padding: 0;
  font-size: 12.5px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.66);
  background: none;
}
.hero-chips a:hover {
  color: var(--accent);
  border: 0;
}

/* ---------- CTA：主按钮给足分量，次按钮退一档 ---------- */
.hero .hero-cta .btn--primary {
  padding: 15px 30px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero .hero-cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.86);
}
.hero .hero-cta .btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- 数据行：等宽分栏 + 竖分隔 + 数字加重 ---------- */
.hero-meta {
  gap: 0;
  margin-top: clamp(30px, 3.6vw, 46px);
}
.hero-meta > div {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 26px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.13);
}
.hero-meta > div:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}
.hero-meta strong {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.hero-meta div {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

/* ---------- 窄屏：数据行两列，去掉竖线 ---------- */
@media (max-width: 760px) {
  .hero-chips {
    column-gap: 16px;
  }
  .hero-meta > div {
    flex: 1 1 42%;
    border-inline-start: 0;
    padding-inline: 0;
    padding-bottom: 16px;
  }
}

/* 各区块不再强制满屏：内容多高就多高，避免上下大片空白 */
.screen {
  min-height: auto;
  padding-top: clamp(64px, 7vh, 98px);
  padding-bottom: clamp(64px, 7vh, 98px);
}

/* ---------- 01 设备：产品类别网格（数值对齐参考站） ---------- */
html[data-skin="light"] #product { background: #f8f9f8; }

.cat-wrap {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(22px, 2.2vw, 34px);
}
.cat-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.cat-visual img { width: 100%; height: auto; max-height: 440px; object-fit: contain; display: block; }

.cat-sub {
  display: block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cat-head h2 {
  font-size: clamp(28px, 2.7vw, 44px);
  line-height: 1.14; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cat-intro {
  font-size: 14px; line-height: 1.7; color: var(--muted);
  max-width: 62ch; margin-bottom: 28px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cat-card {
  display: block;
  padding: 24px 22px 22px;
  border-radius: 2px;
  min-height: 138px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(12, 26, 20, 0.05);
  transition: background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
html[data-skin="light"] .cat-card { background: #ffffff; }
.cat-card h3 {
  font-size: 17px; font-weight: 600; letter-spacing: 0;
  color: var(--text); margin-bottom: 9px;
}
.cat-card p { font-size: 14.5px; line-height: 1.64; color: var(--muted); }
.cat-more {
  display: inline-block; margin-top: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent);
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.22s, transform 0.22s;
}
.cat-card:hover,
html[data-skin="light"] .cat-card:hover { background: var(--accent); box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.22); }
.cat-card:hover h3 { color: #fff; }
.cat-card:hover p { color: rgba(255, 255, 255, 0.84); }
.cat-card:hover .cat-more { opacity: 1; transform: none; color: #fff; }
.cat-card--all,
html[data-skin="light"] .cat-card--all { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.cat-card--all:hover,
html[data-skin="light"] .cat-card--all:hover { background: var(--accent); box-shadow: none; }

@media (max-width: 1100px) {
  .cat-wrap { grid-template-columns: 1fr; gap: 28px; }
  .cat-visual { min-height: 0; }
  .cat-visual img { position: static; width: 100%; height: auto; max-height: 300px; object-fit: cover; }
}
@media (max-width: 760px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cat-card { padding: 14px; }
  .cat-more { opacity: 1; transform: none; }
}
@media (max-width: 460px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ---------- 02 解决方案：白底卡片网格（参考 Featured Products 结构） ---------- */
.sys-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(22px, 2.2vw, 32px);
}
.sys-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(12, 26, 20, 0.10);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.sys-card:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 8px 24px rgba(12, 26, 20, 0.09);
  transform: translateY(-2px);
}
.sys-media {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #eef1ef;
}
.sys-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.sys-body h3 { font-size: 15.5px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.sys-body p { font-size: 13px; line-height: 1.6; color: var(--muted); margin-bottom: 16px; }
.sys-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease);
}
.sys-card:hover .sys-btn { background: var(--accent-2, var(--accent)); }

html[data-skin="light"] .sys-card { background: #fff; }
html[data-skin="light"] .sys-card:hover { border-color: rgba(var(--accent-rgb), 0.5); }

@media (max-width: 1000px) {
  .sys-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sys-grid { grid-template-columns: 1fr; }
}

/* ---------- 04 为什么选我们：居中图标网格 + 一格高亮 ---------- */
#why .section-head { display: block; text-align: center; }
#why .section-head .lead { max-width: 720px; margin: 14px auto 0; }

#why .feat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px) clamp(18px, 2.4vw, 40px);
  margin-top: clamp(30px, 3.6vw, 52px);
  background: none;
  border: 0;
}
#why .feat-item {
  background: transparent;
  padding: clamp(20px, 2.4vw, 30px) 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 4px;
  transition: background 0.28s var(--ease), box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
}
#why .feat-item .ico { width: 42px; height: 42px; margin-bottom: 16px; color: var(--accent); }
#why .feat-item h3 { font-size: 16px; margin-bottom: 9px; color: var(--text); }
#why .feat-item p { font-size: 13px; line-height: 1.65; max-width: 32ch; color: var(--muted); }

/* 悬停才出现色块：任意一格移上去变品牌绿 */
#why .feat-item:hover,
html[data-skin="light"] #why .feat-item:hover {
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.22);
  transform: translateY(-2px);
}
#why .feat-item:hover .ico,
#why .feat-item:hover h3,
html[data-skin="light"] #why .feat-item:hover h3 { color: #fff; }
#why .feat-item:hover p,
html[data-skin="light"] #why .feat-item:hover p { color: rgba(255, 255, 255, 0.88); }

html[data-skin="light"] #why .feat { background: none; border: 0; }
html[data-skin="light"] #why .feat-item { background: transparent; }

@media (max-width: 900px) {
  #why .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  #why .feat { grid-template-columns: 1fr; }
}

/* ---------- 03 应用领域：居中标题 + 四卡网格 ---------- */
.apps-head { text-align: center; max-width: 780px; margin: 0 auto; }
.apps-eyebrow {
  display: block;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.apps-title {
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: -0.02em;
  color: var(--text);
}
.apps-title::after {
  content: "";
  display: block;
  width: 54px; height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
}
.apps-intro {
  font-size: 14px; line-height: 1.72; color: var(--muted);
  max-width: 720px; margin: 18px auto 0;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(30px, 3.6vw, 52px);
}
.app-card {
  display: flex;
  flex-direction: column;
  background: rgba(12, 26, 20, 0.03);
  border-radius: 2px;
  overflow: hidden;
  text-align: center;
  transition: background 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.app-media {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #dfe5e1;
}
.app-body { padding: 22px 18px 26px; }
.app-body h3 { font-size: 17.5px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.app-body p { font-size: 14px; line-height: 1.68; color: var(--muted); }

.app-card:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(12, 26, 20, 0.10);
}
html[data-skin="light"] .app-card { background: #f6f8f7; }
html[data-skin="light"] .app-card:hover { background: #ffffff; }

@media (max-width: 1100px) {
  .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .apps-grid { grid-template-columns: 1fr; }
}

/* ---------- 关于我们 + 质量与认证（左文案 / 右资质面板） ---------- */
.ab-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: stretch;
}
.ab-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--accent);
  padding: 5px 10px; border-radius: 2px;
  margin-bottom: 16px;
}
.ab-title { font-size: clamp(28px, 2.8vw, 44px); letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; }
.ab-intro { font-size: 16.5px; line-height: 1.85; color: var(--muted); max-width: 52ch; margin-bottom: 32px; }

.ab-list { display: flex; flex-direction: column; gap: 20px; }
.ab-list li { display: flex; gap: 14px; align-items: flex-start; }
.ab-list svg { width: 28px; height: 28px; color: var(--accent); flex: none; margin-top: 1px; }
.ab-list h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.ab-list p { font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 40ch; }

.ab-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 30px;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 15px; font-weight: 600;
  color: var(--accent);
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.ab-btn svg { width: 16px; height: 16px; }
.ab-btn:hover { background: var(--accent); color: #fff; }

.ab-certs {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(12, 26, 20, 0.10);
  border-radius: 3px;
  padding: 26px 26px 24px;
}
.ab-certs-title { font-size: 21px; font-weight: 600; color: var(--text); margin-bottom: 22px; }
.ab-cert-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, 1fr);
  gap: 12px;
}
.ab-cert-note { margin-top: 18px; font-size: 14px; color: var(--muted-2); }
.ab-cert {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 20px 18px;
  border: 1px solid rgba(12, 26, 20, 0.09);
  border-radius: 2px;
  background: #fafbfa;
}
.ab-cert svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 14px; }
.ab-cert span { font-size: 17.5px; font-weight: 600; color: var(--text); }
.ab-cert em { font-style: normal; font-size: 14.5px; color: var(--muted); margin-top: 5px; }
html[data-skin="light"] .ab-certs { background: #fff; }

@media (max-width: 1000px) {
  .ab-wrap { grid-template-columns: 1fr; }
}

/* ---------- 我们的服务：左文案 / 右 2×2 服务项 ---------- */
.sv-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(36px, 4.5vw, 80px);
  align-items: start;
}
.sv-eyebrow {
  display: block;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 14px;
}
.sv-title { font-size: clamp(30px, 3vw, 46px); letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; }
.sv-intro { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 40ch; margin-bottom: 28px; }
.sv-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  font-size: 15px; font-weight: 600;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}
.sv-btn svg { width: 17px; height: 17px; }
.sv-btn:hover { background: var(--accent-2); transform: translateY(-1px); }

.sv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 46px) clamp(26px, 3vw, 44px);
}
.sv-item svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 14px; }
.sv-item h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 9px; }
.sv-item p { font-size: 14.5px; line-height: 1.72; color: var(--muted); }

@media (max-width: 1000px) {
  .sv-wrap { grid-template-columns: 1fr; }
  .sv-intro { max-width: 56ch; }
}
@media (max-width: 620px) {
  .sv-grid { grid-template-columns: 1fr; }
}

/* 服务区块右侧的工厂实景衬底（低透明度 + 渐隐，保证文字可读） */
#services { position: relative; overflow: hidden; }
#services::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 54%;
  background: url('../img/line-indoor.jpg') center / cover no-repeat;
  opacity: 0.44;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 30%, #000 60%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 30%, #000 60%);
  pointer-events: none;
  z-index: 0;
}
#services::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 54%;
  background: linear-gradient(to right, rgba(248,249,248,0.97), rgba(248,249,248,0.62) 55%, rgba(248,249,248,0.45));
  pointer-events: none;
  z-index: 0;
}
#services .container { position: relative; z-index: 1; }

@media (max-width: 1000px) {
  #services::before, #services::after { width: 100%; opacity: 0.16; }
}

/* ---------- 全球市场：居中标题 + 世界地图打点 ---------- */
.mk-head { text-align: center; max-width: 760px; margin: 0 auto; }
.mk-eyebrow {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.mk-title { font-size: clamp(32px, 3.2vw, 54px); letter-spacing: -0.02em; color: var(--text); }
.mk-sub { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin-top: 14px; }

.mk-map {
  position: relative;
  max-width: 1320px;
  margin: clamp(30px, 3.4vw, 52px) auto 0;
}
.mk-map-box { position: relative; display: block; line-height: 0; }
.mk-map img {
  display: block; width: 100%; height: auto;
  opacity: 1;
  filter: none;
}
.map-dot {
  position: absolute;
  left: 0; top: 0;   /* 实际位置由 JS 按图片边界计算 */
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.10),
              0 2px 8px rgba(12, 26, 20, 0.18);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.map-dot::before,
.map-dot::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: background 0.2s var(--ease);
}
.map-dot::before { width: 14px; height: 2px; }
.map-dot::after  { width: 2px; height: 14px; }

/* 声呐光圈：提示"这里可点" */
.map-dot > .sonar,
.map-dot .map-tip { pointer-events: none; }
.map-dot:not(.is-open)::after { }

.map-dot::marker { content: none; }
.map-dot:hover, .map-dot:focus-visible, .map-dot.is-open {
  transform: scale(1.14);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.28), 0 0 0 6px rgba(var(--accent-rgb), 0.12);
  outline: none;
}
.map-dot:hover::before, .map-dot:focus-visible::before,
.map-dot:hover::after, .map-dot:focus-visible::after { background: var(--accent-2); }

/* 浮层 */
.map-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: 240px;
  transform: translate(-50%, 6px);
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(12, 26, 20, 0.10);
  border-radius: 3px;
  box-shadow: 0 10px 26px rgba(12, 26, 20, 0.14);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: 5;
}
.map-tip::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  background: #fff;
  border-right: 1px solid rgba(12, 26, 20, 0.10);
  border-bottom: 1px solid rgba(12, 26, 20, 0.10);
  transform: rotate(45deg);
}
.map-tip strong {
  display: block;
  font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.45;
}
.map-tip em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 13px; line-height: 1.55; color: var(--muted);
}
.map-dot:hover .map-tip,
.map-dot:focus-visible .map-tip,
.map-dot.is-open .map-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
/* 下缘的点：浮层翻到下方 */
.map-dot.tip-up .map-tip { bottom: auto; top: calc(100% + 12px); transform: translate(-50%, -6px); }
.map-dot.tip-up .map-tip::after {
  top: auto; bottom: 100%;
  border-right: 0; border-bottom: 0;
  border-left: 1px solid rgba(12, 26, 20, 0.10);
  border-top: 1px solid rgba(12, 26, 20, 0.10);
  margin: -4px 0 0 -4px;
}
.map-dot.tip-up:hover .map-tip,
.map-dot.tip-up:focus-visible .map-tip,
.map-dot.tip-up.is-open .map-tip { transform: translate(-50%, 0); }

/* 边缘的两端把浮层往内收，避免出界 */
@media (min-width: 761px) {
  .map-dot.tip-left .map-tip { left: -8px; transform: translate(0, 6px); }
  .map-dot.tip-left:hover .map-tip,
  .map-dot.tip-left:focus-visible .map-tip,
  .map-dot.tip-left.is-open .map-tip { transform: translate(0, 0); }
  .map-dot.tip-right .map-tip { left: auto; right: -8px; transform: translate(0, 6px); }
  .map-dot.tip-right:hover .map-tip,
  .map-dot.tip-right:focus-visible .map-tip,
  .map-dot.tip-right.is-open .map-tip { transform: translate(0, 0); }
}

@media (max-width: 760px) {
  .map-dot { width: 20px; height: 20px; margin: -10px 0 0 -10px; }
  .map-tip { width: 176px; }
}

/* ---------- 首页：精选型号 ---------- */
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.model-card {
  display: block; border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
  background: #fff; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.model-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(12,26,20,.10); }
.model-media { aspect-ratio: 4 / 3; background: #f4f6f4; overflow: hidden; }
.model-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.model-card:hover .model-media img { transform: scale(1.04); }
.model-body { padding: 16px 18px 18px; }
.model-series { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.model-body h3 { font-size: 17px; font-weight: 600; margin: 8px 0 10px; line-height: 1.35; }
.model-cap { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.model-cap b { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--text); margin-left: 6px; }
@media (max-width: 980px) { .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .model-grid { grid-template-columns: 1fr; } }

/* Local preview: retain the factory introduction alongside photographic product panels. */
#home.home-mixed-hero { position: relative; display: grid; background: #16231e; overflow: hidden; }
#home .home-mixed-slide {
  position: relative; grid-area: 1 / 1; min-width: 0; width: 100%;
  min-height: max(720px, 100svh); box-sizing: border-box;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .6s ease, visibility .6s;
}
#home .home-mixed-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
#home .hero.home-mixed-slide { padding-top: 140px; padding-bottom: 110px; }
#home .home-photo-slide { display: flex; align-items: center; justify-content: center; padding: 140px 40px 110px; }
#home .home-slide-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
#home .home-photo-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,16,12,.25), rgba(7,16,12,.34) 50%, rgba(7,16,12,.22)); }
#home .home-photo-caption { position: relative; z-index: 1; color: #fff; text-align: center; max-width: 1100px; }
#home .home-photo-caption h2 { margin: 0; color: #fff; font-size: clamp(38px, 4vw, 64px); line-height: 1.25; font-weight: 700; text-shadow: 0 2px 18px #0006; }
#home .home-photo-caption p { margin: 28px 0 42px; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.8; color: #fff; text-shadow: 0 1px 8px #000b; }
#home .home-photo-caption .btn { border-radius: 0; min-width: 140px; padding: 15px 28px; background: #2b8f3f; color: #fff; font-weight: 500; }
#home .home-photo-caption .btn:hover { background: #247b36; }
@media (max-width: 900px) {
  #home .hero.home-mixed-slide { padding: 130px 24px 110px; }
  #home .hero .container { width: 100%; }
  #home .home-photo-slide { padding-inline: 24px; }
  #home .home-slide-photo { object-position: 44% center; }
}
@media (max-width: 480px) {
  #home .hero.home-mixed-slide { padding-top: 108px; padding-bottom: 100px; }
  #home .hero .eyebrow { margin-bottom: 14px; }
  #home .hero .h1 { font-size: 32px; }
  #home .hero .h1 .hl { display: inline-block; }
  #home .hero .lead { margin-top: 16px; font-size: 13px; line-height: 1.75; }
  #home .hero-chips { margin: 20px 0; }
  #home .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; padding-top: 16px; }
  #home .hero-meta > div { padding-bottom: 0; }
  #home .hero-cta .btn { padding: 13px 18px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { #home .home-mixed-slide { transition: none; } }
