/* ============================================================
   郑州铭丰机械装备制造有限公司 官网 · 共用样式表
   技术：纯 CSS，无任何框架与 JS 依赖
   适配：PC 桌面 / 平板 / 手机 H5 响应式
   说明：所有图片使用相对路径 ../photo/ 引用，可直接用 HBuilderX 打开修改
   ============================================================ */

/* ------------------------------------------------------------
   1. 设计变量（改配色只需改这里）
   ------------------------------------------------------------ */
:root {
  --blue-900: #062247;
  --blue-800: #0a2f5c;
  --blue-700: #0d3d78;
  --blue-600: #1257a8;
  --blue-100: #eaf2fb;
  --accent: #2f8fe6;
  --ink: #1c2738;
  --ink-2: #55637a;
  --ink-3: #8a96a8;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f6f9fd;
  --max: 1240px;
  --shadow: 0 18px 50px rgba(10, 47, 92, .10);
  --shadow-sm: 0 8px 24px rgba(10, 47, 92, .07);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------------------------------------
   2. 基础重置与全局
   ------------------------------------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* 内容居中容器 */
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

/* ------------------------------------------------------------
   3. 顶部导航栏
   左侧：Logo + 公司名称（贴网页最左侧）；右侧：导航菜单
   移动端：用 checkbox 实现纯 CSS 菜单开关
   滚动感应：顶部透明 + 白字，下滑后白底 + 深字
   兼容说明：用 class 切换配色（不依赖滚动时间轴与变量注册特性），
             Edge / 夸克 / Chrome / Safari 表现完全一致
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 76px;
  z-index: 100;
  /* 默认（页面顶部）：透明背景、无边框 */
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
/* 下滑后（由内联脚本切换 is-scrolled 类）：白底 + 细边框 */
.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, .97);
  border-bottom-color: #e6ebf2;
  box-shadow: 0 6px 24px rgba(10, 47, 92, .06);
}
/* 通栏三列网格：左列品牌贴最左，中列导航精确居中，右列留空 */
.nav-inner {
  width: 100%;
  height: 100%;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

/* 左侧品牌区（网格第 1 列，始终最左） */
.brand { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 9px;
  color: #fff;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
/* 顶部：白字；下滑：深字 */
.brand-name { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: .3px; transition: color .3s var(--ease); }
.brand-en { font-size: 10px; letter-spacing: .6px; color: rgba(255, 255, 255, .72); transition: color .3s var(--ease); }
.is-scrolled .brand-name { color: #062247; }
.is-scrolled .brand-en { color: #8a96a8; }
.is-scrolled .brand-mark { background: #0d3d78; border-color: #0d3d78; }

/* 移动端菜单开关：隐藏的 checkbox（纯 CSS 逻辑） */
.nav-toggle { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
/* 汉堡按钮在网格第 3 列（最右），桌面端隐藏 */
.menu-toggle { grid-column: 3; justify-self: end; display: none; cursor: pointer; color: #fff; padding: 6px; transition: color .3s var(--ease); }
.menu-toggle svg { width: 26px; height: 26px; }
.is-scrolled .menu-toggle { color: #0a2f5c; }

/* 主导航（网格第 2 列：页面正中间，字号放大但不改变导航条高度） */
.nav-menu { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 36px; }
.nav-link {
  position: relative;
  font-size: 19px;
  color: rgba(255, 255, 255, .92);
  font-weight: 500;
  padding: 8px 0;
  transition: color .25s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: #fff;
  transition: width .3s var(--ease), background-color .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
/* 下滑后配色 */
.is-scrolled .nav-link { color: #55637a; }
.is-scrolled .nav-link::after { background: #2f8fe6; }
.is-scrolled .nav-link:hover, .is-scrolled .nav-link.active { color: #1257a8; }

/* ------------------------------------------------------------
   4. 通用区块
   ------------------------------------------------------------ */
.section { padding: 104px 0; }
.section-sm { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.35;
  color: var(--blue-900);
  font-weight: 700;
  letter-spacing: .5px;
}
.section-title .light { color: var(--ink-2); font-weight: 400; }
.section-desc { margin-top: 18px; color: var(--ink-2); font-size: 16px; }
.divider-line { width: 46px; height: 3px; background: var(--accent); border-radius: 2px; margin: 18px auto 0; }

/* 入场动画（纯 CSS，页面加载时播放，无需 JS） */
.reveal { animation: fadeUp .75s var(--ease) both; }
.reveal-d1 { animation-delay: .1s; }
.reveal-d2 { animation-delay: .2s; }
.reveal-d3 { animation-delay: .3s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------
   5. 首屏 Banner（首页 / 内页通用）
   ------------------------------------------------------------ */
.banner {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-900);
}
.banner-media { position: absolute; inset: 0; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,34,71,.92) 0%, rgba(6,34,71,.68) 45%, rgba(6,34,71,.25) 100%);
}
.banner-inner { position: relative; z-index: 2; color: #fff; padding-top: 60px; }
.banner-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 4px; color: #9fd0ff;
  border: 1px solid rgba(159,208,255,.45);
  padding: 8px 18px; border-radius: 30px;
  margin-bottom: 30px;
}
.banner-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7cc4ff; }
.banner-title {
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 2px;
  max-width: 900px;
}
.banner-title .accent { color: #7cc4ff; }
.banner-sub {
  margin-top: 26px;
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(255,255,255,.82);
  max-width: 620px;
  letter-spacing: .5px;
}
.banner-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 6px;
  font-size: 15px; font-weight: 600;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.btn-primary { background: #fff; color: var(--blue-800); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.btn svg { width: 16px; height: 16px; }

.banner-scroll {
  position: absolute; left: 50%; bottom: 34px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: 2px;
}
.banner-scroll .line { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 内页 Banner（高度较小） */
.banner.inner { min-height: 460px; }
.banner.inner .banner-media::after { background: linear-gradient(90deg, rgba(6,34,71,.9), rgba(6,34,71,.55)); }
.banner.inner .banner-title { font-size: clamp(34px, 4.5vw, 58px); }
.banner.inner .banner-inner { padding-top: 40px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 24px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ------------------------------------------------------------
   6. 首页：关于我们
   ------------------------------------------------------------ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.about-visual::before {
  content: ''; position: absolute; inset: -18px -18px 18px 18px;
  border: 1px solid var(--blue-100); border-radius: 10px; z-index: -1;
}
.about-badge {
  position: absolute; right: -22px; bottom: -26px;
  background: var(--blue-700); color: #fff;
  padding: 22px 26px; border-radius: 8px; box-shadow: var(--shadow);
}
.about-badge strong { font-size: 34px; display: block; line-height: 1; }
.about-badge span { font-size: 13px; color: rgba(255,255,255,.8); }
.about-copy .eyebrow { margin-bottom: 14px; }
.about-copy h2 { font-size: clamp(28px, 3vw, 40px); color: var(--blue-900); line-height: 1.35; }
.about-copy p { color: var(--ink-2); margin-top: 20px; font-size: 15.5px; }
.about-copy p + p { margin-top: 14px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.about-point { display: flex; gap: 12px; align-items: flex-start; }
.about-point svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.about-point b { display: block; font-size: 15px; color: var(--blue-900); }
.about-point span { font-size: 13px; color: var(--ink-3); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 34px; color: var(--blue-600); font-weight: 600; font-size: 15px;
}
.text-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(6px); }

/* ------------------------------------------------------------
   7. 数据展示
   ------------------------------------------------------------ */
.stats { background: var(--blue-900); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(47,143,230,.25), transparent 55%);
}
.stats .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { text-align: center; padding: 20px 12px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18%; height: 64%; width: 1px; background: rgba(255,255,255,.14); }
.stat-num { font-size: clamp(36px, 4vw, 56px); font-weight: 700; line-height: 1; color: #fff; }
.stat-num .unit { font-size: .5em; color: #7cc4ff; margin-left: 2px; }
.stat-label { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.72); }

/* ------------------------------------------------------------
   8. 业务布局卡片（首页）
   ------------------------------------------------------------ */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.biz-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.biz-cover { position: relative; height: 220px; overflow: hidden; background: var(--blue-900); }
.biz-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.biz-card:hover .biz-cover img { transform: scale(1.06); }
.biz-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,34,71,.55)); }
.biz-index { position: absolute; top: 16px; left: 20px; z-index: 2; color: #fff; font-size: 13px; letter-spacing: 2px; opacity: .85; }
.biz-body { padding: 30px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.biz-body h3 { font-size: 21px; color: var(--blue-900); margin-bottom: 14px; }
.biz-body p { font-size: 14px; color: var(--ink-2); line-height: 1.85; flex: 1; }
.biz-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; color: var(--blue-600); font-size: 14px; font-weight: 600;
}
.biz-more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.biz-card:hover .biz-more svg { transform: translateX(5px); }

/* ------------------------------------------------------------
   9. 新闻中心（首页）
   ------------------------------------------------------------ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); transition: all .4s var(--ease); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-thumb { height: 200px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-3); margin-bottom: 12px; }
.news-tag { color: var(--accent); font-weight: 600; }
.news-body h3 { font-size: 17px; line-height: 1.6; color: var(--blue-900); }
.news-body h3 a:hover { color: var(--blue-600); }
.news-body p { font-size: 13.5px; color: var(--ink-2); margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; }
.news-foot .date { font-size: 12px; color: var(--ink-3); }
.news-foot .more { font-size: 13px; color: var(--blue-600); font-weight: 600; }

/* ------------------------------------------------------------
   10. 公司简介页
   ------------------------------------------------------------ */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mission-card { background: #fff; border-radius: 10px; padding: 38px 30px; border: 1px solid var(--line); transition: all .4s var(--ease); }
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mission-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--blue-100); color: var(--blue-600);
  display: grid; place-items: center; margin-bottom: 22px;
}
.mission-icon svg { width: 26px; height: 26px; }
.mission-card h3 { font-size: 20px; color: var(--blue-900); margin-bottom: 12px; }
.mission-card p { font-size: 14px; color: var(--ink-2); }
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--blue-100); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before { content: ''; position: absolute; left: -38px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.timeline-year { font-size: 22px; font-weight: 700; color: var(--blue-600); }
.timeline-item h4 { font-size: 17px; margin: 6px 0 6px; color: var(--blue-900); }
.timeline-item p { color: var(--ink-2); font-size: 14px; }

/* ------------------------------------------------------------
   11. 产品服务页：六大业务布局详情
   ------------------------------------------------------------ */
.biz-detail { display: grid; gap: 4px; }
.biz-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.biz-block:nth-child(even) .biz-block-media { order: 2; }
.biz-block-media { position: relative; min-height: 320px; background: var(--blue-900); overflow: hidden; }
.biz-block-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .7s var(--ease); }
.biz-block:hover .biz-block-media img { transform: scale(1.05); }
.biz-block-media .num { position: absolute; top: 22px; left: 26px; z-index: 2; font-size: 44px; font-weight: 700; color: rgba(255,255,255,.28); }
.biz-block-content { padding: 54px 52px; display: flex; flex-direction: column; justify-content: center; }
.biz-block-content h3 { font-size: 28px; color: var(--blue-900); margin-bottom: 18px; }
.biz-block-content p { font-size: 15.5px; color: var(--ink-2); line-height: 1.95; }
.biz-block-content .tagline { display: inline-block; margin-bottom: 14px; font-size: 13px; letter-spacing: 2px; color: var(--accent); font-weight: 700; }

/* ------------------------------------------------------------
   12. 联系我们页：四模块居中展示
   ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
.contact-info { display: grid; gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 16px; color: var(--blue-900); margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--ink-2); }

/* ------------------------------------------------------------
   13. CTA 行动条
   ------------------------------------------------------------ */
.cta-band { background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-inner p { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 15px; }
.cta-inner .btn-primary { background: #fff; color: var(--blue-700); flex-shrink: 0; }

/* ------------------------------------------------------------
   14. 页脚 + 备案信息
   ------------------------------------------------------------ */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 54px; }
.footer-brand .brand-name, .footer-brand .brand-en { color: #fff; }
.footer-brand p { margin-top: 22px; line-height: 1.9; font-size: 13px; color: rgba(255,255,255,.6); max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 22px; position: relative; padding-left: 14px; }
.footer-col h4::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--accent); border-radius: 2px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.65); transition: color .25s; }
.footer-col a:hover { color: #7cc4ff; }
.footer-col .contact-line { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13px; line-height: 1.6; }
.footer-col .contact-line svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); }
/* 备案信息区域 */
.footer-record {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.9;
}
.footer-record a { color: rgba(255,255,255,.55); }
.footer-record a:hover { color: #7cc4ff; }
.footer-record .sep { margin: 0 12px; opacity: .4; }

/* ------------------------------------------------------------
   15. 返回顶部（纯 CSS 锚点，无 JS）
   ------------------------------------------------------------ */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-700); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  opacity: .9;
  transition: background .3s, transform .3s var(--ease), opacity .3s;
}
.back-top:hover { background: var(--blue-600); transform: translateY(-3px); opacity: 1; }
.back-top svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------
   16. 响应式适配（平板 / 手机 H5）
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
  /* 中等屏幕缩小品牌字号，避免挤压导致居中菜单偏移 */
  .brand-name { font-size: 15px; }
  .brand-en { font-size: 9px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .stat:nth-child(4)::before, .stat:nth-child(5)::before { display: none; }
  .biz-grid, .news-grid, .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  /* 品牌文字适当缩小，保证最左显示 */
  .brand-name { font-size: 15px; }
  .brand-en { font-size: 9px; }
  /* 汉堡按钮显示，桌面导航改为下拉菜单 */
  .menu-toggle { display: block; margin-left: 0; order: 0; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    padding: 8px 24px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(10,47,92,.10);
    margin-left: 0;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .nav-toggle:checked ~ .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  /* 下拉菜单为白底，链接固定深色，避免顶部白字白底看不见 */
  /* 用高优先级选择器覆盖顶部/下滑两种状态的白色文字 */
  .site-header .nav-menu .nav-link,
  .site-header.is-scrolled .nav-menu .nav-link { color: var(--ink-2); }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .site-header .nav-menu .nav-link:hover,
  .site-header .nav-menu .nav-link.active,
  .site-header.is-scrolled .nav-menu .nav-link:hover,
  .site-header.is-scrolled .nav-menu .nav-link.active { color: var(--blue-600); }
  .nav-link::after { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-visual::before { inset: -12px -12px 12px 12px; }
  .biz-block { grid-template-columns: 1fr; }
  .biz-block:nth-child(even) .biz-block-media { order: 0; }
  .biz-block-media { min-height: 260px; }
  .biz-block-content { padding: 36px 30px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .nav-inner { padding-inline: 16px; }
  .section { padding: 72px 0; }
  .section-sm { padding: 56px 0; }
  .site-header { height: 66px; }
  .nav-inner { gap: 12px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark svg { width: 20px; height: 20px; }
  .brand-name { font-size: 13px; }
  .brand-en { font-size: 8px; letter-spacing: 0; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .banner-inner { padding-top: 40px; }
  .banner-title { letter-spacing: 1px; }
  .banner-actions { gap: 12px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .banner-scroll { display: none; }
  .about-points { grid-template-columns: 1fr; }
  .about-badge { right: 6px; bottom: -20px; padding: 16px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .stat:nth-child(3)::before { display: none; }
  .biz-grid, .news-grid, .mission-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .biz-block-content { padding: 30px 24px; }
  .biz-block-content h3 { font-size: 24px; }
  .biz-cover { height: 200px; }
  .back-top { right: 16px; bottom: 20px; width: 40px; height: 40px; }
}

/* 尊重系统的“减少动态效果”设置 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
