/* ===== 蒙辉科技 MENGHUI · 官网设计系统 =====
   品牌色：绿 #00A040 / 白 #F0F0F0 / 黑 #101010
   字体：OFL 思源黑体（Noto Sans SC）+ 系统西里尔/蒙文回退
   原则：极简、大量留白、绿色 CTA、表格化信息 */

:root {
  --green: #00A040;
  --green-dark: #008234;
  --green-light: #E6F4EA;
  --bg: #F0F0F0;
  --ink: #101010;
  --ink-soft: #4A4A4A;
  --line: #D9D9D9;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(16,16,16,.08);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "Microsoft YaHei", "Noto Sans", "Noto Sans Cyrillic", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部语言条 ---------- */
.topbar {
  background: var(--ink);
  color: #cfcfcf;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.topbar a { color: #cfcfcf; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  background: transparent; border: 1px solid #444; color: #cfcfcf;
  padding: 2px 10px; border-radius: 20px; cursor: pointer; font-size: 12px;
  transition: .2s;
}
.lang-switch button:hover { border-color: var(--green); color: #fff; }
.lang-switch button.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand .logo-img { height: 34px; width: auto; display: block; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand-text .name { font-weight: 700; font-size: 16px; line-height: 1.2; }
.brand-text .name small { display: block; font-weight: 500; font-size: 9.5px; color: var(--ink-soft); letter-spacing: .3px; line-height: 1.2; margin-top: 3px; max-width: 230px; overflow-wrap: anywhere; }

nav.main ul { display: flex; gap: 22px; list-style: none; flex-wrap: nowrap; white-space: nowrap; }
nav.main a { color: var(--ink); font-weight: 500; font-size: 14px; white-space: nowrap; }
nav.main a:hover, nav.main a.active { color: var(--green-dark); text-decoration: none; }

.menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- Hero（首页营销大图） ---------- */
.hero-marketing {
  background: radial-gradient(ellipse 80% 100% at 75% 50%, #00A040 0%, #005022 30%, #0a0a0a 70%);
  color: #fff;
  padding: 96px 0 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-marketing .eyebrow {
  color: #00E060;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-marketing h1 {
  font-size: 56px;
  line-height: 1.18;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto;
  letter-spacing: 1px;
}
.hero-marketing h1 .hl { color: #00E060; }
.hero-marketing p.lead {
  font-size: 16px;
  margin: 22px auto 0;
  opacity: .9;
  max-width: 580px;
  line-height: 1.7;
}
.hero-marketing .cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 30px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent; transition: .2s; font-size: 15px; text-decoration: none;
}
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); text-decoration: none; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; text-decoration: none; }

/* ---------- Hero（内页紧凑型） ---------- */
.hero-page {
  background: radial-gradient(ellipse 70% 100% at 75% 50%, #00A040 0%, #003a18 35%, #0a0a0a 75%);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
}
.hero-page .eyebrow {
  color: #00E060;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-page h1 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto;
}
.hero-page h1 .hl { color: #00E060; }
.hero-page p.lead { font-size: 15px; margin: 16px auto 0; opacity: .85; max-width: 600px; }

/* 内页悬浮白卡（about 等）：宽屏也保持居中铺满，不向上浮 */
.stats-cards-wrap.flat { margin: 0 auto; }

/* ---------- 悬浮统计卡片（首页 hero 下方） ---------- */
.stats-cards-wrap {
  max-width: var(--maxw);
  margin: -64px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 16px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
}
.stat-card .num {
  font-size: 42px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-card .num small { font-size: 14px; font-weight: 600; color: var(--green); margin-left: 4px; }
.stat-card .label { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.stat-card .verified {
  display: inline-block; font-size: 11px; color: var(--green);
  margin-top: 6px; font-weight: 600;
}

/* ---------- 通用区块 ---------- */
section.block { padding: 72px 0; }
section.block.gray { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .tag { color: var(--green-dark); font-weight: 700; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; }
.section-head h2 { font-size: 32px; font-weight: 800; margin-top: 8px; }
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 16px; }

/* ---------- 卡片网格 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* 案例区只有 2 张：合并成 2 列并整体居中，不再被 3 列 grid 推到左侧 */
.cards.cards-2-center { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: 28px; }
/* 案例总览 section：增加与 hero 的距离，让卡片视觉下沉 */
section.block.cases-overview { padding-top: 100px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--green); }
.card .ico {
  width: 60px; height: 60px; border-radius: 16px; background: var(--green-light);
  color: var(--green); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(0, 160, 64, .10);
  transition: background .25s ease, color .25s ease, transform .35s ease;
}
.card .ico svg { width: 30px; height: 30px; display: block; }
.card:hover .ico { background: var(--green); color: #fff; transform: scale(1.06) rotate(-4deg); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- 首页产品卡（带设备实景图，点击直达产品页对应产品） ---------- */
.card.prod-card { padding: 0; overflow: hidden; color: inherit; display: block; }
.card.prod-card:hover { text-decoration: none; box-shadow: 0 14px 32px rgba(0,160,64,.16); }
.prod-card-img { height: 172px; background: #f7fafa; overflow: hidden; border-bottom: 1px solid var(--line); }
.prod-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card.prod-card:hover .prod-card-img img { transform: scale(1.05); }
.card.prod-card .card-body { padding: 18px 22px 22px; }
.prod-card-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  letter-spacing: .4px;
  margin-bottom: 10px;
}
.card.prod-card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.4; }
.card.prod-card p { font-size: 13.5px; line-height: 1.7; }

/* ---------- 两栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .visual {
  background: linear-gradient(135deg, var(--green-light), #fff);
  border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 280px; display: flex; align-items: center; justify-content: center;
  color: var(--green-dark); font-weight: 700; text-align: center; padding: 24px;
}
/* 配图版 visual：图片铺满圆角框，等比裁切 */
.split .visual.visual-img {
  padding: 0; overflow: hidden; min-height: 300px;
  background: var(--green-light); align-items: stretch;
  box-shadow: 0 10px 26px rgba(0, 160, 64, .12);
}
.split .visual.visual-img img {
  display: block; width: 100%; height: 100%;
  min-height: 300px; object-fit: cover;
}
.split h2 { font-size: 30px; font-weight: 800; margin-bottom: 16px; }
.split p { color: var(--ink-soft); }

/* ---------- 表格 ---------- */
table.data { width: 100%; border-collapse: collapse; margin-top: 8px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
table.data th { background: var(--green); color: #fff; font-weight: 600; }
table.data tr:nth-child(even) td { background: var(--bg); }
table.data tr:last-child td { border-bottom: none; }

/* ---------- 时间线 / 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; text-align: center; position: relative; }
.flow .step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.flow .step h4 { font-size: 16px; margin-bottom: 6px; }
.flow .step p { font-size: 13px; color: var(--ink-soft); }

/* ---------- 页脚 ---------- */
footer.site { background: var(--ink); color: #cfcfcf; padding: 56px 0 28px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
footer.site a, footer.site p { color: #bdbdbd; font-size: 14px; line-height: 1.9; }
footer.site .brand .name { color: #fff; }
footer.site .bottom { border-top: 1px solid #333; margin-top: 36px; padding-top: 18px; font-size: 13px; color: #888; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- 占位图标注 ---------- */
.asset-note { font-size: 12px; color: var(--green-dark); margin-top: 10px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards.cards-2-center { grid-template-columns: minmax(0, 460px); gap: 22px; }
  .stats-cards-wrap { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  /* 单栏时取消固定高度，让配图按 3:2 原始比例完整显示，避免横向裁切 */
  .split .visual.visual-img { min-height: 0; }
  .split .visual.visual-img img { height: auto; min-height: 0; }
  nav.main { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; gap: 0; padding: 8px 0; }
  nav.main li { padding: 12px 24px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .hero h1 { font-size: 30px; }
  .hero-marketing h1 { font-size: 38px; }
  .hero-page h1 { font-size: 30px; }
  .brand-text .name { font-size: 15px; }
  .brand-text .name small { font-size: 10px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .cards.cards-2-center { grid-template-columns: 1fr; gap: 18px; }
  .stats-cards-wrap { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .brand-text .name { font-size: 14px; line-height: 1.2; white-space: normal; }
}

/* ---------- 案例详情（图文左右分栏，两案例交错） ---------- */
.case-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.case-detail .case-figure { margin: 0; }
.case-detail.reverse .case-figure { order: 2; }
.case-detail.reverse .case-text { order: 1; }
.case-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.case-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 14px; }
.case-loc { color: var(--green-dark); font-weight: 600; font-size: 14px; }
.case-loc::before { content: "\1F4CD\00A0"; }
.case-cap { background: var(--green-light); color: var(--green-dark); font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 20px; }
.case-param { background: #f5f7f8; border-left: 4px solid var(--green); padding: 12px 16px; border-radius: 8px; font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; line-height: 1.7; }
@media (max-width: 900px) {
  .case-detail { grid-template-columns: 1fr; gap: 22px; }
  .case-detail.reverse .case-figure, .case-detail.reverse .case-text { order: 0; }
}

/* ---------- 核心产品：纵向平铺 + 锚点目录导航 ---------- */
/* 顶部"产品目录"条：一眼看到全部 6 款产品，点击平滑滚动到对应区块，不隐藏任何内容 */
.prod-anchors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #f1f5f7;
  border: 1px solid #e3e9ec;
  border-radius: 16px;
  margin-bottom: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.prod-anchors-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--ink-soft);
  margin-right: 2px;
}
.prod-anchor {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.prod-anchor:hover,
.prod-anchor:focus {
  border-color: var(--green);
  color: var(--green-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31,168,74,0.14);
}

/* 所有产品区块默认全部可见、纵向平铺，无需点击切换 */
.prod-panels { position: relative; }
.prod-panel {
  scroll-margin-top: 88px;            /* 避开 sticky 页眉(68px) + 留白 */
  margin-top: 40px;
  padding-top: 44px;
  border-top: 2px solid var(--green-light);  /* 产品之间更明确的分隔，滚动时不再看串 */
  animation: prodFade 0.42s ease;
}
.prod-panel:first-child { border-top: none; padding-top: 6px; margin-top: 0; }
@keyframes prodFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 产品序号徽标 01–06：滚动时一眼识别"第几款" */
.prod-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-family: 'Inter','Helvetica Neue',Arial,sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(0,160,64,0.28);
}

.prod-head { text-align: center; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px dashed #e3e9eb; }
.prod-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}
.prod-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.prod-model {
  font-family: 'Inter','Helvetica Neue',Arial,sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
  font-weight: 500;
}

.prod-hero { margin-bottom: 28px; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,0.10); background:#fff; }
.prod-hero img { width: 100%; height: auto; display: block; max-height: 460px; object-fit: contain; background: #f7fafa; }

.prod-text {
  max-width: 880px;
  margin: 0 auto 36px;
  padding: 24px 32px;
  background: #fff;
  border-radius: 16px;
  border-left: 5px solid var(--green);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.prod-desc, .prod-extra {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0 0 12px;
  text-align: justify;
}
.prod-extra { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 0; }
.prod-extra::before { content: "▸ "; color: var(--green); font-weight: 700; }

.prod-techs { margin-bottom: 40px; }
.prod-section-label {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0 0 24px;
  position: relative;
}
.prod-section-label::before, .prod-section-label::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--green);
  vertical-align: middle;
  margin: 0 14px;
  border-radius: 1px;
}
.prod-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.prod-tech-item {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid #eef1f3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prod-tech-item:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(31,168,74,0.10); border-color: var(--green-light); }
.prod-tech-item h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0 0 10px;
  line-height: 1.4;
}
.prod-tech-item p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.prod-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.prod-fig {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  border: 1px solid #eef1f3;
}
.prod-fig-label {
  background: var(--green-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  letter-spacing: 0.5px;
}
.prod-fig img { width: 100%; height: auto; display: block; background: #f7fafa; }

@media (max-width: 768px) {
  .prod-anchors { padding: 12px 14px; gap: 8px; }
  .prod-anchor { padding: 6px 13px; font-size: 12.5px; }
  .prod-panel { scroll-margin-top: 80px; }
  .prod-name { font-size: 22px; }
  .prod-text { padding: 18px 20px; }
  .prod-figures { grid-template-columns: 1fr; }
}

/* Mongolian typography: Times New Roman ONLY for large body paragraphs (per Li总 2026-09-03);
   headings/nav/buttons/hero/cards/footer keep original sans-serif */
html[lang="mn"] .split p,
html[lang="mn"] .case-text p:not(.case-param),
html[lang="mn"] .prod-desc,
html[lang="mn"] .prod-extra {
  font-family: "Times New Roman", Times, Georgia, "Noto Sans Cyrillic", serif;
}

/* Mongolian body text: justified alignment per reviewer feedback */
html[lang="mn"] .section-head p,
html[lang="mn"] .card p,
html[lang="mn"] .split p,
html[lang="mn"] .lead,
html[lang="mn"] .prod-desc,
html[lang="mn"] .prod-extra,
html[lang="mn"] .case-text p:not(.case-param) {
  text-align: justify;
}

/* Hero subtitles should be centered, not justified (layout consistency across zh/mn) */
.hero-marketing p.lead,
.hero-page p.lead {
  text-align: center;
}
